Page 1 of 1

[GC][Req] Luigi's Mansion .mdl?

Posted: Sun Dec 07, 2014 6:25 am
by onelove1210
Hello, i'm beginner in model, i unpacked .szp files due to viewtopic.php?f=16&t=3485&view=next
And i have some .mdl, but i can't do anything to open it :-? and then i tried google, and they said mdl2obj is a suitable tool, but i don't know how to use mdl2obj.py @@ it got an error: module numpy not found. So can we have another choice to open .mdl of LM?
Sample .mdl: http://www.mediafire.com/download/340h2 ... t/baby.mdl
mdl2obj.py : http://www.romhacking.net/utilities/1025/

Re: [GC][Req] Luigi's Mansion .mdl?

Posted: Sun Dec 07, 2014 11:22 am
by shakotay2
onelove1210 wrote:Hello, i'm beginner in model[...]
use mdl2obj.py @@ it got an error: module numpy not found.
Hi,
python is not the very best way to get 3D models being a beginner (imho).

Download numpy
https://pypi.python.org/pypi/numpy
and try to get it working with your python installation.
(Python package distutils is required, too.
I didn't use numpy so far so there might be other caveats.)
So can we have another choice to open .mdl of LM?
Yep, analyzing from scratch using hex2obj for example
- but it doesn't make sense here having an existing python solution.

Re: [GC][Req] Luigi's Mansion .mdl?

Posted: Sun Dec 07, 2014 1:37 pm
by onelove1210
shakotay2 wrote: Hi,
python is not the very best way to get 3D models being a beginner (imho).

Download numpy
https://pypi.python.org/pypi/numpy
and try to get it working with your python installation.
(Python package distutils is required, too.
I didn't use numpy so far so there might be other caveats.)
OMG, SF is maintenanced at the moment, and no alternative link
Would you mind helping me with hex2obj to open the sample file? i don't know much about it

Re: [GC][Req] Luigi's Mansion .mdl?

Posted: Sun Dec 07, 2014 2:43 pm
by shakotay2
reinventing the wheel is a waste of time. A solution exists - you should wait.

Anyway - you'll need to exercise the tutorial sample (tut button) to understand hex2obj.
(It's a helper tool for simple models only, not a one-click-solution.)

Here's a point cloud (no face indices) from baby.mdl:
babe_PtCloud.jpg

Re: [GC][Req] Luigi's Mansion .mdl?

Posted: Wed Dec 10, 2014 5:44 am
by onelove1210
sorry for my late, i tried mdl2obj.py, and got an error :
" File "C:\texdump.py", line 1, in <module>
from PyQt4 import QtGui
ImportError: cannot import name QtGui"
Although i had downloaded PyQt4, any solutions?