Skip to content

2 missing property and bad padding #2

@RealDarkCraft

Description

@RealDarkCraft

Hello,
First there are 2 properties missing : Int8 and UInt16
And there's a problem in the padding for IntProperty (and maybe other property too)
infact one save can have multiple value for one name, and in this case the padding is different

this is an exemple with persona3 reload for "FirstName" (static_padding is the 4 first octet (like 04000000 for UInt32) and padding is an ID, for the game to access the value)
(for exemple for the value 114 in the exemple the padding is not 0100000000000000 but is 0100000002000000)
and the value can be in an random order so you can't determine the padding. so you need to read the "padding" in the original file and add it to the json

And if we recreate the sav file (so without correct padding) the game will crash

{
"type": "Int8Property",
"name": "FirstName",
"padding_static": "01000000",
"padding": "00000000",
"value": 68
},
{
"type": "Int8Property",
"name": "FirstName",
"padding_static": "01000000",
"padding": "01000000",
"value": 97
},
{
"type": "Int8Property",
"name": "FirstName",
"padding_static": "01000000",
"padding": "02000000",
"value": 114
},
{
"type": "Int8Property",
"name": "FirstName",
"padding_static": "01000000",
"padding": "03000000",
"value": 107
},
{
"type": "Int8Property",
"name": "FirstName",
"padding_static": "01000000",
"padding": "04000000",
"value": 80
},
{
"type": "Int8Property",
"name": "FirstName",
"padding_static": "01000000",
"padding": "05000000",
"value": 114
},
{
"type": "Int8Property",
"name": "FirstName",
"padding_static": "01000000",
"padding": "06000000",
"value": 111
}

Sample file (the file is named with .txt because github don't accept .sav file to upload :
decrypted.sav.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions