RetroArch 1.3.6+ Beta released for PlayStation3 - PS3 is back!

[QUOTE=underball;44803]Tried it, no difference. Thanks for the upload.

Will it help if I turn on debugging and post the logs for you?[/QUOTE]

Sure, it would help a lot.

@Drag Thank you so much for the videos, i’ve been able to reproduce the issue, it’s enough bad. Surely it’s a regression of the snes core, i’m going to open an issue on github. I should be able to give you a very quick custom fix for the issue, if i understood fine the issue.

[QUOTE=Ezio_PS;44817]Sure, it would help a lot.

@Drag Thank you so much for the videos, i’ve been able to reproduce the issue, it’s enough bad. Surely it’s a regression of the snes core, i’m going to open an issue on github. I should be able to give you a very quick custom fix for the issue, if i understood fine the issue.[/QUOTE]

What level of debug should I set?

@Drag Before you try this fix, it would be great if you can check that you get a save on the savestate folder when you save, just to understand whether the core freezes because it doesn’t find the savestate or because it fails to load the rom https://mega.nz/#!gMhHTTyY!EIVjA5TCboyBdKT_P2e1gehstxKBGNTKBNHMpOtrCqg I checked if i reinstall the pkg it’ll work, if you use the fix it’ll work, imho it seems a random issue that’s a bit difficult to identify. :confused:

@underball do you know how to debug on ps3? You can set on the log from RA menu under the ‘Logging’ item.

[QUOTE=Ezio_PS;44836]@Drag Before you try this fix, it would be great if you can check that you get a save on the savestate folder when you save, just to understand whether the core freezes because it doesn’t find the savestate or because it fails to load the rom https://mega.nz/#!gMhHTTyY!EIVjA5TCboyBdKT_P2e1gehstxKBGNTKBNHMpOtrCqg I checked if i reinstall the pkg it’ll work, if you use the fix it’ll work, imho it seems a random issue that’s a bit difficult to identify. :confused:

@underball do you know how to debug on ps3? You can set on the log from RA menu under the ‘Logging’ item.[/QUOTE] Fixed, it’s perfect now. Get a save in the folder salvestates, before the correction. Once again thank you very much for your great work.

[QUOTE=Ezio_PS;44755]@Combo please, try this other fix, i hope it works. https://mega.nz/#!0ZojVBjJ!Ex6GsVdJ3znfpPTET-qvDPvIj4c8sAflU0QPLkijwpY

@dnikolay it’s just a weird issue, i cannot reproduce the issue on my end, i’m using tha latest cfw rebug too. Are you using the official ps3 gamepad? You can try to see if deleting the .cfg files you can get fixed the issue.[/QUOTE]

Doesn’t work, same error code.

Here’s a dump from the WORKING Windows port of REtroarch. See the line below setting the system environment: (last line). That line never appears in the PS3 log. That’s where it checks the internal database for the file options.

