|
Thread: How to edit HoMM 1 | This thread is pages long: 1 2 3 4 5 · «PREV / NEXT» |
|
baronus
Legendary Hero
|
posted May 14, 2024 04:09 PM |
|
|
Here you have:
Hxd adresses
Units stats :
Starts at 00125360, the length of a single unit is 1C ( 28 ) . For example, peasant stats :
14 00 12 00 00 00 09 0C 01 00 00 00 01 01 00 01 01 01 01 05 00 03 00 12 00 05 00 00
First two bytes are price . They are inverted so , for example, the paladin price ( 600 - 0258 ) is 5802.
The eighth is growth .
Thirteenth is HP .
Next is speed ( 01 - slow, 02 - medium, 03 - fast ) .
Sixteenth and seventeenth are attack and defense , later damage .
Twenty - first are shots .
The last is type ( 00 - normal; 01 - two hex size ; 02 - flying; 03 - two hex size and flying; 04 - shooting, you need SHOOTnumber . 82M
and unitname. atk files in HEROES. DAT) . If you need some specific ability ( for example, a double attack or magic resistant ) , check it at
the unit that owns it.
00124 C40 - building prices .
...
00123 BF 0 - initial armies of the heroes :
00 1 E 32 01 03 05 02 02 04 06 0F 19 07 03 05 08 02 03 0C 0A 14 0D 02 04 0E 01 02 12 06 0A 13 02 04 14 01 02
Knight armies . 00 1E 32 is a peasant . 00 is the type of unit ( 00 is a peasant , 1B is a genie ) , 1 E is the minimum amount, 32 is
maximum . The third unit is the relic of the beta version and will never appear .
...
To find it in windows simply search by unit stats eg. archer because peasant od 1111 and od a lot numbers like that...
|
|
HAZUMU
Tavern Dweller
|
posted May 16, 2024 04:15 AM |
|
|
baronus said: Here you have:
[url=https://heroes2.forumactif.com/t622-heroes-i-dos-hexadecimal-modding]Hxd adresses[/url]
Units stats :
Starts at 00125360, the length of a single unit is 1C ( 28 ) . For example, peasant stats :
14 00 12 00 00 00 09 0C 01 00 00 00 01 01 00 01 01 01 01 05 00 03 00 12 00 05 00 00
First two bytes are price . They are inverted so , for example, the paladin price ( 600 - 0258 ) is 5802.
The eighth is growth .
Thirteenth is HP .
Next is speed ( 01 - slow, 02 - medium, 03 - fast ) .
Sixteenth and seventeenth are attack and defense , later damage .
Twenty - first are shots .
The last is type ( 00 - normal; 01 - two hex size ; 02 - flying; 03 - two hex size and flying; 04 - shooting, you need SHOOTnumber . 82M
and unitname. atk files in HEROES. DAT) . If you need some specific ability ( for example, a double attack or magic resistant ) , check it at
the unit that owns it.
00124 C40 - building prices .
...
00123 BF 0 - initial armies of the heroes :
00 1 E 32 01 03 05 02 02 04 06 0F 19 07 03 05 08 02 03 0C 0A 14 0D 02 04 0E 01 02 12 06 0A 13 02 04 14 01 02
Knight armies . 00 1E 32 is a peasant . 00 is the type of unit ( 00 is a peasant , 1B is a genie ) , 1 E is the minimum amount, 32 is
maximum . The third unit is the relic of the beta version and will never appear .
...
To find it in windows simply search by unit stats eg. archer because peasant od 1111 and od a lot numbers like that...
Thank your helping!
but
I don't know how to open or edit which file,use what tools?
And I have other question,I want to chance unit like paladin to angle,or change paladin 6th unit to 3th unit in castle,change the 82m files besides need somemore change?
____________
|
|
baronus
Legendary Hero
|
posted May 17, 2024 08:04 PM |
|
Edited by baronus at 20:06, 17 May 2024.
|
baronus
Your txt is corrupted and I do not uderstand all.
File name is heroes.exe. Usually its exe sometimes dll...
You must use hexadecimal editor. Its simply txt editor but for codes. Nothing hard.
You can use mobile or pc version... A lot od Free tools.
Eg. HxD editor is powerfull tool for big files with advanced options. But for H1 first simply one is enough.
|
|
HAZUMU
Tavern Dweller
|
posted May 23, 2024 10:18 AM |
|
|
baronus said: Your txt is corrupted and I do not uderstand all.
File name is heroes.exe. Usually its exe sometimes dll...
You must use hexadecimal editor. Its simply txt editor but for codes. Nothing hard.
You can use mobile or pc version... A lot od Free tools.
Eg. HxD editor is powerfull tool for big files with advanced options. But for H1 first simply one is enough.
Thank you,bro,you are so good!
I find the HED ,and I can do something now!
But have 2 problem,1 is I can't find the code with units ability,the units stats I try to edit,nothing happen!Like price.speed.growth. etc
also right,but not ability!How can I find them.
2 is I want to in place of units,for exampel angle in place of paladin,I try to in place of atks.82m/move.82m/wince.82m and .std .wlk,but will go wrong.
____________
|
|
baronus
Legendary Hero
|
posted May 24, 2024 05:40 AM |
|
|
Only known way to change ability is replacing graphics. In unit code you can only give flying and shooting. I think that best solution is give double attack to swordsman and have flying angels and duble attacking other units. It is possible changing unit between buildings too. You must find code 0001020304 etc to 0a0b0c0d etc. Its recruitment order. Peasant has code 00 archer 01 etc. Simply you can change number. Second option is replacing graphics as in the Morglin mod. Its best solution od you have special ability for your unit.
|
|
HAZUMU
Tavern Dweller
|
posted May 25, 2024 09:32 AM |
|
|
baronus said: Only known way to change ability is replacing graphics. In unit code you can only give flying and shooting. I think that best solution is give double attack to swordsman and have flying angels and duble attacking other units. It is possible changing unit between buildings too. You must find code 0001020304 etc to 0a0b0c0d etc. Its recruitment order. Peasant has code 00 archer 01 etc. Simply you can change number. Second option is replacing graphics as in the Morglin mod. Its best solution od you have special ability for your unit.
Your suggestion is good,but how to find the codes,There are a lot of similar codes
____________
|
|
baronus
Legendary Hero
|
posted May 25, 2024 05:29 PM |
|
|
No codes from 00 to 11 is not a lot. It must be 24 values because you have 24 recrutable units.
It is at the beginnig of buliding costs. Near :
00x 124 C40 - building prices .
Its a lot of exe-s so I cant give one adress...
|
|
HAZUMU
Tavern Dweller
|
posted May 27, 2024 08:19 AM |
|
|
baronus said: No codes from 00 to 11 is not a lot. It must be 24 values because you have 24 recrutable units.
It is at the beginnig of buliding costs. Near :
00x 124 C40 - building prices .
Its a lot of exe-s so I cant give one adress...
You mean, this code is 000102030405060708090a0b0c0d0e0f1011121314151617,right?
____________
|
|
baronus
Legendary Hero
|
posted May 27, 2024 05:10 PM |
|
|
Sorry i'm little wrong. I saw it in exe and its :
000102030405 knight
0c0d0e0f1011 warlock
060708090a0b barbarian
121314151617 sorceress
It you search backward 000102030405 is enough its first result.
|
|
HAZUMU
Tavern Dweller
|
posted May 28, 2024 05:46 AM |
|
|
baronus said: Sorry i'm little wrong. I saw it in exe and its :
000102030405 knight
0c0d0e0f1011 warlock
060708090a0b barbarian
121314151617 sorceress
It you search backward 000102030405 is enough its first result.
Thanks, I found them, and now there is a problem, how to change the resources of the unit, there is only gold in the unit stat, I can't find other resources, in addition, there are a few codes in the construction cost I don't understand, they are between the Mage Guild 4 and the well, I guess, the codes are the same two lines 050000000000000005000000000000 000000000000000000D0070000
The same price as the Mage Guild 1, and other 140000000000000001400 0000000000000000000000000088130000
____________
|
|
baronus
Legendary Hero
|
posted May 28, 2024 07:55 PM |
|
|
Area of resources for 6 lvl units are not known.
All other is descripted here:
https://drive.google.com/file/d/1iTT5Xf-1Xsf3hnV1bTJiz2Yp6vxFDtR2/view
Its for H2 but only adresses are different. Codding is the same.
|
|
HAZUMU
Tavern Dweller
|
posted May 29, 2024 04:53 AM |
|
|
baronus said: Area of resources for 6 lvl units are not known.
All other is descripted here:
https://drive.google.com/file/d/1iTT5Xf-1Xsf3hnV1bTJiz2Yp6vxFDtR2/view
Its for H2 but only adresses are different. Codding is the same.
Thank you,but I can't connect the address,Also, I found that if I change the unit, I need to change the unit name, how to do that?
____________
|
|
baronus
Legendary Hero
|
posted May 29, 2024 03:33 PM |
|
|
Where you need change name? In the city? Only known way od searching word eg. peasant and simply rename to eg. archer.
|
|
HAZUMU
Tavern Dweller
|
posted June 07, 2024 09:27 AM |
|
|
baronus said: Where you need change name? In the city? Only known way od searching word eg. peasant and simply rename to eg. archer.
YES,I found it.
I want to make HEX now, but the en and ru I found are both problematic, and according to what they said earlier, it seems that it can't be solved.
____________
|
|
baronus
Legendary Hero
|
posted June 07, 2024 04:19 PM |
|
|
Changing name is the problem? For eng is simply standard latin font. For ru you must change in HxD font to cyrlic east european and all is automatic done.
|
|
HAZUMU
Tavern Dweller
|
posted June 11, 2024 08:32 AM |
|
|
baronus said: Changing name is the problem? For eng is simply standard latin font. For ru you must change in HxD font to cyrlic east european and all is automatic done.
Sorry, I said it wrong, I meant to make a grid, but there will be problems with the picture of this version of the grid
(Here is a hex grid for the original Windows version - https://handbookhmm.ru/forum/download/file.php?id=448)
____________
|
|
baronus
Legendary Hero
|
posted June 11, 2024 09:26 AM |
|
|
Its only Palette problem. You need dos Palette. Try Palette from Morglin mod its for dos. Simply replace pictures near tool exe.
|
|
avatar
Promising
Supreme Hero
|
posted June 11, 2024 09:54 AM |
|
|
Or download it from here:
https://grayface.github.io/heroes/
____________
|
|
HAZUMU
Tavern Dweller
|
posted June 11, 2024 11:44 AM |
|
|
baronus said: Its only Palette problem. You need dos Palette. Try Palette from Morglin mod its for dos. Simply replace pictures near tool exe.
I try it,But the picture is problematic, it's strange, his colors look the opposite, I don't know how to fix it.
____________
|
|
baronus
Legendary Hero
|
posted June 11, 2024 03:08 PM |
|
Edited by baronus at 15:09, 11 Jun 2024.
|
baronus
So try early demo Palette linked site its dos too. We have only 3 versions. Dos,Win,Gog. No more. I dont know your game version...
|
|
|