Repack script

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
taka2902
Posts: 1
Joined: Tue Feb 07, 2017 5:40 am

Repack script

Post by taka2902 »

Anyone know how to make a repack script?
This is my unpack script (PAK file)

Code: Select all

# Written by Ekey (h4x0r)
# http://www.progamercity.net
#
# script for QuickBMS http://quickbms.aluigi.org

idstring "PACK"
get TABLEOFFSET long
get FILES long
math FILES /= 136

for i = 0 < FILES
   getdstring NAME 128
   get OFFSET long
   get SIZE long
   log NAME OFFSET SIZE
next i

i have no idea to write a repack script since it need "PACK" to be completed
sorry for my bad english