PCSX2 / pcsx2

PCSX2 - The Playstation 2 Emulator
https://pcsx2.net
GNU General Public License v3.0
11.89k stars 1.63k forks source link

[BUG] Multiple games can no longer read back folder memory cards #4098

Closed RedPanda4552 closed 3 years ago

RedPanda4552 commented 3 years ago

Describe the bug When playing Ratchet and Clank: Going Commando or Ratchet and Clank: Up your Arsenal, folder memory cards can be used to create a new save file and successfully save throughout the game session. However, upon rebooting the game, it will not be able to see its save data and instead try to create new empty save files, overwriting those which already exist on disk.

Update: Add to the list of affected games:

To Reproduce Start the first level of either game. Simply starting the level will create the save file. Reboot the game and attempt to load. The game will prompt that no saves exist. Using this same folder memcard in an older build, the save will be found and is perfectly loadable, suggesting there is no damage done to the data, just an inability to read it back.

Expected behavior The game should present the list of save files, not say that none are present.

GS Settings Not a GS issue, but upscaling at 6x.

Emulation Settings All defaults (EE/VU rounding/clamping, MTVU/Instant VU1 disabled, no EE cyclerate changes). EE and IOP interpreters do not help.

GS Window Screenshots Nothing graphical to show.

System Info (please complete the following information):

Logs and Dumps Emulog attached for Ratchet and Clank: Up your Arsenal, though it is rather uneventful. emuLog.txt

F0bes commented 3 years ago

~~Can verify this problem exists on dev-797. Shutting down GTA: LCS after saving then starting back up will lead to no saves being found by the game.~~ Oops, unrelated issue 😩

refractionpcsx2 commented 3 years ago

Does this persist with #3941 ?

RedPanda4552 commented 3 years ago

Issue persists on that PR, yes.

PawTM commented 3 years ago

Tested on Gran Turismo 4, this issue only seems to appear when having the "Automatically manage saves based on running game" option enabled. grafik Without it, the game loads my saves just fine.

refractionpcsx2 commented 3 years ago

I wonder if this is related to the gamedb shift to YAML, pretty sure the gamedb interfaces with it in some fashion, nothing else with folder memcards has changed.

Pinging @xTVaser for possible investigation

RedPanda4552 commented 3 years ago

A little digging, the common factor between these games is that they all use memcard filters in gamedb. Games without any filters seem to work fine, games with filters will fail. Disabling filtering completely (and thus generating a FAT for all of the folder memcard's contents all at once) won't have this problem, as paw noted.

RedPanda4552 commented 3 years ago

Resolved by #4105