1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Convert from X file to MDL in FSX format

Discussion in '3D Objects General' started by l52, 6/12/07.

  1. l52

    l52

    Joined:
    10/1/05
    Messages:
    89
    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

    Attached Files:

  2. decapod

    decapod

    Joined:
    2/4/07
    Messages:
    132
    Country:
    england
    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

    Attached Files:

    • lamp.MDL
      File size:
      16.5 KB
      Views:
      182
  3. MatthiasGose

    MatthiasGose

    Joined:
    16/11/07
    Messages:
    19
    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
  4. l52

    l52

    Joined:
    10/1/05
    Messages:
    89
    thanks

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

    l52

    Joined:
    10/1/05
    Messages:
    89
    thanks

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

    are command?

    Lucio
  6. decapod

    decapod

    Joined:
    2/4/07
    Messages:
    132
    Country:
    england
    Not a command, that was the output to the screen from xtomdl.exe

    Paul
  7. l52

    l52

    Joined:
    10/1/05
    Messages:
    89
    thanks

    I try it..and then I come back
  8. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    20,579
    Country:
    netherlands
    Hi,

    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.
  9. seaviper

    seaviper

    Joined:
    3/11/06
    Messages:
    19
    Country:
    us-florida
    I get this message when I run XtoMdl.exe too but seems to work fine.

    Anyone know what this "granularity" deal is?
    Last edited: 11/7/08
  10. FelixFFDS

    FelixFFDS

    Joined:
    30/9/06
    Messages:
    1,614
    Country:
    puertorico
    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?
  11. n4gix

    n4gix Resource contributor

    Joined:
    26/9/06
    Messages:
    9,062
    Country:
    unitedstates
    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
  12. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    20,579
    Country:
    netherlands
    Nope as Bill already said. It is just the decimal character that the compiler fails to deal with correctly.

Share This Page