RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Ape Escape (USA) crashes on lr-duckstation

    Scheduled Pinned Locked Moved Help and Support
    lr-duckstationretropiecrashape escape
    12 Posts 5 Posters 2.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mrrgrrgrr
      last edited by

      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.

      File: N/A

      Emulator: lr-duckstation

      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.

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        @mrrgrrgrr said in Ape Escape (USA) crashes on lr-duckstation:

        https://pastebin.ubuntu.com/p/pDpzbMFDP3/plain/

        The link you posted is not publicly accessible.

        M 1 Reply Last reply Reply Quote 0
        • M
          mrrgrrgrr @mitu
          last edited by

          @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.

          https://drive.google.com/file/d/1OcmhK2P2MrOxckSHl4Q5nEAgR0sYV8Nv/view?usp=sharing

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            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.

            M 1 Reply Last reply Reply Quote 0
            • M
              mrrgrrgrr @mitu
              last edited by

              @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.

              Thanks again.

              1 Reply Last reply Reply Quote 0
              • windgW
                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.

                My English isn't at a good level.

                1 Reply Last reply Reply Quote 0
                • Genos98G
                  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.

                  1 Reply Last reply Reply Quote 0
                  • dankcushionsD
                    dankcushions Global Moderator
                    last edited by

                    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.

                    windgW 1 Reply Last reply Reply Quote 0
                    • windgW
                      windg @dankcushions
                      last edited by

                      @dankcushions My ROM have CRC32 Hash : c6f455bc, can you tell me yours please ?

                      My English isn't at a good level.

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @windg
                        last edited by

                        @windg Looking at http://redump.org/disc/3086/, it seems you have the correct US version.

                        1 Reply Last reply Reply Quote 1
                        • dankcushionsD
                          dankcushions Global Moderator
                          last edited by

                          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.

                          1 Reply Last reply Reply Quote 2
                          • Genos98G
                            Genos98
                            last edited by

                            Thanks! Seems like the latest duckstation update finally fixes ape escape crashing.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.