Heroes 3 - Memory editing individual heroes

The old Heroes games developed by New World Computing. Please specify which game you are referring to in your post.
User avatar
joerginger
Leprechaun
Leprechaun
Posts: 26
Joined: 15 May 2006
Location: Southern Germany

Heroes 3 - Memory editing individual heroes

Unread postby joerginger » 11 Jul 2006, 23:38

In case someone finds this useful (for whatever evil purpose) ;)

Heroes of Might & Magic 3 + Addons (version: Heroes 3 Complete) & Heroes Chronicles

Data for memory editing e.g. using a RAM editor like Winhex (or for creating a trainer):

The list is incomplete, since I never tried to find things like move points, mana, luck or morale values.

Resources: Their values start exactly 3 lines above the player name
(or "_omputer", "Player" or the current player colour,
depending on the game version i.e. H3, expansion or Chronicles, can't
remember which was which)

1st entry: wood, after that 5 times 4 Bytes for the other resources,
the 6th entry is gold

Charakter values (primary stats) : 4 lines + 1 Byte above 1st letter of _next_ hero's name (1 Byte each). The highest value that can be displayed is 99.

Spells: They're stored right in front of the character values.
00 = unknown, 01 = known
Note that some spells (all level 5 ones?) don't instantly appear after
editing them as known, you'll see this when you try to edit the hero again,
there'll be some 00 Bytes among the rows of 01 Bytes.

Experience: 3 lines minus 2 Bytes below 1st letter of the hero's name (4 Bytes)

Units: 7 times 4 Bytes beginning 4 lines below experience = Unit type
(for code list, see below)
7 times 4 Bytes immediately after 7th unit type = amount of units
(don't put in numbers that are too high, they'll turn into negative)

Skills: following right after unit numbers; 00 = not available, 03 = expert
(1 Byte = 1 skill)
Skills that weren't present before editing don't get an icon, but their
effect will be there. I'm not sure whether this works with wisdom or artillery, so feel free to try it yourself.

The skills appear in the following order after the 4th Byte of the 7th unit number:

01 Pathfinding
02 Archery
03 Logistics
04 Scouting
05 Diplomacy
06 Navigation
07 Leadership
08 Wisdom
09 Mysticism
10 Luck
11 Ballistics
12 Eagle Eye
13 Necromancy
14 Estates
15 Fire Magic
16 Air Magic
17 Water Magic
18 Earth Magic
19 Scholar
20 Tactics
21 Artillery
22 Learning
23 Offense
24 Armourer
25 Intelligence
26 Sorcery
27 Resistance
28 First Aid

Artefacts can be added, too (for code list, see below):

A little bit below the skill values there is a large block of FFFF... The series is interrupted by a 03000000 value. That's the catapult which every hero has. Each artefact is stored in 8 Bytes, only the first 4 are used, though, the latter 4 must be FFFFFFFF.

If you want to add an artefact, just count 8 F's after the 03000000 artefact, and you can add any artefact to the hero's backpack. Don't forget to actually equip them after editing. ;)
Of course you could also try to find the artefact slots on the paper doll, but IMO that's too much work and might lead to crashes in case you put the wrong artefact in the wrong slot. The slots are somewhere in front of the catapult.

Appendix:

There is a list of hex values for unit type and for artefacts somewhere (gamefaq.org most likely), so the following lists including the comments are copied from that document (small errors corrected):

Unit type hex codes:

