Users browsing this thread: 11 Guest(s)
[TUTORIAL] Making BMS Scripts; Post and get help with your BMS scripts!
#39
maybe you guys can help me out, I've been trying to rip models from Socom 2.

Here is a folder for one of the multiplayer maps I'm trying to get the model from. https://www.dropbox.com/s/a9k19z3nx6u6vco/MP9.7z?dl=0

here are the couple of bms scripts I've been using

SOCOMZDB.bms
Code:
GoTo 0x98 0 ;
Get files Long 0 ;
GoTo 0x4 0 SEEK_CUR ;
SavePos base 0 ;
For x = 1 To files ;
GoTo base 0 ;
GoTo 0x4 0 SEEK_CUR ;
Get name String 0 ;
GoTo base 0 ;
GoTo 0x44 0 SEEK_CUR ;
Get offset Long 0 ;
Get size Long 0 ;
GoTo base 0 ;
GoTo 0x5c 0 SEEK_CUR ;
SavePos base 0 ;
Log name offset size 0 ;
Next x ;


SOCOMzarZED.bms
Code:
GoTo 0x0 0 ;
Get test Long 0 ;
If test != 0 ;
CleanExit ;
EndIf ;
GoTo 0x4 0 ;
Get files Long 0 ;
Math files -= 1 ;
GoTo 0x8 0 ;
Get base Long 0 ;
Math base += 0x64 ;
Math base += 0xC ;
GoTo 0xC 0 ;
Get adj Long 0 ;
GoTo 0x54 0 ;
Get realbase Long 0 ;
Get fsize ASIZE 0 ;
Math fsize -= realbase ;
Math realbase = fsize ;
GoTo 0x64 0 ;
SavePos namebase 0 ;
For x = 1 To files ;
GoTo base 0 ;
Get notyetused Long 0 ;
Get toname Long 0 ;
Get offset Long 0 ;
Get size Long 0 ;
SavePos base 0 ;
Math toname -= adj ;
Math toname += namebase ;
GoTo toname 0 ;
Get name String 0 ;
Math offset += realbase ;
Log name offset size 0 ;
Next x ;

this bit of info was on the ps23dformat site

03 02 00 01 04 80 XX 6D
{2ByteSignedIntegerVertexes(X,Y,Z)+2ByteSignedIntegerNormalMappings(X,Y,Z)+2ByteSignedIntegerTextureMappings(U,V)}
02 01 00 01

so far I can get it extracted and it gives me a list of models with no extension and that's where I'm stuck because I'm not sure what it should be.
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 bocephus205 - 01-09-2016, 08:28 PM

Forum Jump: