ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Fri Dec 14, 2018 4:55 am

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: 168
https://puu.sh/CeliD.zip


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

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9473
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:
Code:
# 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

goto INFO_OFF
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
    next

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

startfunction GET_NAME
    get NAME_OFF long
    savepos TMP
    math NAME_OFF + NAMES_OFF
    goto NAME_OFF
    get NAME string
    goto TMP
endfunction


Top
   
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