Gibbed.Borderlands3 icon indicating copy to clipboard operation
Gibbed.Borderlands3 copied to clipboard

Deserializing .sav file

Open jayjayb772 opened this issue 4 years ago • 6 comments

I've been trying to figure out how to decode the .sav file from BL3 but still to no avail. Have you been able to find the the Hash algorithm to properly deserialize these .sav files?

jayjayb772 avatar Sep 21 '19 00:09 jayjayb772

Have you tried using Gibbed.Borderlands3.ProtoBufFormats ?

NicoDblc avatar Oct 09 '19 02:10 NicoDblc

aren't those just protobuf formats like data contracts or something? not seeing how that helps decode a. sav file. But my only protobuff experience comes from gRpc 😂

IOnlyFetchBranches avatar Oct 09 '19 03:10 IOnlyFetchBranches

I've been messing with the data today, and I'm fairly certain that while the underlying data is protobuf, it seems to be obfuscated or encrypted with something else. I couldn't unmarshal any .sav files with the .proto definitions, and from Gibbed's Twitter it seems like there's something else wrapping the raw data.

denverquane avatar Oct 09 '19 03:10 denverquane

Yes that's exactly the experience I had as well, trying to deserialize the data, using CharacterData gives an error which leads to that conclusion

NicoDblc avatar Oct 09 '19 03:10 NicoDblc

trying to deserialize the data, using CharacterData gives an error

Yeah same with 'Character', 'Profile', etc in my case. He said on Twitter something about the .Pak files being encrypted with AES, but I'm not sure if the save files are the same (I saw two labeled "blocks" in the data with textual labels, seems unlikely)

denverquane avatar Oct 09 '19 04:10 denverquane

Maybe best to wait and see an update from him when he has some time?

ensiform avatar Oct 09 '19 11:10 ensiform