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

ModelConverterX alpha 01 release

Discussion in 'ModelConverterX' started by arno, 3/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
    Here is the first alpha release of the ModelConverterX tool. Let me start with a warning, I tested the tool on some of the API objects I have laying around here, but I can certainly not yet guarantee that it will work on your API macros as well. As this is a first test release, you might have some crashes or errors. If you don't like that, you'd better wait for a more stable version. If you don't care, please test and let me know about all errors and problems you find. That will help in improving the tool.

    For this first version the installation is quite simply, just unzip the file to wherever you want. Please note that one DLL file needs registering, so I made a batch file (register.bat) to do that for you. So please run that batch file, as else the 3D preview will not work.

    There is no manual yet, so let me describe the main features:

    Import: The file menu import option allows you to import a new file. Currently supported are API, SCM and SCA files.

    Export: The file menu export option allows you to export the object you have loaded as a X file that you can compile with XtoMDL. You will have to do the compilation manually for the moment (in future versions it will be done in the background).

    All other menus don't really contain something useful yet (the Options in the Tools menu do nothing for now for example).

    The navigation in the 3D window is also quite simple. Hold down the left mouse button to rotate the object and the right mouse button to pan it. With the mouse wheel you can zoom in and out.

    So far for the manual. As this is the first alpha release, there are some known bugs. I'll list the most important here:

    • Not all SCASM commands are implemented yet. If you have a object without too many special features I think it should work. But please report back any problems you have.
    • I noticed that on an object with double sided polygons, the second side was not read in correctly (problem with the normal I guess), so it only showed single sided.
    • The shading of ShadedPoly and ShadedTexPoly polygons does not work correctly yet, so they appear unshaded for the moment.

    That are the most important bugs I can think of for now, but I am sure you will be able to find some more. So if you want, please test the tool so that we can improve it together. Thanks already,
    Last edited: 9/9/07
  2. Ayrsimming

    Ayrsimming

    Joined:
    2/1/05
    Messages:
    110
    Country:
    scotland
    ModelConverterX

    Hi Arno

    I was very much looking forward to your latest tool as I have many, many API files which need updating for current use. However I have so far had no luck in opening any of my files in your tool.
    As a test I have created a simple textured box with Novasim and saved as API file and then tried to import into ModelconverterX. Here is what I am getting and this has been the result with most files I have tried, although the messages at the bottom have varied.

    URL=http://imageshack.us][​IMG][/URL]

    Maybe I am missing something obvious here!

    Iain
    Scotflight
  3. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    Did you read this sentence from my original post? Not registering that DLL will give the result your screenshot shows.

  4. Ayrsimming

    Ayrsimming

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

    Yes, actually I did read your instruction and I ran the batch file and I have ran it again and received a 'successful' message but sadly the situation with the import of the object has not changed from the screen I sent earlier.

    Iain
    Scotflight
  5. pascal72

    pascal72

    Joined:
    3/11/04
    Messages:
    18
    Country:
    france
    hi All,

    thank you very much Arno for this new tool..:)

    At the moment on my computer, Model ConverterX doesn't seem to convert my old simple EOD objects ( api or scm formats) : the software is freezing after loading the macro.

    It can read with success simple fsds2 api : I must try the whole process to test the mdl..

    Best regards , pascal
  6. bertvk

    bertvk

    Joined:
    22/6/04
    Messages:
    332
    Country:
    netherlands
    Hi Arno & Iain,
    I got the same negative results after doing exactly the same as Iain...
    Regards
    Bert
  7. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    Could you maybe send me your test object? Then I can try it here and see if the same things happen.
  8. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    Could you provide a sample of such a EOD macro so that I can debug the tool?

    I think most macros I tested until now have been either FSDS1 or FSDS2 so that might explain why they work better :).
  9. Ayrsimming

    Ayrsimming

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

    I have attached my test object.
    Do you require texture/s files?

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

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Thanks Iain, no I should be fine without the textures as well. I know if can not crash on not finding them :).
  11. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    After taking a quick look at the API I think I know what is crashing it, the texture list contains some math for the texture scale. I will have to if my parser likes that, but I guess not. I'll report back once I tested it in more detail.
  12. pascal72

    pascal72

    Joined:
    3/11/04
    Messages:
    18
    Country:
    france
  13. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Thanks Iain and Pascal, the sample macros from you have helped a lot.

    I can now read the API from Iain correctly, and for the collection of Pascal I am still working it. But these extra samples are great to hunt bugs with.

    I hope to have an update ready by tomorrow that will not crash that often anymore :).
  14. Ayrsimming

    Ayrsimming

    Joined:
    2/1/05
    Messages:
    110
    Country:
    scotland
    ModelConverterX alpha 01 release Reply to Thread

    Hi Arno

    Good to hear of your progress.
    Look forward to your update:)

    Iain
    Scotflight
  15. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    Just a little update. I made some progress today, but not at much as I hoped. So I will not be able to release the update today as I posted. That means it will be on Sunday (because tomorrow I am spending most of my day on my bicycle, participating in a nice ride).
  16. bertvk

    bertvk

    Joined:
    22/6/04
    Messages:
    332
    Country:
    netherlands
    Have a nice ride Arno!

    bye
    Bert
  17. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,347
    Country:
    netherlands
    New version is available here. I can load all API macros you have submitted into it correctly. And I have also added some other improvements.

    Let's continue the discussion in the new thread.
Thread Status:
Not open for further replies.

Share This Page