batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.86k stars 480 forks source link

V33 MAME (Retroarch) crashing when attempting to load RetroAchievements #5587

Closed Noble772 closed 1 year ago

Noble772 commented 2 years ago

When trying to launch games using the Mame core on Retroarch, some games will crash when attempting to load RetroAchievements. es_launch_stderr.log

shinzon76 commented 2 years ago

I have this problem with BSNES with retroachievements enabled. If I try to load BSNES on v33 x86_64 stable with retroachievements enabled, the game loads briefly and crashes back to emulationstation. Disabling retroachievements allows the game to load.

Super Mario World 2 Yoshi's Island dump which matches no-intro is a good test case, game crashes in BSNES with retroachievements enabled.

jdruding commented 2 years ago

I have this same issue. Pi 4, v33. Specifically happens with qbert and donkey Kong. Retroachievements turned on, it crashes the game. Turned off, it is fine.

Hew-ux commented 2 years ago

I've noticed that when playing MAME with retroachievements, it does freeze for a second when it logs in, but it does not crash. x86_64. It could be that this hitch is too much for the weaker SBCs and causes them to crash.

Hew-ux commented 2 years ago

Also important to note: retroachievements aren't actually supported when using MAME. A quick solution would be to simply disable retroachievements for MAME.

mame.retroachievements=0

RetroAchievements are shown as available, however that is for the title of the arcade game. The only core that actually supports RetroAchievements (as of writing) is FBNeo. This can be demonstrated in this screenshot: screenshot-2022 07 22-20h35 48 The arcade title Arkanoid does have RetroAchievements, however the core being used (MAME) does not expose the game's memory in order to be able to support unlocking them. Switch over to using FBNeo for this game and you will see achievements being available to be unlocked.

Hew-ux commented 1 year ago

@NobleGaming Could you check for this issue again in the most recent beta? It should be fixed.

lbrpdx commented 1 year ago

I can confirm the Hew-ux's explanation is right, as of now only LR-FBNeo can unlock RetroAchievements for arcade systems, not LR-MAME (but no crash on LR-MAME right now). No response for over 6 months, assuming it's Ok to close.