Mednafen PSX core crash

Hello everybody

I have used the old RetroArch for quite some time with a lot of cores, but I especially liked the Mednafen PSX core, and it was working like a charm:

  • I have the correct bios files in the system folder
  • I have working cue/bin files of all my games
  • I use PS3 pads with xinput wrapper (wireless)
  • My OS is Windows 7 with all the latest patches, and the latest version of DirectX

Then I updated Retroarch to Version 1.2.2 (64 bit), downloaded the latest Mednafen PSX core version, and made a new cfg file. Then the trouble began. As soon as I load a cue file, Retroarch crashes with the following message:

unhandled setting UI: psx.input.port1.gun_chairs unhandled setting UI: psx.input.port2.gun_chairs unhandled setting UI: psx.input.port3.gun_chairs unhandled setting UI: psx.input.port4.gun_chairs unhandled setting UI: psx.input.port5.gun_chairs unhandled setting UI: psx.input.port6.gun_chairs unhandled setting UI: psx.input.port7.gun_chairs unhandled setting UI: psx.input.port8.gun_chairs terminate called after throwing an instance of ‘MDFN_Error’ what <>: Error opening file No such file or directory

This application has requested the Runtime to terminate it in an unusual way. Please contact the application’s support team for more information.

I tried to use the old core I had been using before, but to no avail. Still the same crash with the same error. Then I tried to change the Driver from “gl” to “d3d”, but this didn’t help either. In fact, when I switch to “d3d”, and I try to load the config, then retroarch crashes right away.I have no clue what could be causing this, as all other cores work perfectly with the new Version of RetroArch. Any ideas?

“no such file or directory” means it can’t find a file, either the bios or the cue’s bin. Possibly your system/bios directory got messed up somewhere? If it’s a game that worked previously, it’s probably the system/bios directory.

hmmm, I have an idea, which I cannot check right now because I’m not at home. Does Retroarch check for the case in a directory’s name? I think to remember that the system folder was “System” before, and is now “system” in the newer builds. I will have a look at it when I get home. Is there nothing wrong with “unhandled setting UI: psx.input.port1.gun_chairs”? I have no guns attached, and only 4 players defined in my config, so I was wondering why the hell I got an error stating something about 8 ports…

EDIT: this doesn’t make sense. I use the Yabause core for Sega Saturn games, and I have the Saturn bios in the system folder. The Yabause core works well though. I don’t think my system folder is the problem.

Load up the PSX core, then go to Information > Core Information and it will tell you if it’s finding your BIOS files or not.

Whether the case matters is dependent on the filesystems involved. Windows’ NTFS filesystem is case insensitive, as is FAT16/32, but pretty everything else modern is case-sensitive.

Hi hunterk

Thanks a lot for your help. I didn’t know about the core information showing missing bios files. Indeed it was that. The config was looking at the <content> folder, and could not see the bios files. Now I pointed it to the system folder and everything works as intended. Sorry for the hassle.

I still have a problem though. I would like to switch the driver to d3d, but when I do so, restart RetroArch, and reload the psx config, RetroArch just crashes. Is this a known problem? I’m stuck with gl on all my cores at present, but I would like to use d3d.

What’s your reasoning for choosing d3d? libretro-gl cores like PPSSPP and Mupen64plus won’t work with the d3d driver, but I don’t think that’s what’s happening here, as mednafen-psx is all software-rendered.

However, there may be some other conflicting settings in your retroarch.cfg, so I suggest moving it somewhere else temporarily so RetroArch will create a new one on launch, then set your ‘system’ directory and change your driver again without changing anything else. If it still crashes for you with mednafen-psx, try some other cores like snes9x or nestopia and see if they crash, too.

I am having this same issue. I managed to get it to run with beetlepsx but medafen is no dice. It’s giving the same “unhandled setting UI: psx.input.port1.gun_chairs” error and crashing.

Hello dear fellows, I’m using the nightly build 1.3.0 on Windows Seven and I have exactly the same problem (unhandled setting…) and other issues : I’ve got a missing bios and it’s nowhere to be found : the one ending with 5501.

Otherwise I searched for hours and found that we could be using another core : PCSX-rearmed, except I have no clue how to compile this into a dll or if this is right.

