Swords of Glass vault format
In Swords of Glass, items can be stored in the vault at the store. Items stored in the vault are saved in the Vault.dat file. Each record in the vault file is 15 bytes long, and the vault holds 18 items.
|UINT8 Item id||The id of the item found in the CNames.dat file. If zero, this slot is empty.|
|UINT8 Bonus||The bonus to the item (like Sword +1). The game never goes above +9, but it accepts over-buffed items.|
|INT16LE Quantity/Durability||For items like arrows, this holds the quantity, but for non-stackable items like a sword or armor, this is the durability of the item. It will break at 0. The game never has quantities greater than 9, but accepts them.|
|UINT8 Name length||The length of the item's name. Always 0x0A.|
|char Name||The name of the item. You can create custom names since the game uses id for everything.|
This format was reverse engineered by TheAlmightyGuru. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)