Jump to content

Unlocked some modding helpers


Capyvara

Recommended Posts

  • Replies 62
  • Created
  • Last Reply

Top Posters In This Topic

Sure, actually is a very simple change, here's my notes:

 

Engine.upk

Class Engine

native static final function bool IsRetailGame();

 

* Changed to return false instead of true

 

XComGame.exe

 

Changes:

0x3C8F15 | 01 > 00

0X3C8F22 | 01 > 00

 

Before:

003C8F10 | 44 24 08 C7 00 01 00 00 00 C2 08 00 8B 4C 24 08

003C8F20 | C7 01 01 00 00 00 C2 08 00 CC CC CC CC CC CC CC

 

After:

003C8F10 | 44 24 08 C7 00 00 00 00 00 C2 08 00 8B 4C 24 08

003C8F20 | C7 01 00 00 00 00 C2 08 00 CC CC CC CC CC CC CC

 

I think it's a good idea to backup and delete you config/save files, at "Documents\My Games\XCOM - Enemy Unknown"

Link to comment
Share on other sites

Excellent work Capyvara! :)

 

As I mentioned, I managed to get the dev shell working last week by modifying the .upk but couldn't get the debug console working. I didn't attempt to tamper with the .exe though.

 

How did you find the correct place in XComGame.exe to know where to patch?

Link to comment
Share on other sites

Excellent work Capyvara! :)

 

As I mentioned, I managed to get the dev shell working last week by modifying the .upk but couldn't get the debug console working. I didn't attempt to tamper with the .exe though.

 

How did you find the correct place in XComGame.exe to know where to patch?

 

I used the demo version of IDA Debugger (http://www.hex-rays.com/products/ida/support/download.shtml) to find out which C++ function was called (based on a string search by the function name), found out the return value address and the right addresses on the file.

Link to comment
Share on other sites

Few of the commands work, as the console appears to lack the ability to print information.

I ended up just randomly trying commands, killsquad ended up proving the console DOES work.

 

Lol, just that command!

 

Take a look at the XComCheatManager at XComGame.upk, there seems to be a lot of commands there.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...