Skip to content

Instantly share code, notes, and snippets.

@Arbos
Created February 10, 2019 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Arbos/225c724f91309d3f515e0f110524feee to your computer and use it in GitHub Desktop.
Save Arbos/225c724f91309d3f515e0f110524feee to your computer and use it in GitHub Desktop.
NWN2 playerinfo.bin format

NWN2 playerinfo.bin format

This file is located at each save game directory and contains the data shown in the info pane of the load and save screens.

Type Description
uint32 First name length
char[] First name
uint32 Last name length
char[] Last name
uint32 Subrace name length
char[] Subrace name
uint32 Alignment text length
char[] Alignment text
uint32 4 (Good), 1 (Neutral), 5 (Evil). Used for selecting the alignment icon.
uint32 2 (Lawful), 1 (Neutral), 3 (Chaotic). Used for selecting the alignment icon.
uint32 Row id in background.2da
uint32 Number of classes
Class [] Classes
uint32 Deity name length
char[] Deity name
int32 Strength
int32 Dexterity
int32 Constitution
int32 Intelligence
int32 Wisdom
int32 Charisma
int32 Strength Modifier
int32 Dexterity Modifier
int32 Constitution Modifier
int32 Intelligence Modifier
int32 Wisdom Modifier
int32 Charisma Modifier

Class

Type Description
uint32 Class name length
char[] Class name
uint8 Level
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment