Users browsing this thread: 2 Guest(s)
Luigi's Mansion Model Format
#1
Don't know how many people are actually reverse engineering savvy without using helping programs, but I know I am. And well, a friend of mine has been wanting the Luigi's Mansion models since nobody ever bothered to actually document the format. At this point, I've made a script for 3DS Max that reads the verts directly from the .mdl files, but nothing else as I can't find the face data. If anyone here is savvy at file mapping, then please help me out here, haha. Here's what I've done for the model's spec thus far.

Code:
MDL Spec (Luigi's Mansion Model Files)

== File Header ==

0x00    4    Constant x04B40000
0x04    4    Unknown, possible size of something
0x08    2    Total of some sort
0x0A    2    Another total
0x0C    2    Another total
0x0E    2    Another total
0x10    4    Unknown, Possibly two shorts
0x14    4    Unknown, possibly two shorts
0x18    8    Null
0x20    4    Unknown
0x24    2    Total?
0x26    2    Total?
0x28    2    Total?
0x2A    2    Total?
0x2C    4    Null



==Offsets==

0x00    4    Offset to ID Structs?
0x04    4    Offset to possible vertex/mesh info?
0x08    4    Offset to Data after ID Structs
0x0C    4    Offset to unknown
0x10    4    Offset to data after previous data from the last pointer
0x14    4    Offset to last data section
0x18    4    Offset to Vertex Chunk
0x1C    4    Offset to Normals chunk
0x20    4    Offset to unknown
0x24    4    Offset to (Same as last offset)
0x28    8    Null
0x30    4    Offset to Bone Data Table
0x34    4    Null
0x38    4    Offset to possible weight data or something?
0x3C    4    Offset to struct data after "weight" data
0x40    4    Offset to struct data after previous data
0x44    4    Offset to data after previous data
0x48    8    Null

I have figured out what some of the data chunks resemble, but because I don't know what to call the data, I can't properly label it to map it. Nonetheless, if anyone here is good at this stuff, please help me out with this, haha.



EDIT: Here's a picture of the current progress of this ripping program.

[Image: 10hku8w.jpg]
I post stuff randomly. I hope you people like what gets posted.
Thanked by: peebocheeks


Messages In This Thread
Luigi's Mansion Model Format - by ItsEasyActually - 10-02-2011, 11:24 AM
RE: Luigi's Mansion Model Format - by Garamonde - 10-02-2011, 11:28 AM
RE: Luigi's Mansion Model Format - by Catley - 10-02-2011, 11:32 AM
RE: Luigi's Mansion Model Format - by Shadowth117 - 10-03-2011, 05:53 PM
RE: Luigi's Mansion Model Format - by Dazz - 10-14-2011, 02:46 AM
RE: Luigi's Mansion Model Format - by Garamonde - 10-14-2011, 03:33 PM
RE: Luigi's Mansion Model Format - by Catley - 10-14-2011, 05:04 PM
RE: Luigi's Mansion Model Format - by Luigimario - 11-05-2012, 07:36 PM
RE: Luigi's Mansion Model Format - by Previous - 11-06-2012, 02:24 AM

Forum Jump: