Here is a 3d model importer that supports bones and weights.
You will need to parent a few bones manually to make the skeleton complete.
The easiest way i do it is after you import the model i just import it into motion builder then map the bones.
bms extract script.
Code: Select all
get idstring long
goto 0x19
get offset long
get size long
get zsize long
get baseoff long
get datasize long
get arcsize long
clog MEMORY_FILE offset zsize size
get unk01 long MEMORY_FILE
get unk02 long MEMORY_FILE
get files short MEMORY_FILE
goto 0x12 MEMORY_FILE
get folder3 string MEMORY_FILE
For tmp = tmp != size
get offset long MEMORY_FILE
get size2 long MEMORY_FILE
math offset + baseoff
if size2 == 0
get folder string MEMORY_FILE
else if size2 == 1
get folder2 string MEMORY_FILE
string folder + \
string folder + folder2
else
get name2 string MEMORY_FILE
set name folder
string name + \
string name + name2
log name offset size2
endif
savepos tmp MEMORY_FILE
next