SL2 Analyzer
Read a FromSoftware .sl2 save and report what is in it
Loading...
Searching...
No Matches
nr.py File Reference

Go to the source code of this file.

Namespaces

namespace  sl2
 
namespace  sl2.nr
 

Functions

 sl2.nr.nr_find_profiles (menu)
 Locate the profile table in a decrypted menu entry.
 
 sl2.nr.nr_roster (menu)
 Read the Nightreign roster: one name per slot, empty where unused.
 
 sl2.nr.nr_steam_id (menu)
 Read the account this save belongs to.
 
 sl2.nr.nr_slot_used (slot)
 Is this decrypted slot occupied?
 
 sl2.nr.nr_parse (name)
 Build the unified character dict for one Nightreign slot.
 

Variables

int sl2.nr.NR_SLOT_COUNT = 10
 Number of character slots, matching the ten slot entries in the container.
 
str sl2.nr.NR_FACE_MAGIC = b"FACE"
 The four-byte marker that opens each profile's appearance block.
 
 sl2.nr.NR_PROFILE_STRIDE
 Bytes between one profile and the next, and where a name sits relative to the appearance marker that anchors it.
 
 sl2.nr.NR_NAME_BACK_FROM_FACE
 Bytes between one profile and the next, and where a name sits relative to the appearance marker that anchors it.
 
 sl2.nr.NR_NAME_CHARS
 Bytes between one profile and the next, and where a name sits relative to the appearance marker that anchors it.
 
 sl2.nr.NR_STEAM_ENTRY
 Which entry carries the account, and where in it.
 
 sl2.nr.NR_STEAM_OFF
 Which entry carries the account, and where in it.
 
int sl2.nr.NR_EMPTY_SLOT_MAX_NONZERO = 4096
 A slot this empty holds no character.