PDA

View Full Version : Convert from X file to MDL in FSX format


l52
06 Dec 2007, 03:45
Hi all

I use 3dsMax vers.6 to do little Lamp for airport ramp...I export it in .x format for FSX...but when I try convert it by XtoMDL utility of sdk of fsx, the file is empty it is 0 k of dimension.

In the lamp I did not use special textures or others things, I did only a cilinder with a spotlight on the top to look to down...
another thing...is this the correct procedure to project the beam of light on the ground?

In attach I send you a Lamp.x ..can you help me?
thanks

Lucio

decapod
06 Dec 2007, 03:58
Using the command line:

xtomdl lamp.x
OutputFile: lamp.MDL
Output file after modification: lamp.MDL
Creating output MDL file: lamp.MDL
CRASHTREE no granularity specified
CRASHTREE completed in 00:00:00.0779725

worked OK for me.

Paul

MatthiasGose
06 Dec 2007, 05:29
Hi,

the problem is the language.

It seems that the compiler doesn't work with other system languages than english ( I have the problem on my german system).
It took me hours to find it out.

1. Go to the system control, open the "Region and Language Dialog".
2. Change the System language to English / USA.
You will notice that all time information are displayed the english way but when you change back all is fine.
3. Compile your objects ( you maybe need to relaunch your command line tool ).

When you are done, change it back.

Greez from Germany,

Matthias

l52
06 Dec 2007, 07:21
Using the command line:

xtomdl lamp.x
OutputFile: lamp.MDL
Output file after modification: lamp.MDL
Creating output MDL file: lamp.MDL
CRASHTREE no granularity specified
CRASHTREE completed in 00:00:00.0779725

worked OK for me.

Paul

thanks

but what is "CRASHTREE no granularity specified
"CRASHTREE completed in 00:00:00.0779725

l52
06 Dec 2007, 07:22
thanks

but what is "CRASHTREE no granularity specified
"CRASHTREE completed in 00:00:00.0779725

are command?

Lucio

decapod
06 Dec 2007, 11:08
Not a command, that was the output to the screen from xtomdl.exe

Paul

l52
06 Dec 2007, 13:13
Not a command, that was the output to the screen from xtomdl.exe

Paul

thanks

I try it..and then I come back

arno
08 Dec 2007, 02:16
Hi,

the problem is the language.

It is not the language itself, but only the decimal character setting. In many European countries that is the comma, while in UK/US it is the dot. XtoMDL works only correctly with the dot, although from Acceleration pack/SP2 this should be solved I heard.

seaviper
10 Jul 2008, 20:51
thanks

but what is "CRASHTREE no granularity specified
"CRASHTREE completed in 00:00:00.0779725



I get this message when I run XtoMdl.exe too but seems to work fine.

Anyone know what this "granularity" deal is?

FelixFFDS
10 Jul 2008, 22:36
Arno -= He's using Max 6. The FS-X SDK was written for Max 7,8 and the latest SDK SP2 includes Max 9. Could it be that the problem is the exporter doesn't work with MAx6?

n4gix
11 Jul 2008, 12:57
Arno -= He's using Max 6. The FS-X SDK was written for Max 7,8 and the latest SDK SP2 includes Max 9. Could it be that the problem is the exporter doesn't work with MAx6?

Evidently that isn't a problem, Felix. Here is the header of the sample X file clearly showing that it was created by FSModelEXp... ;)

xof 0302txt 0032

// Direct3D .x file translation of Scene_Root
// Generated by 3DSMax FSModelExp Plug-in, Version 1.00
// Thu Dec 06 07:37:42 2007

arno
11 Jul 2008, 15:22
Arno -= He's using Max 6. The FS-X SDK was written for Max 7,8 and the latest SDK SP2 includes Max 9. Could it be that the problem is the exporter doesn't work with MAx6?

Nope as Bill already said. It is just the decimal character that the compiler fails to deal with correctly.