01-09-2016, 08:28 PM
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
SOCOMzarZED.bms
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.
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.