trumank / repak Goto Github PK
View Code? Open in Web Editor NEWUnreal Engine .pak file library and CLI in rust
License: Apache License 2.0
Unreal Engine .pak file library and CLI in rust
License: Apache License 2.0
when trying to run any command on the ghostrunner 2 demo pak this comes up
C:\Program Files (x86)\Steam\steamapps\common\Ghostrunner 2 Demo\Ghostrunner2\Content\Paks>repak info Ghostrunner2-WindowsNoEditor.pak
Error:
trying version V11 failed: pak is encrypted but no key was provided
trying version V10 failed: used version PathHashIndex but pak is version Fnv64BugFix
trying version V9 failed: got 90, which is not a boolean
trying version V8B failed: used version FNameBasedCompression but pak is version Fnv64BugFix
trying version V8A failed: got 188, which is not a boolean
trying version V7 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V6 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V5 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V4 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V3 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V2 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V1 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V0 failed: found magic of 0x0 instead of 0x5a6f12e1
version unsupported or is encrypted (possibly missing --aes-key?)
the game is 4.27 so should be V11
repak.exe --aes-key 0x22B1639B548124925CF7B9CBAA09F9AC295FCF0324586D6B37EE1D42670B39B3 unpack pakchunk2-Windows.pak
Error:
trying version V11 failed: got 123, which is not a boolean
trying version V10 failed: got 123, which is not a boolean
trying version V9 failed: got 234, which is not a boolean
trying version V8B failed: got 123, which is not a boolean
trying version V8A failed: got 145, which is not a boolean
trying version V7 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V6 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V5 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V4 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V3 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V2 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V1 failed: found magic of 0x0 instead of 0x5a6f12e1
trying version V0 failed: found magic of 0x0 instead of 0x5a6f12e1
version unsupported or is encrypted (possibly missing --aes-key?)
It would be nice if repak unpack
supported providing multiple input .pak files. Then you'd be able to combine it with bash globs or wildcards on the Windows cmd.
Example
repak.exe unpack -aes-key abcdef --out outdir *.pak
Right now, you have to write a for-loop for games with loads of paks.
pak version 12 support?
I just want to thank for these tools. Its working nicely and this is the best implementation of packing tool ever to be honest.
Are you also gonna support UE5 files ? Lastly could you please export the functions(unmanaged or managed) where i can utilize it in c# for example ?
like the title says Each time I try to open repak it completely closes not even a second after idk what to do rn can someone help and yes I have .net
I am writing a tool for unreal pak, but I encountered a decryption problem.
The key for unreal pak is AES256 of aWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWk=
The string before encryption is foo-bar
seven characters
The encrypted string is 6c cc cd c8 60 8c 80
or 6c cc cd c8 60 8c 80 ef 69 8c 99 e4 a4 9a d5 ad
?
But I used openssl's aes-256-ecb (not sure which one to use?) to encrypt foo-bar, which is a fixed 16 characters, so the decryption also fails.
openssl_encrypt('foo-bar', 'aes-256-ecb', base64_decode('aWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWk='), OPENSSL_RAW_DATA);
// bbe8d48c0f5b9aca2e460ed3253a67e3
Does aes-256 have non-block encryption?
https://github.com/Xenira/ue4-pak-examples
Tested in Days Gone, using the latest repak.exe causes the pak contents to not be read, reverting back the exe fixes it
Often it is necessary to download a multi-gigabyte pak to troubleshoot problems that are often only in a few bytes in the index or footer. Creating a summary file that contains a few megabytes of the head and tail of the pak file should provide enough information to debug the majority of pak issues and would make sharing significantly easier.
Any plans on putting this crates.io?
I get that there's no docs right now but putting it on crates should be much lower effort.
Hello, I came across a file here that the repak utility cannot unpack. It was not located in the standard path, but in: *Game_Name\Content\Data*
The file itself can be unpacked perfectly using the standard UnrealPak v4.27. The file is not large, it takes up 1 MB
Here is the link to the file: https://drive.google.com/file/d/1Ub1lhlfTIoclcKzvzITKQt_ahosDYy7c/
im rookie
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.