Hacking [RELEASE] PS4 RetroArch Port (Unofficial)

OsirisX

Well-Known Member
OP
Newcomer
Joined
Jun 14, 2019
Messages
49
Trophies
0
XP
455
Country
United States
Just tried the snes9x Current Core but there's still audio distortion (seems like a small improvement over the last build) and still speed issues :(
Thanks for testing it. Yeah I'm trying to see if I can smooth out the game play. Seems like the audio thread wants to run much slower than video which is causing the stuttering.

EDIT

@ploggy
Ok I think I fixed the video issue by issuing glFinish call on every video frame. Can you try the snes9x core once more? I'm expecting the video to be much smoother now.
Also are you running with PAL region games by any chance? Seems like the audio distortion is more prevalent with those since they're running at lower fps (50 instead of 60)

@stranno
I've also updated vice_x64 and handy cores. I think with the above fix there shouldn't be any graphic issues now with those cores.
 
Last edited by OsirisX,

spedunk55

Member
Newcomer
Joined
Feb 14, 2020
Messages
7
Trophies
0
XP
47
Country
United States
you can load game saves from any profile on the ps4 i don't know if this happened before or after the update and ppsspp when you load saves retroarch crashes to ps4 home menu and games cause retroarch to crash too when you get to certain parts like gow coo after you fight the first boss on the bridge and gow gos crashes right after you fight the first wave of enemies and go down the small stairs on the boat both games have graphical glitches for snes i use 2010 core to play dk country and the audio is distorted i use ntsc roms

sorry for the long post
 
D

Deleted User

Guest
@ploggy Are you using snes9x 2010?. I don't have any problems with that core. Audio is perfect since r3.

agreed for some odd reason 2010 is the go to on this console for snes

Man I just booted up the ppsspp core and daaaam man I am so impressed. Thank you for sharing your work!
 
  • Like
Reactions: Mo Poge

OsirisX

Well-Known Member
OP
Newcomer
Joined
Jun 14, 2019
Messages
49
Trophies
0
XP
455
Country
United States
Updated all cores online with a new experimental sound driver. It should offer better sound output.
To enable it, go to Settings -> Audio -> Output -> Audio and change orbis to ps4.

Also GPU hard sync can now be enabled. It allows for smoother video
Enable it in Settings -> Video -> Synchronization -> Hard GPU Sync
Disable this if you experience large slow downs.
 
D

Deleted User

Guest
Updated all cores online with a new experimental sound driver. It should offer better sound output.
To enable it, go to Settings -> Audio -> Output -> Audio and change orbis to ps4.

Also GPU hard sync can now be enabled. It allows for smoother video
Enable it in Settings -> Video -> Synchronization -> Hard GPU Sync
Disable this if you experience large slow downs.


omfg i just made a video and did not know this oh well there is always part 2! I was so impressed man! Keep up the great work!

 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,839
Trophies
2
XP
7,943
Country
United Kingdom
@ploggy Are you using snes9x 2010?. I don't have any problems with that core. Audio is perfect since r3.

Dunno it must be just my ps4 then, i'm getting like sound doubling distortion on snes9x2010 :P

@OsirisX nice! I'll test it out soon.. :) is it possible to enable the PS4's Video Capture in Retroarch? it would help alot in showing game speed/audio issues?

Thanks.

--------------------- MERGED ---------------------------

@OsirisX theres a new PS1 core called Duckstation, apparently its good. Can you compile it for the PS4 RA? and the Melon DS Core is possible?
 
