The patcher works great and also works on Enemy Within. The documentation that comes with it is only geared towards advanced users who want to merge mods and/or use incremental patches.
The "easy way" is never even mentioned. (adjust file paths as needed)
1. Put xcominipatcher.exe into D:\Game\steamapps\common\XCom-Enemy-Unknown\XEW\XComGame\Config 2. In the same folder, create a new .bat file with only a single line: xcominipatcher --exe D:\Game\steamapps\common\XCom-Enemy-Unknown\XEW\Binaries\Win32\XComEW.exe DefaultGameCore.ini
Run this .bat file to skip all the intermediate steps and shove your entire edited DefaultGameCore.ini into the game exe. Simple. Works.
Edit: Nevermind the previous question. I just don't understand too well how to use this thing even though it has been stated to be super easy. I get stuck with the "Apply_INI_Patch.bat" script. What file am I suppose to drop there? the ini.patch file? Because I can't get it to work, it gives me error messages. Also, I can't "execute" the xcompatcher.exe. Do I just drop it on the EW Config folder and leave it there or do I have to "open" it?
Hello, thanks for this tool I'm trying to apply changes made in DefaultGameCore.ini to increase the squad size, sorry my english is not perfect so maybe I didn't get it right, please tell me if I did it right I just put the files with the game exe in the same folder and open apply ini patch and drag and drop the edited DefaultGameCore.ini in it and that's it?
Edit: Previous post was made on a flawed assumption.
Likely the problems you are having are related to the new patch. Specifically, you should be careful with modifying the psi probability. It seems that a higher value in the ini corresponds to a low chance. I say this because the second wave option which makes it "extremely rare" has a value of 8 versus the default 4. My hypothesis is that it uses this number as a denominator (i.e. 1 in 4 recruits, given an average Will value).
I've done the steps as required, but for some reason the updates are not applying to the game (I modified the chances of getting more psi soldiers, and yet there's no extra slot in the lab, still takes 10 days and hiring a whole load of recruits gives me all failures)
Does this have to do with the latest patch to the game or do I have to start a new game altogether to see the effects?
I've just released a new version of the download (0.3) which includes three helper scripts that should make things a little easier until a visual interface is ready. Instructions on how to use them are now in the main description.
______________________________________________________________ I think you're making it more complicated than it really is ______________________________________________________________ well allright, that's good to hear i was trying a few things with the patcher and turned the ini into a .bat file and ran it. then i ran the xcominipatcher.exe. Not sure if i did everything right, but i later noticed a xcominipatcher.txt file which looks like a report of the patcher. Shame it didn't work, maybe i'll just wait for the interface...
really hope you get that thing up, would be too awesome to patch mods together
I think you're making it more complicated than it really is ">
- If you have the Steam version of XCOM, then you can run xcominipatcher.exe from anywhere, you don't have to put it in any special directory. You also won't have to tell it which EXE to modify, it should find your XComGame.exe in the Steam directory automatically. - You can call your INI file anything you want, you'll just have to tell xcominipatcher where to find it later. - There is a DefaultGameCore.ini file in the config directory like you said, but the game doesn't actually use it; there's a second copy embedded in the game executable (XComGame.exe) which xcominipatcher can update for you (there's a program called Resource Hacker that some folks use to do the same thing, it's just a little more complicated).
The hardest thing for most Windows users is that xcominipatcher doesn't have a visual interface yet, so you have to use it through a command prompt window.
I am working on adding a visual interface, but in the mean time it might be easier or mod authors to just convert their mods to use xcominipatcher, and then they can provide you with a batch file to install their mod using xcominipatcher (the same way most of them now use modpatcher) and you won't have to worry about any of this stuff.
could you make an example .ini? not sure if i got that right:
- you put the .exe into the binaries/win32 directory - create a .ini file with the name "xcominipatcher" - then define the original .ini file which will be modified (those in the xcomgame/config directory? How can you find out which ini the desired mod configures?) - then the name of the .exe which will be created to run the modded game - and then the names of all the patchfiles of desired mods - save the file and run xcominipatcher.exe
19 comments
The documentation that comes with it is only geared towards advanced users who want to merge mods and/or use incremental patches.
The "easy way" is never even mentioned.
(adjust file paths as needed)
1. Put xcominipatcher.exe into D:\Game\steamapps\common\XCom-Enemy-Unknown\XEW\XComGame\Config
2. In the same folder, create a new .bat file with only a single line:
xcominipatcher --exe D:\Game\steamapps\common\XCom-Enemy-Unknown\XEW\Binaries\Win32\XComEW.exe DefaultGameCore.ini
Run this .bat file to skip all the intermediate steps and shove your entire edited DefaultGameCore.ini into the game exe.
Simple. Works.
Edit: Nevermind the previous question. I just don't understand too well how to use this thing even though it has been stated to be super easy. I get stuck with the "Apply_INI_Patch.bat" script. What file am I suppose to drop there? the ini.patch file? Because I can't get it to work, it gives me error messages. Also, I can't "execute" the xcompatcher.exe. Do I just drop it on the EW Config folder and leave it there or do I have to "open" it?
I just put the files with the game exe in the same folder and open apply ini patch and drag and drop the edited DefaultGameCore.ini in it and that's it?
thank you
Likely the problems you are having are related to the new patch. Specifically, you should be careful with modifying the psi probability. It seems that a higher value in the ini corresponds to a low chance. I say this because the second wave option which makes it "extremely rare" has a value of 8 versus the default 4. My hypothesis is that it uses this number as a denominator (i.e. 1 in 4 recruits, given an average Will value).
Does this have to do with the latest patch to the game or do I have to start a new game altogether to see the effects?
I think you're making it more complicated than it really is
______________________________________________________________
well allright, that's good to hear
i was trying a few things with the patcher and turned the ini into a .bat file and ran it.
then i ran the xcominipatcher.exe.
Not sure if i did everything right, but i later noticed a xcominipatcher.txt file which looks like a report of the patcher.
Shame it didn't work, maybe i'll just wait for the interface...
really hope you get that thing up, would be too awesome to patch mods together
btw: will this work with texture mod?
I think you're making it more complicated than it really is ">
- If you have the Steam version of XCOM, then you can run xcominipatcher.exe from anywhere, you don't have to put it in any special directory. You also won't have to tell it which EXE to modify, it should find your XComGame.exe in the Steam directory automatically.
- You can call your INI file anything you want, you'll just have to tell xcominipatcher where to find it later.
- There is a DefaultGameCore.ini file in the config directory like you said, but the game doesn't actually use it; there's a second copy embedded in the game executable (XComGame.exe) which xcominipatcher can update for you (there's a program called Resource Hacker that some folks use to do the same thing, it's just a little more complicated).
The hardest thing for most Windows users is that xcominipatcher doesn't have a visual interface yet, so you have to use it through a command prompt window.
I am working on adding a visual interface, but in the mean time it might be easier or mod authors to just convert their mods to use xcominipatcher, and then they can provide you with a batch file to install their mod using xcominipatcher (the same way most of them now use modpatcher) and you won't have to worry about any of this stuff.
I finally got it working after a while..
Thank you very much!
- you put the .exe into the binaries/win32 directory
- create a .ini file with the name "xcominipatcher"
- then define the original .ini file which will be modified (those in the xcomgame/config directory? How can you find out which ini the desired mod configures?)
- then the name of the .exe which will be created to run the modded game
- and then the names of all the patchfiles of desired mods
- save the file and run xcominipatcher.exe
...?
:/