Sync various save data across emulators because hard drive died in 2023 and I should back up stuff.
Important
Use sync.py insteadRunning upload saves to git.py should always been done right after finishing playing a game/changing files, and downloading should be done before opening the game download saves from git.py (though theoretically downloading can be done any time after uploading)
This process uses git (with github to host) to sync save files from (in my case) various emulators across multiple devices. This is done by writing app names and file paths to locations.txt, running upload saves to git.py to update your save data, and then running download saves from git.py. Dates and file hashes are checked to determine when to update locally stored save data. Backups are created as a precautionary measure to prevent data loss.
The format for locations.txt is as follows:
vita3k P4G
C:\Users\User\AppData\Roaming\Vita3K\Vita3K\ux0\user\00\savedata\PCSB00245
minecraft test
C:\Apps\MultiMC\instances\1.20.2 Optimised Mods\.minecraft\saves
C:\Games\MultiMC\instances\1.20.2 Optimised Mods\.minecraft\saves
Multiple lines can be used for file paths, as each one will be checked through.
- This isn't automatic
- You could delete all your saves in the game, and then update the repo, and cry (That's why I made a backup solution)

