Need help: repack UPK With Size Smaller Or Bigger (edited)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Need help: repack UPK With Size Smaller Or Bigger (edited)

Post by shadow_lonely »

Could anyone help me how to generate .UPKpkginfo? I created a new font with new size (smaller original file and this game used Unreal Engine 2.5), when I repack UPK without generate .UPKpkginfo, game crash and have a warning: Image

Sorry! I mean is how to repack with new font!

Original file have size: 198101
New file have size: 181857

Example file:
Startup_INT.rar

UPK Tool:
upkpacker_v122.zip

Origin UPK file: https://www.dropbox.com/s/axr2cci5iafwx ... T.upk?dl=0

Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Need help: repack UPK With Size Smaller Or Bigger (edite

Post by aluigi »

I don't think that someone can do something but what happens to the game if you take the original file, modify a couple of bytes without chaning its size and repack it?
michalss
Posts: 320
Joined: Sun Aug 10, 2014 12:49 pm

Re: Need help: repack UPK With Size Smaller Or Bigger (edite

Post by michalss »

in some UE3 games is CRC check in executables ! I have seen this in many game. Also some games have check of size in txt files call Cooked.txt(not sure about exact name now)
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Need help: repack UPK With Size Smaller Or Bigger (edite

Post by shadow_lonely »

When I used Japan font file, game working normal. Even japan font have size bigger. You can take a look: https://www.dropbox.com/s/8hyp84uc3klq1 ... n.rar?dl=0

Thanks!
HexPa5
Posts: 13
Joined: Sat Nov 23, 2019 6:21 am

Re: Need help: repack UPK With Size Smaller Or Bigger (edited)

Post by HexPa5 »

Okey, I have this same problem and I want edit Mesh and pack it.
So how to generate with right tool a UPKinfo?

The only good answer is get License version of Unreal Engine 3 (UDK), to unpack-edit-pack UPK in the game engine. But it is not possible right now. Nobody from Epic sell license.

To edit some content in unpacked cooked folder, you must edit that information in txt files, because Repacker.exe read this information, before packing it.
Name table
Import Table
Export table

For Example, If I delete SkieletalMesh and I put in this place another skieletalMesh (which I made before) I must replace information in three Tables, from my tables (which I made before) to main tables.

But what's about UPKpkginfo?
Oh yea, I forgot this one is important too, because in repacking
UPKpacker.exe read UPKpkginfo at first, then next three tables.

But there's a one problem...
Some text have unknown sings, and it can't be fully read in this UPKpkginfo via notepad.

My first idea is open via Hex Editor and edit/save, but this is hard way.
tashmailok
Posts: 7
Joined: Fri Oct 01, 2021 4:01 am

Re: Need help: repack UPK With Size Smaller Or Bigger (edited)

Post by tashmailok »

I've successfully unpacked, modded and repacked a .umap file. I believe it's possible to do the same on .upk, .pak, .u, any unreal engine files.

https://zenhax.com/viewtopic.php?f=9&t=15902