The rules have been updated, read them now: Rules!

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

Post questions about game models here, or help out others!
Post Reply
Elementalix
ultra-n00b
Posts: 5
Joined: Fri Nov 09, 2018 7:19 pm

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

Post by Elementalix » Wed Mar 24, 2021 6:45 am

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
Last edited by Elementalix on Fri Mar 26, 2021 5:50 am, edited 1 time in total.

User avatar
Durik256
beginner
Posts: 20
Joined: Wed Nov 21, 2018 7:26 pm
Been thanked: 9 times

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

Post by Durik256 » Wed Mar 24, 2021 4:22 pm

link dont work
This game is kind of made in Unity, use Asset Studio to extract resources ...

Elementalix
ultra-n00b
Posts: 5
Joined: Fri Nov 09, 2018 7:19 pm

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

Post by Elementalix » Sat Mar 27, 2021 11:31 am

Hello i tried to open it with Asset Studio but nothing shows up .Thx for the reply !

User avatar
Durik256
beginner
Posts: 20
Joined: Wed Nov 21, 2018 7:26 pm
Been thanked: 9 times

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

Post by Durik256 » Sat Mar 27, 2021 3:48 pm

Elementalix wrote:
Sat Mar 27, 2021 11:31 am
Hello i tried to open it with Asset Studio but nothing shows up .Thx for the reply !
There is already a topic with this format:
viewtopic.php?f=16&t=10178

Elementalix
ultra-n00b
Posts: 5
Joined: Fri Nov 09, 2018 7:19 pm

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

Post by Elementalix » Tue Mar 30, 2021 10:20 am

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
...

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3326
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 908 times
Been thanked: 1819 times

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

Post by shakotay2 » Tue Mar 30, 2021 5:22 pm

yeah, would take hours to understand/patch the script, I did it for one specific mdl only:
.
st_ehc_9310d-mdl.png
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

Elementalix
ultra-n00b
Posts: 5
Joined: Fri Nov 09, 2018 7:19 pm

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

Post by Elementalix » Wed Mar 31, 2021 9:32 am

I see, thx for the reply tho.;)

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 3326
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 908 times
Been thanked: 1819 times

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

Post by shakotay2 » Wed Mar 31, 2021 9:45 am

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.
You do not have the required permissions to view the files attached to this post.
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

User avatar
Durik256
beginner
Posts: 20
Joined: Wed Nov 21, 2018 7:26 pm
Been thanked: 9 times

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

Post by Durik256 » Fri Apr 02, 2021 12:51 am

shakotay2 wrote:
Wed Mar 31, 2021 9:45 am
I really don't like to care for weapons so I didn't bother any further but this as some hints:
man you are cool :D

Elementalix
ultra-n00b
Posts: 5
Joined: Fri Nov 09, 2018 7:19 pm

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

Post by Elementalix » Sun Apr 04, 2021 4:06 pm

Yeah bro,thx for help ! :wink:

Post Reply