Skip to content

Fox Engine dat, fpk, fpkd, pftxs and sbp unpacker/repacker

License

Notifications You must be signed in to change notification settings

TinManTex/GzsTool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GzsTool

C# Fox Engine dat/qar, fpk, fpkd, pftxs and sbp unpacker/repacker

Build status Requirements

Microsoft .NET Framework 4.5

Usage

GzsTool file_path|folder_path

Options

-OutputHashes or -o (case insensitive) Writes the PathCode64 and ExtensionCode64 hashes for files in Qar archive to _pathHashes.txt / _extensionHashes.txt, For fpk files will write FilePath Md5Hash (if MD5(FilePath) does not match Md5Hash), to _FilePath_Md5HashText.txt (same mgsv-lookup-strings hash_types identification for hashwrangler validation), for fpk_dictionary. Will exit without extracting files.

Examples

Unpacking a dat file. This will unpack all files to the folder called "file_name" and will create a "file_name.dat.xml" file.

GzsTool file_path.dat

Unpacking an fpk/fpkd file. This will unpack all files to the folder called "file_name_fpk/file_name_fpkd" and will create a "file_name.fpk.xml/file_name.fpkd.xml" file.

GzsTool file_path.fpk
GzsTool file_path.fpkd

Unpacking a pftxs file. This will unpack all files to the folder called "file_name_pftxs" and will create a "file_name.pftxs.xml" file.

GzsTool file_path.pftxs

Unpacking a sbp file. This will unpack all files to the folder called "file_name_sbp" and will create a "file_name.sbp.xml" file.

GzsTool file_path.sbp

Unpacking all fpk and fpkd files in a folder. This will unpack all files to their respective folders and create the respective xml files.

GzsTool folder_path

Repacking a dat file. This will create the "file_name.dat" archive.

GzsTool file_path.dat.xml

Repacking an fpk/fpkd file. This will create the "file_name.fpk/file_name.fpkd" archive.

GzsTool file_path.fpk.xml
GzsTool file_path.fpkd.xml

Repacking a pftxs file. This will create the "file_name.pftxs" archive.

GzsTool file_path.pftxs.xml

Remarks

  • Repacking a dat file without changes will result in a smaller file. This is due to the tool not reencrypting formerly encrypted files and thereby not requiring to store the decryption keys.
  • Unpacking Ground Zeroes g0s and pftxs files will only work with v0.2 (Ground Zeroes)

About

Fox Engine dat, fpk, fpkd, pftxs and sbp unpacker/repacker

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.8%
  • PowerShell 1.2%