Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu May 23, 2019 8:47 pm

All times are UTC

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Dec 08, 2018 6:30 am 

Joined: Fri Oct 17, 2014 2:57 am
Posts: 177

PostPosted: Sun Dec 09, 2018 9:20 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10262
I can't see the offset and size fields.

I leave here my work-in-progress script (DO NOT USE IT) in case someone has more ideas:
# TMNT Mutant Melee archive.arc
# script for QuickBMS http://quickbms.aluigi.org

open FDDE "arc"
open FDDE "dat" 1

getdstring NAME 100 # "archive"
get ARC_SIZE long
get FOLDERS long
get FILES long
get EMPTY long
get NAMES_OFF long
get INFO_OFF long
for i = 0 < FOLDERS
    callfunction GET_NAME 1
    get PREV_ID signed_long
    get NEXT_ID long
    get ID long
    get FILE_ID long

    putarray 0 i NAME
    putarray 1 i PREV_ID
next i

for i = 0 < FILES
    callfunction GET_NAME 1
    get ID long
    get DUMMY long  # 0x08a6????
    get SIZE long   # ???
    get DUMMY short # FOLDER_ID? gives duplicates
    get FOLDER_ID short

    for TMP = FOLDER_ID > 0
        getarray PATH 0 TMP
        getarray TMP  1 TMP
        string NAME p "%s/%s" PATH NAME

    log NAME 0 0 1  # this is just a test for the names
next i

startfunction GET_NAME
    get NAME_OFF long
    savepos TMP
    goto NAME_OFF
    get NAME string
    goto TMP

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited