XCOM: Enemy Unknown


How it works:

At Engine.upk
Class Engine
native static final function bool IsRetailGame();
* Changed to return false instead of true


Patch:
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


Article information

Added on

Written by

Capyvara

6 comments

  1. colombogames
    colombogames
    • member
    • 0 kudos
    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

    These lines are completely different from these numbers, the edit is probably going to not work...
    I have EW installed, but I dont play it....
  2. dreadylein
    dreadylein
    • member
    • 5 kudos
    Its about patching the binary, so every call for the nativ function IsRetailGame() within the vm , will return false instead of true, this should unlock some dev tool, this is done through hexedit with your favorite hexeditor the xcomgame.exe and go to the position 003C8F10
    Change according to the post above

    You can also patch the checks themself within the upk files, but it wouldnt be half as clean <img class=">

    If you still dont know what to do, you can drop me a line, but to be honste, if this is that much of a problem for you, you wont get any use out of it anyway <img class=">
    1. Exzavier
      Exzavier
      • member
      • 0 kudos
      good day, what program can i use to properly read the upk file, i am trying to boost my ships armor and range, would it be possible to change that in the upk file, cause there is nothing in the recourse hacker about the ships details..
      you can drop me a email on [email protected]
  3. dubiousintent
    dubiousintent
    • premium
    • 78 kudos
    You can still use "keybind commands" to send console commands.  Or try the patch mod listed in the note at the beginning of the "Developer console" wiki article.
     
    -Dubious-
  4. Ensais
    Ensais
    • member
    • 0 kudos
    Guess I don't speak this language.

    What folder? Are you talking about using another program to do this (uplink?)