Skip to content
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

V34 Libretro PPSSPP Save Issues #6377

Closed
MoneyMal opened this issue Jun 13, 2022 · 10 comments
Closed

V34 Libretro PPSSPP Save Issues #6377

MoneyMal opened this issue Jun 13, 2022 · 10 comments

Comments

@MoneyMal
Copy link

Saving in Libretro PPSSPP is broken for me after upgrading to V34 Stable. When attempting to create a save file I’m met with an “Unable to save” message and results in a corrupted save file. Save files I had before the upgrade have disappeared. I'm aware that the game save location has changed in this release but has seemingly created a conflict in my system.

@LukeMW
Copy link

LukeMW commented Jun 19, 2022

I'm having the exact same problem. Really hoping this gets fixed.

@MoneyMal
Copy link
Author

I have found a work around for creating new saves for the time being. Start your game with the stand alone PPSSPP emulator and create a save file. Then exit and switch to Libretro PPSSPP. The save file previously created with PPSSPP should work, at least it works for me. I think old save files created pre V34 will have to be moved to the new directory. I have not tested that though. Hope that helps.

@LukeMW
Copy link

LukeMW commented Jun 20, 2022

Thanks very much. It worked, although, in a slightly different way. I found that any game I tried to save with the libretro core of PPSSPP previously, would not work at all in the standalone version (I'd get thrown back to the games list right after selecting the game). So, I tried deleting the save files/folders of those games to see if that would do anything. Luckily, doing that seemed to work and the standalone PPSSPP started the games just fine. I then saved, switched back to the libretro core and noted that the saves I made in the standalone version didn't show up. However, I was indeed able to then save using the libretro core after that. Thanks again.

@lbrpdx
Copy link
Contributor

lbrpdx commented Jun 22, 2022

I don't have any v34 install any more, but I think it's fixed in the current dev build for Batocera 35 thanks to #6374

@MoneyMal
Copy link
Author

Thanks for the info. I updated to the most current dev build but unfortunately my issue still persists.

@dmanlfc
Copy link
Collaborator

dmanlfc commented Jun 25, 2022

I don't have any v34 install any more, but I think it's fixed in the current dev build for Batocera 35 thanks to #6374

that was for standalone ppsspp - need to look into libretro-ppsspp

@SirRamEsq
Copy link

SirRamEsq commented Jul 8, 2022

I'm having this issue as well.

PSP emulation seemed to work fine for me when using v33. Could save without any issues.
Upgraded to v34 and libretro:PPSSPP doesn't seem to want to save
For standard PSSPP, I can't launch games, it immediately crashes back to EmulationStation.

libretro:PPSSPP is odd though. I think what is happening is the following
If I delete the SAVES dir, it is able to make a new folder for the ROM and save a file. But after saving it complains that the file is corrupted.
If the SAVES dir exists, it can't save at all.
Haven't exhaustively tested it, but I think that description is consistent with what I'm seeing.

@LukeMW I tried deleting the PSP Saves folder (\SAVES\psp\SAVEDATA), but I still can't launch standard PPSSPP. Did you delete any other folders or take any other steps to work around the issue?

Also, FWIW, I'm using a network share for my SAVES and ROMS dir, not sure if relevant

@LukeMW
Copy link

LukeMW commented Jul 8, 2022

@SirRamEsq Well, I didn't delete the actual PSP saves folder, I deleted the individual game saves within that folder.

@SirRamEsq
Copy link

@LukeMW Thanks for the clarification. Unfortunately, standard PPSSPP still doesn't boot for me :(

If it helps, The following is the error log for standard PPSSPP

42:15:034 UI/NativeApp.cpp:421 E[LOADER]: Failed graphics backends: 0 (OPENGL)
42:15:034 Core/Config.cpp:727 E[LOADER]: Graphics backend failed for 0, trying another
42:15:034 Core/Config.cpp:752 E[LOADER]: All graphics backends failed

No idea why all the graphics backends are failing ¯\(ツ)

the following is the error log for libretro:ppsspp

[INFO] [Video]: Found display server: "x11".
[INFO] [ALSA]: Using floating point format.
[INFO] [ALSA]: Period size: 768 frames
[INFO] [ALSA]: Buffer size: 3072 frames
[INFO] [ALSA]: Can pause: yes.
[INFO] [Display]: Found display driver: "gl".
[INFO] [Core Info] Wrote to cache file: /usr/share/libretro/info/core_info.cache
ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
[ERROR] [MIDI]: snd_seq_open failed with error -2.
[ERROR] [MIDI]: Initialization failed.
[INFO] [Playlist]: Loading history file: "/userdata/system/configs/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/userdata/system/configs/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/userdata/system/configs/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/userdata/system/configs/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/userdata/system/configs/retroarch/content_favorites.lpl".
[INFO] [Video]: Frame delay reset to 8.
[libretro WARN] [G3D] Precompiling the shader cache from '/userdata/saves/psp/SYSTEM/CACHE/ULUS10068.glshadercache'
[libretro WARN] [G3D] Precompile: Compiled and linked 6 programs (3 vertex, 6 fragment) in 0.1 milliseconds
[INFO] [GLX]: Resized fullscreen resolution to 1920x1080.
[INFO] [RCHEEVOS]: SirRamEsq logged in successfully
[INFO] [RCHEEVOS]: Fetched user unlocks 3219
[INFO] [RCHEEVOS]: Fetched game data 3219
[INFO] [RCHEEVOS]: Fetched hardcore user unlocks 3219
[INFO] [RCHEEVOS]: Starting periodic rich presence update task for game 3219
[INFO] [RCHEEVOS]: Registered 0x800000 bytes of SYSTEM RAM at $000000 (offset 0x000000)
[INFO] [RCHEEVOS]: Registered 0x1800000 bytes of SYSTEM RAM at $800000 (offset 0x800000)
[INFO] [RCHEEVOS]: Load finished
[INFO] [RCHEEVOS]: You have 0 of 59 achievements unlocked.
[INFO] [RCHEEVOS]: Started session for game 3219
[libretro ERROR] [FILESYS] DirectoryFileSystem::OpenFile('/PSP/SAVEDATA/ULUS10068MMMHXSYS/PARAM.SFO'): FAILED, 2 - access = 1 ''
[libretro ERROR] [FILESYS] DirectoryFileSystem::OpenFile('/PSP/SAVEDATA/ULUS10068MMMHXSYS/PARAM.SFO'): FAILED, 2 - access = 26 ''
[libretro ERROR] [FILESYS] DirectoryFileSystem::OpenFile('/PSP/SAVEDATA/ULUS10068MMMHXSYS/SYSTEM.DAT'): FAILED, 2 - access = 26 ''
[libretro ERROR] [SCEUTIL] Error writing file ms0:/PSP/SAVEDATA/ULUS10068MMMHXSYS/SYSTEM.DAT
[INFO] [State]: Saving state "/userdata/saves/psp/Mega Man - Maverick Hunter X (USA) (v1.01).state1", 41951328 bytes.
[libretro ERROR] [FILESYS] DirectoryFileSystem::OpenFile('/PSP/SAVEDATA/ULUS10068MMMHXSYS/PARAM.SFO'): FAILED, 2 - access = 1 ''
[libretro ERROR] [FILESYS] DirectoryFileSystem::OpenFile('/PSP/SAVEDATA/ULUS10068MMMHXSYS/PARAM.SFO'): FAILED, 2 - access = 1 ''
[libretro ERROR] [FILESYS] DirectoryFileSystem::OpenFile('/PSP/SAVEDATA/ULUS10068MMMHXSYS/PARAM.SFO'): FAILED, 2 - access = 26 ''
[libretro ERROR] [FILESYS] DirectoryFileSystem::OpenFile('/PSP/SAVEDATA/ULUS10068MMMHXSYS/SYSTEM.DAT'): FAILED, 2 - access = 26 ''
[libretro ERROR] [SCEUTIL] Error writing file ms0:/PSP/SAVEDATA/ULUS10068MMMHXSYS/SYSTEM.DAT
[libretro ERROR] [FILESYS] DirectoryFileSystem::OpenFile('/PSP/SAVEDATA/ULUS10068MMMHXSYS/PARAM.SFO'): FAILED, 2 - access = 1 ''
[libretro ERROR] [FILESYS] DirectoryFileSystem::OpenFile('/PSP/SAVEDATA/ULUS10068MMMHXSYS/PARAM.SFO'): FAILED, 2 - access = 1 ''
[libretro ERROR] [FILESYS] DirectoryFileSystem::OpenFile('/PSP/SAVEDATA/ULUS10068MMMHXSYS/PARAM.SFO'): FAILED, 2 - access = 26 ''
[libretro ERROR] [FILESYS] DirectoryFileSystem::OpenFile('/PSP/SAVEDATA/ULUS10068MMMHXSYS/SYSTEM.DAT'): FAILED, 2 - access = 26 ''
[libretro ERROR] [SCEUTIL] Error writing file ms0:/PSP/SAVEDATA/ULUS10068MMMHXSYS/SYSTEM.DAT
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 49 seconds.
[INFO] [Runtime]: Saving runtime log file: "/userdata/system/.config/retroarch/playlists/logs/PPSSPP/Mega Man - Maverick Hunter X (USA) (v1.01).lrtl".
[INFO] [Core]: Unloading game..
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [Core]: Saved core options file to "/userdata/system/configs/retroarch/cores/retroarch-core-options.cfg".
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 1.
[INFO] [XINERAMA]: Saved monitor #0.
[INFO] [Video]: Average monitor Hz: 59.840823 Hz. (10.189 % frame time deviation, based on 2048 last samples).

Not sure if related, but found this:
hrydgard/ppsspp#15437

@dmanlfc
Copy link
Collaborator

dmanlfc commented Jul 27, 2022

try the next beta

@dmanlfc dmanlfc closed this as completed Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants