Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Library of Enlightenment > Thread: How to edit HoMM 1
Thread: How to edit HoMM 1 This thread is 5 pages long: 1 2 3 4 5 · «PREV
silly_idea
silly_idea

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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
AlexSpl
AlexSpl


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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
silly_idea
silly_idea

Tavern Dweller
posted July 25, 2024 08:00 PM
Edited by silly_idea at 20:51, 25 Jul 2024.

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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
AlexSpl
AlexSpl


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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
AlexSpl
AlexSpl


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

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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
heymlich
heymlich


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

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
AlexSpl
AlexSpl


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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
HAZUMU
HAZUMU

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
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
AlexSpl
AlexSpl


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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 5 pages long: 1 2 3 4 5 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0441 seconds