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: Heroes 3 - Editing heroes in memory
Thread: Heroes 3 - Editing heroes in memory This thread is 5 pages long: 1 2 3 4 5 · «PREV / NEXT»
krebo_gober
krebo_gober

Tavern Dweller
posted May 09, 2016 06:17 AM

RoseKavalier said:
1) Did you try running it as Administrator?

2) Are you using HDmod? (I read it is not compatible)


Pardon me, It's my fault not running it as administrator. Thankyou
____________

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

Tavern Dweller
posted May 05, 2017 04:34 PM

Hello guys, is there anywhere a detailed scheme of a save file? Me and my friend would like to produce stats from our games day by day, such as eg. towns in possession, the % of map revealed etc... I'm sure you all ERM scripters know all details of the savefile

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


Legendary Hero
posted May 05, 2017 05:15 PM

Here you have.

H3 save editing

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

Tavern Dweller
posted May 05, 2017 07:24 PM

Thanks, I've already been there, and it's very brief. I was looking for something more detailed, describing how exactly the save file is built.

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

Tavern Dweller
posted May 06, 2017 07:01 AM

Wow

I'm new to this stuff, but still, this is a great thread, any hex editors will do right?
____________

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


Legendary Hero
posted May 06, 2017 07:44 AM

Only this hexd data you can find I think.
Hex Editor Neo is good.

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

Hero of Order
Part of the furniture
posted May 06, 2017 12:20 PM

If you're willing to pay some money for a good editor, UltraEdit is also a nice one.
____________
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
Baronus
Baronus


Legendary Hero
posted May 06, 2017 03:47 PM

Hex Editor Neo is powerful because can load very big files. Anothers crashing if is big. But you can search in net. Its a lot free. If one cant do something you can use another.

I found something similiar:
http://heroescommunity.com/viewthread.php3?TID=30459
Only working link! Mirror needed!
http://www.upload.ee/files/4171441/WogEditor2.5.1.rar.html

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


Admirable
Supreme Hero
posted May 06, 2017 06:15 PM

Baronus said:
Hex Editor Neo is powerful because can load very big files. Anothers crashing if is big. But you can search in net. Its a lot free. If one cant do something you can use another.

I found something similiar:
http://heroescommunity.com/viewthread.php3?TID=30459
Only working link! Mirror needed!
http://www.upload.ee/files/4171441/WogEditor2.5.1.rar.html


Mirror - Mapmaker's Thread

For Hex Editor, there are some pretty decent free ones such as:
Notepad++ with Hex plugin
HxD

For save editing itself, there's an old Russian save editor I found not too long ago. I haven't really used it so I can't comment on its performance.
Save Editor
____________
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
Baronus
Baronus


Legendary Hero
posted May 06, 2017 07:52 PM
Edited by Baronus at 19:53, 06 May 2017.

Yea I have it but it's only russian 6yka. Fonts and language dont work when I try. If someone can and its no big work eng. version will be nice. THERES NO SAVE EDITORS FOR ORIGINAL HEROES III! SHOCK! We have for MMI, Heroes I, II ! But not for HIII!

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

Tavern Dweller
posted May 11, 2017 06:24 PM
Edited by Sokoro at 19:22, 11 May 2017.

I am trying to edit the save game acording to this guide, but it does not work. only once it changed some skill but only in such way so that it just removed the skill name with only "expert" being shown.

I am using heroes chronicles save game. does HC have different save structure?

I also got CRC error while extracting the save archive with 7-zip.. might be related?

One of my heroes should have 7 skill at expert level, but there is no group of seven 03 bits near the hero name... something must be wrong

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


Legendary Hero
posted May 11, 2017 07:57 PM
Edited by Baronus at 20:23, 11 May 2017.

Maybe 03000000 03000000 etc not 030303? In exe we have 03000000.
HC can be little another but its the same game, no new content so I dont think that something big is different...
... edit
Its easy.
1. Unizip dont care that error.
2. Open HDedit
3. Find hero name.

You have next
0303 two first skills
000003 six times next 6 skills.
Next you have some area about 32 bytes,
next statistics eg, 11 0d 10 12,
next I think spells. See spell table in txt file 01 is  00 not.
Next ffff etc you have units and number of units.
And artifacts and experience (find to compare with game).

4. After editing GZIP it! Rename gzip format to gm1. It works.

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

Hero of Order
Part of the furniture
posted May 11, 2017 09:12 PM

You can safely ignore the CRC error message, it's inconsequential.
____________
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
PandaTar
PandaTar


Responsible
Legendary Hero
Celestial Heavens Mascot
posted May 11, 2017 09:13 PM

5 minutes later.

*Warning, warning, your hometown will be nuked in 5 minutes*
____________
"Okay. Look. We both said a lot of things that you're going to regret. But I think we can put our differences behind us. For science. You monster."
GlaDOS – Portal 2

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

Hero of Order
Part of the furniture
posted May 11, 2017 11:19 PM

Also, the savegame structure lists all skills in sequence, following the Hero's name. Basically, the Hero name is 13 bytes in size. Then, you get 1 byte for each skill, indicating its skill level. The sequence is as follows:

