Go to the source code of this file.
|
| | sl2.edit._checked_save (data) |
| | Return a mutable, checksum-verified BND4 save and its identified game.
|
| |
| | sl2.edit._seal (data, entry) |
| | Recalculate an entry's outer MD5 after its payload has changed.
|
| |
| | sl2.edit._encrypt (key, iv, plaintext) |
| | Encrypt a complete AES-CBC plaintext using the entry's unchanged IV.
|
| |
| | sl2.edit.set_steam_id (data, steam_id) |
| | Change the SteamID64 in a save format whose every required copy is known.
|
| |
| | sl2.edit.trim_er_slots (data, keep_slots=None) |
| | Clear ER slots absent from the roster, or every slot not explicitly retained.
|
| |
| | sl2.edit.trim_inactive_slots (data) |
| | Canonicalise inactive slots without changing any listed character.
|
| |
| | sl2.edit._verify (data, game, steam_id=None, active=None, empty_slots=None) |
| | Check the edited archive's MD5 wrappers and operation-specific invariants.
|
| |