Ape Escape (USA) crashes on lr-duckstation
Pi Model or other hardware: 4B
Power Supply used: Official raspberry pi power supply
RetroPie Version Used: 4.7.18
Built From: Pre made SD Image on RetroPie website
USB Devices connected: Xbox One Controller
Controller used: Xbox One Controller
Error messages received: Refer to verbose log below.
Verbose log (if relevant):
'Panic triggered: 'Failed to evict guest register for new allocation' in function AllocateHostReg (../../src/core/cpu_recompiler_register_cache.cpp:203) Aborting application. /opt/retropie/supplementary/runcommand.sh: line 1304: 4270 Aborted
Guide used: None.
Attachment of config files: The config files for DuckStation, Ape Escape, and the Raspberry Pi have been summarized within the link below. https://pastebin.ubuntu.com/p/pDpzbMFDP3/plain/
How to replicate the problem: Boot Ape Escape (US Ver.) on lr-duckstation. Start a new game or load an existing save. The game will crash and go back to emulationstation when the player character is about to load on screen.
Other things to note:
- I am currently on Linux 5.10.17-v71+
- Same result occurred when trying the game with different BIOS files
- Same result occurred regardless of the game's file type (bin/cue, chd, and pbp files all crash at the same spot)
- I have not had this issue with any other games I have tested thus far
- This appears to be the same issue that someone else noted on reddit a couple of weeks ago with the Android version of duckstation (Here's a link to the post for reference)
Any help figuring out this issue would be greatly appreciated. Let me know if you have any further questions.
@mitu Oops. My bad. I thought it would be. I'm not sure how else to share this, so I uploaded the txt file onto google drive if that works for you.
I can't reproduce the issue. I started a new game and passed , without any crashes. I had to change the controller type to 'Analog/Dualshock' in RetroArch in order to be able to move, but other than that the defaults worked fine.
The BIOS file I used:
Using BIOS 'SCPH1001.BIN': SCPH-1001, 5003, DTL-H1201, H3001 (v2.2 12-04-95 A)
Make sure you're using a Redump validated image (.cue/.bin) and have the latest RetroArch version installed.
@mitu Thanks for putting some time into this. I appreciate your efforts.
I tried updating retroarch - Same issue.
I tried uninstalling and reinstalling lr-duckstation - Same issue.
I tried using the exact same BIOS file - Same issue.
Bit of a headscratcher. Could be a bad dump... although the game runs fine on lr-pcsx-rearmed. I'll play it on that for now, and I'll experiment a bit more on this issue on my end. If I happen to figure out what the exact issue is, then I'll update this topic accordingly.
windg last edited by
It's crashing here too with lr-duckstation. After i start a new game and after the intro, it crash when the character appear on the game field.
Genos98 last edited by Genos98
Can also confirm that it will crash everytime you spawn at the start with the lighting effects. I tried playing the game for a while using retroarch on my pc and transfered the save I got there on retropie. Unfortunately the game still crashes after I load the game and it seems like the crash is always triggered by that lighting effects. I also tried the PAL version and yeah it also crashes the same way.
it works for me. i did the tutorial level.
it sounds like a (perhaps well-circulated) bad dump. duckstation is perhaps more sensitive to these than other psx emulators, but i think you'll struggle to get support upstream from the developer for dump-related issues.
windg last edited by
@dankcushions My ROM have CRC32 Hash : c6f455bc, can you tell me yours please ?
looks like it’s fixed! https://github.com/stenzek/duckstation/issues/2599#event-5282511225
i didn’t check my CRC but it’s possible i tried it in aarch64 where it presumably works, as i was testing both at the time.
it might take a few days for the fix to appear on the binary file that is grabbed when updating duckstation via retropie.
Genos98 last edited by
Thanks! Seems like the latest duckstation update finally fixes ape escape crashing.