Bit: Skill:

0 Pathfinding
1 Archery
2 Logistics
3 Scouting
4 Diplomacy
5 Navigation
6 Leadership
7 Wisdom
8 Mysticism
9 Luck
10 Ballistics
11 Eagle Eye
12 Necromancy
13 Estates
14 Fire Magic
15 Air Magic
16 Water Magic
17 Earth Magic
18 Scholar
19 Tactics
20 Artillery
21 Learning
22 Offense
23 Armorer
24 Intelligence
25 Sorcery
26 Resistance
27 First Aid


Each of these 28 bits range from 0 through 3 in value:
0 = Unskilled
1 = Basic
2 = Advanced
3 = Expert

Yes, if you hack this and make it in a 28-byte string of all 03's, the Hero will have all skills at Expert level.

Following these 28 bytes is another series of 28 bytes. Each of these indicates in which skill slot the respective skill (according to the above listing) is shown on the Hero paper doll. As the Hero paper doll can only show 8 skills, of these 28 bytes at least 20 have to be equal to 0. The other 8 (at most, can be less) range from 01 through 08, where each of these 8 numbers has to be unique (otherwise you'll crash your game). The skill arrangement on the Hero paper doll is as follows:

1 2
3 4
5 6
7 8
____________
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
Sokoro
Sokoro

Tavern Dweller
posted May 12, 2017 08:38 AM
Edited by Sokoro at 09:33, 12 May 2017.

I am using HxD hex editor.

Acording to this the Rissa hero should have expert Wisdom, Mysticism and Luck, advanced Earth Magic and expert Armorer. That is not correct, she does not have any luck or Armorer, and she actually has 7expert skills and 1 basic (navigation)
Also that 42 00 00 00 seems to imply that she should have black knights, lol, not even close.

Am I reading it wrong?

I GOT IT! that was a the wrong version of the hero, it is a campaign save! so now i found the correct actual version of the hero and the values seems to be correct!
Still it is weird that the game implies that she started with armorer and luck....
Ah ok, it does not imply luck etc. I forgot to start counting from 0

The only problem is, that when I removed Navigation skill by setting it to 00 (unlearned) and removed it from skill position in hero screen, then it got replaced by something with basic wisdom icon and "muture drake" text... which crashes the game when I view its info.

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


Legendary Hero
posted May 12, 2017 09:36 AM
Edited by Baronus at 09:44, 12 May 2017.

On your screen she has 5 skills:
4 on 03 expert
One 02 advanced
Are you sure you test correctly save? It must be here.
Gzip it and rename Rissa5skills.cg1 and try in game.
..

Edit
..

Yes it is correct you find it... Very good

If you want another skill.
1. Remove skill 00.
2. Remove slot position 00
3. Find place with skill you want.
4. Give skill level eg. 03
5. Find place with skill slot position.
5. Give free slot number eg. 7

Slots numbers must  be in right order 1,2,3,4 etc. not 1,2,3 and 7 I suppose. It maybe crash...

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

Tavern Dweller
posted April 10, 2018 05:00 PM

Sokoro said:
I am using HxD hex editor.

Acording to this the Rissa hero should have expert Wisdom, Mysticism and Luck, advanced Earth Magic and expert Armorer. That is not correct, she does not have any luck or Armorer, and she actually has 7expert skills and 1 basic (navigation)
Also that 42 00 00 00 seems to imply that she should have black knights, lol, not even close.

Am I reading it wrong?

I GOT IT! that was a the wrong version of the hero, it is a campaign save! so now i found the correct actual version of the hero and the values seems to be correct!
Still it is weird that the game implies that she started with armorer and luck....
Ah ok, it does not imply luck etc. I forgot to start counting from 0

The only problem is, that when I removed Navigation skill by setting it to 00 (unlearned) and removed it from skill position in hero screen, then it got replaced by something with basic wisdom icon and "muture drake" text... which crashes the game when I view its info.


Hi, I'm trying to edit my campaign save (editing out that eagle eye and scouting). Whatever program I use the right part where "rissa" is, for me it's all alien language. Am I using the wrong file? The file I'm using is my save file in GOG, which is a CGM.

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

Hero of Order
Part of the furniture
posted April 10, 2018 08:58 PM

seayeah said:
Hi, I'm trying to edit my campaign save (editing out that eagle eye and scouting). Whatever program I use the right part where "rissa" is, for me it's all alien language. Am I using the wrong file? The file I'm using is my save file in GOG, which is a CGM.


You need to unzip the file first. The CGM file is actually a zipped archive. If you try to edit it straight up, you indeed get garbage . After unzipping it, you should be able to make sense of it.

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

Tavern Dweller
posted April 12, 2018 03:24 AM
Edited by seayeah at 13:51, 12 Apr 2018.


https://imgur.com/cdV2Sm7
I used 7zip to unzip it. Am I doing it right?

I'm trying to edit my Yog campaign skill. He has a first aid and I'm changing it to earth magic. According to the code there should be number 28 or 27 somewhere but I can't find it anywhere. Help!

Also after finish editing it how can I zip the file back to cgm?

 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 / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0627 seconds