It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hi there,

Since @Giaur89 asked me to look into the assembly like I did for Empire Earth for its camera zoom modding, it turned out to be different in Empires DMW regarding the zoom behavior compared to EE1.

However, I managed to redirect a certain program flow during the rendering pass in order to scale the zoom factor.

I provide the tool for patching the main executable such that everyone can mod the game according to his/her preferences.
https://github.com/j-frei/EmpiresDMWZoomChanger/releases/latest

For 1920x1080 resolution, I recommend the following values:
Zoom: 1.5
Cull: 260.29

The code is available at:
https://github.com/j-frei/EmpiresDMWZoomChanger

If you like this tool and want to donate, instead support one of your local animal shelters or the LA Guinea Pig Rescue! https://www.laguineapigrescue.com/donate.html :)
Post edited July 14, 2020 by johannus8
avatar
johannus8: Hi there,

Since @Giaur89 asked me to look into the assembly like I did for Empire Earth for its camera zoom modding, it turned out to be different in Empires DMW regarding the zoom behavior compared to EE1.

However, I managed to redirect a certain program flow during the rendering pass in order to scale the zoom factor.

I provide the tool for patching the main executable such that everyone can mod the game according to his/her preferences.
https://github.com/j-frei/EmpiresDMWZoomChanger/releases/latest

For 1920x1080 resolution, I recommend the following values:
Zoom: 1.5
Cull: 260.29

The code is available at:
https://github.com/j-frei/EmpiresDMWZoomChanger

If you like this tool and want to donate, instead support one of your local animal shelters or the LA Guinea Pig Rescue! https://www.laguineapigrescue.com/donate.html :)
WOW Excellent !!!! Is there anyway you could make some tutorials on youtube (I would hapily pay for it)
I would like to learn how to create such programs (I know assembly and many languages like C, C++, C#, java, python, swift)
avatar
PERLE2017: WOW Excellent !!!! Is there anyway you could make some tutorials on youtube (I would hapily pay for it)
I would like to learn how to create such programs (I know assembly and many languages like C, C++, C#, java, python, swift)
Glad you liked it. :) Sorry for the late answer...
Actually, there is no unique, "right" way to patch these old exe files. Knowing the basic x86 assembly instructions, stuff like endianess and floating point in x86, etc... is a good starting point though....

But basically it comes all down to loading the file in a disassembly tool and debugging the program flow until one found the right addresses. It's usually a good idea to search for relevant function symbols like "GetZ" or "SetCamera" to locate the program flow of the rendering pipeline and further investigate from there.

Regarding the disassembly editor, I personally still use IDA but there are also other tools like Ghidra, etc...