: : : : : Heroes of Might and Magic IV

Heroes of Might and Magic IV Cheats

Heroes of Might and Magic IV cheats, and Codes for PC.

Cheats

Back to top
Add Hero Skills and Creatures
Hex Values of Heroes of Might and Magic IV
==========================================
Add Hero Skills, Creatures, and Gold
v1.00.20040204 by ZaStaR


Introduction
------------
Add hero skills, creatures, and gold by changing values in the memory of the running game.

I gathered this information to create a hack that I never finished. Instead, the info's here for people who know how to use memory editing tools like MemoryHacker or WinHex that can change numbers in the game memory HOMM uses while it runs.

Just search for the hex strings in memory then change the values where appropriate.
This information applies to IV and its expansions.

Except where otherwise noted, only zeroes are fixed hex values and the non-zero's are example values that change during the game. When searching, always use the most current numbers in the live game.


Contents
--------
1. Resources
2. Creatures
3. Hero Stats
4. Disclaimer


Resources
---------
Default starting funds:
"0 0 0 0 0 0 A 0 0 0 A 0 0 0 5 0 0 0 5 0 0 0 5 0 0 0 5 0 0 0 1 1 0"
======= ======= ======= ======= ======= =======
|
gold

When there's more than once instance of this string, usually, the last one stores the value for the human player.


Creatures
---------
"0 0 0 17 0 0 0 0 0 0 0 0 0 0 0 14 46 98 0" in character
"0 0 17 0 0 0 0 0 0 0 0 0 0 0 14 46 98 0" in city
==== ==========
| |
0 0 - 0 80 creatures fixed string

When a search turns up more than one instance of the string, usually the first is stores the number that is being displayed while the second one stores the real value. You want to change the real one.

CREATURES: (incomplete)
byte before = creature type
1 = angel
3 = bandit
4 = behemoth
6 = black dragon
7 = bone dragon
8 = centaur
9 = cerberi
D = cyclopse
E = venom spawn
F = devil
10 = dragon golem
11 = dwarves
1E = harpy
1F = hydra
20 = ice daemon
21 = imp
22 = leprechaun
25 = medusa
30 = phoenix
31 = pikeman
32 = pirate
33 = satyre
35 = skellie
37 = sprite
39 = titan
3A = troglodyte
3C = unicorn
3D = vampyre
3E = water elemental
40 = wolves
41 = zombie
42 = wasp wart
43 = goblin knight
44 = evil sorceress
45 = gargantuan
46 = dark champion
47 = catapult
48 = frenzied gnasher
49 = megadragon


Hero Stats
----------
"0 0 D0 7 0 0 0 0 0 0 6 0 0 0" (normal IV)
"0 0 F8 11 0 0 1 0 0 0 20" (WoW)
========= | |
| | Character number (relative to whole game, carries over to next campaign)
^ | |
| | fixed on some scenarios (always 1 or 0)
| |
| experience
|
count-from-here

The character number changes, depending on the expansion and the scenario. It is used to keep track of the statistics that carry over to the next scenario in the campaign. Since you can really only depend on your hero's experience being consistantly there, that'll be the best search, but it will turn up other numbers as well. The correct one will be next to a section with more than 70% 0's. It will also have many blocks of "FF FF FF FF" about 12*16 bytes after the count-from-here point, representing unlearned skills.

Releative to the count-from-here
7x16 below == hero level
12x16 below == hero skills (in long integer blocks of FF FF FF FF)

SKILLS: 4 bytes a block
"FF FF FF FF" = unlearned
"0 0 0 0" = basic
"1 0 0 0" = advanced
"2 0 0 0" = expert
"3 0 0 0" = master
"4 0 0 0" = grandmaster
12x16 bytes after the count-from-here point, the 4 byte blocks start (consecutively) in this order:
tactics, combat, scouting, nobility,
life, order, death, fire
nature, offense, defense, leadership
melee, archery, resistance, pathfinding
ships, stealth, estate, mining,
diplomacy, heal, spirituality, resurrection
enchantment, wizardry, charm, occult
daemonology, necromancy, conjuration, pyromancy
sorcery, herbalism, meditation, summoning

The section of bytes right before the section of the skills' blocks contain learned skills, each bit representing a learned/unknown skill.

Disclaimer
----------
Although it's interesting to tweek the hero stats just to see curious combinations like making Gauldoth start as a paladin, it's not good to overdo it and make him a grandmaster at everything. Abuse it and you won't have much fun in the game.

Changing values in memory is dangerous, like an automobile. Don't drink and drive.
Angels
Enter this cheat: nwcstmichael for angels.
Auto Gameplay
Enter this cheat: nwcgosolo for auto gameplay.
Behemoth
Enter this cheat: nwcgrendel for behemoth.
Black Dragons
Enter this cheat: nwcfafnir for Black Dragons.
Build All Structures
Enter this cheat: nwccityoftroy to build all structures.

Champions
Enter this cheat: nwclancelot for champions.
Crusaders
Enter this cheat: nwctristram for Crusaders.
Dagger Of Despair
Enter this cheat: nwcettubrute for dagger of despair.

Devils
Enter this cheat: nwchades for devils.
Dwarves
Enter this cheat: nwcsevenlittleguys for dwarves.
Elven Chainmail
Enter this cheat: nwchephaestus for elven chainmail.

Elves
Enter this cheat: nwcfixmyshoes for elves.
Free Materials
Enter this cheat: nwcambrosia for free materials.
Gain Skill
Enter this cheat: nwcathena to gain skill.

How to Enter Cheats
Press Tab during gameplay and enter one of the cheats.
Increase Level
Enter this cheat: nwcthoth to increase level.
Learn Spells
Enter this cheat: nwcisis to learn spells.
Lose Combat
Enter this cheat: nwcachilles to lose combat.
Lose Scenario
Enter this cheat: nwcragnarok to lose scenario.
Magi
Enter this cheat: nwcmerlin for magi.
Maximum Luck
Enter this cheat: nwcsacrificetothegods for maximum luck.
Maximum Morale
Enter this cheat: nwcpan for maximum morale.

Minotaur
Enter this cheat: nwckingminos for minotaur.
Nightmares
Enter this cheat: nwcxanthus for nightmares.
Ogre Magi
Enter this cheat: nwcvalkyries for ogre magi.
Old Man Jack
Enter this cheat: nwcoldman for old man jack.
Phoenix
Enter this cheat: nwcra for phoenix.
Reveal Puzzle Map
Enter this cheat: nwcsphinx to reveal puzzle map.
Ring Of Greater Negation
Enter this cheat: nwcexcalibur for ring of greater negation.
Sea Monster
Enter this cheat: nwcposeidon for sea monster.
Shroud FOV
Enter this cheat: nwcprometheus fot hroud FOV.
Sprites
Enter this cheat: nwcdoyousmellbrownies for sprites.
Sword Of The Gods
Enter this cheat: nwcnibelungenlied for sword of the gods.
Tatooed White Trash
Enter this cheat: nwcaphrodite for tatooed white trash.
Titans
Enter this cheat: nwccronus for titans.
Trolls
Enter this cheat: nwcunderthebridge for trolls.
Unicorn
Enter this cheat: nwcthelast for unicorn.
Unlimited Movement
Enter this cheat: nwchermes for unlimited movement.
Vampires
Enter this cheat: nwcblahblah for vampires.
Win Combat
Enter this cheat: nwcares to win combat.
Win Scenario
Enter this cheat: nwcvalhalla to win scenario.
Wolves
Enter this cheat: nwcfenrir for Wolves.
(0.0888/d/www3)