Swords of Glass People.DAT file layout. Created By: Dean Tersigni Last Updated: 2008/05/13 These three values are used to keep track of where your body is if you die. The numbers start at 0 instead of 1. 0000 - Last Dungeon Position X 0001 - Last Dungeon Position Y 0002 - Last Dungeon Level Basic player stats. Note: If you set these really high then don't enter the hotel to go up levels. The game won't let you assign more than 255 to each stat, but if you can't apply all of your level bonus points then you won't be able to leave the level up screen and you'll have to kill the program. 0003 - Strength 0004 - Dexterity 0005 - IQ 0006 - Class (1 - Warrior, 2 - Magician) 0007 - Level and hit points. It's best to keep you level at level 1 so that all the treasure in the game will still be there. Even though the save game allows hitpoints to go up to 65,535, the game will only let you get to 255. 0008 - Level 0009 - Max Hit Points x1 000A - Max Hit Points x256 000B - Hit Points x1 000C - Hit Points x256 When the player is dead the next two bytes become FF FF. I'm not sure why two bytes are used. 000D - Death Flag? 000E - Death Flag? 000F - 0010 - Experience and gold are stored in a very odd way. They're not saved as integer value, but instead with some odd exponential system. Regardless, you don't need to bother with them because you can simply create every item you want at will. 0011 - ? 0012 - 0013 - 0014 - 0015 - Experience? 0016 - 0017 - 0018 - ? 0019 - ? 001A - Experience? 001B - Gold (-0x80) 001C - 001D - 001E - 001F - ? 0020 - ? 0021 - The next section is the player's inventory. There are 12 slots for the player, each with the four attributes seen below. Item 1 0022 - Item Id - See the chart below to pick an item. 0023 - + Bonus - The game will never give you an item beyond +9, but you can make them all the way up to +255 0024 - Quality/Quantity x1 - Items like weapons and armor use quality, items like arrows and chalk use quantity. 0025 - Quality/Quantity x256 0026 - Item Marker (0x0A) - This value must always be 0x0A. It signifies the beginning of the item's name. 0027-0030 - Name - The name of the item is irrelavent, since the item id determines how it functions in the game. Item 2 0031 - Item Id 0032 - + Bonus 0033 - Quality/Quantity x1 0034 - Quality/Quantity x256 0035 - Item Marker (0x0A) 0036-003F - Name Item 3 0040 - Item Id 0041 - + Bonus 0042 - Quality/Quantity x1 0043 - Quality/Quantity x256 0044 - Item Marker (0x0A) 0045-004E - Name Item 4 004F - Item Id 0050 - + Bonus 0051 - Quality/Quantity x1 0052 - Quality/Quantity x256 0053 - Item Marker (0x0A) 0054-005D - Name Item 5 005E - Item Id 005F - + Bonus 0060 - Quality/Quantity x1 0061 - Quality/Quantity x256 0062 - Item Marker (0x0A) 0063-006C - Name Item 6 006D - Item Id 006E - + Bonus 006F - Quality/Quantity x1 0070 - Quality/Quantity x256 0071 - Item Marker (0x0A) 0072-007B - Name Item 7 007C - Item Id 007D - + Bonus 007E - Quality/Quantity x1 007F - Quality/Quantity x256 0080 - Item Marker (0x0A) 0081-008A - Name Item 8 008B - Item Id 008C - + Bonus 008D - Quality/Quantity x1 008E - Quality/Quantity x256 008F - Item Marker (0x0A) 0090-0099 - Name Item 9 009A - Item Id 009B - + Bonus 009C - Quality/Quantity x1 009D - Quality/Quantity x256 009E - Item Marker (0x0A) 009F-00A8 - Name Item 10 00A9 - Item Id 00AA - + Bonus 00AB - Quality/Quantity x1 00AC - Quality/Quantity x256 00AD - Item Marker (0x0A) 00AE-00B7 - Name Item 11 00B8 - Item Id 00B9 - + Bonus 00BA - Quality/Quantity x1 00BB - Quality/Quantity x256 00BC - Item Marker (0x0A) 00BD-00C6 - Name Item 12 00C7 - Item Id 00C8 - + Bonus 00C9 - Quality/Quantity x1 00CA - Quality/Quantity x256 00CB - Item Marker (0x0A) 00CC-00D5 - Name The next values are the player's Max MP and current MP. 00D6 - MP Level 1 Max 00D7 - MP Level 2 Max 00D8 - MP Level 3 Max 00D9 - MP Level 4 Max 00DA - MP Level 5 Max 00DB - MP Level 6 Max 00DC - MP Level 7 Max 00DD - MP Level 8 Max 00DE - MP Level 9 Max 00DF - MP Level 10 Max 00E0 - MP Level 1 00E1 - MP Level 2 00E2 - MP Level 3 00E3 - MP Level 4 00E4 - MP Level 5 00E5 - MP Level 6 00E6 - MP Level 7 00E7 - MP Level 8 00E8 - MP Level 9 00E9 - MP Level 10 The following are flags for each of the game's spells. (0 - Player can't cast spell, 1 - Player can cast spell) 00EA - Spell: vida 00EB - Spell: pocofuego 00EC - Spell: mapa 00ED - Spell: meudo 00EE - Spell: amparo 00EF - Spell: pocohelio 00F0 - Spell: fuerza 00F1 - Spell: salud 00F2 - Spell: anublar 00F3 - Spell: inflamar 00F4 - Spell: disipar 00F5 - Spell: devancer 00F6 - Spell: fantasma 00F7 - Spell: viva 00F8 - Spell: helio 00F9 - Spell: viento 00FA - Spell: masfuerza 00FB - Spell: masamparo 00FC - Spell: pocomudar 00FD - Spell: melaza 00FE - Spell: espiritu 00FF - Spell: masviva 0100 - Spell: muchohelio 0101 - Spell: encontrar 0102 - Spell: metabolico 0103 - Spell: granamparo 0104 - Spell: muerte 0105 - Spell: mudar 0106 - Spell: infierno 0107 - Spell: resucitar 0109 - 010A - 010B - 010C - 010D - 010E - The player's name is stored with 1 byte for its length and then the actual string, which is fixed at 7 bytes. 010F - Player Name Length 0110-0116 - Player Name The player's name signifies the end of the player record. There are a total of 20 player records in the PEOPLE.DAT file. Player data then repeats. Item Ids - This table lists all of the items in the game and what number they are. 00 - EMPTY 01 - chalk 02 - knife 03 - sword 04 - broadsword 05 - axe 06 - bow 07 - longbow 08 - crossbow 09 - arrows 0A - p-arrows 0B - toga 0C - helm 0D - gauntlets 0E - greaves 0F - breastplte 10 - platearmor 11 - lthrarmor 12 - shield 13 - fullshield 14 - vida ptn 15 - fuerza ptn 16 - salud ptn 17 - ampar ptn 18 - egida ptn 19 - curall ptn 1A - wpn bath 1B - eyeoftruth 1C - spell book 1D - armr bath 1E - gloves 1F - ring 20 - crown 21 - diadem 22 - slippers 23 - leggings 24 - robe 25 - cape 26 - wand 27 - staff 28 - silvrplate 29 - goldplate 2A - green key 2B - jewel 2C - revive ptn 2D - red key 2E - gold key 2F - map 30 - chisel 31 - glass swrd Here are some helpful locations for a quick jump to and from level 8. Casting mudar and enter the three coordanants to get you there in a hurry. Stairs up to town: 4, 19, 1 Staris down to level 8: 14, 11, 7 There are three spots on level 8 to go up