Skip to content

Posts from Hero editor for HOMM2.

5.0 (1 rating)
User Avatar
19 years ago
Auto-translated
Hero Digger for Heroes of Might & Magic II, version 3.2.0.1

1) The program's functionality is to "dig out" any of the heroes specified by the user,
without disrupting the structure of the save file from which the "digging" is performed,
but only by emulating mouse and keyboard key presses.

2.1.1) The screen resolution should be 1024 x 768 or higher.
2.1.2) Currently, the program works in High Color (16-bit) color palette.
To change the color palette, do the following:
go to "Properties: Display" -> "Settings" tab -> "Color Palette" field.

2.2) Heroes 2 must be launched in windowed mode, resolution 800 x 600.
This is set as follows: Heroes 2 main menu -> "Display" menu -> 800 x 600.

3.1) The garrison of the town in which you are going to "dig out" heroes must be free.
3.2) You need 2500 gold to purchase a hero; don't forget about this.

4.1) If necessary, it is possible to implement additional support for window resolutions of 640x480, 1024x768, and 1280x1024.

Updates:
1. Fixed a bug with the number of the save file being loaded.
2. Increased the number of towns (up to 20) and save files (up to 120) from which heroes can be "dug out".
3. Fixed a bug that occurred during "digging" when the player had no heroes.

Updates in this version:
1. Added the ability to "dig out" heroes from campaigns.
18 years ago
Auto-translated
my Heroes game is glitching under Windows XP... I've tried all the modes.
In reply to Romanuel
User Avatar
18 years ago
Auto-translated
Now the program works correctly under XP. For any questions, you can report the problem directly in this thread or in a private message; it is also desirable to send a screenshot of the Heroes window where the program starts to malfunction. It is not worth trying all modes yet; it is currently useless. Only 800 x 600.
User Avatar
18 years ago
Auto-translated
vbn;107765
Hero digger for HOMM2, version 1.

Dear vbn, are you planning to write a similar program for Heroes 1?

Sincerely, VDV_forever
User Avatar
18 years ago
Auto-translated
Vitalik, you're a genius! I want to express my sincere gratitude to you. I think you'll refine the program to perfection in the near future. I haven't tried it myself yet, but I'm sure everything will be alright in the end.
In reply to Kamikaze
User Avatar
18 years ago
Auto-translated
vbn, thank you for the tool!

However:
1. It doesn't stop; it continues to load the save and search, even after finding the desired hero.

2. I would like it to be possible to load up to the 100th save, instead of just the 10th, so that I don't have to clear the folder every time I need to load a later save. Is it possible to do this?
In reply to Brennan
User Avatar
18 years ago
Auto-translated
Brennan;128139
vbn, thanks for the tool!
What are you thanking him for? You mentioned that it doesn't stop, but continues to load the save and search, even when it finds the desired hero. To resolve the issue, please upload a screenshot of the screen, and also provide the version of the operating system and the screen resolution. Currently, the program works in the High Color (16-bit) color palette. To change the color palette, you need to do the following: go to "Properties: Display" -> "Settings" tab -> "Color palette" field.
Brennan;128139
I would like it to be possible to load up to the 100th save, not just the 10th, so that I don't have to clear the folder every time I need to load a later save. Can this be done?
Yes, see the update in post #1.
User Avatar
18 years ago
Auto-translated
Yes, see the update in post #1.
Thank you, everything works correctly.
If it's possible to also make it work for a screen resolution of 640*480, that would be even better.
In reply to Brennan
User Avatar
18 years ago
Auto-translated
Why 640x480? Does anyone actually play in that resolution? Is the graphics better there (meaning: is everything clearer)?
In reply to vbn
User Avatar
18 years ago
Auto-translated
vbn;129398
Why 640x480?
Does anyone actually play in that resolution? Is the graphics better (meaning, is everything clearer)?
I think people do play in that resolution. In 800*600 mode, the graphics seem to distort in a way that isn't very pleasant, in my opinion.

By the way, it might be possible to implement some kind of emergency stop mechanism if you decide not to continue digging for a hero or if the hero stubbornly can't be found. Otherwise, you have to go into the processes and quickly stop the heroes before the cursor gets stuck in the digging animation again. For example, the digging process for 3 heroes could be stopped when the program window is restored.
In reply to Brennan
User Avatar
18 years ago
Auto-translated
Brennan;129992
By the way, is it possible to implement some kind of emergency stop mechanism if you decide not to dig for a hero or if it persistently cannot be found?
You need to press the "Q" key several times. The hero window will close, and after a while, the program will also stop... ;)
In reply to Kyle
User Avatar
18 years ago
Auto-translated
Kyle;129994
You need to press the "Q" key several times.
The heroes window will close, and after a while, the program will stop... ;)
Thank you, I somehow didn't figure that out...
User Avatar
18 years ago
Auto-translated
In the 2nd version, you don't need to write scripts :)))

The save file isn't encoded there, so you can do it more simply:
Load the save, buy a hero in the location where you want another hero to appear under him, and save. In this second save, just change a couple of bytes. That's it, the hero available for hire will be the one you need. All that's left is to load the modified file again. All the mines will be explored in about 30 seconds.
In reply to Captain
User Avatar
18 years ago
Auto-translated
Captain;130080
In the 2nd method, you don't need to write anything to the dig site :)))
The save file isn't encoded there, so you can do it more simply:
Load the save, buy a hero where you want another hero to appear under him, save. In this second save, just change a couple of bytes. That's it, the hero for hire is the one you need. All that's left is to load the modified file again. All dig sites will take no more than 30 seconds.
In the described case, the save file is being modified.
As a rule, this is prohibited by the rules of offline tournaments.

P.S. Although, theoretically, this method can be used.
The only thing to pay attention to is that you don't "accidentally"
dig up a hero who simply cannot appear in the tavern
(well, for example, this hero is already on the map or in the tavern of the enemy).
It is difficult to predict what will happen in such a case.
Perhaps strange glitches or something else will start.
In any case, modifying the save file can lead to errors.
In reply to vbn
User Avatar
18 years ago
Auto-translated
vbn;130086

P.S. Although, theoretically, this method can be used.
The only thing to pay attention to is to avoid
accidentally unearthing a hero who simply cannot appear in the tavern
(e.g., this hero already exists on the map or in the enemy's tavern).
It's hard to predict what will happen in that case.
Perhaps strange glitches or something else will start to occur.
In any case, modifying the save file can lead to errors.
Secondly, the number of heroes is very small - 54... the program can easily create a list of occupied heroes, those sitting in taverns (yours and the computer's), and free heroes.

Statistics

Welcome our newest member: recijeb