Skipping SRAM load… Uersion of libretro API: Compiled against API: 1 Set audio input rate to: Uideo 8 960x720 Found GL context: wgl Detecting screen resolution IWGLA: wg1SwapInterval(1) EGLI]: Uendor: ATI Technologies Inc., Renderer: AMD Radeon HD 1 47960.00 Hz. 1920x1080. EGLI]: Uersion: EGLI]: ATI card 4.2.11631 Compatibility Profile Context. detected, skipping check for GL_RGB565 suppor A I4* C:\retroarch\retroarch_debua.exe WWII 1 2 RetroArch (INFO] :: Loading dynamic libretro core from: “C:\retroarch\cores\pros ystem_libretro.d11” RetroArch (INFO] :: Overrides: no core-specific overrides found at C:\retroarch
config\ProSystem\ProSystem.cfg RetroArch (INFO] :: Overrides: no game-specific overrides found at C:\retroarch
config\ProSystem\Double Dragon.cfg RetroArch (INFO] :: Remaps: core name: ProSystem RetroArch (INFO] :: Remaps: game name: Double Dragon RetroArch (INFO] :: Remaps: remap directory: C:\retroarch\config\remap RetroArch (INFO] :: Remaps: no game-specific remap found at C:\retroarch\config
remap\ProSystem\Double Dragon.rmp RetroArch (INFO] :: Remaps: no core-specific remap found at C:\retroarch\config
renap\ProSystem\ProSystem.rmp RetroArch (INFO] :: Environ GET_LOG_INTERFACE. RetroArch (INFO] :: Environ PERFORMANCE_LEUEL: 5. RetroArch (INFO] :: Loading content file: C:\retroarch\ROMS\a7800\Double Dragon. an. RetroArch (INFO] Did not find a valid content patch. RetroArch (INFO] CRC32: Ox16e2fc12 RetroArch (INFO] Environ SETJ’IXELJlORMAT: XRGB8888. RetroArch (INFO] Environ SET_INPUTJESCRIPTORS: RetroArch (INFO] RetroPad, User 1, Button “B (bottom)” => “1” RetroArch (INFO] RetroPad, User 1, Button “Select” => “Console Select” RetroArch (INFO] RetroPad, User 1, Button “Start” => “Console Pause” RetroArch (INFO] RetroPad, User 1, Button “D-Pad Up” => “Up” RetroArch (INFO] RetroPad, User 1, Button “D-Pad Down” => “Down” RetroArch (INFO] RetroPad, User 1, Button “D-Pad Left” => “Left” RetroArch (INFO] RetroPad, User 1, Button “D-Pad Right” => “Right” RetroArch (INFO] RetroPad, User 1, Button “A (right)” => “2” RetroArch (INFO] RetroPad, User 1, Button “X (up)” => “Console Reset” RetroArch (INFO] RetroPad, User 1, Button “L” => “Left Difficulty” RetroArch (INFO] RetroPad, User 1, Button “R” => “Right Difficulty” RetroArch (INFO] :: RetroPad, User 2, Button “B (bottom)” => “1” RetroArch (INFO] :: RetroPad, 2, User Button “D-Pad Up” => “Up” RetroArch (INFO] :: RetroPad, User 2, Button “D-Pad Down” => “Down” RetroArch (INFO] :: RetroPad, User 2, Button “D-Pad Left” => “Left” RetroArch (INFO] :: RetroPad, User 2, Button “A (right)” => “2” RetroArch (INFO] :: Environ SYSTEM_DIRECTORY: “C:\retroarch\system”. Found entry in internal database: Double Dragon (543484c00ba233736bcaba2da20eeea 9]

@Combo try this other fix https://mega.nz/#!NYYQRAyY!luN95J1LpyWt6yAGRzNOOFf5QN2hr0EMrmIuVQFrRIQ Sorry, i had the tools broken the last week, maybe this fixes the eboot and not the cores, please give it a try.

@underball, yeah, there’s something that doesn’t allow to load the database, though it’s compiled into the self also for ps3. Maybe there’s some piece of code not endian safe that would explain different behaviour between ps3 and the other platforms.

[QUOTE=Ezio_PS;45198]@Combo try this other fix https://mega.nz/#!NYYQRAyY!luN95J1LpyWt6yAGRzNOOFf5QN2hr0EMrmIuVQFrRIQ Sorry, i had the tools broken the last week, maybe this fixes the eboot and not the cores, please give it a try.

@underball, yeah, there’s something that doesn’t allow to load the database, though it’s compiled into the self also for ps3. Maybe there’s some piece of code not endian safe that would explain different behaviour between ps3 and the other platforms.[/QUOTE]

Hi. Sorry but i can no longer test this new link. After trying the previous fix… Half way through installing the .pkg file my PS3 suddenly shut down and has YLOD. Sucks big time!

@ Ezio_PS

when i start retroarch, the physically available drives in the sub-menue for file / content-selection confusing me. See this following points:

  • The dev_bdvd-directory from the ISO-image is missing. This could be used to store the roms into the iso-image.
  • The app_home-directory has not a content.
  • Is the dev_hdd2-directory realy real, or is this the bdvd (but there is no content) ?

so i’am not able to select a content for loading from the ISO.

greetings, electrolyt

@Elektrolyt Yes, dev_bdvd path can be easily added, app_home path can be used with a dex ps3, while dev_hdd1 path could be removed since it’s a cache dir used by the system only for the firmware updates, and we usually never use it.

