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 > Heroes 4 - Lands of Axeoth > Thread: Have we found how to change opal, ruby and sapphire defense bonuses?
Thread: Have we found how to change opal, ruby and sapphire defense bonuses?
vulcancolak
vulcancolak


Famous Hero
posted March 14, 2023 04:30 PM

Have we found how to change opal, ruby and sapphire defense bonuses?

As the title says.
I can't tell how much i am dreaming for remake, remastered versions of this game...

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


Adventuring Hero
posted March 14, 2023 04:57 PM
Edited by Albyx at 16:58, 14 Mar 2023.

I'm using IDA, so there is 0x400000 offset in addresses.

Numbers for gem effects:
Mana Opal (6 mana) - 0x6C0004
Sapphire of Defense (6 defense) - 0x6C0048
Ruby of Attack (6 attack) - 0x6C0063
Emerald of Speed (2 speed) - 0x6C0082

Changing message text by hex editing can be done by changing pointers that are located at:
0x6C0CAF and 0x6C0CBE for Mana, Defense and Attack gems (they all share the same string)
0x6C0CE5 and 0x6C0CF4 for Speed gem.




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


Legendary Hero
posted March 14, 2023 06:43 PM
Edited by baronus at 09:02, 15 Mar 2023.

baronus

Great! By the way. Maybe you know how to change 100 HP for starting hero and 10 by lvl? Its to small and I always wanted boost it.

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


Honorable
Legendary Hero
Modding the Unmoddable
posted March 14, 2023 06:49 PM

I would appreciate that adress questions go here, it will be *much* harder to find if everything is in a new topic, please

http://heroescommunity.com/viewthread.php3?TID=37350&pagenumber=16

I'm trascribing the locations there.
____________
Never changing = never improving

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


Legendary Hero
posted March 14, 2023 08:04 PM

No! Not ask there! It waste all real content! Only put there discovered adresses!

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


Famous Hero
posted March 14, 2023 09:28 PM
Edited by vulcancolak at 21:32, 14 Mar 2023.

Albyx said:
I'm using IDA, so there is 0x400000 offset in addresses.

Numbers for gem effects:
Mana Opal (6 mana) - 0x6C0004
Sapphire of Defense (6 defense) - 0x6C0048
Ruby of Attack (6 attack) - 0x6C0063
Emerald of Speed (2 speed) - 0x6C0082

Changing message text by hex editing can be done by changing pointers that are located at:
0x6C0CAF and 0x6C0CBE for Mana, Defense and Attack gems (they all share the same string)
0x6C0CE5 and 0x6C0CF4 for Speed gem.


Thank you so much. But we have a little problem in here. I am using HxD and changed everything with HxD since today.
I have tried to IDA because of you and it is huge, sluggish and i even don't know how to save file. It looks too complicated. I cannot save it as exe. How can i do that?

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


Adventuring Hero
posted March 14, 2023 10:48 PM

You can't modify exe with IDA as far as I know, it's made to explore code and store your discoveries in one database. With this approach you can "snowball" reversing exe, because after a while when you have lots of functions and offsets discovered you can get what code does just based on partly known fragments of it. A puzzle with an Assembly touch

But I'm talking from a perspective of person who knows some computer science and programming, it may be hard to get into from zero.

I started modding using IDA for reversing the code and Ollydbg to write simple Assembly code caves, then moved to writing C++ plugins based on H4MS. Honestly, I never thought I'd achieve so much in modding, maybe you will achieve even more, who knows ?

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


Legendary Hero
posted March 15, 2023 09:09 AM

Ida is too hard for amateurs! If you dont make real study in programming dont begin it. But even if you have knowledge reverse enginering is very hard and you spent a lot of time! I think better is for nonprogrammers play the game. For me example is enough simple knowledge how to change known adresses and sometimes find something to change.

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


Honorable
Legendary Hero
Modding the Unmoddable
posted March 15, 2023 09:26 AM

BTW how does one change the displayed values? yes I know the text address but this is just a pointer, is the actual value stored where?
____________
Never changing = never improving

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


Adventuring Hero
posted March 15, 2023 09:21 PM
Edited by Albyx at 21:21, 15 Mar 2023.

NimoStar said:
BTW how does one change the displayed values? yes I know the text address but this is just a pointer, is the actual value stored where?


Pointer points to the actual value

 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.0261 seconds