Page 1 of 1

Lemurs Engine Mod - it can be done

Posted: Fri Apr 15, 2005 11:22 am
by Reg
The engine names are embedded in the WITP executable file in plain text. MAKE A COPY of your 'War in the Pacific.exe' executable file (call it something different) and make a new shortcut to it (for use with Lemur's scenario).

Use a hex editor to find the string 'Nissan' and replace it with 'AdvMit'. Then find the string 'Toyoda' and replace it with 'AdvNak'. Unfortunately these substitutions must be the same length or there will be NO guarantees that the program will still run properly. Save to the COPY of your 'War in the Pacific.exe' file.

Have fun.

XVI32 a good freeware hex editor. (http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm)

Image

RE: Lemurs Engine Mod - it can be done

Posted: Fri Apr 15, 2005 12:40 pm
by Lemurs!
That is cool as all get out man, what size is the exe file? Is it email-able?

Mike

RE: Lemurs Engine Mod - it can be done

Posted: Fri Apr 15, 2005 1:07 pm
by Captain Cruft
The EXE will be the same size as the normal one.

FYI all strings present in the EXE file can be edited in this manner. Numbers too, if you know exactly where they are.

What you can't change is the actual logic ...



Historical cruft

Posted: Fri Apr 15, 2005 1:12 pm
by Captain Cruft
As an aside, if you dump a list of all strings out of the WitP executable there are numerous amusing things to be found. It looks like a history of GG games over the ages ...

I used the `strings' command on Linux to do this but there must be a Windows equivalent.

RE: Historical cruft

Posted: Fri Apr 15, 2005 1:27 pm
by Bodhi
ORIGINAL: Captain Cruft

As an aside, if you dump a list of all strings out of the WitP executable there are numerous amusing things to be found. It looks like a history of GG games over the ages ...

I used the `strings' command on Linux to do this but there must be a Windows equivalent.

There's a strings.exe for Windows. http://www.sysinternals.com/ntw2k/sourc ... ml#strings

Maybe we could have a poll to find everyone's favourite string in the exe.

Here's one of mine:

"Fatal Error : Unable to load BTR map."

Talk about code re-use. [:D]

RE: Lemurs Engine Mod - it can be done

Posted: Fri Apr 15, 2005 11:38 pm
by Reg
Mike,

The executable file size is a touch under 2MB but you can make your own from the file on your game folder. This is quite simple to do (see attached screen shot below) but please MAKE A COPY and edit it rather than your original file (there is always a risk with hex editing).

Image