Users browsing this thread: 1 Guest(s)
[TUTORIAL] Making BMS Scripts; Post and get help with your BMS scripts!
#76
                                           could you help me   Shocked
                                    たつけて ください Ouch!



[Image: rrmsrr.png]
Reply
Thanked by:
#77
(11-15-2015, 03:47 PM)ThatTrueStruggle Wrote: QuickBMS Script Listing

Can you please make a bms for all Just Dance game's cuz I do not seem to find them on the quick bms website Big Grin Smile
Reply
Thanked by:
#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:
#79
(07-02-2016, 12:53 AM)zelda200941 Wrote:
                                           could you help me   Shocked
                                    たつけて ください Ouch!



[Image: rrmsrr.png]

Afraid I can't help you with the actual script, but I can tell you that is a lz10 compressed CGFX file.  See  the 10 byte at 000000A8?  (In other words, 5 bytes before the CGFX header), That's a compression identifier, and assuming that's the only CGFX file in the archive, you could select everything after that byte, save it as a different file, and then decompress it.
Maybe struggle could actually help you with an easier method, I'm just telling you how I'd do it with this.
[Image: jcKgJbX.png]
Reply
Thanked by: zelda200941
#80
(07-03-2016, 09:38 AM)eureka Wrote:
(07-02-2016, 12:53 AM)zelda200941 Wrote:
                                           could you help me   Shocked
                                    たつけて ください Ouch!



[Image: rrmsrr.png]

Afraid I can't help you with the actual script, but I can tell you that is a lz10 compressed CGFX file.  See  the 10 byte at 000000A8?  (In other words, 5 bytes before the CGFX header), That's a compression identifier, and assuming that's the only CGFX file in the archive, you could select everything after that byte, save it as a different file, and then decompress it.
Maybe struggle could actually help you with an easier method, I'm just telling you how I'd do it with thi


thanks for your attention  Content Shy

file does nothing
delete the header 000000A8

decompress LZ10  Cry Cry


file here  CHARA-MODEL
Reply
Thanked by:
#81
(07-03-2016, 08:24 PM)zelda200941 Wrote:
(07-03-2016, 09:38 AM)eureka Wrote:
(07-02-2016, 12:53 AM)zelda200941 Wrote:
                                           could you help me   Shocked
                                    たつけて ください Ouch!



[Image: rrmsrr.png]

Afraid I can't help you with the actual script, but I can tell you that is a lz10 compressed CGFX file.  See  the 10 byte at 000000A8?  (In other words, 5 bytes before the CGFX header), That's a compression identifier, and assuming that's the only CGFX file in the archive, you could select everything after that byte, save it as a different file, and then decompress it.
Maybe struggle could actually help you with an easier method, I'm just telling you how I'd do it with thi


thanks for your attention  Content Shy

file does nothing
delete the header 000000A8

decompress LZ10  Cry Cry


file here  CHARA-MODEL

https://www.mediafire.com/?saau3dss5nfmzmx

5 of the decompressed files I got.  If you need more, let me know.
[Image: jcKgJbX.png]
Reply
Thanked by: zelda200941
#82
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.
Reply
Thanked by: zelda200941
#83
sorry, here is the link for the sample file https://drive.google.com/open?id=0Byva3J...W5ZaVR4dU0

btw, I revised my script to this and it seems to be working but there are some problems with it

Code:
endian big
goto 0xc
get TMP1 long
get TMP2 long
get null long
xmath archiveSize "TMP2 - TMP1"
get FILENUM long
get null long
get null long
get unknown1 long
get null long
get unknown1 long
get unknown2 long
for i = 0 < FILENUM
 get OFFSET1 long
 get OFFSET2 long
 Math OFFSET1 + TMP1
 Math OFFSET2 + TMP1
 xmath SIZE "OFFSET2 - OFFSET1"
 log "" OFFSET1 SIZE
next I


Code:
00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 20
00 09 93 F0 00 00 00 00 00 00 01 5D 00 00 00 00
00 00 00 00 00 00 01 5D 00 00 00 00 00 00 00 10
00 00 00 00 00 00 0B 00 00 00 24 40 00 00 33 B0
00 00 4B E0 00 00 5C D0 00 00 6B 60 00 00 7E 70

it only extract haft of the file mentioned on 00 00 01 5D...
it was supposed to extract from 00 00 00 0B 00 to 00 00 24 40 then from 00 00 24 40 to 00 00 33 B0.
but it extract from  00 00 00 0B 00 to 00 00 24 40 then from  00 00 33 B0 to 00 00 4B E0



*edit*

I was wrong the individual file size was located on 0x5A8
Reply
Thanked by:
#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:
#85
managed to get my 1st noob bms script to work, I have to read the 1st page a couple of times, thanks again for the only guide on bms that still have images and working links Smile
Reply
Thanked by:
#86
Is it possible to make a quickbms script to rip models from Code Lyoko Quest for Infinity with bones, textures, UV's, normals? The files are .gcn, .cp2 & .pc formats.
[Image: 33426ca52b.png]
Reply
Thanked by:
#87
(07-08-2016, 04:22 PM)Lilothestitch Wrote: Is it possible to make a quickbms script to rip models from Code Lyoko Quest for Infinity with bones, textures, UV's, normals? The files are .gcn, .cp2 & .pc formats.

max script is easier for that
Reply
Thanked by:
#88
Can someone help out with this here, I got the quickbms running in Wine Command Prompt
http://imgur.com/nJCnFJn, I honestly don't know how to get it to make a GTX file
Reply
Thanked by:
#89
Well, the Sonic & Sega All-Star Racing bms script does not work. It only create ".file" files.
Reply
Thanked by:
#90
(07-08-2016, 11:27 PM)Larry Koopa Is Awesome Wrote: Can someone help out with this here, I got the quickbms running in Wine Command Prompt
http://imgur.com/nJCnFJn, I honestly don't know how to get it to make a GTX file

in the command prompt, type: quickbms [path to script] [file to extract] [output folder]. replace the stuff in the brackets with the stuff needed and then remove the brackets. press enter. quickbms should output gtx files.

(07-09-2016, 05:58 AM)tintan Wrote: Well, the Sonic & Sega All-Star Racing bms script does not work. It only create ".file" files.

I think it's supposed to do that. Upload some samples and post em here and I'll take a look at it.
Reply


Forum Jump: