Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #31  
Old 20-01-2022, 11:34
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,554
Thanks: 935
Thanked 5,798 Times in 2,139 Posts
KaktoR is on a distinguished road
RPKG Tool for HITMAN 1/2/3
  • With this you can unpack and rebuild game archives for HITMAN 1/2/3
  • Rebuilding game archives is CRC perfect (from what I tested out of 5 archives from Hitman 3 v3.70).
  • Possibility to merge patch files into main archives to save several gigs of space (not tested and not crc perfect ofcourse)

Usage:
Code:
Unpack rpkg file
rpkg-cli.exe -extract_from_rpkg "<path>\<filename>"

Unpack all rpkg files
rpkg-cli.exe -extract_from_rpkgs "<path to folder containing RPKGs>"

Repack rpkg file
rpkg-cli.exe -generate_rpkg_from <foldername>
https://github.com/glacier-modding/RPKG-Tool
Latest hash lists: hitmandb.notex.app/latest-hashes.7z
__________________
Haters gonna hate

Last edited by KaktoR; 20-01-2022 at 11:38.
Reply With Quote
The Following 3 Users Say Thank You to KaktoR For This Useful Post:
Gehrman (22-01-2022), Masquerade (20-01-2022), ramydarkness (19-03-2022)
Sponsored Links
  #32  
Old 20-01-2022, 21:53
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 729
Thanks: 159
Thanked 760 Times in 381 Posts
Masquerade is on a distinguished road
@KaktoR
What are the speeds like for this tool now? I recall it being very slow at extracting and packing files.
Reply With Quote
  #33  
