FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Repacking Borderlands 3 (https://fileforums.com/showthread.php?t=103141)

ShivShubh 05-11-2019 23:45

Repacking Borderlands 3
 
PAK files in Borderlands 3 are encrypted leaving no room for compression. So we simply need decrypted PAK files. I have made a program which deals with all that stuffs and gives you the decrypted PAK files.

You simply need to drag and drop the PAK file you want to decrypt on the program. Put the program in the same folder where all PAK files are. Download:
Code:

https://www.dropbox.com/s/yj6kt48neijwjl4/PAKDecrypt.rar?dl=0
Updated... Fixed Game Crash. Please recreate pakchunk0-WindowsNoEditor_1_P.pak, pakchunk4-WindowsNoEditor.pak and pakchunk7-WindowsNoEditor.pak with this new version.

But before you use, things you need to know :
1) Put the program in the same folder where you have all the PAK files.
2) It creates the new decrypted PAK file in the same folder where your original file was and creates backup of the original file in "original" folder instead.
3) DO NOT USE this program on following files
Code:

pakchunk1-WindowsNoEditor_0_P.pak, pakchunk2-WindowsNoEditor_0_P.pak, pakchunk2-WindowsNoEditor.pak, pakchunk3-WindowsNoEditor_0_P.pak, pakchunk3-WindowsNoEditor.pak, pakchunk4-WindowsNoEditor_1_P.pak, pakchunk4-WindowsNoEditor_0_P.pak, pakchunk5-WindowsNoEditor_1_P.pak, pakchunk5-WindowsNoEditor_0_P.pak, pakchunk6-WindowsNoEditor_1_P.pak, pakchunk6-WindowsNoEditor_0_P.pak, pakchunk7-WindowsNoEditor_0_P.pak, pakchunk8-WindowsNoEditor_0_P.pak, pakchunk11-WindowsNoEditor_0_P.pak, pakchunk12optional-WindowsNoEditor.pak, pakchunk13-WindowsNoEditor.pak, pakchunk14-WindowsNoEditor.pak, pakchunk15-WindowsNoEditor.pak, pakchunk15-WindowsNoEditor_0_P.pak, pakchunk37-WindowsNoEditor.pak, pakchunk83-WindowsNoEditor_0_P.pak, pakchunk84-WindowsNoEditor_0_P.pak, pakchunk85-WindowsNoEditor.pak, pakchunk85-WindowsNoEditor_0_P.pak, pakchunk86-WindowsNoEditor.pak, pakchunk86-WindowsNoEditor_0_P.pak, pakchunk87-WindowsNoEditor.pak, pakchunk87-WindowsNoEditor_0_P.pak, pakchunk88-WindowsNoEditor.pak, pakchunk88-WindowsNoEditor_0_P.pak, pakchunk89-WindowsNoEditor.pak, pakchunk89-WindowsNoEditor_0_P.pak, pakchunk90-WindowsNoEditor.pak, pakchunk90-WindowsNoEditor_0_P.pak, pakchunk91-WindowsNoEditor.pak, pakchunk91-WindowsNoEditor_0_P.pak
So total files left = 82 FILES usable on this program. They are 31.2 GB in size just to be confirmed. Why not use the other files ?

pakchunk2-WindowsNoEditor* = Audio Files
pakchunk3-WindowsNoEditor* = English Language
pakchunk85-WindowsNoEditor* = French Language
pakchunk86-WindowsNoEditor* = Italian Language
pakchunk87-WindowsNoEditor* = German Language
pakchunk88-WindowsNoEditor* = Spanish Language
pakchunk89-WindowsNoEditor* = Japanese Language
pakchunk90-WindowsNoEditor* = Korean Language
pakchunk91-WindowsNoEditor* = Chinese Language
Other pak files = I chose to ignore. So separate these files accordingly and don't use them on the program.

Once you have decrypted PAK files, move the "original" folder somewhere out of the game folder because I think Unreal Engine can read any PAK file. Then test the game, it should work fine. I have tested and it worked fine in several testings.

Method to use for compression:-
for decrypted pak files = xprecomp+srep+lolz or any other
for audio files = srep+lolz or any other obviously, even srep only will do as it hardly gets compressed. I used Oodle kraken.
Installation is insanely fast. Took around 10 mins for ENG only installation :)

Please report if there is any problem !

PSP17 06-11-2019 03:08

Is it possible to use encryption key to create xdelta patch to restore original files after ?

