I'm having the same problem as the other people who aren't getting anything when they import it. Blender 2.49b, extracted the VertexBufferPool and IndexBufferPool, placed the .blend in the same folder, ran it and executed the script. Sometimes it acts like it's loading a model, but then when I check back a minute later nothing has actually loaded.
I suppose it's an extractor version problem (which tool did you use for extracting the VertexBufferPool?).
You'll have to right click on the block at the left and delete the selection several times.
At the end you'll see the car.
PS: Thank you so much, Szkaradek123, for your python script!
- exports Models with Skeleton (if one exists) to Collada DAE format.
Last edited by DerPlaya on Sat Nov 13, 2010 10:57 pm, edited 1 time in total.
Can anyone say how use it? I completly don't know how.
Copy sds file to release\bin\Release where Mafia2ModelDumper.exe resides.
In a DOS command window type Mafia2ModelDumper lassiter_69.sds for example.
3 dae files should be created (one is lassiter_69.Lassiter_69.Root.L0.dae).
I used 'Collada 1.4.1 Importer (.dae)' (author: teraapi) with blender 2.49 for dae import.
@DerPlaya: very impressive work! Thanks a lot.
@all: from city\distillery.sds (Mafia2 demo) you'll get 3000 dae files.
Last edited by shakotay on Sun Nov 14, 2010 1:52 pm, edited 1 time in total.
My DOS window after a moment close and I can't do anything.
CityPoke912 wrote: My DOS window after a moment close and I can't do anything.
Should be similar for Vista.
i could have made it more user friendly but it's just a proof of concept thing... i encourage everyone who has c# knowledge (and can understand the poorly commented mess which is my code ) to do something useful with it.
@shakotay: question: do the character models work with blender? i thought the collada import plugin for blender can't cope with vertex weights (for skeletal animation).
@CityPoke912: ...make sure you've got .net framework 4.0.
DerPlaya wrote: @shakotay: question: do the character models work with blender? i thought the collada import plugin for blender can't cope with vertex weights (for skeletal animation).
Warning: The DOM was unable to create an element named float at line 46. Probably a schema violation.
Warning: The DOM was unable to create an element named color at line 64. Probably a schema violation.
I've got Framework 4.0, but it doesn't help. After a parts of second, window disappear and I can't do anything with extracting models. I'm use Win 7.
@shakotay: the warnings should be ok... those lines should be in the material/effects declaration which are dummy anyway.
- copy the Mafia2ModelDumper.exe to a folder containing sds files.
OK, it work, but now I can't import that. They are few errors in the Blender's console.