gtype Posted June 12, 2017 Share Posted June 12, 2017 Tried to run EW with a bunch of freshly downloaded mods, and I can't install a single one of them. The Patcher gives me "error decompressing *.upk" and "error patching UPK" messages, and that's that.Debug log: Writing backups to D:\Mods\PatcherGUI/Backup/686144769/1497239303 xcomstrategygame.upk saved to backup directory xcomstrategygame.upk.uncompressed_size saved to backup directory Backup completed successfully Executing external DecompressLZO program: "D:\Mods\PatcherGUI/Binaries/Decompress.exe" "xcomstrategygame.upk" "D:\SteamLibrary\SteamApps\common\XCom-Enemy-Unknown\XEW/xcomgame/cookedpcconsole/xcomstrategygame.upk" ******** xcomstrategygame.upk ******** *** ERROR: zlib uncompress() returned -3 appDecompress:CompSize=48907 UncompSize=131072 Flags=0x1 <- DecompressBlock:block=140+BF0B <- FUE3ArchiveReader::PrepareBuffer <- FUE3ArchiveReader::Serialize <- FArchive::ByteOrderSerialize <- FPackageFileSummary<<:Ver=0/0 <- UnPackage::UnPackage:xcomstrategygame.upk, ver=99999/0, game=0 <- Main I have tried all obvious solutions like checking Patcher instructions, getting a clean install, running as admin, running the XP version, removing all read-only flags, etc. Link to comment Share on other sites More sharing options...
dubiousintent Posted June 12, 2017 Share Posted June 12, 2017 Suggest this is best addressed to the author "wghost81". She is still active (last 08 Jun 2017), but is not monitoring the XCOM forums any more. Try a PM ("message"). -Dubious- Link to comment Share on other sites More sharing options...
gtype Posted June 12, 2017 Author Share Posted June 12, 2017 I have tried that right after checking UPKUtils discussion page. But thank you nonetheless. Link to comment Share on other sites More sharing options...
Drakous79 Posted June 14, 2017 Share Posted June 14, 2017 (edited) I am using PatcherGUI 7.3 and everything works fine. Just tried patching XComStrategyGame.upk. XCOM EW is installed outside Program Files. Windows 7 64-bit. MOD_NAME=Custom Number of Abduction Sites AUTHOR=Drakous79 DESCRIPTION=Sets number of abduction sites to specified value. UPK_FILE=XComStrategyGame.upk OBJECT=XGStrategyAI.GetNumAbductionSites FIND_CODE=04 2C:END [MODDED_CODE] // _________________________________ // NUMBER OF ABDUCTION SITES <%b1> // change the number after %b (1-3) // _________________________________ Debug log: Writing backups to d:\XCOM Enemy Unknown\Programy\PatcherGUI/backup/1505752222/1497472910 xcomstrategygame.upk saved to backup directory xcomstrategygame.upk.uncompressed_size saved to backup directory Backup completed successfully Executing external DecompressLZO program: "d:\XCOM Enemy Unknown\Programy\PatcherGUI/binaries/DecompressLZO.exe" "xcomstrategygame.upk" "S:\Steam\SteamApps\common\XCom-Enemy-Unknown\XEW/xcomgame/cookedpcconsole/xcomstrategygame.upk" DecompressLZO Signature: 0x9E2A83C1 BlockSize: 131072 CompressedSize: 1496453 UncompressedSize: 4936793 NumBlocks: 38 Blocks[0]: CompressedSize: 48907 UncompressedSize: 131072 Blocks[1]: CompressedSize: 47684 UncompressedSize: 131072 Blocks[2]: CompressedSize: 48522 UncompressedSize: 131072 Blocks[3]: CompressedSize: 29398 UncompressedSize: 131072 Blocks[4]: CompressedSize: 25230 UncompressedSize: 131072 Blocks[5]: CompressedSize: 26376 UncompressedSize: 131072 Blocks[6]: CompressedSize: 25815 UncompressedSize: 131072 Blocks[7]: CompressedSize: 26222 UncompressedSize: 131072 Blocks[8]: CompressedSize: 25998 UncompressedSize: 131072 Blocks[9]: CompressedSize: 24528 UncompressedSize: 131072 Blocks[10]: CompressedSize: 24266 UncompressedSize: 131072 Blocks[11]: CompressedSize: 24885 UncompressedSize: 131072 Blocks[12]: CompressedSize: 24341 UncompressedSize: 131072 Blocks[13]: CompressedSize: 24757 UncompressedSize: 131072 Blocks[14]: CompressedSize: 24025 UncompressedSize: 131072 Blocks[15]: CompressedSize: 8182 UncompressedSize: 131072 Blocks[16]: CompressedSize: 47842 UncompressedSize: 131072 Blocks[17]: CompressedSize: 47611 UncompressedSize: 131072 Blocks[18]: CompressedSize: 43121 UncompressedSize: 131072 Blocks[19]: CompressedSize: 44796 UncompressedSize: 131072 Blocks[20]: CompressedSize: 46736 UncompressedSize: 131072 Blocks[21]: CompressedSize: 44887 UncompressedSize: 131072 Blocks[22]: CompressedSize: 46631 UncompressedSize: 131072 Blocks[23]: CompressedSize: 45843 UncompressedSize: 131072 Blocks[24]: CompressedSize: 45433 UncompressedSize: 131072 Blocks[25]: CompressedSize: 47797 UncompressedSize: 131072 Blocks[26]: CompressedSize: 47393 UncompressedSize: 131072 Blocks[27]: CompressedSize: 47682 UncompressedSize: 131072 Blocks[28]: CompressedSize: 53048 UncompressedSize: 131072 Blocks[29]: CompressedSize: 55983 UncompressedSize: 131072 Blocks[30]: CompressedSize: 50230 UncompressedSize: 131072 Blocks[31]: CompressedSize: 61897 UncompressedSize: 131072 Blocks[32]: CompressedSize: 53014 UncompressedSize: 131072 Blocks[33]: CompressedSize: 42624 UncompressedSize: 131072 Blocks[34]: CompressedSize: 43586 UncompressedSize: 131072 Blocks[35]: CompressedSize: 48882 UncompressedSize: 131072 Blocks[36]: CompressedSize: 46764 UncompressedSize: 131072 Blocks[37]: CompressedSize: 25517 UncompressedSize: 87129 Decompressing package... Decompressing chunk #0 Num blocks: 38 Compressed size: 1496453 Uncompressed size: 4936793 Compressed size: 48907 Uncompressed size: 131072 Compressed size: 47684 Uncompressed size: 131072 Compressed size: 48522 Uncompressed size: 131072 Compressed size: 29398 Uncompressed size: 131072 Compressed size: 25230 Uncompressed size: 131072 Compressed size: 26376 Uncompressed size: 131072 Compressed size: 25815 Uncompressed size: 131072 Compressed size: 26222 Uncompressed size: 131072 Compressed size: 25998 Uncompressed size: 131072 Compressed size: 24528 Uncompressed size: 131072 Compressed size: 24266 Uncompressed size: 131072 Compressed size: 24885 Uncompressed size: 131072 Compressed size: 24341 Uncompressed size: 131072 Compressed size: 24757 Uncompressed size: 131072 Compressed size: 24025 Uncompressed size: 131072 Compressed size: 8182 Uncompressed size: 131072 Compressed size: 47842 Uncompressed size: 131072 Compressed size: 47611 Uncompressed size: 131072 Compressed size: 43121 Uncompressed size: 131072 Compressed size: 44796 Uncompressed size: 131072 Compressed size: 46736 Uncompressed size: 131072 Compressed size: 44887 Uncompressed size: 131072 Compressed size: 46631 Uncompressed size: 131072 Compressed size: 45843 Uncompressed size: 131072 Compressed size: 45433 Uncompressed size: 131072 Compressed size: 47797 Uncompressed size: 131072 Compressed size: 47393 Uncompressed size: 131072 Compressed size: 47682 Uncompressed size: 131072 Compressed size: 53048 Uncompressed size: 131072 Compressed size: 55983 Uncompressed size: 131072 Compressed size: 50230 Uncompressed size: 131072 Compressed size: 61897 Uncompressed size: 131072 Compressed size: 53014 Uncompressed size: 131072 Compressed size: 42624 Uncompressed size: 131072 Compressed size: 43586 Uncompressed size: 131072 Compressed size: 48882 Uncompressed size: 131072 Compressed size: 46764 Uncompressed size: 131072 Compressed size: 25517 Uncompressed size: 87129 decompressed 48907 bytes back into 131072 decompressed 47684 bytes back into 131072 decompressed 48522 bytes back into 131072 decompressed 29398 bytes back into 131072 decompressed 25230 bytes back into 131072 decompressed 26376 bytes back into 131072 decompressed 25815 bytes back into 131072 decompressed 26222 bytes back into 131072 decompressed 25998 bytes back into 131072 decompressed 24528 bytes back into 131072 decompressed 24266 bytes back into 131072 decompressed 24885 bytes back into 131072 decompressed 24341 bytes back into 131072 decompressed 24757 bytes back into 131072 decompressed 24025 bytes back into 131072 decompressed 8182 bytes back into 131072 decompressed 47842 bytes back into 131072 decompressed 47611 bytes back into 131072 decompressed 43121 bytes back into 131072 decompressed 44796 bytes back into 131072 decompressed 46736 bytes back into 131072 decompressed 44887 bytes back into 131072 decompressed 46631 bytes back into 131072 decompressed 45843 bytes back into 131072 decompressed 45433 bytes back into 131072 decompressed 47797 bytes back into 131072 decompressed 47393 bytes back into 131072 decompressed 47682 bytes back into 131072 decompressed 53048 bytes back into 131072 decompressed 55983 bytes back into 131072 decompressed 50230 bytes back into 131072 decompressed 61897 bytes back into 131072 decompressed 53014 bytes back into 131072 decompressed 42624 bytes back into 131072 decompressed 43586 bytes back into 131072 decompressed 48882 bytes back into 131072 decompressed 46764 bytes back into 131072 decompressed 25517 bytes back into 87129 Decompression completed successfully Deleting size files xcomstrategygame.upk.uncompressed_size deleted Files deleted successfully Executing external PatchUPK program: "d:\XCOM Enemy Unknown\Programy\PatcherGUI/binaries/PatchUPK.exe" "D:\XCOM Enemy Unknown\Programy\PatcherGUI\Mods\BACKUPPP\Mods 4.0\Custom Number of Abduction Sites.txt" "S:\Steam\SteamApps\common\XCom-Enemy-Unknown\XEW/xcomgame/cookedpcconsole" PatchUPK Installing mod: Custom Number of Abduction Sites by Drakous79 Mod description: Sets number of abduction sites to specified value. Opening package ... Package file: S:\Steam\SteamApps\common\XCom-Enemy-Unknown\XEW/xcomgame/cookedpcconsole/xcomstrategygame.upk Package opened successfully! Searching for object named XGStrategyAI.GetNumAbductionSites ... Object found! Searching for specified data chunk ... Data found! Relative offset: 0x00000032 (50) Writing data chunk of size 0x00000001 (1) at Scope: Object Data Offset (absolute): 0x0047A063 (4694115) Offset (scope-relative): 0x00000032 (50) Write successful! Uninstall script saved to D:\XCOM Enemy Unknown\Programy\PatcherGUI\Mods\BACKUPPP\Mods 4.0\Custom Number of Abduction Sites.txt.uninstall.txt Mod applied successfully Edited June 14, 2017 by Drakous79 Link to comment Share on other sites More sharing options...
gtype Posted June 14, 2017 Author Share Posted June 14, 2017 Thanks for confirming it's not the mods or the game. I thought about compiling the executables from github, but stopped myself in time, went back to the UPKUtils page and just downloaded the zip archive instead of the 7z. It works like a charm now. Link to comment Share on other sites More sharing options...
Drakous79 Posted June 15, 2017 Share Posted June 15, 2017 I'm glad it does. Never had problems with version from 7z archive. Link to comment Share on other sites More sharing options...
dubiousintent Posted June 15, 2017 Share Posted June 15, 2017 Thanks for confirming it's not the mods or the game. I thought about compiling the executables from github, but stopped myself in time, went back to the UPKUtils page and just downloaded the zip archive instead of the 7z. It works like a charm now.Do you have 7Zip installed? That, or an old version are the most likely reasons why it didn't work for you. @Drakous79: Thanks for the assist. Good to see someone else still checks in here. -Dubious- Link to comment Share on other sites More sharing options...
Drakous79 Posted June 16, 2017 Share Posted June 16, 2017 Hello Dubious :) Nice to see you too. Link to comment Share on other sites More sharing options...
Recommended Posts