Hello, Everybody!
Could anyone please tell me how to extract data from .dat file.
The first 4 bytes a header "FPAC"
The Forum is up for sale: XeNTaX Forum looking for new owner
Mokuba no Kiseki dat
- aluigi
- VVIP member

- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 661 times
- Contact:
Re: Mokuba no Kiseki dat
Code: Select all
# Mokuba no Kiseki (0.1.1)
# script for QuickBMS http://quickbms.aluigi.org
comtype gzip
idstring "FPAC"
get BASE_OFF long
math BASE_OFF *= 0x800
for i = 0
get SIZE long
if SIZE == 0
cleanexit
endif
get ZIP short
get OFFSET short
math OFFSET *= 0x800
math OFFSET += BASE_OFF
savepos TMP
goto OFFSET
getdstring DUMMY 10
get NAME string
goto TMP
clog NAME OFFSET SIZE SIZE
next i
Last edited by aluigi on Mon Jan 30, 2012 5:49 pm, edited 1 time in total.
- aluigi
- VVIP member

- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 661 times
- Contact:
Re: Mokuba no Kiseki dat
there was an error in the reading of the filename from the gzip file, now the script is ok
