PCSX2 / pcsx2

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

[Feature Request] store saves in PSU format with Folder memcards #4221

Closed eadmaster closed 3 years ago

eadmaster commented 3 years ago

Description Store saves in PSU format with Folder memcards instead of the current RAW format.

(Setup Folder memcards as usual.)

Reason

  1. This should prevent filename encoding and other issues related to the host filesystem, possibly improving compatibility of Folder memcards.
  2. saves are easier to manage and backup as single files.
  3. still possible to restore the saves in this format with uLaunchELF without losing any fs metadata.
  4. PSU saves can be imported directly with mymc into memcard images, while RAW saves require an additional conversion step.

Examples An open source reader for PSU files is here.

refractionpcsx2 commented 3 years ago

In regards to 1, we already have a PR open to improve the compatibility as some games require the date/time of files to be correct. #3941

Can you explain how this would be better? with raw memory cards it makes it easy to back up from your PS2 and copy them in to PCSX2 and visa versa, I'm not sure how using PSU format would make it any easier.

eadmaster commented 3 years ago

The PSU format is recommended over RAW/folder in uLaunchELF due to better compatibility. I guess the same applies here, as there may be e.g. some Japanese games using weird filenames that are not supported by the host filesystem and other edge-cases.

Since some users may still prefer the current RAW format for easier savegames hacking this could be implemented as a configurable option.

refractionpcsx2 commented 3 years ago

Yes what that post is referring to is the time/date information, which is what the above linked PR solves, as far as I'm aware there's no problems with the host file system beyond that.

I suppose there's an arguement that having it in PSU format will retain this information in a file (since there's unlikely a PCSX2 Folder to PSU converter) so this information is retained when copying to/from your PS2.

eadmaster commented 3 years ago

Other problems may arise when you perform backups via a cloud service or a storage media using a different filesystem.

(E.g. when transferring the saves via a FAT32-formatted pendrive to a real PS2.)

EDIT: just found out this was already requested here, so i'm closing this in favor of that.