|
Thread: How to edit HoMM 1 | This thread is pages long: 1 2 3 4 5 · «PREV |
|
silly_idea
![silly_idea](images/blank.gif)
![](images/rta.gif) ![](images/rta.gif)
Tavern Dweller
|
posted July 25, 2024 07:46 PM |
|
|
The colors of the enemy Lords and Queen are predetermined only in the Windows version. They are random in the DOS version.
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted July 25, 2024 07:51 PM |
|
|
I checked, at least, for the first scenario. They are always the same colors as Lords' flags in the menu.
|
|
silly_idea
![silly_idea](images/blank.gif)
![](images/rta.gif) ![](images/rta.gif)
Tavern Dweller
|
posted July 25, 2024 08:00 PM |
|
|
I made a mistake, they're random only in scenarios 5-7, where there is only one enemy. For some reason I thought it was in all of them.
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted July 25, 2024 10:16 PM |
|
Edited by AlexSpl at 19:04, 26 Jul 2024.
|
I suppose the developers intended to keep consistency of Lords colors throughout the campaign. It's interesting that they are random due to the aforementioned bug Even in the Windows version of the game.
Btw, you can use cheat codes by running the game with /d1 key (or /d2-9 for debug purposes, not interesting for a casual player).
Windows version
---------------
F3 - win scenario
F5 - loose scenario
F6 - give every spell (5 of each)
F7 - give 800 experience points
F8 - give 1 Troll and 1 Dragon
F9 - give 10 resources and 1,000 gold
F11 - give 2,999 movement points
F12 - open the entire map for a current player
DOS version
---------------
F2 - win scenario
F3 - loose scenario
F4 - (??? better to not press)
F6 - give every spell (5 of each)
F7 - give 800 experience points
F8 - give 1 Cavalry, 1 Unicorn, 1 Griffin, and 1 Dragon
F9 - give 10 resources and 1,000 gold
F10 - open the entire map for a current player
F11 - give 2,999 movement points
Also in debug mode you will be able to see some internal info about the tile you right clicked on and its coordinates.
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted July 26, 2024 07:27 PM |
|
Edited by AlexSpl at 19:46, 26 Jul 2024.
|
How to run Heroes 1 from GOG in debug mode.
First, if you play under DOS, you just have to type HEROES.EXE /d1
If you want to skip intro videos, type HEROES.EXE /i0 (or HEROES.EXE /i0 /d1 to skip intro and start the game in debug mode).
For owners of GOG version.
Open dosboxHOMM1_single.conf and change 'loadfix -4 heroes.exe' to 'loadfix -4 heroes.exe /i0 /d1'.
Now you can try cheat codes mentioned above.
Don't need fullscreen mode? Open dosboxHOMM1.conf and change 'fullscreen=true' to 'fullscreen=false'.
* * *
Quote: I suppose the developers intended to keep consistency of Lords colors throughout the campaign. It's interesting that they are random due to the aforementioned bug ![](images/smilies/smile.gif)
Btw, I checked and, indeed, Lords should have had unique colors. Red for Knight, Green for Barbarian, Yellow for Sorceress, and Blue for Warlock. You can verify it by studying corresponding data of starting conditions structures. But because of the bug I found some time ago, the game reads the first byte of wood resources, which indirectly triggers randomizing of colors in Lords scenarios.
|
|
heymlich
![heymlich](images/avatars/h1-kn-Maximus.gif)
![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Famous Hero
|
posted July 26, 2024 10:38 PM |
|
|
thanks for the infos, I actually have the GoG version. My DOS version stopped working in Win11 for some reason and I was too lazy to sort it out
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted July 29, 2024 04:28 PM |
|
Edited by AlexSpl at 16:26, 31 Jul 2024.
|
Here's a fix resolving issues caused by the bug mentioned above, namely, the bug with 0 amount of wood, which causes freezes and randomization of flag colors (which never should have been random) in the Lords scenarios even with standard amount of wood.
3EFE4: 50 -> 4F
7A927: 50 -> 4F*
3EFDB: 53 -> 52
7A939: 53 -> 52*
I suppose you don't need the following (these fixes are for a function that seems to be never called), but to be sure -
42241: 50 -> 4F
86B66: 50 -> 4F*
42238: 53 -> 52
86B78: 53 -> 52*
*) These fixes may also be skipped, but it needs testing. [UPD] DOS4/GW uses some kind of a relocation table, so even if you change instruction's operand, which points to a memory location, to any (even random) address, the game will work anyway, as this operand is read from that relocation table. Still, it's better to be safe and change both addresses.
|
|
HAZUMU
![HAZUMU](images/avatars/2ndHero-2008.gif)
![](images/rta.gif) ![](images/rta.gif)
Tavern Dweller
|
posted August 13, 2024 05:13 AM |
|
|
AlexSpl said: Here's a fix resolving issues caused by the bug mentioned above, namely, the bug with 0 amount of wood, which causes freezes and randomization of flag colors (which never should have been random) in the Lords scenarios even with standard amount of wood.
3EFE4: 50 -> 4F
7A927: 50 -> 4F*
3EFDB: 53 -> 52
7A939: 53 -> 52*
I suppose you don't need the following (these fixes are for a function that seems to be never called), but to be sure -
42241: 50 -> 4F
86B66: 50 -> 4F*
42238: 53 -> 52
86B78: 53 -> 52*
*) These fixes may also be skipped, but it needs testing. [UPD] DOS4/GW uses some kind of a relocation table, so even if you change instruction's operand, which points to a memory location, to any (even random) address, the game will work anyway, as this operand is read from that relocation table. Still, it's better to be safe and change both addresses.
I'd like to ask you how to implement remaining health on Gog, and how to make Grid and replace Hero tent on Gog
____________
|
|
AlexSpl
![AlexSpl](images/avatars/h5-skill-Luck_1.gif)
![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif) ![](images/rta.gif)
![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif) ![](images/star.gif)
Responsible
Supreme Hero
|
posted August 13, 2024 03:18 PM |
|
Edited by AlexSpl at 15:31, 13 Aug 2024.
|
Quote: ... how to make Grid and replace Hero tent on Gog
You may try this version of h1grid for the original Windows version of the game. But first, replace H1Palette.bmp with this one (unzip first). Probably it will solve the problem with heroes/tents as well.
Quote: I'd like to ask you how to implement remaining health on Gog
I'll probably take a look at it later, but patching DOS version of the game is not my priority, otherwise I would have made TE patch for DOS version instead of Windows version Besides there are no convenient tools (at least, I know of) for DOS version of the game which can do the same things as patcher_x86 can.
|
|
|
|