Page 1 of 1

Hey guys ! dose any one have any idea how to convert mdl to fbx ?

Posted: Wed Mar 24, 2021 6:45 am
by Elementalix
Hello the game is:Tokyo Necro:Suicide Mission from Nitro + . The model file is an mdl.
Here's same sample (Updated):https://www.mediafire.com/file/m39gvi5q ... c.rar/file THX

Re: Hey guys ! dose any one have any idea how to convert mdl to fbx ?

Posted: Wed Mar 24, 2021 4:22 pm
by Durik256
[bruce]

Re: Hey guys ! dose any one have any idea how to convert mdl to fbx ?

Posted: Sat Mar 27, 2021 11:31 am
by Elementalix
Hello i tried to open it with Asset Studio but nothing shows up .Thx for the reply !

Re: Hey guys ! dose any one have any idea how to convert mdl to fbx ?

Posted: Sat Mar 27, 2021 3:48 pm
by Durik256
[bruce]

Re: Hey guys ! dose any one have any idea how to convert mdl to fbx ?

Posted: Tue Mar 30, 2021 10:20 am
by Elementalix
Hello again ,i know of the topic but the blender script will loop ,probably the encryption is different. THX for the reply!
The code what the terminal is displays :
Root 28
Root 28
...

Re: Hey guys ! dose any one have any idea how to convert mdl to fbx ?

Posted: Tue Mar 30, 2021 5:22 pm
by shakotay2
yeah, would take hours to understand/patch the script, I did it for one specific mdl only:
.
st_ehc_9310d-mdl.png

Re: Hey guys ! dose any one have any idea how to convert mdl to fbx ?

Posted: Wed Mar 31, 2021 9:32 am
by Elementalix
I see, thx for the reply tho.;)

Re: Hey guys ! dose any one have any idea how to convert mdl to fbx ?

Posted: Wed Mar 31, 2021 9:45 am
by shakotay2
I really don't like to care for weapons so I didn't bother any further but this as some hints:

The format has changed a little bit, if you patch the .py like so
.
patch_py.png
the error message looks like this:

Code: Select all

MESH start
Traceback (most recent call last):
  File "sonicomi - org.py", line 556, in openfile
  File "sonicomi - org.py", line 383, in mdl_parser
  File "sonicomi - org.py", line 289, in frme
  File "sonicomi - org.py", line 144, in vertexuv
RuntimeError: mesh has no faces
With some rough understanding of the script you can apply another patch by copying some branches like

Code: Select all

elif chunk=='FACE':
...
mesh.update()
from
def frme(n,mesh_id,parent)
to
def mdl_parser(filename)

(Blender will freeze in an endless loop displaying the chunk name you didn't handle so far.)

This is a very ugly patch but worked (more or less) for the models you uploaded.

Re: Hey guys ! dose any one have any idea how to convert mdl to fbx ?

Posted: Fri Apr 02, 2021 12:51 am
by Durik256
[bruce]

Re: Hey guys ! dose any one have any idea how to convert mdl to fbx ?

Posted: Sun Apr 04, 2021 4:06 pm
by Elementalix
Yeah bro,thx for help ! :wink: