Peria Chronicles tbl tpk

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
chrrox
Posts: 388
Joined: Thu Aug 07, 2014 10:28 pm

Peria Chronicles tbl tpk

Post by chrrox »

Code: Select all

#Peria Chronicles quickbms script
#http://aluigi.altervista.org/quickbms.htm
#by chrrox
get TPK basename
string TPK R ".tpk" ""
set TBL TPK
set REP TPK
string TPK + ".tpk"
string TBL + ".tpk.table"
print "%TPK%"
print "%TBL%"
open FDSE TBL
open FDSE TPK 1
get FILES long
get NULL long
for i = 0 < files
get NSIZE long
getdstring NULL 6
math NSIZE - 1
getdstring NAME NSIZE
string NAME R "cache" REP
string NAME + ".TARC"
get OFFSET long
get SIZE long
log NAME OFFSET SIZE 1
next i
Velosity
Posts: 10
Joined: Mon Jan 07, 2019 10:28 am

Re: Peria Chronicles tbl tpk

Post by Velosity »

Thanks, can you create one that converts the output files too? The TARC files.