ShivShubh 06-11-2019 03:27

Quote:

Originally Posted by PSP17 (Post 483345)
Is it possible to use encryption key to create xdelta patch to restore original files after ?

Well there's a way to create identical files but I am not going to describe that here. Its a slower method and definitely difficult one to explain. Remember that my program does everything automatically for you, creating identical files will require you to manually create them during installation process which in most cases goes beyond normal levels for casual users. What's your purpose for doing this ?

PSP17 06-11-2019 03:40

Quote:

What's your purpose for doing this ?
To get same size and the same MD5.

Anyway thanks a lot for such a great work.

ShivShubh 06-11-2019 03:51

Quote:

Originally Posted by PSP17 (Post 483348)
To get same size and the same MD5.

Anyway thanks a lot for such a great work.

I know creating identical files is to get same size and same MD5 but whats the purpose for doing so ? Thats what I asked, anyway leave it.

FitGirl 06-11-2019 04:10

Quote:

Originally Posted by ShivShubh (Post 483350)
I know creating identical files is to get same size and same MD5 but whats the purpose for doing so ? Thats what I asked, anyway leave it.

Original files may be used as a backup for Steam/Epic Store, in example. Recreated (not decrypted, you create them from the scratch, they even have different sizes), like in your method, can't be used as a backup.

American Man 06-11-2019 05:10

thanks dude! you did an awesome program. :)

ShivShubh 06-11-2019 06:12

Quote:

Originally Posted by FitGirl (Post 483351)
Original files may be used as a backup for Steam/Epic Store, in example. Recreated (not decrypted, you create them from the scratch, they even have different sizes), like in your method, can't be used as a backup.

True but I saw some people saying that decrypted pak files affect loading times which was what I thought he was asking for. In their language, decrypted meant unpacked pak files which surely affects loading times but not in my case as it retains the zlib compression. Thats why I used the term decrypted as it made more sense to the people here.

ZAZA4EVER 06-11-2019 06:17

Thanks Mate Shiv ❤️⁩

prince55 06-11-2019 06:44

Quote:

Originally Posted by ShivShubh (Post 483354)
True but I saw some people saying that decrypted pak files affect loading times which was what I thought he was asking for. In their language, decrypted meant unpacked pak files which surely affects loading times but not in my case as it retains the zlib compression. Thats why I used the term decrypted as it made more sense to the people here.

Mainly You worked for three days to give us a great tool for free , Thanks Bro , I am testing it today and will feedback

Thanks again for fulfilling my request

FitGirl 06-11-2019 07:02

Quote:

Originally Posted by prince55 (Post 483356)
You never did that , You use tools from this Forum {pzilb then xtool, oodle , .... } but you never share

I don't use tools from this forum, I use tools from their creators - most of them I've received directly, as a beta-tester.

ShivShubh 06-11-2019 07:07

Quote:

Originally Posted by prince55 (Post 483356)
Mainly You worked for three days to give us a great tool for free , Thanks Bro , I am testing it today and will feedback
---------------------------------------------------------------------------------

---------------------------------------------------------
Thanks again for fulfilling my request

Well she does help here and there in this forum and in the development of lolz

PSP17 06-11-2019 07:37

I tested and here what I have:

31,2 GB (33 514 480 300 bytes) - original archives
31,1 GB (33 397 962 809 bytes) - after *using tool

Game is crashing after splash video. And yes, I do not missed files and did all by instruction.

ShivShubh 06-11-2019 07:44

Quote:

Originally Posted by PSP17 (Post 483362)
I tested and here what I have:

31,2 GB (33 514 480 300 bytes) - original archives
31,1 GB (33 397 962 809 bytes) - after *using tool

Game is crashing after splash video. And yes, I do not missed files and did all by instruction.

How many files did you process using my program ? Did you move original archives out of the game folder ? Does the game crash with any error or just crash ? I have made my own repack and tested it with 3 people on different missions without any issues. Also try running the game after removing old save game files.

PSP17 06-11-2019 08:01

Quote:

How many files did you process using my program ?
82 files.

Quote:

Did you move original archives out of the game folder ?
Yes, shure.

Quote:

Does the game crash with any error or just crash ?
No error, I run the game, not pushing any button on keyboard or mouse while it is loading, after splash video the game crashes, no error.

Quote:

Also try running the game after removing old save game files.
Just tried, same.


All times are GMT -7. The time now is 12:34.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com