|
#1
|
||||
|
||||
|
Very Advanced Tutorial on Packing 'Part 1'
Hello and Happy New Year.
Well, a lot has happened last year. but i decided to finally expose some well hidden secrets i collected over the past years on packing data and games. This tutorial is 'Part 1', Part 2 'Very Advanced Packing techniques - SFK Live Patch.' can be found HERE The Game i decided to play with this tutorial is Sekiro Shadows Die Twice, its a favourite game and also GOTY. The main focus of this tutorial will be to give Fitgirl a bit of a challenge!!! Primarily get Notepad++, Hex editor from their free sites. Spoilers Alert: keep a second back up of the game. we will manipulate data which is compressed and at some cases encrypted. Step 1. Whatever the game you decide to "destroy" first you need to unpack it. Check for the data which you will be eliminating. Sekiro, we know that the sound data are also included in "Data1.bdt" so even if you delete all soundfiles from the sound folder, you will be left with a copy of them inside the pack itself. Unpacking the files will give you the duplicated files which we will manipulate. Other Example. Resident Evil 2 has movie files inside the gigantic pack. Step 2. Hex Editor Check Photos. Find as many files as you wish for them to be replaced and proceed to part 3. Tips: in Sekiro you won't be needing to patching back those files whatsoever. So leaving them blank is OK. HOWEVER there are several games, what will require to keep track of the offset or even show offset in normal numerical value. This will help later to use SFK partcopy function to patch back the files. Videos or Sounds. More Tips: Save the file each and everytime you do this, by doing so it will even create a back up of the previous replacement. you wont be needing to start all over. Step 3. Compression Selection. Split the game into reasonable Data. you won't be needing to pack movies with textures. i have splitted sekiro as follows: Pack1: sound folder with all sounds expect voices. and all bdt files. oo2reck+srep+lolz2 Pack2: movies = bpk+srep+razor Pack3: sound folder with only jap voices = srep+razor pack4: all executables, DLLs and other various small files along with bdh files srep+exe+razor Overall Packed Size = 7.11 GB If you want to pack sekiro like i did here are the blocks that you can delete safely with hex editor offset (hex) Block 1 17f332aa to 1b898ca9 Block 2 28c02dba to 53ae4699 Block 3 55e2a35a to 59987939 Block 4 5d37301a to 622e4cf9 Block 5 647e7c6a to 66b999a9 Block 6 6acdb9ba to 754c22d9 Block 7 79eb250a to 7c00e649 PS: I am making a video out of this
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45. Last edited by Grumpy; 12-01-2020 at 04:23. |
| The Following 14 Users Say Thank You to panker1992 For This Useful Post: | ||
78372 (07-01-2020), 8086K (06-06-2020), Carldric Clement (08-01-2020), DedSec (09-01-2020), DiCaPrIo (08-01-2020), Entai44 (06-01-2020), Gehrman (23-01-2022), Grumpy (07-01-2020), Harsh ojha (06-01-2020), KaktoR (08-01-2020), PsYcHo_RaGE (07-01-2020), rambohazard (07-01-2020), shazzla (07-01-2020), ShivShubh (07-01-2020) | ||
| Sponsored Links |
|
#2
|
|||
|
|||
|
Well unfortunately these methods are a variable with different games and sometimes their usual headers are changed a bit. At some point I thought of posting a tutorial on this but then I came across a game where there were tiny changes so it became more troublesome to explain all that than doing the same by myself. Anyway thanks for the tutorial !
|
| The Following 3 Users Say Thank You to ShivShubh For This Useful Post: | ||
|
#3
|
|||
|
|||
|
what is oo2reck that you use on the sound files and where can I download it
|
|
#4
|
||||
|
||||
|
Quote:
__________________
Haters gonna hate
|
|
#5
|
|||
|
|||
|
never mind I found it
|
| The Following User Says Thank You to ozolt For This Useful Post: | ||
Behnam2018 (10-01-2020) | ||
|
#6
|
||||
|
||||
|
Quote:
but there is a way out...
__________________
“WE ALL GO A LITTLE MAD SOMETIMES” |
| The Following User Says Thank You to PsYcHo_RaGE For This Useful Post: | ||
Behnam2018 (10-01-2020) | ||
|
#7
|
||||
|
||||
|
All i am trying to interprete is the logic behind repacking.
its easier for me to post, a fully automated script that will use SFK, automatically scan and remove entire blocks of data from the "pak" or BDT file. while replacing them with 0. What i am showing above is the cruel way to do it..... because i am trying to show you the way to do it. i am working on a script for RE engine games. scan remove data from resident evil 2, 7 and devil may cry. as well show you how to write those scripts youselves.
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45. |
| The Following User Says Thank You to panker1992 For This Useful Post: | ||
8086K (06-06-2020) | ||
|
#8
|
||||
|
||||
|
Quote:
__________________
“WE ALL GO A LITTLE MAD SOMETIMES” |
| The Following 2 Users Say Thank You to PsYcHo_RaGE For This Useful Post: | ||
Behnam2018 (09-01-2020), panker1992 (10-01-2020) | ||
|
#9
|
||||
|
||||
|
I am writing the movie blocks. and then i will post.
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45. |
| The Following 3 Users Say Thank You to panker1992 For This Useful Post: | ||
|
#10
|
||||
|
||||
|
appreciated
__________________
“WE ALL GO A LITTLE MAD SOMETIMES” |
| The Following User Says Thank You to PsYcHo_RaGE For This Useful Post: | ||
Behnam2018 (10-01-2020) | ||
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Very Advanced Packing techniques - SFK Live Patch. 'Part 2' | panker1992 | Conversion Tutorials | 4 | 04-06-2024 11:30 |
| Some tips on recoding videos(h264,h265, bik, bk2) advanced tutorial | Kitsune1982 | Conversion Tutorials | 0 | 25-11-2017 10:41 |
| Mod That Cube -FAQ- v4 *RELEASED* | brakken | GameCube Games | 0 | 08-04-2005 16:07 |
| Mod That Cube -FAQ- v3 *RELEASED* | brakken | GameCube Games | 0 | 17-03-2005 11:51 |