Last edited by ploggy,

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,839
Trophies
2
XP
7,943
Country
United Kingdom
Wow! that new Audio driver fixed the bad sound/game speed weirdness! (Snes9x - Current too) :)
Snes games are perfect now..
Quick run through (1 game per core to test)
MS - Alex Kidd in shinobi World - Perfect!
PCE - Dragons Curse - Perfect!
GB - Donkey Kong - Perfect!
GBA - Sonic Advance 2 - Perfect!
N64 - Diddy Kong Racing - Still has perf issues
DS - New Super Mario Bros. - Still has perf issues
NES - Super Mario Bros. - Perfect!
32X - Knuckles Chaotix - Perfect!
MD - Sonic 2 - Perfect!
PS1 - Total Drivin' - Perfect!
DosBox - C&C - Causes RA to crash with error code CE-37848-0 (whatever that means) :P (Wolfenstein 3d Works tho so probably bad C&C rip.. Dosbox aint my thing lol
PRDOOM - DOOM1 - Perfect!

Again this is with only 1 game per Core but it's easily much more playable than the last builds. great job!!
 
  • Like
Reactions: hippy dave

OsirisX

Well-Known Member
OP
Newcomer
Joined
Jun 14, 2019
Messages
49
Trophies
0
XP
455
Country
United States
omfg i just made a video and did not know this oh well there is always part 2! I was so impressed man! Keep up the great work!
Thanks! The changes shouldn't make too big of a difference for larger cores like ppsspp but nice vid btw.

theres a new PS1 core called Duckstation, apparently its good. Can you compile it for the PS4 RA? and the Melon DS Core is possible?
I'll see if I can get these compiled along with enabling video capture. Thanks for the quick test on the recent changes! I'll look into those issues that you mentioned.
 
D

Deleted User

Guest
Does it get to the menu or does it crash right after starting?

actually what happens is i can't run the cores installer? think online updater might be worth a try? my experience so far is that apps need to be updated to 6.72
 

OsirisX

Well-Known Member
OP
Newcomer
Joined
Jun 14, 2019
Messages
49
Trophies
0
XP
455
Country
United States
So you are able to enter the menu but cannot install the cores? This is expected since data mount patch is not in Mira.

Well there was a fix but they decided not to include it.
https://github.com/OpenOrbis/mira-project/pull/62

I can make a new pkg that will have both RetroArch and the cores but online updates won't work until the above patch is integrated.

EDIT

Nvm just tested with latest Mira and mount patch is there so technically it should also work in 6.72
 
Last edited by OsirisX,
  • Like
Reactions: KiiWii
D

Deleted User

Guest
So you are able to enter the menu but cannot install the cores? This is expected since data mount patch is not in Mira.

Well there was a fix but they decided not to include it.
https://github.com/OpenOrbis/mira-project/pull/62

I can make a new pkg that will have both RetroArch and the cores but online updates won't work until the above patch is integrated.

EDIT

Nvm just tested with latest Mira and mount patch is there so technically it should also work in 6.72

ok let me try again

works

spoke too soon some sort of weird directory permissions issues
 
Last edited by ,

spedunk55

Member
Newcomer
Joined
Feb 14, 2020
Messages
7
Trophies
0
XP
47
Country
United States
Wow! that new Audio driver fixed the bad sound/game speed weirdness! (Snes9x - Current too) :)
Snes games are perfect now..
Quick run through (1 game per core to test)
MS - Alex Kidd in shinobi World - Perfect!
PCE - Dragons Curse - Perfect!
GB - Donkey Kong - Perfect!
GBA - Sonic Advance 2 - Perfect!
N64 - Diddy Kong Racing - Still has perf issues
DS - New Super Mario Bros. - Still has perf issues
NES - Super Mario Bros. - Perfect!
32X - Knuckles Chaotix - Perfect!
MD - Sonic 2 - Perfect!
PS1 - Total Drivin' - Perfect!
DosBox - C&C - Causes RA to crash with error code CE-37848-0 (whatever that means) :P (Wolfenstein 3d Works tho so probably bad C&C rip.. Dosbox aint my thing lol
PRDOOM - DOOM1 - Perfect!

Again this is with only 1 game per Core but it's easily much more playable than the last builds. great job!!
how did you make the ps1 core work i put the BIOS in system folder but when i load games i get failed to load content notification
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,839
Trophies
2
XP
7,943
Country
United Kingdom
how did you make the ps1 core work i put the BIOS in system folder but when i load games i get failed to load content notification
What Ps1 Core you trying to use? IIRC PCSXRearmed doesn't require a bios, its optional. BeetlePSX does require specific bios files...

https://docs.libretro.com/library/beetle_psx_hw/

scph5500.bin PS1 JP BIOS - Required for JP games 8dd7d5296a650fac7319bce665a6a53c
scph5501.bin PS1 US BIOS - Required for US games 490f666e1afb15b7362b406ed1cea246
scph5502.bin PS1 EU BIOS - Required for EU games 32736f17079d0b2b7024407c39bd3050

Make sure your bios' md5 hashes match..
 
Last edited by ploggy,

spedunk55

Member
Newcomer
Joined
Feb 14, 2020
Messages
7
Trophies
0
XP
47
Country
United States
for some reason i couldn't reply because some sort of spam issue or something anyway i tried both cores same outcome using multiple bios files and game rom formats
 
Last edited by spedunk55,

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,839
Trophies
2
XP
7,943
Country
United Kingdom
for some reason i couldn't reply because some sort of spam issue or something anyway i tried both cores same outcome using multiple bios files and game rom formats
I don't know what to tell you.. as long as you bios/roms are correct it should just work?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
    cearp @ cearp: It's nice to not have to have a lot of physical things though, saves space +1