00000000 - Pikeman
01000000 - Halberdier
02000000 - Archer
03000000 - Marksman
04000000 - Griffin
05000000 - Royal griffin
06000000 - Swordsman
07000000 - Crusader
08000000 - Monk
09000000 - Zealot
0A000000 - Cavalier
0B000000 - Champion
0C000000 - Angel
0D000000 - Archangel
0E000000 - Centaur
0F000000 - Centaur capitan
10000000 - Dwarf
11000000 - Battle dwarf
12000000 - Wood elf
13000000 - Grand elf
14000000 - Pegasus
15000000 - Silver pegasus
16000000 - Dendroid guard
17000000 - Dendroid solider
18000000 - Unicorn
19000000 - War unicorn
1A000000 - Green dragon
1B000000 - Gold dragon
1C000000 - Gremlin
1D000000 - Master gremlin
1E000000 - Stone gargoyle
1F000000 - Obsidian gargoyle
20000000 - Stone golem
21000000 - Iron golem
22000000 - Mage
23000000 - Arch mage
24000000 - Genie
25000000 - Master genie
26000000 - Naga
27000000 - Naga queen
28000000 - Giant
29000000 - Titan
2A000000 - Imp
2B000000 - Familiar
2C000000 - Gog
2D000000 - Magog
2E000000 - Hell hound
2F000000 - Cerberus
30000000 - Daemon
31000000 - Horned daemon
32000000 - Pit fiend
33000000 - Pit lord
34000000 - Efreet
35000000 - Efreet sultan
36000000 - Devil
37000000 - Arch Devil
38000000 - Skeleton
39000000 - Skeleton Warrior
3A000000 - Walking dead
3B000000 - Zombie
3C000000 - Wight
3D000000 - Wraight
3E000000 - Vampire
3F000000 - Vampire lord
40000000 - Lich
41000000 - Power Lich
42000000 - Black knight
43000000 - Dead knight
44000000 - Bone dragon
45000000 - Ghost dragon
46000000 - Tryglodyte
47000000 - Infernal tryglodyte
48000000 - Harpy
49000000 - Harpy hag
4A000000 - Beholder
4B000000 - Evil eve
4C000000 - Medusa
4D000000 - Medusa queen
4E000000 - Minotaur
4F000000 - Minotaur king
50000000 - Manticore
51000000 - Scorpicore
52000000 - Red dragon
53000000 - Black dragon
54000000 - Goblin
55000000 - Hobgoblin
56000000 - Wolf rider
57000000 - Wolf raider
58000000 - Orc
59000000 - Orc chieftain
5A000000 - Ogre
5B000000 - Ogre mage
5C000000 - Roc
5D000000 - Thunderbird
5E000000 - Cyclops
5F000000 - Cyclops king
60000000 - Behemoth
61000000 - Ancient behemoth
62000000 - Gnoll
63000000 - Gnoll marauder
64000000 - Lizardman
65000000 - Lizard warrior
66000000 - Serpent fly
67000000 - Dragonfly
68000000 - Basilisk
69000000 - Greater Basilisk
6A000000 - Gorgon
6B000000 - Mighty gorgon
6C000000 - Wyvern
6D000000 - Wyvern Monarch
6E000000 - Hydra
6F000000 - Chaos hydra
70000000 - Air elemental
71000000 - Earth elemental
72000000 - Fire elemental
73000000 - Water elemental
74000000 - Golem
75000000 - Diamond golem

Some additional ones I found (expansion creatures, IIRC):

76000000 - Pixies
77000000 - Sprites
78000000 - Psychic Elementals
79000000 - Magic Elementals

85000000 - Crystal Dragons
86000000 - Faerie Dragons

88000000 - Enchanters
89000000 - Sharpshooters

Artefacts:

