RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

[PSP] ms0: and ef0: on PSP GO

Open DocMAX opened this issue 6 years ago • 10 comments

RetroArch tries to load retroarch.cfg from ms0: instead of ef0:

DocMAX avatar Apr 09 '18 21:04 DocMAX

anyone?

DocMAX avatar Apr 19 '18 18:04 DocMAX

I don't have a PSP, so I can't effectively test this. Pushed up a quick change over at https://github.com/libretro/RetroArch/pull/6599 .

RobLoach avatar Apr 20 '18 10:04 RobLoach

hello. I ran into this problem today while trying to run Retroarch on the PSP Go. I found a way around it. You can use a Hex Editor such as HXD, load up the 81_libretro.pbp core in it and search for the ms0 string. You will have to modify the values of ms (6d 73) to ef which is 65 66. Search for all instances of ms0 and change it to ef0. there should be 3 instances. Then you do that for all the other cores too or just the emulator you want to run. Like if you just want to test a Sega CD game, just modify the picodrive core.

shoddydev avatar Aug 02 '18 19:08 shoddydev

hello. I ran into this problem today while trying to run Retroarch on the PSP Go. I found a way around it. You can use a Hex Editor such as HXD, load up the 81_libretro.pbp core in it and search for the ms0 string. You will have to modify the values of ms (6d 73) to ef which is 65 66. Search for all instances of ms0 and change it to ef0. there should be 3 instances. Then you do that for all the other cores too or just the emulator you want to run. Like if you just want to test a Sega CD game, just modify the picodrive core.

This solved my issue when trying to get TempGBA working. Great suggestion. I will also add that I am also using a PSP GO and the default save directory in Retro Arch for PSP 1.7.7 is still ms0 instead of the required ef0 for this generation of devices. This is noticed when trying to save the configuration files in the interface and an error with display at the top of the screen "Failed to save in ms0:"

cazrep avatar Jul 06 '19 17:07 cazrep

I also have this issue.

redthing1 avatar Dec 31 '21 10:12 redthing1

Also have this issue, it tries to save to ms0 instead of ef0. Running latest build.

andreigrigoruta avatar Mar 28 '22 16:03 andreigrigoruta

@fjtrujy Any ideas here?

LibretroAdmin avatar Sep 03 '22 03:09 LibretroAdmin

This is still happening, RA has hardcoded the path ms0 for loading by default the RA config. I don’t have a PSP go, and actually I never used the elf0 unit.

I don’t know if there is a runtime way of getting the proper unit where the configuration need to be saved/loaded

let’s keep the issue open

fjtrujy avatar Sep 03 '22 07:09 fjtrujy

Exactly the same thing is happening to me on RA 1.15.0. Cant save my configuration without an expandable storage card.

VorgonBattlecruiser avatar Jun 10 '23 21:06 VorgonBattlecruiser

The ARK-4 project use some specific bits to detect the current device:

image

But, in a more specific case, we can use the function sceIoOpen with the PSPSDK to check if the file exists:

image

We can check, in some step, if ms0:/PSP/RETROARCH/ exists and, if not, change to ef0:/PSP/RETROARCH/:

image

Or we can check the current device to use ms0 or ef0, but I think it's less efficient.

MateusBMP avatar Mar 08 '24 03:03 MateusBMP