Auto-translated
So, I decided to do some hacking and modify Heroes 3: The Shadow of Death, so that
Cyclops Stockpiles are always guarded by 70 Cyclops (instead of the old values - 30 percent
probability - 20, and so on, with a maximum of 10 percent probability - 50 Cyclops).
(Cyclops Stockpiles are those that give 4, 6, 8, or 10 of each resource.)
I opened the resource editor ResEdit.exe version 40.0, which I found online here -
wogforever.narod.ru/Files/Dounloads/Programs/A_K_Zyzop_resexplorer.40.0.zip
I selected "open resource file," H3ab_bmp.lod from the Data folder in the Heroes directory.
Then, on the panel, I selected "display only TXT" for convenience, found the file CRBANKS.TXT,
right-clicked, and selected "ExtractTo," choosing my directory for convenience. When the
extracted file CRBANKS.TXT appeared from the resource file, I didn't want to edit it and
save it in Notepad in case I messed something up, so I launched the program
TextEdit3.0-Rus.exe, the installer of which I found online here -
wogforever.narod.ru/Files/Dounloads/My_works/TextEdit3.0-Rus.zip
I opened this file and, for Cyclops Stockpile, set all 4 levels
(number of Cyclops) to 70, 70, 70, 70 - instead of the old values of 20, 30, 40, 50.
I saved the file, then opened it again to make sure it was saved.
At this time, ResEdit.exe was open. I went into the File Manager and, in my directory,
saw the extracted file CRBANKS.TXT. I dragged it with the mouse to the left into the main window, replacing
the old one. Then, it became possible to click the "Make Change" button, and I clicked it, saving
the changes to the resource file.
Then, I closed ResEdit.exe, deleted the extracted CRBANKS.TXT, restarted ResEdit.exe,
extracted CRBANKS.TXT from H3ab_bmp.lod again, and made sure that this lod file was
successfully saved by the program.
Next, this may not be necessary, but I did everything described above in the same way with the file
H3BITMAP.LOD in the same Data folder, and with the file in it, ZCRBANK.TXT.
Then, I opened Heroes 3: The Shadow of Death, created a map, and placed Cyclops Stockpiles. When I entered, I saw that they were still guarded by the old
20 Cyclops (one of the old values), not the 70 I set.
I described all of this in such detail so that there would be no misunderstandings and incorrect assumptions
about what I might have done wrong. If the battle in the Cyclops Stockpiles is not determined in the file CRBANKS.TXT, then where is it? It's clearly not in the executable file :) it's only
2.7 megabytes. Everything must be in the resources. And what's the point of all this detailed information -
probabilities, the number of guards, matching reality, etc., in short,
a whole set of numbers? If changing it doesn't affect anything.
Other files in these resources are various images, sounds, etc. Numerical parameters
must be in txt files, and I didn't find anything else that looked like a description
of Cyclops Stockpiles.
Are there any experts in hacking games?