cchargin Posted May 15, 2004 Share Posted May 15, 2004 Hello all, I have written a Perl script that will load an .mdl and it's associated .mdx into a gui so you can view the data. This script does NOT decompile a model. This script does NOT compile a model. This script DOES read in all of the bytes of an .mdl and .mdx for viewing. Hopefully someone will look at the structure that has been figured out so far and recognize it so we can get it into a useable format. You can nab my script at: http://home.comcast.net/~cchargin/kotor/demdl0-6.zip Link to comment Share on other sites More sharing options...
tk102 Posted May 16, 2004 Share Posted May 16, 2004 Quick mention -- you browse for the .mdl file, but you must have the corresponding .mdx file in the same folder. Thanks for your work thus far cchargin. Link to comment Share on other sites More sharing options...
tk102 Posted May 16, 2004 Share Posted May 16, 2004 Now if we could try tweaking some values through your viewer -- make it into an editor -- maybe we could figure more stuff out... Link to comment Share on other sites More sharing options...
T7nowhere Posted May 16, 2004 Share Posted May 16, 2004 Well Im really glad your doing this, But I have a problem. I don't know perl or how to compile this script. IF you could compile it into an exe or something. It would relly help me. I tried to install perl but my brain is fried right now so I couldn't even figure out to install perl :confused: Link to comment Share on other sites More sharing options...
JedI_XtRmIsT Posted May 17, 2004 Share Posted May 17, 2004 ok i don't know how much help this will be but i found these sites giveing some insight on the .mdl format i'll look into the .mdx format in a few and edit this post with my findings The MDL Format http://www.graphics.cornell.edu/online/formats/mdl/ RadiosGL Documention-The MDL Format http://hcsoftware.sourceforge.net/RadiosGL/doc/mdl.html CFS2 Model File: MDL http://www.cfgse.calebflerk.com/MDL_File.htm Tools Deutsch http://members.aol.com/hschw92788/Tools_e.htm Quake Specs v3.1 http://www.gamers.org/dEngine/quake/spec/quake-spec31.html and lastly File Format http://www.geocities.com/agusmade/fileformat.html hope this helps edit ok here is what i found for .mdx format XBase My File Formats- the programmers file format mdx script for gmax JK2: MP Source the one above looks promiseing since it apears that it is used for modding JKO and JKA Link to comment Share on other sites More sharing options...
cchargin Posted May 17, 2004 Author Share Posted May 17, 2004 Hello all, Thanks to tk102 the following link now contains a compiled version of the script: http://home.comcast.net/~cchargin/kotor/demdl0-6.zip It is the same as the previous link, I just added the .exe to the .zip Hey JedI_XtRmIsT, thanks for the reasearch. Unfortunately .mdl is a file extension that means many things. The .mdl KOTOR uses is a slightly re-arranged version of the Never Winter Nights .mdl. For that format you can look at: http://www.torlack.com/index.html?topics=nwndata_binmdl That is the page that allowed me to write this script. Link to comment Share on other sites More sharing options...
JedI_XtRmIsT Posted May 17, 2004 Share Posted May 17, 2004 ok well i tried but one of those pages (don't remember which one) contains a script for gamx and i believe one for 3ds max that allows u to veiw and edit mdl and mdx files but i thought i'd help out a little Link to comment Share on other sites More sharing options...
T7nowhere Posted May 17, 2004 Share Posted May 17, 2004 It was still worth a try JX. I did a similar search even though I knew that what ever I found would be almost useless Ok so now we can see how it's all sorted Right? I've taken a look at several of the models and it looks more comprehensible than it does in a hex editor. So what is the next step? obviously we need to get it into a formatt that is useable by modeling apps. hmmm. any idea where to beggin? Link to comment Share on other sites More sharing options...
JedI_XtRmIsT Posted May 17, 2004 Share Posted May 17, 2004 well if u know anything about SCASM then check the "Tools Deutsch" link it gives u an app to convert it if not then just check the links too see if there is anything that u can understand and if not then i'll try to get more links posted again later i really hope i can help u all with this cuz there are a few "models" that i'd like to have made for this game that are not SW related namely Lita from the WWEi'd also like a few from the Jedi Knight games converted or made useable for KotOR Link to comment Share on other sites More sharing options...
svösh Posted May 18, 2004 Share Posted May 18, 2004 Here my little contribution I found this a while ago and have been trying to import an .mdl file in to max but it needs to have the .mdx info as well. They used this for nwn so I figure it's close to what we want. http://www.bricksbuilder.com/nwn/utils/ Every time I try to import to max I get an error telling me isn’t not a proper ASCII file There is also an other 3d app called 3D Game Studio it appears to use the mdl file format some thing to consider any ways. http://www.conitec.net/a4info.htm ( 3D Game Studio ) With enough people helping with this we just might be able to crack this model format problem. svösh Link to comment Share on other sites More sharing options...
Doom_Dealer Posted May 18, 2004 Share Posted May 18, 2004 ASCII is probably the part bioware changed, thats the reason we cant open them with conventional .mdl editors, because the kotor mdl has been slightly customised, i found a forum a while ago which had a load of clever prgrammers etc. and i found a few posts that might be of use. Im not entirely sure what they mod here, it seems they just make models or soemthing, but search the forum, i think it has been discussed, and you may be able to ask some members if you sign up: http://boards.theforce.net/board.asp?brd=10013 Link to comment Share on other sites More sharing options...
Arteale Posted May 18, 2004 Share Posted May 18, 2004 I was being selfish and only keeping this in our mod team, but here: MDL 3D Design Plus Model MDL Animation:Master 3D Model (Hash) MDL ASTi Model Builder MDL CA-Compete! Spreadsheet MDL Digitrakker Music Module MDL Half-life Model MDL MapShots Software MDL Moray Wireframe Model (SoftTronics) MDL Quake Model File MDL Rational Rose Object Design Model (IBM) MDL Simulink Simulation Model MDL Symbian OS MIME Type Library MDL 3D GameStudio Model Entity (Conitec Corporation) MDL RapidForm2000 Proprietary Format (INUS Technology, Inc.) MDX Borland Database Engine Index (Borland) MDX dBASE IV Multiple Index MDX Label Pro Re-Index (Avery) MDX Rational XDE Model (IBM) Link to comment Share on other sites More sharing options...
Doom_Dealer Posted May 18, 2004 Share Posted May 18, 2004 well that was nice, lol, which is your mod team??? i didnt know you were in one. does anyone know where we can get those tools? so we can test them. Originally posted by Arteale I was being selfish and only keeping this in our mod team, but here: MDL 3D Design Plus Model MDL Animation:Master 3D Model (Hash) MDL ASTi Model Builder MDL CA-Compete! Spreadsheet MDL Digitrakker Music Module MDL Half-life Model MDL MapShots Software MDL Moray Wireframe Model (SoftTronics) MDL Quake Model File MDL Rational Rose Object Design Model (IBM) MDL Simulink Simulation Model MDL Symbian OS MIME Type Library MDL 3D GameStudio Model Entity (Conitec Corporation) MDL RapidForm2000 Proprietary Format (INUS Technology, Inc.) MDX Borland Database Engine Index (Borland) MDX dBASE IV Multiple Index MDX Label Pro Re-Index (Avery) MDX Rational XDE Model (IBM) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.