Users browsing this thread: 4 Guest(s)
Mega Man X: Command Mission
#2
Code:
# Mega Man X: Command Mission
# script for QuickBMS http://quickbms.aluigi.org

endian big

get ASIZE asize
for OFFSET = 0 < ASIZE
    goto OFFSET
    math NAMELEN = 8
    math DONE = 0
    
    do
        get TEST byte
        if TEST != 0
            goto -1 0 SEEK_CUR
            DONE = 1
        else
            math NAMELEN -= 1
        endif
    while DONE != 1
    
    getdstring NAME NAMELEN
    get FLAG1 short
    get FLAG2 short
    get SIZE long
    goto 16 0 SEEK_CUR
    
    savepos OFFSET
    string NAME += "."
    string NAME += FLAG1
    string NAME += "_"
    string NAME += FLAG2
    log NAME OFFSET SIZE
    math OFFSET += SIZE
next
Reply
Thanked by: Carpaccio


Messages In This Thread
Mega Man X: Command Mission - by Carpaccio - 09-13-2015, 05:34 PM
RE: Mega Man X: Command Mission - by TGE - 09-14-2015, 09:31 AM
RE: Mega Man X: Command Mission - by Carpaccio - 09-14-2015, 11:52 AM
RE: Mega Man X: Command Mission - by Struggleton! - 09-14-2015, 01:50 PM
RE: Mega Man X: Command Mission - by TGE - 09-14-2015, 02:40 PM
RE: Mega Man X: Command Mission - by Carpaccio - 09-14-2015, 04:56 PM
RE: Mega Man X: Command Mission - by TGE - 09-14-2015, 05:36 PM
RE: Mega Man X: Command Mission - by Carpaccio - 09-14-2015, 06:49 PM
RE: Mega Man X: Command Mission - by Chris Shade - 09-15-2015, 01:24 AM
RE: Mega Man X: Command Mission - by Carpaccio - 09-15-2015, 11:41 AM
RE: Mega Man X: Command Mission - by TGE - 09-15-2015, 03:22 PM
RE: Mega Man X: Command Mission - by Carpaccio - 09-15-2015, 09:27 PM
RE: Mega Man X: Command Mission - by Chris Shade - 09-15-2015, 09:37 PM
RE: Mega Man X: Command Mission - by Struggleton! - 09-15-2015, 09:38 PM
RE: Mega Man X: Command Mission - by Carpaccio - 09-15-2015, 09:52 PM
RE: Mega Man X: Command Mission - by Chris Shade - 03-28-2020, 12:15 AM
RE: Mega Man X: Command Mission - by Chris Shade - 03-30-2020, 04:36 AM

Forum Jump: