07-03-2016, 10:08 PM
(This post was last modified: 07-03-2016, 10:15 PM by Struggleton!.)
I needed a sample of the file, @zelda200941, here's your script mate. Have fun.
Can I get a sample of the file, please, same with justdancer. If you don't post samples of the file, I can't help you.
Code:
comtype NitroSDK
get OFFSET long
get ZSIZE long
get UNK long
savepos BEFORE
goto OFFSET
get ID byte
get SIZE long
clog "" OFFSET ZSIZE SIZE
math FIRST = OFFSET
goto BEFORE
do
get OFFSET long
get ZSIZE long
get UNK long
savepos BEFORE
goto OFFSET
get ID byte
get SIZE long
clog "" OFFSET ZSIZE SIZE
goto BEFORE
savepos CUR
while CUR != FIRST
(07-03-2016, 06:25 AM)happydance Wrote: hello new member here, can't find any tools or script that suits the file I'm trying to extract so I decided to learn to mke one using quick bms. I appreciate your guide and hope some of you can guide me if I'm doing it right. The files are inside the big file is not compressed or encypted, they are just joined with a pointer on the header... I think...
and this is the values
big endian
4 byte = 00 00 00 00 = unknown
4 byte = 00 00 00 01 = unknown
4 byte = 00 00 00 00 = unknown
4 byte = 00 00 00 20 = start offset
4 byte = 00 09 93 F0 = total size of bins minus 20h
4 byte = 00 00 00 00 = unknown
4 byte = 00 00 01 5D = number of files
4 byte = 00 00 00 00 = unknown
4 byte = 00 00 00 00 = start offset because of 00 00 00 20
4 byte = 00 00 01 5D = number of files
4 byte = 00 00 00 00 = unknown
4 byte = 00 00 00 10 = unknown
4 byte = 00 00 00 00 = unknown
4 byte = 00 00 0B 00 = 1st file offset
4 byte = 00 00 24 40 = end size of 1st file and offset of 2nd file
and this is the script I made... and it's not working lols
Code:endian big
goto 0xc0
get TMP1 long
get TMP2 long
get null long
xmath archiveSize "TMP2 - TMP1"
get fileCount long
get null long
get null long
get unknown1 long
get null long
get unknown1 long
get unknown2 long
for i = 0 < fileCount
get OFFSET1 long
get OFFSET2 long
xmath SIZE "OFFSET2 - OFFSET1"
log "" OFFSET1 SIZE
next i
Can I get a sample of the file, please, same with justdancer. If you don't post samples of the file, I can't help you.