Gildor's Forums

Author Topic: Compressing an .upk file  (Read 1140 times)
Namya
Newbie
*
Posts: 14


View Profile
Compressing an .upk file
« on: August 17, 2018, 22:22 »

Hello guys,
I have decompressed a file using decompress.exe and then I edit it but the game doesn't work with decompressed files, so I have to compress it again, can anyone please tell me how to do that  Huh?
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7837



View Profile WWW
Re: Compressing an .upk file
« Reply #1 on: August 17, 2018, 22:40 »

Hi.
Is that UE3? Please check if there's "filename.uncompressed_size" file exists for filename.upk - if exists, delete it. Unreal engine handles compressed files transparently, so usually recompression is not needed. When "uncompressed_size" file exists, engine will FORCE to treat it as "fully compressed file".
Logged
Namya
Newbie
*
Posts: 14


View Profile
Re: Compressing an .upk file
« Reply #2 on: August 17, 2018, 23:20 »

Yes it's UE3 the game is Paladins, and there is no .uncompressed_size file in CookedPCConsole folder, I tried running the game with just the file decompressed (not edited) but it didn't run, it gives me the error:
SHA Verification failed for '..\..\ChaosGame\CookedPCConsole\TgGame.upk'. Reason: Bad hash
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7837



View Profile WWW
Re: Compressing an .upk file
« Reply #3 on: August 17, 2018, 23:24 »

"SHA" is a checksum. There's nothing about compression. Be happy that game showed you a meaningful error Smiley
Logged
Namya
Newbie
*
Posts: 14


View Profile
Re: Compressing an .upk file
« Reply #4 on: August 17, 2018, 23:29 »

So there is no way I can bypass that?
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7837



View Profile WWW
Re: Compressing an .upk file
« Reply #5 on: August 17, 2018, 23:33 »

You should edit game executable, so it won't check SHA hashes, or will ignore them.
Logged
Namya
Newbie
*
Posts: 14


View Profile
Re: Compressing an .upk file
« Reply #6 on: August 17, 2018, 23:42 »

Is that have anything to do with the EasyAntiCheat, because I've heard that the game can run without it on Windows XP
Logged
Namya
Newbie
*
Posts: 14


View Profile
Re: Compressing an .upk file
« Reply #7 on: August 18, 2018, 00:05 »

So I think it might run if EAC was disabled?
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7837



View Profile WWW
Re: Compressing an .upk file
« Reply #8 on: August 18, 2018, 00:16 »

No idea. I'm not familiar with such terms and protection technologies, not my speciality.
Logged
Namya
Newbie
*
Posts: 14


View Profile
Re: Compressing an .upk file
« Reply #9 on: August 18, 2018, 00:31 »

So can you please tell me how I can edit game executable to prevent it from checking SHA hashes?
Logged
Namya
Newbie
*
Posts: 14


View Profile
Re: Compressing an .upk file
« Reply #10 on: August 18, 2018, 03:45 »

Or at least tell me a start point so I can teach myself
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7837



View Profile WWW
Re: Compressing an .upk file
« Reply #11 on: August 18, 2018, 09:56 »

As I told you, I don't have anything more to tell. I'm not a hacker.
Logged
Namya
Newbie
*
Posts: 14


View Profile
Re: Compressing an .upk file
« Reply #12 on: August 18, 2018, 16:33 »

Okay thank you and by the way, I just wanna play unreleased stuff not hacking the game
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS