Allegiance MDL file library for .net

Discussion area for user-created Allegiance models, textures, voicechats, music, and other ingame content.
Your_Persona
Posts: 773
Joined: Sat Dec 04, 2004 8:00 am
Contact:

Post by Your_Persona »

Adaven wrote:QUOTE (Adaven @ Mar 23 2012, 10:09 PM) After having to monkey around a bit (I really fail at visual studio), I finally managed to use mdld a few times.


What I've noticed
1. acs01.mdl in my artwork folder is 12kb
2. If I extract it to a text mdl and run through mdlc

Code: Select all

mdld.exe /file=acs01.mdl /out=acs01text.mdl
mdlc.exe -optimze acs01text.mdl acs01compiled.mdl
Then acs01compiled is 139kb. This is the same result I got from running xmunge/mdlc (via makegeo.bat) using the MS .x files. As Compellor pointed out in another thread, apparently the texture is getting embedded in the compiled .mdl along with the model instead of referencing acs01bmp.mdl.

Has anyone ever figured a way around this?
I would also try the call to mdlc.exe WITHOUT the -optimize flag.

Also I think there is a little floating point error somewhere in the BinaryMDl -> TextMDL -> BinaryMDL Process.
When I do a diff on the original and the results after going thorugh the whole process I notice each float is off by 1.

I used beyond compare to check if the process is lossless, and its not quite there yet. Though it is likely not visible, but it may be if run through the process a lot of times.
-->>Elitism<<--
I'm not Hamlet. I don't take part any more. My words have nothing to tell me anymore.
Imago
Posts: 1440
Joined: Tue Sep 23, 2003 7:00 am
Location: Minneapolis, MN
Contact:

Post by Imago »

Your_Persona wrote:QUOTE (Your_Persona @ Mar 25 2012, 10:07 PM) floating point error
THAT WHORE ALWAYS SHOWS IT'S FACE :bang:
Image

These bugs haven't been fixed yet because don't have any developers interested in fixing them up. --Tigereye
Imago's stupid-sensor is supersensitive. --RealPandemonium
The art is managing the flow of the drama to achieve the desired results. --Big_Beta_Tester
joeld wrote:But we’ve been amazed at the level to which some of the Allegiance fans have remained hard-core.
Adaven
Posts: 1959
Joined: Sat Oct 25, 2003 7:00 am
Location: Greater Ozarks

Post by Adaven »

Compellor wrote:QUOTE (Compellor @ Mar 25 2012, 10:20 AM) As to compiling MDLC, there was one or two things I think I needed downloaded in order for that to compile without important errors, I'm sure a dev could help you. OTOH, I could just upload it to ftp.
Here, try this.
Thanks for the download. I thought I had compiled MDLC without any errors, but I had forgotten all the other helper programs for makegeo.bat
Compellor wrote:QUOTE (Compellor @ Mar 25 2012, 10:20 AM) Does the esc menu list the commands? I can't remember much about MDLedit, and can't seem to get it to work on my present computer.
I had to compile a fresh mdledit, the one in the zip you posted was giving me headaches as well. Unfortunately it doesn't list the keys in the esc menu. However, I tried mashing the keyboard and put my findings on the wiki.
Last edited by Adaven on Sat Mar 31, 2012 12:57 am, edited 1 time in total.
Post Reply