That being said, my other emulator ePSXE is working fine ! How can that be ?

And to end with a cheerful note : my snes and megadrive roms are working just fine and your work is cool anyway.

Greetings, im having a problem with the PSX core in windows XP. Latest stable retroarch, and I update the cores online

I get this info at crash (Old core works great)

unhandled setting UI: psx.input.port1.gun_chairs unhandled setting UI: psx.input.port2.gun_chairs unhandled setting UI: psx.input.port3.gun_chairs unhandled setting UI: psx.input.port4.gun_chairs unhandled setting UI: psx.input.port5.gun_chairs unhandled setting UI: psx.input.port6.gun_chairs unhandled setting UI: psx.input.port7.gun_chairs unhandled setting UI: psx.input.port8.gun_chairs

This application has requested the Runtime to terminate it in an unusual way. Please contact the application’s support team for more information.

Hi, sorry double post, but i set the log level to error, and i get this

unhandled setting UI: psx.input.port1.gun_chairs unhandled setting UI: psx.input.port2.gun_chairs unhandled setting UI: psx.input.port3.gun_chairs unhandled setting UI: psx.input.port4.gun_chairs unhandled setting UI: psx.input.port5.gun_chairs unhandled setting UI: psx.input.port6.gun_chairs unhandled setting UI: psx.input.port7.gun_chairs unhandled setting UI: psx.input.port8.gun_chairs RetroArch [libretro ERROR] :: :: Error opening file No such file or directory

This application has requested the Runtime to terminate it in an unusual way. Please contact the application’s support team for more information.

I have this 3 bios, and old core is working, the CUE+BIN i tested all are correct

scph5500.bin scph5501.bin scph5502.bin

I miss something? maybe the bios are not correct?

Radius

I just installed XP x64, retroarch 64bits, and the latest PS1 core works great, same bios, same CUE/BIN…

Is just in XP 32bits that not work, maybe a bug?

I am having the exact same isssue, windows 8.1 x86… i have ran mednafen without retroarch perfectly fine.

I have the correct bios and correct game images however retroarch crashes every single time.

Mednafen 32bit works flawlessly, however using retroarch would be more suitable for me as i want to run it on a 7" windows tab (i want to be able to use gamepad overlays)

I could use epsxe and gestureworks however id prefer if someone could give me some help. I also cannot use a 64bit machine as my tab only supports 32bit drivers.

I can confirm this core works with a 32bit os

http://www.mediafire.com/download/679eye8cm2h143y/mednafen_psx_libretro.dll

Runs on my linx 7 perfectly, all be it at 14fps windowed.

Make sure in ‘Directory’ you have the ‘system’ folder path defined and the PSX bioses are in there

[QUOTE=theelf;32000]Greetings, im having a problem with the PSX core in windows XP. Latest stable retroarch, and I update the cores online

I get this info at crash (Old core works great)

This application has requested the Runtime to terminate it in an unusual way. Please contact the application’s support team for more information.[/QUOTE]

Same crash message here in mednafen psx core using 32bit version of retroarch.

EDIT: Confirmed NOT crashing in 64bit version of retroarch, only in 32bit version.

I was having the same issue and the only thing that worked for me was downloading another copy of RetroArch. I have the bios files in the correct location on my old installation, and the core says they are present, but Mednafen PSX would still crash every time. Interestingly this same issue was also occurring on my SHIELD TV. Instead of installing a newer nightly, all I did was clear the data, re-download the core, and set the directory. Now it works great. For some reason Mednafen appears to stop working after a while.

Same issue happened with me. Only fixed by downloading and reinstalling again.

On Windows 10 it was very slow. But today I figured out the cause: Vsync!

I turned Vsync OFF inside Retroarch and Mednafen-psx became very fast.

Just wanted to say that I too had several crashes with the Mednafen PSX core and it drove me crazy but I found out what was causing it in the end and got it working.

The fault? My BIOS file was named like this SCPH-5500.bin when the crash log said it was looking for scph5500.bin

See the difference? Yeah I sure didn’t until I read every single line in the crash log very carefully.

Now the Mednafen PSX core is running every game in my PSX collection!

@Hyllian, yeah I noticed this too and had to disable Vsync also.