Users browsing this thread: 9 Guest(s)
[TUTORIAL] Making BMS Scripts; Post and get help with your BMS scripts!
#84
(07-03-2016, 10:08 PM)ThatTrueStruggle Wrote: I needed a sample of the file, @zelda200941, here's your script mate. Have fun.
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.
Cute Cute Cute Cute Cute Cute Cute Cute Cute Cute
thank you very much ThatTrueStruggle
Reply
Thanked by:


Messages In This Thread
RE: [Tutorial] Making BMS Scripts - by Saeid0034 - 03-21-2020, 05:17 AM
RE: [Tutorial] Making BMS Scripts - by justdancer - 07-02-2016, 01:53 AM
RE: [Tutorial] Making BMS Scripts - by dionn1993 - 07-10-2019, 12:06 AM
RE: [Tutorial] Making BMS Scripts - by SKYHAMSTER - 08-06-2020, 06:06 AM
RE: [Tutorial] Making BMS Scripts - by Yarcaz - 11-18-2015, 08:19 AM
RE: [Tutorial] Making BMS Scripts - by Shade - 11-18-2015, 05:31 PM
RE: [Tutorial] Making BMS Scripts - by Yarcaz - 11-18-2015, 05:04 PM
RE: [Tutorial] Making BMS Scripts - by Hallow - 12-22-2015, 06:59 PM
RE: [Tutorial] Making BMS Scripts - by Hallow - 12-22-2015, 10:42 PM
RE: [Tutorial] Making BMS Scripts - by TGE - 12-24-2015, 08:14 PM
RE: [Tutorial] Making BMS Scripts - by Hallow - 12-24-2015, 08:57 PM
RE: [Tutorial] Making BMS Scripts - by nobody231 - 12-24-2015, 09:01 PM
RE: [Tutorial] Making BMS Scripts - by TGE - 12-25-2015, 06:36 AM
RE: [TUTORIAL] Making BMS Scripts; Post and get help with your BMS scripts! - by zelda200941 - 07-04-2016, 11:43 AM

Forum Jump: