SaveGame Byte Codes for Master of Magic v1.31 --------------------------------------------- -- All you've ever wanted to know about MOM savegame editting! -- It's assumed that you know how to count in hexadecimal (and decimal). If not, you shouldn't be attempting this. -- Note the spells and city codes are courtesy of somebody else... the rest were found by me! (I don't claim being the first, just that I did all this tedious testing myself) -- For questions or to point out any mistakes I may have made, you can email me. Jeffrey Yeung Wizard Attribute Editting ------------------------- Just zoom to the desired hex offset. Wizard Abilities -- Set desired location(s) to 01h. A4Ch Alchemy A4Dh Warlord A4Eh Chaos Master A4Fh Nature Master A50h Sorcery Master A51h Infernal Power A52h Divine Power A53h Sage Master A54h Channeller A56h Archmage A57h Mana Focusing A58h Node Mastery A59h Famous A5Ah Runemaster A5Bh Conjurer A5Ch Charismatic A5Dh Artificer Spell Books -- 00h-0Ch -- Theoretically, you can have a maximum of only 12 books total, but you can try a higher number. I have no idea what happens when you put life books together with death books. A42h Nature Book A44h Sorcery Book A46h Chaos Book A48h Life Book A4Ah Death Book General -- 0000h-????h -- You can have values higher than 255. Remember to write the hex values backwards (i.e. 270d = 010Eh so enter 0E in A0C and 01 in A0D). A0Ch-A0Dh Fame C44h-C45h Mana C46h-C48h Casting Skill(Personal) D3Eh-D3Fh Money D40h-D42h Casting Skill(Adjusted) Item Attribute Editting ----------------------- Do an ASCII search of he exact (case sens.) name of your item. Take note of the decimal offset location of the first character in the name of the item. To edit, _add_ the decimal offset listed here of the attribute you wish to change to the offset of the first character in the name; change the hex value of that offset as desired. Notes: -As far as I can tell, you can only have a maximum of _five_ attributes (or those that MOM will show you). -There are four categories of items (weapon, armor, staff/wand, and misc). If you set attributes that aren't supposed to be in that item, that attribute probably won't do anything (even though MOM reports that attribute in the item). -I haven't actually tested values for attack, defence, resistence, etc. higher than the ones you normally see in the game. Go ahead... +36d Attack -- 00h-06h +37d To Hit -- 00h-03h +38d Defence -- 00h-06h +39d Movement -- 00h-08h -- The actual value will be the (hex value)/2. +40d Resistance -- 00h-06h +41d Spell Skill -- 00h-14h +42d Spell Save -- 00h-04h +43d-44d Spell Charge +43d Spell -- I haven't actually tested what the range is or what spell is what value. I think 01h-D6h. +44d Charges -- 00h-04h +46d-49d Magic Powers/Spells -- This is a little more complicated. First, select whatever powers you would like, then _add_ them all together (the entire 8-digit _hex_ values) and then stick the whole thing in the +46-49d offsets. Voila... +46 47 48 49d 01 00 00 00h Vampiric, life draining 02 00 00 00h Guardian Wind 04 00 00 00h Lightning, armor piercing 08 00 00 00h Cloak of Fear 10 00 00 00h Destruction, resist or be disintegrated 20 00 00 00h Wraithform 40 00 00 00h Regeneration 80 00 00 00h Pathfinding 00 01 00 00h Water Walking 00 02 00 00h Resist Elements 00 04 00 00h Elemental Armor 00 08 00 00h Doom, ignores armor 00 10 00 00h Stoning, resist at -1 or be stoned 00 20 00 00h Endurance, as swiftness spell 00 40 00 00h Haste, doubles attack 00 80 00 00h Invisibility 00 00 01 00h Death, save at -3 or die 00 00 02 00h Flight 00 00 04 00h Resist Magic 00 00 08 00h Magic Immunity 00 00 10 00h Flaming, +3 attack 00 00 20 00h Holy Avenger, as bless & dispel evil spell 00 00 40 00h True Sight 00 00 80 00h Phantasmal, ignores armor & illusion attacks 00 00 00 01h Power Drain, target loses 2-20 mana 00 00 00 02h Bless 00 00 00 04h Lion Heart 00 00 00 08h Giant Strength 00 00 00 10h Planar Travel 00 00 00 20h Merging 00 00 00 40h Righteousness 00 00 00 80h Invulnerablity To editing spells use a Hex editor to modify the following locations. The location is set to 00 if the spell is not known and cannot be learned. Set to 01 to be able to research the spell. Set to 02 to already know the spell. Natures Spells Sorcery Spells C4C Earth to Mud C74 Resist Magic C4D Resist Elements C75 Dispel Magic True C4E Wall Of Stone C76 Floating Island C4F Giant Strength C77 Guardian Wind C50 Web C78 Phantom Warriors C51 War Bears C79 Confusion C52 Stone Skin C7A Word of Recall C53 Water Walking C7B Counter Magic C54 Sprites C7C Nagas C55 Earth lore C7D Psionic Blast C56 Cracks Call C7E Blur C57 Natures eye C7F Disenchant True C58 Ice Bolt C80 Vertigo C59 Giant Spiders C81 Spell Lock C5A Change Terrain C82 Enchant Road C5B Pathfinding C83 Flight C5C Cockatrices C84 Wind Mastery c5D Transmute C85 Spell Blast c5E Natures Cures C86 Aura of Mastery c5F Basilisk C87 Phantom Beast C60 Elemental Armor C88 Disjuntion True C61 Petrify C89 Invisibility C62 Stone Giant C8A Wind Walking C63 Iron Skin C8B Banish C64 Ice Storm C8C Storm Giant C65 Earthquake C8D Air Elemental C66 Gorgons C8E Mind Storm C67 Move Fortress C8F Stasis C68 Gaia's Blessing C90 Magic Immunity C69 Earth Elemental C91 Haste C6A Regeneration C92 Djinn C6B Behemoth C93 Spell Ward C6C Entangle C94 Creature Binding C6D Natures Awareness C95 Mass Invisibility C6E Call Lighting C96 Great UnSummoning C6F Colossus C97 Spell Binding C70 Earth Gate C98 Flying Fortress C71 Herb Mastery C99 Sky Drake C72 Great Wyrm C9A Suppress Magic C73 Nature's Wrath C9B Time Stop Chaos Spells Life Spells C9C Warp Wood CC4 Bless C9D Disrupt CCB Star Fires C9E Fire Bolt CC6 Endurance C9F Hell Hounds CC7 Holy Weapon CA0 Corruption CC8 Healing CA1 Eldritch Weapon CC9 Holy Armor CA2 Wall of Fire CCA Just Cause CA3 Shatter CCB True Light CA4 Warp Creature CCC Guardian Spirit CA5 Fire Elemental CCD Heroism CA6 Lightning Bolt CCE True Sight CA7 Fire Giant CCF Plane Shift CA8 Chaos Channels CD0 Resurrection CA9 Flame Blade CD1 Dispel Evil CAA Gargoyles CD2 Planar Seal CAB Fireball CD3 Unicorns CAC Doombat CD4 Raise Dead CAD Raise Volcano CD5 Planar Travel CAE Immolation CD6 Heavenly Light CAF Chimeras CD7 Prayer CB0 Warp Lightning CD8 Lionhearted CB1 Metal Fires CD9 Incarnation CB2 Chaos Spawn CDA Invulnerability CB3 Doom Bolt CDB Righteousness CB4 Magic Vortex CDC Prosperity CB5 Efreet CDD Alter of Battle CB6 Fire Storm CDE Angel CB7 Warp Reality CDF Stream of Life CB8 Flame Strike CE0 Mass Healing CB9 Chaos Rift CE1 Holy Word CBA Hydra CE2 High Prayer CBB Disintegrate CE3 Inspirations CBC Meteor Storm CE4 Astral Gate CBD Great Wasting CE5 Holy Arms CBE Call Chaos CE6 Consecration CBF Chaos Surge CE7 Life Force CC0 Doom Mastery CE8 Tranquility CC1 Great Drake CE9 Crusade CC2 Call the Void CEA Arch Angel CC3 Armageddon CEB Charm of Life Death Spells Arcane Spells CEC Skeletons D14 Magic Spirit CED Weakness D15 Dispel Magic CEE Dark Rituals D16 Summoning Circle CEF Cloak of Fear D17 Disenchant Area CF0 Black Sleep D18 Recall Hero CF1 Ghouls D19 Detect Magic CF2 Life Drain D1A Enchant Item CF3 Terror D1B Summon Hero CF4 Darkness D1C Awareness CF5 Mana Leak D1D Disjunction CF6 Drain Power D1E Create Artifact CF7 Possession D1F Summon Champion CF8 Lycanthropy D20 Spell of Mastery CF9 Black Prayer D21 Spell of Return CFA Black Channels CFB Night Stalker CFC Subversion CFD Wall of Darkness CFE Berserk CFF Shadow Demons D00 Wraith Form D01 Wrack D02 Evil Presence D03 Wraiths D04 Cloud of Shadow D05 Warp Node D06 Black Wind D07 Zombie Mastery D08 Famine D09 Cursed lands D0A Cruel Unminding D0B Word of Death D0C Death Knights D0D Death Spell D0E Animate Dead D0F Pestilence D10 Eternal Night D11 Evil Omens D12 Death Wish D13 Demon Lord Cities Cheats Look for the town name in the file, they're stored in normal ASCII. First data after name : Race Byte 00=Barbarian 01=Beastman 02=Dark Elf 03=Draconian 04=Dwarf 05=Gnoll 06=Halfling 07=High Elf 08=High Men 09=Klackon 0A=Lizardmen 0B=Nomad 0C=Orc 0D=Troll 7 bytes after name : Population byte Describes thousands of people, maximum of 25. 19 bytes after name : Buildings : 35 different bytes, one after the other. FF=Not there 01=There 1,2= Unknown 3=Barracks 4=Armory 5=Fighters Guild 6=Armorer's Guild 7=War College 8=Smithy 9=Stable 10=Animists Guild 11=Fantastic Stable 12=Shipwright Guild 13=Ship Yard 14=Maritime Guild 15=Sawmill 16=Library 17=Sage's Guild 18=Oracle 19=Alchemist Guild 20=University 21=Wizard's Guild 22=Shrine 23=Temple 24=Parthenon 25=Cathedral 26=Marketplace 27=Bank 28=Merchant's Guild 29=Granary 30=Farmer's Market 31=Foresters Guild 32=Builders Hall 33=Mechanicians Guild 34=Miner's Guild 35=City Walls City Enchantments : Right after buildings. 36 wall of fire 00-absent, 01-present 37 presence of chaos rift 00-absent, 01-present 38 ditto for dark rituals 39 evil presence 40 cursed lands 41 pestilence 42 cloud of shadow 43 famine 44 flying 45 nature ward 46 socery ward 47 chaos ward 48 life ward 49 death ward 50 nature's eye 51 earth gate 52 stream of life 53 gaia's blessing 54 inspirations 55 prosperity 56 astral gate 57 heavenly light 58 consecration 59 wall of darkness 60 altar of battle 61 nightshade 62 -> ?