Hacking [RELEASE] PS4 RetroArch Port (Unofficial)

Cyberfalcon

Well-Known Member
Newcomer
Joined
Jan 8, 2019
Messages
58
Trophies
0
XP
511
Country
United States
I have that folder as well, and there's an eboot.bin inside. there's a data folder on the vita, and you shouldn't delete it or mess with it unless you know what you're doing. if there are cores inside there, it should be okay to delete them in the self folder, just don't delete the self folder itself. chances are nothing bad would happen even if you did, at most probably reinstall the firmware if it's important in some way:
View attachment 289679
I deleted the cores, there was no eboot for me. the self folder is empty. I have never manipulated this folder until now.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,543
Trophies
2
XP
6,974
Country
United Kingdom
What are the dependencies for compiling this? Open orbis sdk? And is it the ps4 makefile or the orbis one?
iirc (i maybe wrong) I think some things in this port were using the official sdk, thats why its no longer maintained.
I think there is work being done to make an official PS4 port, I've seen a few posts on Twitter here and there with news about when they got some cores working. but that was a while ago.
I cant find where their gihub repo is.. If I can find that repo you could try compiling from that ?
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,231
Trophies
3
XP
28,392
Country
United States
iirc (i maybe wrong) I think some things in this port were using the official sdk, thats why its no longer maintained.
I think there is work being done to make an official PS4 port, I've seen a few posts on Twitter here and there with news about when they got some cores working. but that was a while ago.
I cant find where their gihub repo is.. If I can find that repo you could try compiling from that ?
well, that explains why I was never able to compile it. there's no "issues" tab on the retroarch github for some reason, so I made an issue on open orbis iirc. I have open orbis and orbis dev working on my computer, just need to get ps4sdk working, then I think I'll have all three ps4 unofficial sdk's working.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,543
Trophies
2
XP
6,974
Country
United Kingdom
well, that explains why I was never able to compile it. there's no "issues" tab on the retroarch github for some reason, so I made an issue on open orbis iirc. I have open orbis and orbis dev working on my computer, just need to get ps4sdk working, then I think I'll have all three ps4 unofficial sdk's working.
Thats great!, It would be nice to get some up to date Cores now that 9.0 is out in the wild :)
I think this maybe the repo? last updated 2 months ago sounds right..
https://github.com/fjtrujy/RetroArch/tree/orbis
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,231
Trophies
3
XP
28,392
Country
United States
I can't tell what just happened:

