Instantly share code, notes, and snippets.

View gist:df990b827388296898728e2f791f2982
log: [PS4][INFO]: debugnet initialized
log: [PS4][INFO]: ready to have a lot of fun...
log: [PS4][INFO]: [PS4LINK] Server request thread UID: 0x81F209C0
log: [PS4][DEBUG]: [PS4LINK] Created ps4link_requests_sock: 14
log: [PS4][DEBUG]: [PS4LINK] bind to ps4link_requests_sock done
log: [PS4][DEBUG]: [PS4LINK] Ready for connection 1
log: [PS4][INFO]: [PS4LINK] Waiting for connection
log: [PS4][INFO]: [PS4LINK] Server command thread UID: 0x81F20E40
log: [PS4][DEBUG]: [PS4LINK] Command Thread Started.
log: [PS4][DEBUG]: [PS4LINK] Created ps4link_commands_sock: 16
View gist:4e1185a8e26c8870e0fd56d5c8103b41
./ps4sh
ps4sh version 1.0
/Users/bigboss/.ps4shrc: No such file or directory
log: [HOST][INFO]: [PS4SH] Ready
log: [PS4][INFO]: ready to have a lot of fun...
log: [PS4][INFO]: [PS4LINK] Server request thread UID: 0x817B89C0
log: [PS4][DEBUG]: [PS4LINK] Created ps4link_requests_sock: 14
log: [PS4][DEBUG]: [PS4LINK] bind to ps4link_requests_sock done
log: [PS4][DEBUG]: [PS4LINK] Ready for connection 1
View main.c
#include <stdio.h>
#include <stdlib.h>
#include <kernel.h>
#include <system_service.h>
#include <orbis2d.h>
#include <orbisPad.h>
#include <orbisAudio.h>
#include <orbisKeyboard.h>
#include <modplayer.h>
View gist:c0a66ed6d09068a93fbdf9144bd4dcff
#include <stdio.h>
#include <stdlib.h>
#include <kernel.h>
#include <system_service.h>
#include <orbis2d.h>
#include <orbisPad.h>
#include <orbisAudio.h>
#include <orbisKeyboard.h>
#include <modplayer.h>
View gist:3a2e77c8176d4b72432a40b146528c56
//dont wait an app from me, here source perhaps it can help to get all pieces togeher, now all is up to you
#include <stdio.h>
#include <stdlib.h>
#include <kernel.h>
#include <system_service.h>
#include <orbis2d.h>
#include <orbisPad.h>
#include <orbisAudio.h>
View gist:3261e5376cc5745c8f37e6ff3f9fae6b
/*
* liborbis sample
* Copyright (C) 2015,2016,2017,2018 Antonio Jose Ramos Marquez (aka bigboss) @psxdev on twitter
* Repository https://github.com/psxdev/liborbis
*/
#include <stdio.h>
#include <stdlib.h>
View gist:494131a49802d638efff6bd66a316950
$ ./ps4sh
ps4sh version 1.0
/Users/bigboss/.ps4shrc: No such file or directory
log: [HOST][INFO]: [PS4SH] Ready
log: [PS4][INFO]: debugnet initialized
log: [PS4][INFO]: Copyright (C) 2010,2016 Antonio Jose Ramos Marquez aka bigboss @psxdev
log: [PS4][INFO]: ready to have a lot of fun...
log: [PS4][INFO]: [PS4LINK] Server request thread UID: 0x816209C0
log: [PS4][DEBUG]: [PS4LINK] Created ps4link_requests_sock: 14
View gist:9b3c77c7d35534b81b66b76682690bbc
log: [PS4][INFO]: debugnet initialized
log: [PS4][INFO]: Copyright (C) 2010,2016 Antonio Jose Ramos Marquez aka bigboss @psxdev
log: [PS4][INFO]: ready to have a lot of fun...
log: [PS4][INFO]: [PS4LINK] Server request thread UID: 0x817F89C0
log: [PS4][DEBUG]: [PS4LINK] Created ps4link_requests_sock: 14
log: [PS4][DEBUG]: [PS4LINK] bind to ps4link_requests_sock done
log: [PS4][DEBUG]: [PS4LINK] Ready for connection 1
log: [PS4][INFO]: [PS4LINK] Waiting for connection
log: [PS4][DEBUG]: [PS4LINK] Command Thread Started.
log: [PS4][INFO]: [PS4LINK] Server command thread UID: 0x817F8E40
View 505_kernel_sym.h
#pragma once
sym_t table505[] = {
{"Xfast_syscall" ,0x1C0},
{"sys_setuid" ,0x54950},
{"sys_dup2" ,0xBF050},
{"sys_close" ,0xC0EB0},
{"sys_fstat" ,0xC1430},
{"sys_kill" ,0xD19D0},
{"_sx_slock" ,0xF5C30},
View gist:fffc4fecb7cf98d9bdc25e2ac0bbef0a
$ clang -v
clang version 7.0.0 (http://llvm.org/git/clang.git 694f835265f40cbfbb02bd64ee766d1acd879dc6) (http://llvm.org/git/llvm.git 0c500a83b4f748c4c9562bc9c7ce1f6bbe64be85)
Target: x86_64-scei-ps4
Thread model: posix
InstalledDir: /usr/local/orbisdev505/toolchain/bin
$ ld -v
GNU ld (GNU Binutils) 2.25