Page 3 of 3

Posted: Mon Mar 26, 2012 3:07 am
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.

Posted: Tue Mar 27, 2012 5:29 am
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:

Posted: Sat Mar 31, 2012 12:56 am
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.