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 ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: How to edit HotA?
Thread: How to edit HotA? This thread is 61 pages long: 1 2 3 4 5 ... 10 20 30 40 50 ... 57 58 59 60 61 · «PREV / NEXT»
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted December 13, 2018 12:52 PM

Quote:
For some reason Sharpshooters and Enchanters cannot appear at Refugee Camps,  can anybody help me change that?

Write @ 0C9028h: EB 1C

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


Supreme Hero
Heroes is love, Heroes is life
posted December 13, 2018 02:01 PM

Thanks Alex

But are you sure this is correct?, I have spent the last half hour testing and I can't get any of them to appear… (I tested with hundreds of Refugee Camps)

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


Responsible
Supreme Hero
posted December 13, 2018 02:19 PM

Keep trying. Before posting I checked this patch manually.

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


Supreme Hero
Heroes is love, Heroes is life
posted December 13, 2018 02:56 PM

Done more testing, but I'm sorry to say it does'nt work for me.
I have had every other neutral creature from level 1-6 appear several times, but not any Sharpshooters or Enchanters.

At C9028 I'm supposed to change 6A 00 -> EB 1C correct?

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


Responsible
Supreme Hero
posted December 13, 2018 02:57 PM
Edited by AlexSpl at 15:01, 13 Dec 2018.

Well, I tested it with SoD. Now I see that in HotA this function skipped

UPD You need to change HotA.dll, but I'm not sure I have the latest version. Can you post MD5 of your HotA.dll?

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


Supreme Hero
Heroes is love, Heroes is life
posted December 13, 2018 03:08 PM

MD5?

Yes I run latest version of HotA, actually it's their "test update" version with the classic Resistance skill 1.5.3e.

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

Hero of Order
Part of the furniture
posted December 13, 2018 03:52 PM

phoenix4ever said:
MD5?


MD5 is the checksum value of the file in question.
____________
The last Reasonable Steward of Good Game Design and a Responsible Hero of HC. - Verriker

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


Known Hero
posted December 13, 2018 04:55 PM

does anyone know how to remove transparency from images and bring them to 8 bits?

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


Promising
Supreme Hero
posted December 13, 2018 05:10 PM

Seek option in your graphic editor like Remove transparency/delete transparency/remove alpha channel/delete alpha channel. And please don't write that vcmi mods are bad designed. As you know - all graphics in vcmi is displayed correctly (except your own mods).
____________

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


Adventuring Hero
posted December 13, 2018 05:26 PM
Edited by Morglin at 17:30, 13 Dec 2018.

You must convert image to bitmap with 256 colors, with some special colors at the beginning of the pallete (you can check one of orginal H3 images to see what colors you need).

There is a lot of info about that at the internet so I'm sure that you easilly find tutorial that shows you how to do it in your graphics software.

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


Supreme Hero
Heroes is love, Heroes is life
posted December 13, 2018 05:58 PM

Maurice said:
MD5 is the checksum value of the file in question.

Where can I find it?

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


Known Hero
posted December 13, 2018 06:11 PM

you know how to do with photoshop or with gimp?

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


Hired Hero
posted December 13, 2018 07:49 PM

Dear Fans!

HOTA has new "banks": Mansion, Red Tower, Black Tower, Experimental Shop...... I searched for EXE but I did not find the settings. Can anybody help you in which hexa line are there?

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


Known Hero
posted December 13, 2018 10:58 PM
Edited by planetavril at 23:02, 13 Dec 2018.

in hota.dat
from 0xa3a5

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


Responsible
Supreme Hero
posted December 15, 2018 11:23 AM

Quote:
Where can I find it?

You can use any online (for example, http://onlinemd5.com/) or offline (for example, https://www.slavasoft.com/hashcalc/) MD5 hash generator.

But anyway, hex-editing HotA.dll is mostly a waste of time, because almost every time the library is updated you'll need to write a new patch.

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


Known Hero
posted December 18, 2018 03:08 PM

planetavril said:
Morglin said:
Ok, I'll help.

Building coordinates are in h3hota.exe (for standards towns, not for Cove). It starts here:  28AA0C , from Castle buildings. First is Mage Guild level 1:


00 00 C3 02 A6 00


Number of frames for animation (inverted)

Coordinate x. It's inverted too. It means that it's not C3 02, but 02C3 which in decimal means 707.

Coordinate y. Also inverted, so 00A6 means 166.



Coordinates for all standart towns can be found in WoG sources:

https://github.com/GrayFace/wog/blob/master/T1/town_var.h

It starts at line 490.



where to insert the coordinates of the z-index and how to calculate in hexadecimal the negative value for example -5


I'm trying to recreate the Egyptian bastion but by recreating the images 800 by 374 do not fit, I calculated the coordinates in hex but the buildings with the z-index are superimposed and not behind

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


Known Hero
posted December 18, 2018 05:54 PM
Edited by planetavril at 17:55, 18 Dec 2018.

buy haspid immediately:
extract the archive in your HotA installation folder

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


Adventuring Hero
posted December 18, 2018 06:38 PM

I gave you offset for puzzle position. If you'll do for me properly working puzzle map for Forge (I don't have time for that), I'll spend my time on finding z parameter.

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


Known Hero
posted December 18, 2018 07:51 PM
Edited by planetavril at 22:04, 18 Dec 2018.

Morglin said:
I gave you offset for puzzle position. If you'll do for me properly working puzzle map for Forge (I don't have time for that), I'll spend my time on finding z parameter.

ok just tell me if I have to make the images 800 x 374 there too

puzzle

you know some other offset or interesting portion of code, I'm looking for the one where we are entering the number of cities


the offsets of the puzzles start at 2818d0 and calculate the coordinates, we are always at the starting point, how do I do it?

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


Honorable
Famous Hero
posted December 19, 2018 04:38 AM

Morglin said:
z parameter.


0x642EC4
44 bytes each
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 61 pages long: 1 2 3 4 5 ... 10 20 30 40 50 ... 57 58 59 60 61 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0486 seconds