PDA

View Full Version : Crashtree - No Granularity Specified


Brother23
23 Nov 2006, 06:56
After jumping over a few hurdles I saw this last END BOSS that stands
in my way of getting to the skies with my new plane.

What means this?

and

Where can I define such Granularity?


Greetings

Nodd
25 Nov 2006, 16:36
I get that message also. I'm not sure what it means either but the MDL works fine in FSX.

Brother23
26 Nov 2006, 05:25
Hi,

yes the whole process runs fine until it comes to this shitty granularity.

The next step was to think on polygonal errors in the plane model.

So I instead used geometric primitives. A cube and a sphere.

But only with the same result. With this method, I think, I have proved

that not my model is the reason but another yet unknown fact of

XTOMDL.

Can please someone show his onscreen dialogue when exporting from 3DSMAX?

Thats this screen with FS10 Materials, Skin Animation etc. Perhaps you

folks have the checkers on other points than me.

Greetings

Brother23
26 Nov 2006, 05:26
...I get no workable MDL out of that process. THE SIZE OF THE FILE KEEPS ZERO.

Greetings

Brother23
26 Nov 2006, 05:27
What Atrributes are you using with XTOMDL?

Greetings

robby88
26 Nov 2006, 15:07
The SDK mentions that no crashtree information is being generated from this version of xtomdl.exe, so that message is irrelevant for the time being. Just ignore it.

Brother23
27 Nov 2006, 03:27
...but I cant ignore with all my mighty power of the seven worldskies,

...

...that the resulting MDL File keeps -ZERO- in size.

So when the Crashtree can be ignored my error seems to be how I
access the MDL. I saw those tip for the SENT TO shortcut at AVSIM
but this doesnt work under my XP PROFFESIONELL. I have no SENT TO
at this location.

What do I have to do to get this shitty piece of microsoft software
to produce a usable MDL AIRCRAFT.

Please help!

Greetings

Nodd
27 Nov 2006, 18:03
Sorry to hear you're having a hard time compiling your aircraft Brother23. Here's what I do...

I made the following folder & placed these files in it:

http://www.scipie.com/games/fs/images/compile01.gif

I created a shortcut named "CompileAircraft with Animation" using the following settings:

http://www.scipie.com/games/fs/images/compile02.gif

Next I export an X file from 3DS MAX into my Compile folder. As my aircraft has animation it also creates an XAMIM file but you don't need to do anything with that.

http://www.scipie.com/games/fs/images/compile05.gif

Next I Drag & Drop the X file onto my shortcut. I don't do the "Send To" thing:

http://www.scipie.com/games/fs/images/compile03.gif

This brings up a DOS window where I see my aircraft being compiled. I do get that silly Granularity message but I ignore it.

http://www.scipie.com/games/fs/images/compile04.gif

I end up with my MDL file that I copy to my aircraft's FSX model folder. Hope this helps.

Brother23
29 Nov 2006, 12:07
I tried it...i doesn`t work. I had it already the same way.

Let overthink this.

I have the same C routine like you, from the deluxe FSX DVD.

Then I used a simple SPHERE PRIMITIVE to test. The X-File shows

fine in the DirectX-Preview.

But when I drag the File over the shortcut it produces only a File

with Size Zero.

There seems to be a subtle difference in our processing because

Xtomdl tells me everytime what attributes to use. There seems to

be a small error. But where.

Here is my SHortcut text...

%windir%\system32\cmd.exe /K C:\FSXAirCompiler\XToMdl.exe /DICT:C:\FSXAirCompiler\modeldef.xml

Its the same like yours, or?

Can it be the modeldef?

What DirextX Tools do you use?

Greetings

Nodd
30 Nov 2006, 00:47
The only difference between our XtoMDL.exe shortcuts other than the compiler folder name & that I'm using the /XANIM flag is that you used both upper & lower case letters here & there:

Mine
%windir%\system32\cmd.exe /K C:\foldername\xtomdl.exe /DICT:C:\foldername\modeldef.XML

Yours
%windir%\system32\cmd.exe /K C:\foldername\XToMdl.exe /DICT:C:\foldername\modeldef.xml

I doubt that's the problem though.

I'm using DirectX 9.0c

I know some people edit their modeldef.xml file. I've not changed mine. Perhaps try reinstalling the SDK?

I'm no expert at this stuff sorry. Good luck & I hope you figure out the problem soon.

Brother23
30 Nov 2006, 12:24
...I think I have to wait for the new SDK version.

Perhaps they have XTOMDL with GUI then.

Greetings

Ken42
23 Apr 2007, 12:15
You probably already found the solution, but anyway this worked for me...

[From the wiki]
1. XTOMDL.EXE generates only MDL-Files with ZERO SIZE -- International windows settings must be set to US (dot used as decimal character)

Cheers,
Kenneth