Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-01-2020, 19:29
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
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
Attached Images
File Type: png Part2_Photo1.png (1.06 MB, 446 views)
File Type: png Part2_Photo2 .png (1.03 MB, 445 views)
File Type: png Part2_Photo3.png (1.02 MB, 439 views)
File Type: png Part2_Photo4.png (1.08 MB, 437 views)
File Type: png Part2_Photo5.png (1.06 MB, 438 views)
File Type: png Part2_Photo6.png (997.0 KB, 432 views)
File Type: png Part2_Photo7.png (1.05 MB, 433 views)
Attached Files
File Type: txt Blocks.txt (303 Bytes, 27 views)
__________________
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.
Reply With Quote
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  
Old 07-01-2020, 23:52
ShivShubh ShivShubh is offline
Registered User
 
Join Date: Dec 2015
Location: India
Posts: 94
Thanks: 311
Thanked 101 Times in 43 Posts
ShivShubh is on a distinguished road
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 !
Reply With Quote
The Following 3 Users Say Thank You to ShivShubh For This Useful Post:
DedSec (09-01-2020), PsYcHo_RaGE (08-01-2020), ZAZA4EVER (09-01-2020)
  #3  
Old 08-01-2020, 09:24
ozolt ozolt is offline
Banned
 
Join Date: Dec 2017
Location: Random
Posts: 16
Thanks: 16
Thanked 1 Time in 1 Post
ozolt is on a distinguished road
what is oo2reck that you use on the sound files and where can I download it
Reply With Quote
  #4  
Old 08-01-2020, 09:28
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by ozolt View Post
what is oo2reck that you use on the sound files and where can I download it
https://fileforums.com/showthread.php?t=102453
__________________
Haters gonna hate
Reply With Quote
  #5  
Old 08-01-2020, 09:35
ozolt ozolt is offline
Banned
 
Join Date: Dec 2017
Location: Random
Posts: 16
Thanks: 16
Thanked 1 Time in 1 Post
ozolt is on a distinguished road
never mind I found it
Reply With Quote
The Following User Says Thank You to ozolt For This Useful Post:
Behnam2018 (10-01-2020)
  #6  
Old 08-01-2020, 10:02
PsYcHo_RaGE's Avatar
PsYcHo_RaGE PsYcHo_RaGE is offline
Registered User
 
Join Date: Mar 2018
Location: DarckSide
Posts: 238
Thanks: 193
Thanked 160 Times in 78 Posts
PsYcHo_RaGE is on a distinguished road
Quote:
Originally Posted by ShivShubh View Post
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 !
that's where it gets confusing to post a tutorial about it as we can't target every game in a single tut.
but there is a way out...
__________________
“WE ALL GO A LITTLE MAD SOMETIMES”
Reply With Quote
The Following User Says Thank You to PsYcHo_RaGE For This Useful Post:
Behnam2018 (10-01-2020)
  #7  
Old 08-01-2020, 10:40
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
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.
Reply With Quote
The Following User Says Thank You to panker1992 For This Useful Post:
8086K (06-06-2020)
  #8  
Old 09-01-2020, 08:59
PsYcHo_RaGE's Avatar
PsYcHo_RaGE PsYcHo_RaGE is offline
Registered User
 
Join Date: Mar 2018
Location: DarckSide
Posts: 238
Thanks: 193
Thanked 160 Times in 78 Posts
PsYcHo_RaGE is on a distinguished road
Talking

Quote:
Originally Posted by panker1992 View Post
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.
please post and show us sensi
__________________
“WE ALL GO A LITTLE MAD SOMETIMES”
Reply With Quote
The Following 2 Users Say Thank You to PsYcHo_RaGE For This Useful Post:
Behnam2018 (09-01-2020), panker1992 (10-01-2020)
  #9  
Old 10-01-2020, 05:38
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
Quote:
Originally Posted by PsYcHo_RaGE View Post
please post and show us sensi

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.
Reply With Quote
The Following 3 Users Say Thank You to panker1992 For This Useful Post:
Behnam2018 (10-01-2020), PsYcHo_RaGE (10-01-2020), shazzla (10-01-2020)
  #10  
Old 10-01-2020, 08:59
PsYcHo_RaGE's Avatar
PsYcHo_RaGE PsYcHo_RaGE is offline
Registered User
 
Join Date: Mar 2018
Location: DarckSide
Posts: 238
Thanks: 193
Thanked 160 Times in 78 Posts
PsYcHo_RaGE is on a distinguished road
Quote:
Originally Posted by panker1992 View Post
I am writing the movie blocks. and then i will post.
appreciated
__________________
“WE ALL GO A LITTLE MAD SOMETIMES”
Reply With Quote
The Following User Says Thank You to PsYcHo_RaGE For This Useful Post:
Behnam2018 (10-01-2020)
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 16:04.


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