Users browsing this thread: 31 Guest(s)
[TUTORIAL] Making BMS Scripts; Post and get help with your BMS scripts!
#78
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...

[Image: XnrZTGs.jpg]

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
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 happydance - 07-03-2016, 06:25 AM

Forum Jump: