Users browsing this thread: 1 Guest(s)
Survivalcraft .PAK ripping
#4
Code:
# Survivalcraft .PAK format
#
# Written by puggsoy
# script for QuickBMS http://quickbms.aluigi.org

idstring PAK\x0

get FSIZE long
get BASE_OFF long
get FNUM long

for i = 0 < FNUM
    get LEN byte
    getdstring PATH LEN
    get LEN byte
    getdstring NAME LEN
    
    string PATH += "."
    string PATH += NAME
    get OFFSET long
    get SIZE long
    
    math OFFSET += BASE_OFF
    math OFFSET += 2
    
    math SIZE -= 2
    
    log PATH OFFSET SIZE
next i

This should extract it all. I'll take a look at Survivalcraft 2 tomorrow.

If you need help with any of the extracted files, post in the appropriate sections for them to get experienced help (e.g. for help with models, post in Ripping Help of TMR).
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Reply
Thanked by: SniperDude2745


Messages In This Thread
Survivalcraft .PAK ripping - by SniperDude2745 - 11-10-2017, 10:33 AM
RE: Survivalcraft .PAK ripping PLEASE CLICK! - by puggsoy - 11-12-2017, 08:16 AM

Forum Jump: