I would like to know if a tutorial or a converter exist to port old MexScript to BMS ?
I would like to port them myself to learn the BMS Scripts in order to make new scripts myself.
Like this MexScript :
Spider-Man PC PKR3 Files (The only Script who works with theses files, not the case of the BMScripts on the website).
Code: Select all
ImpType StandardTail;
Get MW Long 0;
SavePos TailOffOff 0;
Get TailOff Long 0;
GoTo TailOff 0;
Get U1 Long 0;
Get Folders Long 0;
Get Files Long 0;
SavePos FolderStart 0;
Set D Long Folders;
Math D *= 40;
Math D += FolderStart;
For T = 1 To Folders;
GoTo FolderStart 0;
GetDString FoN 32 0;
Get TPF Long 0;
Get CurFiles Long 0;
SavePos FolderStart 0;
GoTo D 0;
Set A Long 0 ;
Do ;
Math A += 1 ;
GetDString FiN 32 0;
Get U2 Long 0;
Get ComBool Long 0;
SavePos FOO 0;
Get FO Long 0;
SavePos USO 0;
Get USize Long 0;
SavePos CSO 0;
Get CSize Long 0;
Set Name String FoN;
String Name += FiN;
If ComBool < 2;
Log Name FO CSize FOO CSO ;
EndIf;
While A < CurFiles;
SavePos D 0;
Next T;
or even this one (Same, the Atlantis The Lost Tales BMSScript is broken, only this following MexScript works fine) :
Code: Select all
IDString 0 "BigFile 1.00" ;
SavePos S 0 ;
Math S += 4 ;
GoTo S 0 ;
Get FileNum Long 0 ;
Get DataSize Long 0 ;
Get DataStartL Long 0 ;
Get DataStartH Long 0 ;
For T = 1 to FileNum ;
Get StringSize Long 0 ;
Get U1 Long 0 ;
Get Size1 Long 0 ;
Get Size2 Long 0 ;
Get Size3 Long 0 ;
Get R1 Long 0 ;
Get ROff Long 0 ;
Get U2 Long 0 ;
GetDString FN StringSize 0 ;
Math ROff += DataStartL ;
Log FN ROff Size1 0 0 ;
Next T ;