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

ModelConverterX alpha 03 release

Discussion in 'ModelConverterX' started by arno, 28/9/07.

Thread Status:
Not open for further replies.
  1. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Hi,

    Here is a new alpha version of ModelConverterX. Main difference with the previous version is that I fixed some bugs. For example API macros with multiple Area (and EndA) commands in them should now load fine.

    As I changed some code so that the produced X file is now also valid if you have the decimal character set to comma (you still need that character set to dot to be able to compile with XtoMDL though).

    Still on my wishlist are support for multiple objects in one file and export as MDL instead of X file (so that you don't have to compile manually). But as I am away for my work the next week, I did not want to uphold this version until I have added that as well.
    Last edited: 1/1/08
  2. Ayrsimming

    Ayrsimming

    Joined:
    2/1/05
    Messages:
    110
    Country:
    scotland
    Hi Arno

    Here is my latest error report trying to compilefrom X to Mdl.
    Seems to point to a problem with the GUID.

    Iain
    Last edited: 10/4/09
  3. bertvk

    bertvk

    Joined:
    22/6/04
    Messages:
    332
    Country:
    netherlands
    Hi Arno,
    I converted the attached api and the image shows the result...
    It's up to you to judge the result!
    Can i use this x file with XtoMDL and then the output MDL in any design?

    Regards
    Bert
    Last edited: 13/5/08
  4. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Can you post the X file again? The file you posted before worked fine for me, but maybe this one has another problem.
  5. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Hi Bert,

    I don't know how your API is supposed to look of course, but it seems the 3D viewer can not find all textures. But saving as X file and compiling that to a MDL will probably still show them all in FsX.

    And yes, of course you can save as X file and use that in your design. That is the purpose of the tool :).
  6. Ayrsimming

    Ayrsimming

    Joined:
    2/1/05
    Messages:
    110
    Country:
    scotland
    Hi Arno

    I have attached the X file, although it's still the same one as you tried before!

    Iain
    Last edited: 10/4/09
  7. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Hi Iain,

    That is weird, as the one you send me before compiles fine here with me (or at least at home, I am now away for work, so can not test it again).

    Are you able to compile other files with XtoMDL without problems? For example a sample file from the SDK?
  8. Ayrsimming

    Ayrsimming

    Joined:
    2/1/05
    Messages:
    110
    Country:
    scotland
    Hi Arno

    Sorry for the delay, but I have been away from home for the past five days.
    I have used Gmax with the FSX Gamepack and compiled objects without problems, which, as I understand, is using XtoMdl.

    Can you confirm the line I should be using with the Command Prompt please. Maybe that's where I am going wrong.

    Iain
  9. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Hi Iain,

    No problem, I just got home from my trip for work as well. I'll retry your X file here and if it works let you know how I compiled it.
  10. flyingjock1

    flyingjock1

    Joined:
    12/10/07
    Messages:
    25
    Arno

    Ive got FS2004 and FSX Standard version loaded on my pc.

    Love the idea of a programme that can convert apis to files that can be used inside FSX.

    Reading thru the threads all i can see if references to the FSX tools folders.

    Just wondering if i can use your program using the basic fs2004 that ive got to hand. My apologies if this has been asked before.

    Thanks

    Tom
    Scotland
  11. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Hi Tom,

    Not really sure what you mean with that question. The tool does not operate directly with Fs2004 or FsX. It uses the sources files that designers use to make their scenery. So it can read an API macro file and create a FsX style X file so that you can compile it to MDL object.

    Hope that answers your question,
  12. flyingjock1

    flyingjock1

    Joined:
    12/10/07
    Messages:
    25
    Arno

    Thanks for getting back to me.

    Apologies if i sound daft but was thinking about the XtoMDL program. Is that not in the deluxe FSX edition only.

    Tom
  13. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Hi Tom,

    Yes, you are right. I missed that you wrote you had FsX Standard. For the moment that means you can not use this tool, as the compiler that is needed only comes with the Deluxe version.
  14. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Hi Iain,

    Sorry for the delay.

    I just tried it again and your file compiles fine here. The syntax I used was simply:

    XtoMDL testbox.x
  15. flyingjock1

    flyingjock1

    Joined:
    12/10/07
    Messages:
    25
    Hi Arno

    Thought that might be the case.

    I understand all the stuff about copyright etc etc but do you if there is any available freeware out there that would do the same job as XtoMDL.

    Thanks again

    Tom
  16. Ayrsimming

    Ayrsimming

    Joined:
    2/1/05
    Messages:
    110
    Country:
    scotland
    Hi Arno

    I appreciate you have been very busy lately, so thanks for getting back to me.
    I thought the line must be wrong and indeed I was missing out the.x at the end. My test file compiles now to mdl and displays okay in FSX.
    Will now try some other objects from my collection.

    Thanks again

    Iain
  17. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Hi Tom,

    In this thread an "open" version of XtoMDL is announced. I did not try it with ModelConverterX yet, but it might be worth a try in your case.
  18. flyingjock1

    flyingjock1

    Joined:
    12/10/07
    Messages:
    25
    Thanks Arno

    I'll do some reading and give it a try.

    Tom
  19. sparker256

    sparker256

    Joined:
    11/5/07
    Messages:
    132
    Country:
    unitedstates
    Trying to convert a *.scm file and am getting the following error.

    Attached Files:

  20. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Hi Bill,

    Could you send me the SCM file? It seems you have found an unsupported command or so. If I have your file I can debug the problem (and hopefully fix it as well).
Thread Status:
Not open for further replies.

Share This Page