Drakous79 Posted November 14, 2013 Share Posted November 14, 2013 Exactly. The installer takes care of everything, but all we used are outdated atm. You're welcome, just remember, stuff to change is in /XCom-Enemy-Unknown/XEW/XComGame/CookedPCConsole directory. So navigate command line for decompress to there, rename uncompressed_size file there and edit XComGame.upk there. It's another "let's make it easy to mod" from devs, because we now have 2 games to mod - EU and EW. Link to comment Share on other sites More sharing options...
ManiaCCC Posted November 14, 2013 Share Posted November 14, 2013 (edited) Well, it's not easy, because:Firaxis made the game not easy to mod, so it's hard to change anythingXCOM EW was released few days ago, so tools aren't up to date and people are playingBecause of these two points, most mods aren't workingThe modding community really appreciate what's Amineri doing and if she isn't interested in releasing, because of having better stuff to do, we're okay with it. So if you guys need those SW options nao :smile: you can do it yourself, or just wait for someone to do it.Download Gildor's Unreal Package Decompressor from http://www.gildor.org/downloads and extract decompress.exe to /XCom-Enemy-Unknown/XEW/XComGame/CookedPCConsole/.Rename XComGame.upk.uncompressed_size to something else.Fire command line and type decompress.exe -lzo XComGame.upk or follow Eliot's advice how to do this stuff.Grab HxD or other hex editor, open XComGame.upk, CTRL+R search datatype hex values and search for and replace code Amineri posted.Save the file, run the game.Enemy Within Update: original hex: 07 B4 00 81 19 19 2E 98 69 00 00 19 12 20 36 FE FF FF 0A 00 9D F9 FF FF 00 1C DD FB FF FF 16 0A 00 9C F9 FF FF 00 1B A0 3A 00 00 00 00 00 00 16 09 00 F4 68 00 00 00 01 F4 68 00 00 15 00 01 6A 00 00 00 1B 9D 44 00 00 00 00 00 00 38 3D 00 CB 1C 00 00 16 16 06 7F 03 new hex: 0B 0B 0B 81 19 19 2E 98 69 00 00 19 12 20 36 FE FF FF 0A 00 9D F9 FF FF 00 1C DD FB FF FF 16 0A 00 9C F9 FF FF 00 1B A0 3A 00 00 00 00 00 00 16 09 00 F4 68 00 00 00 01 F4 68 00 00 15 00 01 6A 00 00 00 1B 9D 44 00 00 00 00 00 00 38 3D 00 CB 1C 00 00 16 16 0B 0B 0B Edit: The matter is, we can't distribute entire upks, because they are property of Firaxis and 2K Games.Okey, I understand why you don't want or can't provide modified files..So I followed instructions but at the last point..open XcomGame.upk and replace hex code.. well, there is not hex string mentioned in this thread.. basically nothing like "07 B4 00 81 19..." exists there..am I doing something wrong? Edited November 14, 2013 by ManiaCCC Link to comment Share on other sites More sharing options...
Anbar Posted November 14, 2013 Share Posted November 14, 2013 Well, it's not easy, because:Firaxis made the game not easy to mod, so it's hard to change anythingXCOM EW was released few days ago, so tools aren't up to date and people are playingBecause of these two points, most mods aren't workingThe modding community really appreciate what's Amineri doing and if she isn't interested in releasing, because of having better stuff to do, we're okay with it. So if you guys need those SW options nao :smile: you can do it yourself, or just wait for someone to do it.Download Gildor's Unreal Package Decompressor from http://www.gildor.org/downloads and extract decompress.exe to /XCom-Enemy-Unknown/XEW/XComGame/CookedPCConsole/.Rename XComGame.upk.uncompressed_size to something else.Fire command line and type decompress.exe -lzo XComGame.upk or follow Eliot's advice how to do this stuff.Grab HxD or other hex editor, open XComGame.upk, CTRL+R search datatype hex values and search for and replace code Amineri posted.Save the file, run the game.Enemy Within Update: original hex: 07 B4 00 81 19 19 2E 98 69 00 00 19 12 20 36 FE FF FF 0A 00 9D F9 FF FF 00 1C DD FB FF FF 16 0A 00 9C F9 FF FF 00 1B A0 3A 00 00 00 00 00 00 16 09 00 F4 68 00 00 00 01 F4 68 00 00 15 00 01 6A 00 00 00 1B 9D 44 00 00 00 00 00 00 38 3D 00 CB 1C 00 00 16 16 06 7F 03 new hex: 0B 0B 0B 81 19 19 2E 98 69 00 00 19 12 20 36 FE FF FF 0A 00 9D F9 FF FF 00 1C DD FB FF FF 16 0A 00 9C F9 FF FF 00 1B A0 3A 00 00 00 00 00 00 16 09 00 F4 68 00 00 00 01 F4 68 00 00 15 00 01 6A 00 00 00 1B 9D 44 00 00 00 00 00 00 38 3D 00 CB 1C 00 00 16 16 0B 0B 0B Edit: The matter is, we can't distribute entire upks, because they are property of Firaxis and 2K Games.Okey, I understand why you don't want or can't provide modified files..So I followed instructions but at the last point..open XcomGame.upk and replace hex code.. well, there is not hex string mentioned in this thread.. basically nothing like "07 B4 00 81 19..." exists there..am I doing something wrong? 'fraid so, yeah. Link to comment Share on other sites More sharing options...
ManiaCCC Posted November 14, 2013 Share Posted November 14, 2013 okey.. would you mind to help?..this is my process editing XComeGame.upk file.. opened it in HxD, Search, copy-paste hex string..click ok..and..error message..Screenshots here:http://img801.imageshack.us/img801/8504/f85s.jpghttp://img28.imageshack.us/img28/7417/kdpg.jpg Link to comment Share on other sites More sharing options...
Drakous79 Posted November 14, 2013 Share Posted November 14, 2013 (edited) ManiaCCC it seems your XComGame.exe is still compressed. You have to repeat decompress.exe -lzo XComGame.upk step. Successful decompression process' output is similar to: d:\XCOM Enemy Unknown\UPK\Compressed>Decompress -lzo "Patch 4 XComGame.upk" Loading package: Patch 4 XComGame.upk Ver: 845/59 Engine: 8916 [FullComp] Names: 30044 Exports: 50729 Imports: 1883 Game: 8000 Patch 4 XComGame.upk: uncompressed size 12271863Basically, you need to run cmd, then navigate to d: drive and with cd command (cd "Games\XCOM Enemy Within\XEW\XComGame\CookedPCConsole") to XEW's CookedPCCConsole. There you run decompress. Edit: Forgot to mention decompressed files are placed into Unpacked folder :ermm: so please move them into correct location overwriting the compressed file and delete Unpacked folder. Edited November 14, 2013 by Drakous79 Link to comment Share on other sites More sharing options...
Anbar Posted November 14, 2013 Share Posted November 14, 2013 (edited) there's an easier way to decompress - just drag the .upk over the decompress.exe file and it will unpack it into an "unpacked" folder it creates in its home dir for you... just make sure you have the latest decompress from gildor's..the older ones error out using this method. edit - after you've edited the uncompressed file, move it back into its original folder and remember to delete the XComGame.upk.uncompressed_size file (otherwise EW will crash on startup) Edited November 14, 2013 by Anbar Link to comment Share on other sites More sharing options...
ManiaCCC Posted November 14, 2013 Share Posted November 14, 2013 (edited) Yea..that was the problem :smile: i wasn't editing uncompressed file.. now it's working like a charm :wink:So thank you Amineri, Drakous79 and Anbar for your help guys :wink: Edited November 14, 2013 by ManiaCCC Link to comment Share on other sites More sharing options...
hippok Posted November 14, 2013 Share Posted November 14, 2013 This mod was very easy to do with @ Drakous79 small quide. Great thread and my thanks. Link to comment Share on other sites More sharing options...
kazzap Posted November 14, 2013 Share Posted November 14, 2013 (edited) I'm still having issues with this sadly, I drag XComgame.upk into decompress.exe and get the new file in the unpacked folder. I go to edit this with HxD but still can't find the line. Searching for hex value - all but still find nothing. I'm not sure what I'm doing wrong, I am editing the one in the unpacked folder so I'm pretty sure its the decompressed file. I hate code lol. Even if I can't get this working thanks for the support from everyone in this thread. Edited November 14, 2013 by kazzap Link to comment Share on other sites More sharing options...
cattlekiller Posted November 14, 2013 Share Posted November 14, 2013 I'm still having issues with this sadly, I drag XComgame.upk into decompress.exe and get the new file in the unpacked folder. I go to edit this with HxD but still can't find the line. Searching for hex value - all but still find nothing. I'm not sure what I'm doing wrong, I am editing the one in the unpacked folder so I'm pretty sure its the decompressed file. I hate code lol. Even if I can't get this working thanks for the support from everyone in this thread. Check your messenger , I might be able to help you a little. Link to comment Share on other sites More sharing options...
Recommended Posts