libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.35k stars 1.84k forks source link

App crashed and now would not load #12307

Open dothackjhe opened 3 years ago

dothackjhe commented 3 years ago

First and foremost consider this:

Description

I tried loading the gpsp core when the application crashed with a certain error. Now, whenever I try to run Retroarch, it pops up the same error.

For reference, I am having the exact same issue as this guy from Reddit: https://www.reddit.com/r/vitahacks/comments/4y40e2/gpsp_retroarch_not_working_for_me/

Expected behavior

The app should run as normal. I used to play a PSX game with the emulator just fine previously.

Actual behavior

The homebrew would not run at all and pops up an error pertaining to the gpsp core, which I previously tried to load through it, whenever I try to run Retroarch.

Steps to reproduce the bug

  1. Run Retroarch.
  2. Load the gpsp core.
  3. App crashes and will no longer function normally afterwards.

Version/Commit

Environment information

dothackjhe commented 3 years ago

Here's the specific error I am getting, however:

_"An error has occured in the following application. (C2-12828-1) Saved Core File Succeeded. ux0:data/psp2core-1619159509-0x0000142a15-gpsplibreto.self.psp2dmp"

inactive123 commented 3 years ago

this is known about. we are waiting for davidgf to get his Vita so that we can fix this

dothackjhe commented 3 years ago

Hoping to get it fixed soon. I'm currently late into the game I am playing through it. It's a PSX title that simply would not run properly on any other emulator, especially for the PS Vita.

dothackjhe commented 3 years ago

Update: In case anyone come across this page and is also desperately seeking for a fix, someone at Reddit told me a valuable information in how to fix the issue: deleting a certain "salamander.cfg" file within /data/retroarch does it. Do note that the same file just gets re-generated after RA's next boot up, but will not cause any issue afterwards.

LibretroAdmin commented 2 years ago

I am going to assume this can be closed now then?

AndyHazz commented 1 year ago

I had the same issue with ScummVM - retroarch crashes as soon as you try to load the core, and then after that will crash every time you try to open retroarch.

retroarch-salamander.cfg just stores the last core loaded, so deleting it lets you load retroarch again.

A fix might be to only update retroarch-salamander.cfg after a core has successfully loaded, to stop people getting stuck.

And/or fix the cores so they don't crash.

AlbertoDiazC commented 1 year ago

idk about other platforms, but on the 3ds you can workaround this by setting the readonly attribute to the retroarch-salamander.cfg file, while it's still working (pointing to a valid core, or completely empty)