Old 21-01-2022, 00:39
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,554
Thanks: 935
Thanked 5,798 Times in 2,139 Posts
KaktoR is on a distinguished road
HDD speeds (my m2 SSD is nearly full, so can't test)
chunk0.rpg (13.5 GB)
Unpack: 100% Done in 1181.58s
Repack: Scanning folder time 10min + 100% Done in 1141.25s

Edit:
Code:
Note: Disabled AV (Windows Defender) to speed up the whole process (it will give you a good speed boost).

M2 SSD
11:03:10 - Start
G:\test>rpkg-cli.exe -extract_from_rpkg "G:\chunk0.rpkg"
Extract from RPKG file: G:\chunk0.rpkg
Extract: All hash files with filter ""
Valid RPKGv2 file magic signature found.
RPKGv2 file chunk0.rpkg is not a patch file.
Importing index from RPKGv2 file: chunk0.rpkg
Importing RPKG file data: 100% Done in 2.5325s
Extracting from RPKG: 100% Done in 227.422s
11:07:01 - Stop

11:07:45 - Start
G:\test>rpkg-cli.exe -generate_rpkg_from "G:\Test\chunk0"
Using RPKG meta file: G:\Test\chunk0\chunk0.meta
Valid RPKGv2 file magic signature found.
RPKGv2 file G:\Test\chunk0\chunk0.meta is not a patch file.
Scanning folder: Done
Writing to temporary RPKG file: chunk0.rpkg.tmp
Generating RPKG file: 100% Done in 427.501s
Writing RPKGv2 offset index: 100% Done in 0.245895s
Writing RPKGv2 info index: 100% Done in 0.444143s
Merging RPKGv2 file and temporary RPKG files...
Merged RPKGv2 file and temporary RPKGv2 file in 130.196s
Successfully generated RPKGv2 file: chunk0.rpkg
11:17:34 - Stop

CRC Checks
Original CD516CCC
Repacked CD516CCC
__________________
Haters gonna hate

Last edited by KaktoR; 23-01-2022 at 02:54.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Masquerade (21-01-2022)
  #34  
Old 22-01-2022, 13:14
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 729
Thanks: 159
Thanked 760 Times in 381 Posts
Masquerade is on a distinguished road
Collection of Gibbed Tools: http://svn.gib.me/builds/
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
ramydarkness (19-03-2022)
  #35  
Old 22-01-2022, 14:42
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 729
Thanks: 159
Thanked 760 Times in 381 Posts
Masquerade is on a distinguished road
Data Sheet for Mad Max [GOG v1.0.3]
  • Use this BMS script to unpack the game archives specified below then you can patch out the flagged files using SFK.
  • http://aluigi.altervista.org/bms/justcause2.bms
  • KB2i files are Bink videos and can be compressed with BPK
  • FSB5 files are FMOD banks that contain vorbis audio. These don't compress well so you can patch these out to speed up lolz a bit since there's less data for it to compress.
  • 853ad14e.KB2i is unneeded by the game so you can rip it if you want. The other two videos are needed and the game will crash if those videos are not available. They are intro videos.
Code:
MAD MAX - Offsets in Decimal

game2.arc

143560704 - 206051659 - def0d575.KB2i

643588096 - 766688731 - 39844701.KB2i

game37.arc

325599232 - 531816827 - 853ad14e.KB2i

game0.arc

42659840 - 862431583 - 03fc1a91.FSB5

game3.arc

580550656 - 605097151 - 9925af7e.FSB5

200591360 - 484501599 - 89bd0bdc.FSB5

game1.arc

152014848 - 419433599 - ef5ed197.FSB5

0 - 102791775 - 692d0738.FSB5

105039872 - 150999199 - 9cbf649e.FSB5
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
Gehrman (23-01-2022)
  #36  
Old 22-01-2022, 14:49
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 729
Thanks: 159
Thanked 760 Times in 381 Posts
Masquerade is on a distinguished road
Data Sheet for Sekiro: Shadows Die Twice [Steam Build 5794815]
  • All the files below are present inside Data1.bdt and are duplicates of everything within the sound folder.
  • You can cut the size of your repack by several GBs just by patching out the duplicated files and then using SFK to patch all of these files back in using the existing sound files.
  • This is an improvement over the method shown by Panker1992 - his method involved patching out entire blocks of audio whereas here, each individual file get patched out so that you can separate language audio and remove duplicate data.

Code:
Data1.bdt - Offsets in Decimal

SPANISH

2056686058 - 2062779625 - vm25_ese

1698264554 - 1704638281 - vm17_ese

1460658010 - 1470921785 - vm13_ese

421122474 - 431546121 - vm10_ese

1590043290 - 1604286969 - vm15_ese

1848422746 - 1877408601 - vm20_ese

913828218 - 1033695257 - vm11_ese

JAPANESE

1264734490 - 1403977305 - vm11_jaj

1933972634 - 1967974169 - vm20_jaj

1631120666 - 1647248569 - vm15_jaj

1491509082 - 1503211769 - vm13_jaj

451123018 - 461999273 - vm10_jaj

2073733546 - 2080483977 vm25_jaj

1716761674 - 1723486569 - vm17_jaj

ITALIAN

1156029210 - 1264734489 - vm11_iti

1907205562 - 1933972633 - vm20_iti

1618851610 - 1631120665 - vm15_iti

1481838010 - 1491509081 - vm13_iti

441860042 - 451123017 - vm10_iti

1710847146 - 1716761673 - vm17_iti

2068629770 - 2073733545 - vm25_iti

GERMAN

2045503818 - 2050799369 - vm25_ded

1686058026 - 1692775721 - vm17_ded

401814186 - 411867369 - vm10_ded

1440963354 - 1451168953 - vm13_ded

1563944922 - 1578159449 - vm15_ded

1791914362 - 1822154841 - vm20_ded

683703002 - 803188505 - vm11_ded

FRENCH

1033695258 - 1156029209 - vm11_frf

1877408602 - 1907205561 - vm20_frf

1604286970 - 1618851609 - vm15_frf

1470921786 - 1481838009 - vm13_frf

431546122 - 441860041 - vm10_frf

1704638282 - 1710847145 - vm17_frf

2062779626 - 2068629769 - vm25_frf

ENGLISH

803188506 - 913828217 - vm11_enu

1822154842 - 1848422745 - vm20_enu

1578159450 - 1590043289 - vm15_enu

1451168954 - 1460658009 - vm13_enu

411867370 - 421122473 - vm10_enu

2050799370 - 2056686057 - vm25_enu

1692775722 - 1698264553 - vm17_enu

MISC

484789978 - 588394585 - rm11

588443114 - 674049417 - sm11

2009624634 - 2045349689 - sm25

1967977706 - 1999163081 - xm20

1723490106 - 1754630297 - xm17

1536736730 - 1563711897 - sm15

374582266 - 400861241 - sm10

1503214762 - 1528145225 - xm13

1403980298 - 1410161641 - xm11

1661564874 - 1685963561 - sm17

1771126490 - 1790800185 - sm20

462001162 - 476119849 - xm10

361765642 - 374563017 - rm10

2080485930 - 2093097161 - xm25

1759064554 - 1771113481 - rm20

1647250458 - 1658755929 - xm15

1430398602 - 1440771625 - sm13

2001824282 - 2009604249 - rm25

676485146 - 683697369 - vm11

1530594410 - 1536710153 - rm15
Reply With Quote
The Following 2 Users Say Thank You to Masquerade For This Useful Post:
Gehrman (23-01-2022), L0v3craft (24-01-2022)
  #37  
Old 22-01-2022, 17:52
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 527
Thanks: 113
Thanked 752 Times in 294 Posts
panker1992 is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
Data Sheet for Sekiro: Shadows Die Twice [Steam Build 5794815]
You dont need to patch files back in sekiro.exe can load them as lose files.

either keep the already extracked and remove with hex editor. or delete lose files and keep the compressed ones
__________________
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
  #38  
Old 22-01-2022, 22:44
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 286
Thanks: 350
Thanked 327 Times in 148 Posts
dixen is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
RPKG Tool for HITMAN 1/2/3
This tool remove encrypt from RPKG?
Reply With Quote
  #39  
Old 22-01-2022, 23:53
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 729
Thanks: 159
Thanked 760 Times in 381 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by panker1992 View Post
You dont need to patch files back in sekiro.exe can load them as lose files.

either keep the already extracked and remove with hex editor. or delete lose files and keep the compressed ones
Patch back in for CRC perfection.
Reply With Quote
  #40  
Old 22-01-2022, 23:54
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 729
Thanks: 159
Thanked 760 Times in 381 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by dixen View Post
This tool remove encrypt from RPKG?
Yes, decrypts + decompresses. The intention of the tool is to enable people to mod the game.

Last edited by Masquerade; 12-03-2022 at 03:06.
Reply With Quote
  #41  
Old 23-01-2022, 02:47
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,554
Thanks: 935
Thanked 5,798 Times in 2,139 Posts
KaktoR is on a distinguished road
All of the files contain wem audio and lots of other stuff which I didn't checked yet (and probably never will be becuase of over 1 million files). I assume that unpack for all files on SSD is over in probably 20 minutes, while repacking on a SSD is finished in probably 25/30 minutes (disabled AV).

I already did a test for merging all the patch files into their parent archives, which works great and reduce the size by ~6GB, unfortunatelly the game crash if you start a level. Maybe "packagedefinition.txt" or some hex editing is the key but don't know anything about it.

However I added a test on a SSD on my previous test
__________________
Haters gonna hate
Reply With Quote
The Following 2 Users Say Thank You to KaktoR For This Useful Post:
Gehrman (25-02-2022), Masquerade (23-01-2022)
  #42  
Old 23-01-2022, 02:56
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 729
Thanks: 159
Thanked 760 Times in 381 Posts
Masquerade is on a distinguished road
FYI, wemtool will not work on the Hitman 3 files because they do not use .wem extensions. I did try to make a custom version for Hitman 3 but there was some error and I can't quite remember it.

@KaktoR you can decrypt PackageDefinition.txt using h6xtea. I have included an archive below using files from my personal Hitman 3 installation showcasing this tool and a decrypted PackageDefinition.txt
Attached Files
File Type: 7z h6xtea.7z (239.3 KB, 11 views)
Reply With Quote
The Following 2 Users Say Thank You to Masquerade For This Useful Post:
Gehrman (23-01-2022), KaktoR (23-01-2022)
  #43  
Old 23-01-2022, 03:01
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,554
Thanks: 935
Thanked 5,798 Times in 2,139 Posts
KaktoR is on a distinguished road
WemTool work on them. You just have to rename file extension to WEM (WWES and WWEM files).

*.GFXV = USM video?
Code:
CRIUSF_DIR_STREAM�fmtver�filename�filesize�datasize�stmid�chno�minchk�minbuf�avbps�video.usm�Intro__00000.bmp�:Intro_ENG.FL.wav
__________________
Haters gonna hate

Last edited by KaktoR; 23-01-2022 at 03:51.
Reply With Quote
The Following 3 Users Say Thank You to KaktoR For This Useful Post:
Gehrman (23-01-2022), L33THAK0R (27-01-2022), Masquerade (23-01-2022)
  #44  
Old 24-01-2022, 00:27
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 30
Thanks: 631
Thanked 39 Times in 14 Posts
Gehrman is on a distinguished road
UnrealKey

UnrealKey is a tool for automatically finding the AES-256 decryption keys for Unreal Engine 4 encrypted pak files.

Pass the path to a game's executable as an argument to UnrealKey.exe, and it will launch the game and attempt to detect the loading and decryption of encrypted pak files. If successful, the decryption key(s) will appear in the output, usually within a few seconds of launching the game.

Example output
Code:
[11976] starting TetrisEffect.exe
[ 9604] starting "C:\Program Files\Epic Games\TetrisEffect\TetrisEffect/Binaries/Win64/TetrisEffect-Win64-Shipping.exe" TetrisEffect
[ 9604] Reading pak info for \\?\C:\Program Files\Epic Games\TetrisEffect\TetrisEffect\Content\Paks\TetrisEffect-WindowsNoEditor.pak (encrypted)
[ 9604] Reading encrypted pak index for TetrisEffect-WindowsNoEditor.pak
[ 9604] Detected buffer->index copy successfully
[ 9604] Detected index decryption successfully, finding key now...
[ 9604] Key: 0x0635D5F4B20E2CF1708524223DB7F1C77E7C49C556C5B875A90132E88E91F734
[11976] process exited with code 0x0

Summary:
--------

File: \\?\C:\Program Files\Epic Games\TetrisEffect\TetrisEffect\Content\Paks\TetrisEffect-WindowsNoEditor.pak
Key:  0x0635D5F4B20E2CF1708524223DB7F1C77E7C49C556C5B875A90132E88E91F734
Limitations
Currently, only 64-bit Windows games are supported.

Games using Steam DRM should work (without needing to manually create a steam_appid.txt file), as long as the Steam client is open and logged in (and the game is actually in your library). If you're having trouble with a particular game, try running it through Steamless first.

Games using anti-cheat software will most likely not work, since this tool doesn't make any attempt to circumvent it.

This has not been tested with a large number of games yet. If you have a UE4 game that uses encrypted pak files and UnrealKey doesn't seem to detect the decryption keys correctly, please open an issue and include the entire output from the program (but also please be sure to note the above as well).
Attached Files
File Type: zip UnrealKey-0.2.0.zip (28.6 KB, 25 views)
Reply With Quote
The Following 7 Users Say Thank You to Gehrman For This Useful Post:
:( Sad8669 (24-01-2022), Harsh ojha (05-04-2022), L0v3craft (24-01-2022), Masquerade (24-01-2022), sathex (06-02-2022), ScOOt3r (24-01-2022), shazzla (25-01-2022)
  #45  
Old 25-01-2022, 00:12
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 221
Thanks: 408
Thanked 86 Times in 63 Posts
shazzla is on a distinguished road
Anyone tried Ace combat assault horizon with Unrealkey.exe?
Reply With Quote
Reply

Thread Tools
Display Modes

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
Support and Help on Game Compression Tools and Methods Snake288 Conversion Tutorials 4 18-04-2020 06:30
Help choosing an mp3 player ikermalli Media Players 8 22-08-2010 23:15
[REQ] Pac-Man World 2 Starforce 3 Crack (RLD Tools inside) newone111 PC Games 48 21-03-2010 00:22
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48
Daemon Tools Question Overthere PC Games 11 16-06-2003 17:02



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


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