A guide for what each equip slot is named (in my code) and an example of the bag index layout (showing page 2 of the bag inventory).