01000000 - Spell Scroll - but I don't know how to put a spell in it
02000000 - The Grail
03000000 - Catapult - useless
04000000 - Ballist - useless
05000000 - Ammo cart - useless
06000000 - Healers tent - useless
07000000 - Centaur's axe
08000000 - Blackshard of the dead knight
09000000 - Greater Gnoll's Fail
0A000000 - Ogre's club of havoc
0B000000 - Sword of Hellfire
0C000000 - Titan's gladius
0D000000 - Shield of the dwarven lords
0E000000 - Shield of the yawning dead
0F000000 - Buckler of the gnoll king
10000000 - Targ of the rampaging ogre
11000000 - Shield of the dammed
12000000 - Sentinel's Shield
13000000 - Helm of the alabaster unicorn
14000000 - Skull helmet
15000000 - Helm of chaos
16000000 - Crown of the supreme magi
17000000 - Hellstorm helmet
18000000 - Thunder helmet
19000000 - Beastplate of petrified wood
1A000000 - Rib cage
1B000000 - Scales of the greater balilisk
1C000000 - Tunic of the cyclops king
1D000000 - Breastplate of brimstone
1E000000 - Titan's cuirass
1F000000 - Armor of wonder
20000000 - Sandals of the saint
21000000 - Celestial necklace of bliss
22000000 - Lion's shield of courage
23000000 - Sword of judgement
24000000 - Helm of hevenly enlightenment
25000000 - Quiet eye of the dragon
26000000 - Red dragon flame tongue
27000000 - Dragon scale shield
28000000 - Dragon scale armor
29000000 - Dragonbone greaves
2A000000 - Dragon wing tobard
2B000000 - Neckace of dragonteeth
2C000000 - Crown of dragontooth
2D000000 - Still eye of the dragon
2E000000 - Clover of fortune
2F000000 - Cards of prophecy
30000000 - Ladybird of luck
31000000 - Badge of courage
32000000 - Crest of valor
33000000 - Gryph of gallantry
34000000 - Speculum
35000000 - Spyglass
36000000 - Amulet of the undertaker
37000000 - Vampire's cowl
38000000 - Dead men's boots
39000000 - Garniture of interference
3A000000 - Surcoat of counterpoise
3B000000 - Boots of polarity
3C000000 - Bow of elven cherrywood
3D000000 - Bowstring of the unicorns's mane
3E000000 - Angel feather arrows
3F000000 - Bird of perception
40000000 - Stoic watchman
41000000 - Emblem of cognizance
42000000 - Statesmen's medal
43000000 - Diplomat Ring
44000000 - Ambassador's sash
45000000 - Ring of the wayfarer
46000000 - Equestrian's gloves
47000000 - Necklace of ocean guidance
48000000 - Angel wings
49000000 - Charm of mana
4A000000 - Talisman of mana
4B000000 - Mystic orb of mana
4C000000 - Collar of conjuring
4D000000 - Ring of conjuring
4E000000 - Cape of conjuring
4F000000 - Orb of firmament
50000000 - Orb of silt
51000000 - Orb of tempstuous fire
52000000 - Orb of driving rain
53000000 - Recanter's cloak
54000000 - Spirit of opression
55000000 - Hourglass of the evil hour
56000000 - Tome of fire magic
57000000 - Tome of wind magic
58000000 - Tome of water magic
59000000 - Tome of earth magic
5A000000 - Boots of levitation
5B000000 - Golden bow
5C000000 - Sphere of permanence
5D000000 - Orb of vulnerability
5E000000 - Ring of vitality
5F000000 - Ring of life
60000000 - Vail of lifeblood
61000000 - Necklace of swiftness
62000000 - Boots of speed
63000000 - Cape of velocity
64000000 - Pendant of dispassion
65000000 - Pendant of second sight
66000000 - Pendant of holiness
67000000 - Pendant of life
68000000 - Pendant of death
69000000 - Pendant of free will
6A000000 - Pendant of agitation
6B000000 - Pendant of total recall
6C000000 - Pendant of courage
6D000000 - Everflowing cristal cloak
6E000000 - Ring of infinite gems
6F000000 - Everpouring vial of mercury
70000000 - Inexhaustable cart of ore
71000000 - Eversmoking ring of sulfur
72000000 - Inexhaustable cart of lumber
73000000 - Endless sack of gold
74000000 - Endless bag of gold
75000000 - Endless purse of gold
76000000 - Legs of legion
77000000 - Loins of legion
78000000 - Torso of legion
79000000 - Arms of legion
7A000000 - Head of legion
7B000000 - Sea capitan's hat
7C000000 - Spellbinder's hat
7D000000 - Shackles of war
7E000000 - Orb of inhibition

Combo Artefacts:

7F000000 - Dragon's vial of life
80000000 - Armageddon's blade
81000000 - Sword of angelic alliace
82000000 - Cloak of undead king
83000000 - Elixir of life
84000000 - Armor of the dammed - my favourite :)
85000000 - Statue of legions
86000000 - Power of the dragon father
87000000 - Titans lightning
88000000 - Admiral's hat
89000000 - Archer's bow
8A000000 - Mag's source
8A000000 - City of wealth

Return to “Heroes I-IV”

Who is online

Users browsing this forum: No registered users and 23 guests