Skip to content

Posts from Editing the EXE file.

No ratings yet — be the first to rate!
User Avatar
4 years ago
Auto-translated
Recently, I had an idea and decided to explore the Heroes executable using OllyDbg.v2.01 to see if it's possible to change the game resolution (which is always 1024x768) to something else. I couldn't find the necessary values by simply editing the file with a hex editor. However, I discovered that it is possible if you change the display mode of the dump window to (32-bit float) and search for the value of interest in (Floating-point number): Original - Modification - OllyDbg - The EXE file - .
And now I'm sitting here thinking, what if it's possible to edit the stats or variables of formulas for calculating buffs/debuffs in the EXE file using a similar method? Or maybe all of this is already well-known.
Attachments 4
4 files attached • Total size: 13.8 MB
User Avatar
4 years ago
Auto-translated
And what about changing the resolution in the game settings? confusedsmile42

Many formulas and coefficients have long been discovered by the developers of 5.5, and there is even a good list of them.
If you are interested, here it is

And you can talk about everything with dredknight; he has already helped me with this question, and next week I will be studying it. smile08
In reply to }{0TT@6bI4
User Avatar
4 years ago
Auto-translated
}{0TT@6bI4
But doesn't the game settings allow you to change the resolution? confusedsmile42
The settings work differently (all screenshots above were taken in 1920x1080; the game has a limit of 1024x768 for the interface resolution, and everything is scaled accordingly).
No, I knew about modifications in version 5.5, but I didn't delve into them (because I'm too slow for that 🙄). But there was a glitch in my brain when I changed the values from (1024 and 768) to (1920 and 1080), and these values couldn't be found in the Hex editor, and essentially the changes are not significant at all - . In principle, I don't understand much (maybe there are other obvious numerical values that can be easily changed), so I thought this information might be useful to someone 🖖.
Attachments 1
1 file attached • Total size: 541.4 KB
User Avatar
4 years ago
Auto-translated
Awesome, the interface is now optimized for Full HD! =)
Who knows, maybe we'll even see Heroes 5 in 4K on TVs someday!
User Avatar
4 years ago
Auto-translated
It looks good, but the question is how comfortable it will be to play with such an interface. If it could be customized in different variations, that would be great.

Statistics

Welcome our newest member: recijeb