HackerSmacker / CSave

Borderlands 3 save editor for Unix and Windows. This is intended to be embedded into things, but, it can be used standalone.
Other
9 stars 1 forks source link

building on macOS #1

Open bucanero opened 2 years ago

bucanero commented 2 years ago

not really an issue, but I wanted to share how to build your Borderland tools on macOS:

thanks for sharing your tools 👍 once I fully understand the save structure and your code, I'll try to add the PS4 save decryption to my ps4 homebrew save manager Apollo

HackerSmacker commented 2 years ago

Yeah, it works on just about all UNIX flavors (albeit, compiling protobuf-c can be somewhat difficult on some systems). Seems like a lot of people use this program to work with console saves -- I haven't tested it myself (I don't have much interest in it), but I've read that it works fine. Now, as for the save decryption for BL3 saves, that's some BL3-specific thing, it doesn't exist anywhere else (that I could find).

I should really re-write this thing, it was a quick-n-dirty program I wrote to maintain a catalog of all of my BL3 saves (of which I have probably two hundred or so)!

Anyways, good luck!

bucanero commented 2 years ago

I was testing with my ps4 saves and the encryption/decryption works fine. I didn't test the other tools, but I think they'd work fine with the ps4 saves too.

Just for reference, here's my simplified code that only decrypt/encrypt the custom protection on PS4 saves: https://github.com/bucanero/ps3-save-decrypters/tree/master/ps4-borderlands3-decrypter

The encryption is based on a simple XOR process, but as you mentioned this looks like a game-specific custom thing and not a standard encryption algorithm like AES, DES, etc.