Remove unit limit map editor
« on: June 24, 2016, 02:28:18 AM »
From dijhkahn @ occult forums
Fix for War2 Map Editor 'Player X has too many units.'
I'm guessing no one cares, but here it goes...
The Map Editor only lets you save maps with a certain amount of units per color. The limit seems to be 600/#colors. So for an 8-player map the limit is 600/8 = 75 units per color.
But, there is a way to get rid of this limit:
- Make a backup copy of "Warcraft II Map Editor.exe", in case something goes wrong
- open "Warcraft II Map Editor.exe" in a hex editor
- look at byte location B9E5, and verify that the value is 02
- change the 02 to a 40
- save the file
Or, I'll upload the modified EXE sometime, if people actually want it : )
for non-English languages, search for the byte sequence b8 58 02 00 00 99 f7 ff and change the 02 to 40