Page 1 of 1

(Request) Blender script for Witcher 1 .mdb

Posted: Fri Sep 23, 2011 12:25 am
by Modman69
Can someone make a blender script to import .mdb character models from The Witcher 1?

I know that Witcher 2 script already exists, but there are some really good characters in Witcher 1 that would be nice to get into blender.

Also, there does exist an importer for 3ds max 9 but I have not this program so I would really need the script for blender. Please!

Here is a link for Adda character .mdb with textures if someone wants to give it a look.

http://www.filesonic.com/file/2111041904/Adda.rar

Re: (Request) Blender script for Witcher 1 .mdb

Posted: Tue Sep 27, 2011 8:06 pm
by Szkaradek123
The contents of this post was deleted because of possible forum rules violation.

Updated 2015-11-05:
This is blend importer for Blender old version 249 and Python 266.
After unpacking zip move all files to folder where is blender.exe and double click Blender249.blend.
Use for files with original location after unpacking from bif archives:
-mdb-model file
-mda-animation container, use for unpack action files
-action-my animation file (not used by game)-select from *.mda+_animfiles

Re: (Request) Blender script for Witcher 1 .mdb

Posted: Wed Sep 28, 2011 2:35 pm
by Modman69
Thank You Szkaradek123,

I always look forward to your posts and I'll certainly be looking forward to this update also.

Thanks again for the script:)

Re: (Request) Blender script for Witcher 1 .mdb

Posted: Wed Sep 28, 2011 6:03 pm
by junk angel
Doesn't the witcher 1 use the engine used for NWN2?
I think if you can find tools for that, you ought to be able to import the models.

Re: (Request) Blender script for Witcher 1 .mdb

Posted: Thu Sep 29, 2011 4:20 am
by Modman69
junk angel wrote:Doesn't the witcher 1 use the engine used for NWN2?
I think if you can find tools for that, you ought to be able to import the models.
From wikipedia:
"The Witcher is powered by a heavily modified version of the Aurora Engine by BioWare"

Being it's heavily modified, I wouldn't think NWN2 tools would work although I haven't tried it.

Re: (Request) Blender script for Witcher 1 .mdb

Posted: Wed Apr 03, 2013 4:40 pm
by CMihai
Anyone still have the import script for this? Szkaradek123 post is empty now...

Re: (Request) Blender script for Witcher 1 .mdb

Posted: Wed Apr 03, 2013 9:53 pm
by zaramot
Here, I've got this one.

Re: (Request) Blender script for Witcher 1 .mdb

Posted: Wed Apr 03, 2013 10:04 pm
by CMihai
Thanks! (Exactly the model I'm looking for doesn't work, Shani, works for you?)

Edit: On more checks, I can't seem to load anything :? Getting "struct.error: unpack requires a string argument of lenght 4"

Re: (Request) Blender script for Witcher 1 .mdb

Posted: Wed Apr 03, 2013 10:15 pm
by zaramot
It's for Blender 2.49 (with Python 2.6/7) maybe you're using newer version?

Re: (Request) Blender script for Witcher 1 .mdb

Posted: Wed Apr 03, 2013 11:17 pm
by CMihai
I'm on the right version (have like 5 more import scripts from Szkaradek123 working) so dunno what could be...:(

Re: (Request) Blender script for Witcher 1 .mdb

Posted: Thu Apr 04, 2013 6:50 pm
by shakotay2
CMihai wrote:Thanks! (Exactly the model I'm looking for doesn't work, Shani, works for you?)

Edit: On more checks, I can't seem to load anything :? Getting "struct.error: unpack requires a string argument of lenght 4"
Got the same prob. I checked parser() fct. for what is going wrong.

But it was easier for me to code my own obj converter. It needs manual offs correction (as always) so don't know whether I'll waste more time on this.
shani-obj.jpg
edit: finally I made it. But use it on your own risk!
WitchExtract.zip
Mesh and UV to be extracted. Tried some level mesh (gl18.mdb). Seemed to work, too.