panzi / u4pak

unpack, pack, list, check and mount Unreal Engine 4 .pak archives
510 stars 143 forks source link

How to pack it again to .pak file i decrypt it now its a lot of .dat file i change some value but now i am not able to repack it #49

Closed itsSwArchitect closed 3 years ago

panzi commented 3 years ago

u4pak.py pack NewArchive.pak --version=... --mount-point=... File1 File2... Version and mount point have to be like in the original archive. If you want to include all files from a directory but don't want it to be actually a directory in the archive you can do: u4pak.py pack NewArchive.pak --version=... --mount-point=... :rename=/:Path/To/Directory

panzi commented 3 years ago

Wait, sorry, I was talking about the new https://github.com/panzi/rust-u4pak That new version has the new rename feature and should be faster. And is a standalone binary that doesn't require Python. In any version pass --help for more help.

itsSwArchitect commented 3 years ago

u4pak.py pack NewArchive.pak --version=... --mount-point=... File1 File2... Version and mount point have to be like in the original archive. If you want to include all files from a directory but don't want it to be actually a directory in the archive you can do: u4pak.py pack NewArchive.pak --version=... --mount-point=... :rename=/:Path/To/Directory

much much appreciated its a lot helpful for new programmers Thanks you panzi