Adding new features by wrapping the current EXE as a DLL.

Information, How-to's, and discussion about mod'ing Master of Orion II.
phillip
Posts:1
Joined:Wed Mar 21, 2012 10:07 am
Adding new features by wrapping the current EXE as a DLL.

Postby phillip » Wed Mar 21, 2012 10:15 am

This process converts an exe file piecemeal to implement custom functions while keeping the older functions intact.

The Dungeon Keeper game executable was wrapped into a DLL and then a new main loop function was written to call the old main loop function. Then functions were moved from the old main loop to the new main loop.

Then functions were re-implemented to update features and add new features.

This developer was/is amazing and I think the same process could be used open the code for MOO2.

P.S. I am not associated with this website but I followed the development of this application as it was transformed to custom source.

http://keeper.lubie.org/other_docs/chan ... to_dll.htm

Thank you.

Astax
Posts:82
Joined:Sat Mar 22, 2008 8:19 pm

Postby Astax » Thu Mar 22, 2012 3:27 pm

Super interesting read. Thanks for posting.


Return to “Game Modifications”

Who is online

Users browsing this forum: No registered users and 24 guests