New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libretro] saving/loading broken when savefiles_in_content_dir = "true" #15437
Comments
Games hardcode the path /PSP/SAVEDATA inside their code. The option isn't really a smart idea to begin with for PSP games. -[Unknown] |
I am also experiencing this issue on Steam Deck. If your content directory is on the MicroSD then when |
Didn't fix the issue, seems to be an issue here : hrydgard/ppsspp#15437
Just messed with this a bit, looks like this bug happens when the folder where the games are stored is named "PSP". For example:
This seems to be a PPSSPP issue as it happens on standalone as well, easy to reproduce:
I say "issue" but idk, maybe this is done on purpose for some reason? |
@bslenul Not exactly what's reported in this issue. The problem here is libretro enforces memstick path in some awful way and PPSSPP doesn't see it's savedata, with the steps you "reproduced" the problem on proper PPSSPP - savedata is read correctly, so it's not really an issue in real PPSSPP. "PSP" folder behavior is expected, but doesn't seem related to the above following first post explaining the issue, having PSP/PSP would be weird and ugly and on mobiles which have physical "memstick" we start memstick directory from PSP. |
Yeah sorry, just trying to figure why it's happening :p And I was curious to know if it was a bug or if it was intended. edit: Ah, I should've searched a bit first, my answer was here: Lines 622 to 627 in 35dfd85
Sorry about that. Weirdly enough, the RetroArch issue doesn't happen on Windows, the save is read properly even if the "SAVEDATA" folder is created inside the game folder 🤔 I'm able to reproduce the issue on my Linux Mint VM however. |
Yep, still having this issue. I'm on Android 13. |
good catch-- and indeed it looks like that might have been the cause of my original issue. i had edited the pathnames in my original report to anonymize and didn't even realize that the pathname might have had relevant information. i've gone ahead and updated the examples to more accurately reflect the actual folder structure |
given @bslenul's investigation, it's looking like this issue is leaning towards "working as intended" territory. though before it's closed out, i think it's worth having a discussion on whether or not it makes sense from a libretro perspective with the from what i understand, while |
Oh, I actually misread this, but I suspect it's something similar. I don't use the savefiles_in_content_dir option, but instead I'm using the option to sort saves by content directory, and my ROMs are in a directory named "PSP" as well. So my saves are in a /PSP subdirectory within the default libretro saves directory. |
I ran into an opposite issue using RetroArch 1.15.0 on Windows 10 when using a relative path (".\saves") for the "save" directory. With the default RetroArch setting of "Write Saves to Content Directory" option OFF, the PPSSPP core was not able to create any save files. But with "Write Saves to Content Directory" set to ON, saving works normally. It is the only core I have come across so far with this issue. |
I"m running into this issue as well on a Retroid Pocket 3+. I sync my saves with a ChimeraOS machine which keeps the savegames in a foler called PSP so I don't have the option of using a seperate folder or using the rom folder. |
Hi there, I believe this also causes an issue with specific SteamDeck setups; most notably, mine. With a directory tree like In the mean time for me, I've just renamed my PSP directory to I've created a post on Steam Community as well: https://steamcommunity.com/app/1118310/discussions/3/3805030629037194467/ |
Game or games this happens in
None
What area of the game / PPSSPP
when the retroarch option
savefiles_in_content_dir
is set to"true"
, the system/save directories are created next to the rom file but PPSSPP attempts to access them as a subfolder ofPSP
. to illustrate:after loading
~/roms/psp/game.iso
:# ls ~/roms/psp/ game.iso PPSSPP_STATE/ SAVEDATA/ SYSTEM/
however, when attempting to save, the following error is received:
What should happen
the system/save data should be created in a
PSP
folder next to the content:# find ~/roms/psp/ game.iso PSP/PPSSPP_STATE/ PSP/SAVEDATA/ PSP/SYSTEM/ ...
or PPSSPP should look for these dirs without the
PSP
parent folderLogs
Platform
Linux / BSD
Mobile phone model or graphics card
n/a
PPSSPP version affected
PPSSPP (version 1120003)
Last working version
No response
Graphics backend (3D API)
Vulkan
Checklist
The text was updated successfully, but these errors were encountered: