Users browsing this thread: 2 Guest(s)
Mega Man X 7/8 files.
#3
Code:
# Megaman X 7 .emi
# script for QuickBMS http://quickbms.aluigi.org

get ENTRYCOUNT long
get BLOCKSIZE long
idstring "MATH_TBL"
math OFFSET = BLOCKSIZE
get FILENAME BASENAME
for i = 0 < ENTRYCOUNT
    get SIZE long
    get BLOCKCOUNT short
    get UNK2 short
    get UNK3 short
    get UNK4 short
    padding 16
    savepos NEXTENTRY
    
    string NAME = FILENAME
    string NAME += "_"
    string NAME += i
    string NAME += "."
    string NAME += UNK4
    
    log NAME OFFSET SIZE
    
    goto OFFSET
    goto SIZE 0 SEEK_CUR
    padding BLOCKSIZE
    savepos OFFSET
    
    goto NEXTENTRY
next i
Reply
Thanked by:


Messages In This Thread
Mega Man X 7/8 files. - by Carpaccio - 09-16-2015, 03:47 PM
RE: Mega Man X 7/8 files. - by Struggleton! - 09-16-2015, 04:54 PM
RE: Mega Man X 7/8 files. - by TGE - 09-16-2015, 05:19 PM
RE: Mega Man X 7/8 files. - by Chris Shade - 09-16-2015, 08:54 PM
RE: Mega Man X 7/8 files. - by Carpaccio - 09-16-2015, 09:54 PM
RE: Mega Man X 7/8 files. - by Carpaccio - 10-08-2015, 11:20 PM

Forum Jump: