Git Product home page Git Product logo

repak's Issues

ghostrunner 2 demo fails to parse

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

[Not Working] Not unpack dead by daylight (UE 5.2.1) pak files

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?)

Unpack multiple at once

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.

C# bindings

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 ?

repak.exe keeps closing when opening

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

decryption algorithm?

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

  • pak/v9/test_encrypted_v9.pak

Create debug summary command for easier troubleshooting

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.

Crate?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.