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: Ini Extension
Thread: Ini Extension
Laser70
Laser70


Adventuring Hero
posted November 25, 2015 10:52 PM
Edited by Laser70 at 22:53, 25 Nov 2015.

Ini Extension

Hi, I was quite bothered with the overflow bugs in Heroes3 and I always had to put heavy taxes on the computer to prevent resources from overflowing so I made an ini extension for Heroes 3 where one can customize all units in all factions from an ini file, including neutral units, and you can also lock resources and gold to a maximum value to prevent overflow bugs.

Can be downloaded here if anyone else wants it:

http://www.megafileupload.com/5y6p/Heroes3_IniExtension.zip

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


Adventuring Hero
posted November 27, 2015 12:54 PM
Edited by Laser70 at 13:15, 27 Nov 2015.

It's been at least 3 months since I used this patch myself and I had a sound play during game startup, a beep and forgot to remove that, I had it just for testing. I removed it now and re-uploaded without that beep. If anyone have anything that can be added to the ini file and they know the memory addresses of that thing and how it is put together, let me know and I can add it to the INI file.

I don't know if people still use the old Heroes 3 vanilla, but if
they do:

The new upload: http://www.megafileupload.com/i95z/Heroes3_IniExtension.zip

It doesn't add any overhead to the game, no extra cpu cycle cost involved, I've only redirected some functions to HeroesIII.DLL, and it basically just performs overflow checking. No overhead. The game is pretty much in original state.

The units that you customize in the ini file overwrites the unit data once it is in memory, so Heroes 3 first loads all unit data and then my INI file overwrites those data once they are in memory. No file altering involved, it just takes over when Heroes 3 is done with the loading phase.

The beauty of that is that you can save the INI file without altering the game data file directly. It's not very practical to do that.

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


Admirable
Supreme Hero
posted November 28, 2015 04:08 PM

Do you absolutely need the new .exe for it to work?

Basically wondering if it would work with HDmod? I'd test but I'm away from my H3 pc for a few days.

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


Supreme Hero
Heroes 3 Fan
posted November 28, 2015 04:28 PM
Edited by zmudziak22 at 16:45, 28 Nov 2015.

Will try it with HD Mod.

Edit: You could make changeable creature abilities like Fear, Shoot, Cast Random/Mass Spells etc.

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


Admirable
Omnipresent Hero
Wog refugee
posted November 28, 2015 04:46 PM

Great job, however if you are going to switch exe anyway, then why not use wog one with scripts block mod (SoD for example) then ini file where player can also dynamically choose every cost, but without the taxes on computer, which can have unpredictable results. We can just set a cap in resources and avoid taking away every day.
____________
Era II mods and utilities

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


Supreme Hero
Heroes 3 Fan
posted November 28, 2015 05:04 PM

I think, it is made for Standard H3, or he doesn't like ERA/WOG Scripting.

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


Adventuring Hero
posted November 28, 2015 06:08 PM
Edited by Laser70 at 18:15, 28 Nov 2015.

RoseKavalier said:
Do you absolutely need the new .exe for it to work?

Basically wondering if it would work with HDmod? I'd test but I'm away from my H3 pc for a few days.



Yes thats the problem, if WoG has modified the exe, then you can't use it with wog. I didn't even know about WoG, never heard of it until recently. This is just something I did for the vanilla Heroes III (GoG version of the game).

The only option would be if I took the WoG Heroes3.exe and modified that instead of the vanilla Heroes3.exe, then it would work. But that again would probably cause conflicts with WoG, because I would assume they have some complex stuff going on under the surface that shouldn't be interferred with.

It should work if any mod ships without an altered Heroes3.exe then you can use it with it.

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


Admirable
Omnipresent Hero
Wog refugee
posted November 28, 2015 06:12 PM

Of course, wog exe doesn't need to be modified, there is erm language which modifies the core once the game starts. That's the advantage, the exe remains untouched for same and more advanced effects.

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


Adventuring Hero
posted November 28, 2015 08:27 PM
Edited by Laser70 at 20:28, 28 Nov 2015.

Salamandre said:
Great job, however if you are going to switch exe anyway, then why not use wog one with scripts block mod (SoD for example) then ini file where player can also dynamically choose every cost, but without the taxes on computer, which can have unpredictable results. We can just set a cap in resources and avoid taking away every day.


Basically, have the INI file applied to WoG version of Heroes with all the things already in the INI file applied to WoG?

I would have to download and install it to see first, where can I download the right version of it? I downloaded it once recently, but I doubt I had the latest version there are so many links out there.

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


Adventuring Hero
posted November 29, 2015 09:11 PM
Edited by Laser70 at 21:25, 29 Nov 2015.

RoseKavalier said:
Do you absolutely need the new .exe for it to work?

Basically wondering if it would work with HDmod? I'd test but I'm away from my H3 pc for a few days.



I made one compatible with the HD mod, it has a slightly different installation, read the readme file how to use it.

http://www.megafileupload.com/mm6L/Heroes3_HD_4.0_RC33_IniExtension.zip

It worked here, I don't know if it works for you, but there it is.

The readme file has an error, the last line means HeroesIII.INI, not DLL. So the INI file must be in the default Heroes of Might and Magic 3 Complete folder, and the .exe and .dll must be in the _HD3_Data folder.

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


Adventuring Hero
posted December 02, 2015 08:26 PM
Edited by Laser70 at 20:26, 02 Dec 2015.

Here is the ini extension for HotA 1.3.8

http://www.megafileupload.com/mnlE/Heroes3_HotA_1.3.8_IniExtension.zip

If there is a Wog one (but there seems to be so many types of mods out there, don't know which to pick) let me know Salamandre. I like HotA and think I will stick to that one.
(I will put the download link in my signature from now on when I update the ini extension)
____________
Heroes3 HotA 1.3.8 + HD IniExtension Last updated: 12.02.2015 (Update #3)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0409 seconds