@underball I added 4 entries to the database and i got six roms working included Commando and Double Dragon, about Kung Fu Master i continue to get some graphics issue, maybe it needs some specific flag? Did you remember if load state works in 1.2.2 beta? It seems not working with 1.3.6, idk if it’s a regression or it doesn’t work before too, can you confirm? If you want to try this is the package https://mega.nz/#!xZRVgLYZ!am0TgY5m1IkDnBn4MzTuDR1f1dx84SdRI2ByzxsNiOM

My neogeo Roms are not running anymore with 1.3.6… Which bios is needed for retroarch? I hope somebody can help me…

you need the neogeo.zip from the ROMset that matches your emulator core version, and it needs to go in the same directory as your ROM (neogeo.zip is more like a parent ROM than a true BIOS, so it lives with the ROMs rather than in the ‘system’ directory).

Ok, that’s why it doesn’t running with the current 1.3.6…it’s a different core version…it’s tricky to find the right Bios…can someone give me a hint, please?

If it’s through FBA, just google ‘fba roms’ and the first hit should have the set you need, I think.

Thanks! Now everything works fine for me!!!

[QUOTE=Ezio_PS;45462]@Elektrolyt Yes, dev_bdvd path can be easily added, app_home path can be used with a dex ps3, while dev_hdd1 path could be removed since it’s a cache dir used by the system only for the firmware updates, and we usually never use it.

@underball I added 4 entries to the database and i got six roms working included Commando and Double Dragon, about Kung Fu Master i continue to get some graphics issue, maybe it needs some specific flag? Did you remember if load state works in 1.2.2 beta? It seems not working with 1.3.6, idk if it’s a regression or it doesn’t work before too, can you confirm? If you want to try this is the package https://mega.nz/#!xZRVgLYZ!am0TgY5m1IkDnBn4MzTuDR1f1dx84SdRI2ByzxsNiOM[/QUOTE]

ok - I tried this one. we’re getting closer! Looks like you have the region for those entries in Database.c set to PAL (region 1, instead of region 0) - which is what causes the graphical corruption. the region for NTSC roms needs to be set to Region=0.

also here’s the complete list of games that won’t load correctly, they are all NTSC:

Ace of Aces Kung Fu Master Midnight Mutants Mean 18 F-18 Hornet Xenophobe Beef Drop

Here you go :slight_smile: https://www.sendspace.com/file/wfadli

Ok! Now we’re really getting somewhere. So of those games I posted above, all are now working correctly, except Kung Fu MAster and Double Dragon. Double Dragon needs to be set to Region=0 Type=6 and Kung Fu MAster needs to be Type=1.

Also - a few others still not working correctly:

Basketbrawl - Type=4, Flags=1 Ninja Golf - Type=4 Fatal Run - Type=4 Motor Psycho - Type=4

How are you getting the alternate hash values that PS3 retro arch recognizes? I could generate them and put the correct settings for the broken games to make this easier.

[QUOTE=underball;46334]

How are you getting the alternate hash values that PS3 retro arch recognizes? I could generate them and put the correct settings for the broken games to make this easier.[/QUOTE]

Debugging on ps3. Alcaro kindly put a printf in the code to print the retrieved hash values while debugging, i just grab them and include into the database. The issue has been debated on github, the best solution would be to write a new function to get the md5 recognized for all the platforms, but it’ll break the savestates for all the other platforms. I’m not going to do it, i just added hashes recognized by ps3 to the database. All this is caused by typecasts not being endian safe while PS3 is endian.

Just i can i’ll add these other flags, thanks for providing this stuff.

[QUOTE=Ezio_PS;46376]Debugging on ps3. Alcaro kindly put a printf in the code to print the retrieved hash values while debugging, i just grab them and include into the database. The issue has been debated on github, the best solution would be to write a new function to get the md5 recognized for all the platforms, but it’ll break the savestates for all the other platforms. I’m not going to do it, i just added hashes recognized by ps3 to the database. All this is caused by typecasts not being endian safe while PS3 is endian.

Just i can i’ll add these other flags, thanks for providing this stuff.[/QUOTE] Cool. Yeah - I think just adding the few games that need the DB entries for the PS3 is much easier than rewiting the MD5 detection for all platforms. Adding a few entries to the DB is exactly what the DB is for in the first place. I’ll do some more thorough testing this weekend and see if I can give you a complete database.c file with all the games that need to be added/fixed.