Script by CriticalError
Game: Sanjie Online
For unpack you need QuickBMS Tool.
PHP Code:
#Sanjie Online PAK Unpacker
idstring "PAKF3001"
get FSIZE long
get FILES long
set FOLDER_NAME = "/"
for i = 0 < FILES do
getdstring NAME 32
get OFFSET long
get SIZE long
get IS_FOLDER long
get unk2 long
if IS_FOLDER = 1
set FOLDER_NAME = NAME
string FOLDER_NAME += "/"
else
set TEMP = FOLDER_NAME
string TEMP += NAME
print %TEMP%
log TEMP OFFSET SIZE
endif
next i
HOW TO Use:
- Run QuickBMS
- Select script
- Select file for unpack
- Select dir to unpack
- Enjoy