[Multiplatform] Persona 4 Golden Save Converter

Share, discover, or contribute to mods for Persona 4 Golden for the PSVita and PC.
Post Reply
User avatar
cabbage
Posts: 13
Joined: Thu Feb 27, 2020 5:53 am
Been thanked: 18 times

[Multiplatform] Persona 4 Golden Save Converter

Post by cabbage » Tue Jun 16, 2020 5:17 am

This repo:

https://github.com/zarroboogs/p4g-saveconv

contains:
  • convert_vita2pc.py, a utility that converts P4G PS Vita saves to P4G PC saves:
    • PS Vita data00XX.bin and system.bin files are converted to the PC format (see FAQ #1 in README.md).
    • PS Vita sdslot.dat file is converted to PC data00XX.binslot files (see FAQ #2 in README.md).
    This tool will convert the above into proper PC .bin/.binslot files.

    There's no need to edit any hashes manually.
  • convert_pc2vita.py, a utility that converts P4G PC saves to P4G PS Vita saves.
-----

WARNING: REMEMBER TO BACKUP YOUR SAVES BEFORE USING THIS TOOL.

-----

Refer to README.md for more info.

Image
Last edited by cabbage on Fri Jun 19, 2020 2:08 pm, edited 4 times in total.

User avatar
Kiter27
Posts: 1
Joined: Tue Jun 16, 2020 5:59 am

Re: [Multiplatform] Persona 4 Golden Save Converter

Post by Kiter27 » Tue Jun 16, 2020 6:01 am

Hello! I'm not exactly sure I understand how to do this, as I'm not familiar with python. Could you by chance make a video going over this, or possibly help me out? I'm not exactly sure where to start, and I'd really like to port my Vita saves over to PC.

User avatar
Greymanz
Posts: 19
Joined: Sun May 10, 2020 3:06 am
Has thanked: 4 times
Been thanked: 3 times

Re: [Multiplatform] Persona 4 Golden Save Converter

Post by Greymanz » Tue Jun 16, 2020 6:06 am

Oh wow, nice work on this! As an extra feature, do you think itd be possible to make it so you can convert it the other way around?

User avatar
cabbage
Posts: 13
Joined: Thu Feb 27, 2020 5:53 am
Been thanked: 18 times

Re: [Multiplatform] Persona 4 Golden Save Converter

Post by cabbage » Tue Jun 16, 2020 7:46 pm

@Greymanz I added a separate script to the repo linked in the OP to convert PC saves to PS Vita saves, though I haven't tested it much.

@Kiter27 assuming you're on Win10:
1. Download and install the latest version of Python 3
2. Follow the guide in README.md to export your saves from Vita to PC
3. Download the convert_vita2pc.py script from the repository to you PC
4. Put the script in a dir that contains the save dir you exported from Vita
5. Open cmd.exe in that directory, and execute (assuming the save dir you exported from vita is called PCSE00120):

Code: Select all

python.exe .\convert_vita2pc.py PCSE00120
The script will output the converted saves to a new PCSE00120_conv dir, and after that you only need to copy the contents to the correct path (see README.md).

User avatar
thearceuc
Posts: 2
Joined: Fri Jun 19, 2020 11:16 am

Re: [Multiplatform] Persona 4 Golden Save Converter

Post by thearceuc » Fri Jun 19, 2020 11:20 am

I've noticed while it converts the saves, upon loading them into the PC version, the game crashes. It appears to be an issue with the converted system.bin and system.binslot files. I'm going to do a little more testing to see if I can possibly find a workaround in the meantime.

EDIT: Appears to just be the converted system.bin.

User avatar
cabbage
Posts: 13
Joined: Thu Feb 27, 2020 5:53 am
Been thanked: 18 times

Re: [Multiplatform] Persona 4 Golden Save Converter

Post by cabbage » Fri Jun 19, 2020 1:02 pm

Are you sure it's not something else? Maybe a mod you have installed? Or maybe an encrypted save?

It's just that system.bin doesn't get converted, it's copied directly from the PS Vita save (it's the same format).

All the converter does is generate a proper system.binslot to go with it.

Just to show that this should work, I tried converting a PS Vita save to a PC save -- the TV Listings segment below was read from the system.bin file.

Image

User avatar
thearceuc
Posts: 2
Joined: Fri Jun 19, 2020 11:16 am

Re: [Multiplatform] Persona 4 Golden Save Converter

Post by thearceuc » Fri Jun 19, 2020 5:05 pm

I managed to fix the issue. It looks like for some reason the MD5 hash still needed to be manually edited with saves from that specific Vita. I tried it with my other Vita and it ended up working fine. Did nothing differently between the two, so I have no clue why it wasn't working properly.

User avatar
chieFSTEAK
Posts: 1
Joined: Sat Jun 20, 2020 12:23 am

Re: [Multiplatform] Persona 4 Golden Save Converter

Post by chieFSTEAK » Sat Jun 20, 2020 12:24 am

Whenever I compile the code and try to run the file it doesn't generate a conversion folder for some reason
-specifically for the vita2pc version

Post Reply