Analyse a save file
re_saveInspect game save files by peeling compression, encoding, and serialization layers, then list fields with types and guessed roles; compare two saves or generate a JSON schema and SaveData classes.
Instructions
Peels the open layers of a save file (gzip/zlib, base64, LZ-String as RPG Maker MV/MZ uses, JSON, XML, INI/ConfigFile, Godot store_var) and lists every field with type, sample and a guessed role (health, currency, score, position, progress, collection, time, version, identity, integrity, rng, settings). Checksum fields are verified by recomputing md5/sha1/sha256/crc32 over the save without that field; binary saves are checked for CRC32 trailers/headers and get record strides and strings. compare: lists the fields that changed between two saves, the fastest way to learn which field is which. action:"schema" writes a JSON schema plus SaveData.gd and SaveData.cs with the same field names, to port the save format. Encrypted, XOR-obfuscated, .NET BinaryFormatter and pickle content is reported, never decoded.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file": "<file>"
},
"name": "re_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | schema: folder for the files (default workspace/saves). | |
| file | Yes | The save file. | |
| limit | No | Max fields/changes (default 400). | |
| action | No | inspect (default) or schema (write schema + data classes). | |
| compare | No | A second save of the same game to diff against. |