[email protected]:~/ps4sdk$ export PS4SDK=~/ps4sdk
[email protected]:~/ps4sdk$ make
make -C base all
make[1]: Entering directory '/home/godreborn/ps4sdk/base'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/godreborn/ps4sdk/base'
make -C common all
make[1]: Entering directory '/home/godreborn/ps4sdk/common'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/godreborn/ps4sdk/common'
make -C extension all
make[1]: Entering directory '/home/godreborn/ps4sdk/extension'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/godreborn/ps4sdk/extension'
make -C core all
make[1]: Entering directory '/home/godreborn/ps4sdk/core'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/godreborn/ps4sdk/core'
[email protected]:~/ps4sdk$ cd ..
[email protected]:~$ cd RetroArch
[email protected]:~/RetroArch$ make -f Makefile.orbis
clang -c -o version_git.o version_git.c -m64 -DORBIS -std=c11 -mcmodel=large -ffreestanding -nostdlib -nostdinc -fno-builtin -fno-stack-protector -O3 -Wall -pedantic -Wno-zero-length-array -Wno-format-pedantic -D__PS4__ -I/home/godreborn/ps4sdk/include -I /home/godreborn/ps4sdk/include/sce -target x86_64-scei-ps4-elf -fPIE -DRARCH_INTERNAL -DRARCH_CONSOLE -DHAVE_FILTERS_BUILTIN -DHAVE_LIBRETRODB -DHAVE_GIT_VERSION -DGIT_VERSION=378ab8b90a -DHAVE_PATCH -DHAVE_REWIND -DHAVE_CHEATS -DHAVE_SCREENSHOTS -DHAVE_VIDEO_FILTER -DHAVE_DSP_FILTER -DHAVE_CONFIGFILE -DHAVE_CC_RESAMPLER -DHAVE_MENU -DHAVE_GFX_WIDGETS -DHAVE_XMB -DHAVE_OZONE -DHAVE_OVERLAY -DHAVE_THREADS -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_EGL -DHAVE_GLSL -DHAVE_7ZIP -D_7ZIP_ST -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -I. -Ideps/7zip -Ilibretro-common/include -Ideps/stb -Ilibretro-common/include/compat/zlib -MT version_git.o -MMD -MP -MF version_git.Tdepend
mv -f version_git.Tdepend version_git.depend
clang -c -o frontend/frontend_driver.o frontend/frontend_driver.c -m64 -DORBIS -std=c11 -mcmodel=large -ffreestanding -nostdlib -nostdinc -fno-builtin -fno-stack-protector -O3 -Wall -pedantic -Wno-zero-length-array -Wno-format-pedantic -D__PS4__ -I/home/godreborn/ps4sdk/include -I /home/godreborn/ps4sdk/include/sce -target x86_64-scei-ps4-elf -fPIE -DRARCH_INTERNAL -DRARCH_CONSOLE -DHAVE_FILTERS_BUILTIN -DHAVE_LIBRETRODB -DHAVE_GIT_VERSION -DGIT_VERSION=378ab8b90a -DHAVE_PATCH -DHAVE_REWIND -DHAVE_CHEATS -DHAVE_SCREENSHOTS -DHAVE_VIDEO_FILTER -DHAVE_DSP_FILTER -DHAVE_CONFIGFILE -DHAVE_CC_RESAMPLER -DHAVE_MENU -DHAVE_GFX_WIDGETS -DHAVE_XMB -DHAVE_OZONE -DHAVE_OVERLAY -DHAVE_THREADS -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_EGL -DHAVE_GLSL -DHAVE_7ZIP -D_7ZIP_ST -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -I. -Ideps/7zip -Ilibretro-common/include -Ideps/stb -Ilibretro-common/include/compat/zlib -MT frontend/frontend_driver.o -MMD -MP -MF frontend/frontend_driver.Tdepend
mv -f frontend/frontend_driver.Tdepend frontend/frontend_driver.depend
clang -c -o retroarch.o retroarch.c -m64 -DORBIS -std=c11 -mcmodel=large -ffreestanding -nostdlib -nostdinc -fno-builtin -fno-stack-protector -O3 -Wall -pedantic -Wno-zero-length-array -Wno-format-pedantic -D__PS4__ -I/home/godreborn/ps4sdk/include -I /home/godreborn/ps4sdk/include/sce -target x86_64-scei-ps4-elf -fPIE -DRARCH_INTERNAL -DRARCH_CONSOLE -DHAVE_FILTERS_BUILTIN -DHAVE_LIBRETRODB -DHAVE_GIT_VERSION -DGIT_VERSION=378ab8b90a -DHAVE_PATCH -DHAVE_REWIND -DHAVE_CHEATS -DHAVE_SCREENSHOTS -DHAVE_VIDEO_FILTER -DHAVE_DSP_FILTER -DHAVE_CONFIGFILE -DHAVE_CC_RESAMPLER -DHAVE_MENU -DHAVE_GFX_WIDGETS -DHAVE_XMB -DHAVE_OZONE -DHAVE_OVERLAY -DHAVE_THREADS -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_EGL -DHAVE_GLSL -DHAVE_7ZIP -D_7ZIP_ST -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -I. -Ideps/7zip -Ilibretro-common/include -Ideps/stb -Ilibretro-common/include/compat/zlib -MT retroarch.o -MMD -MP -MF retroarch.Tdepend
In file included from retroarch.c:201:
In file included from ./gfx/common/gl_common.h:31:
In file included from libretro-common/include/glsym/glsym.h:26:
In file included from libretro-common/include/glsym/rglgen.h:32:
libretro-common/include/glsym/rglgen_headers.h:27:10: fatal error: 'EGL/egl.h' file not found
#include <EGL/egl.h>
^~~~~~~~~~~
1 error generated.
make: *** [Makefile.orbis:147: retroarch.o] Error 1
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,231
Trophies
3
XP
28,392
Country
United States
I have orbisdev working, but that orbis makefile requires ps4sdk. it will tell you what environmental variable it needs if it's not present.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,231
Trophies
3
XP
28,392
Country
United States
this is what I have saved. the first part where it says ORBISDEV or OO_PS4_TOOLCHAIN is the environmental variable that all homebrew use. they all use the same names depending on which sdk they used. orbis for retroarch says PS4SDK, so I assume it's talking about the one above:

1639579638129.png
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,231
Trophies
3
XP
28,392
Country
United States
yes, I learned about it from lightning mods. there's going to be a build of retroarch using orbisdev, but it doesn't exist right now.
 

WaldyTMS

New Member
Newbie
Joined
Dec 16, 2021
Messages
3
Trophies
0
Age
25
XP
19
Country
United States
Hello! I made an account literally just to ask for help, because I'm literally going to explode. Every single person on the internet has said that PS1 games play flawlessly on Retroarch for PS4, but when I try booting up Spyro 1 the game crackles and is much slower. Can you please help me in understanding what I'm doing wrong? It's the ONLY core that's been giving me this issue, and if I'm being honest, it was the only one that mattered to me. 😭 I tried the only 2 cores this RA has and both have the same terribleness...
 
  • Sad
Reactions: Mo Poge
General chit-chat
Help Users
    Sonic Angel Knight @ Sonic Angel Knight: Okay, I had spaghetti :P