Jump to content

PatcherGUI does not work (error decompressing *.upk)


gtype

Recommended Posts

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

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:

 

  Reveal hidden contents

 

Edited by Drakous79
Link to comment
Share on other sites

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

  On 6/14/2017 at 10:03 PM, gtype said:

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...