ModelConverterX command line arguments

Related imageModelConverterX supports a number of command line arguments, for example to load a file at startup or to start a batch convert. I have now added a few extra command line arguments to give more flexibility. Below example usages are given.

Loading object

To load an object at startup of ModelConverterX you can just specify the filename you want to load.

modelconverterx.exe your_object.mdl

Loading object with specific livery

If you are loading an aircraft object and want to specify which livery to show initially, you can add the livery option to specify the name of the livery to select.

modelconverterx.exe your_object.mdl -livery selected_livery

Batch process file

In the batch convert wizard you can save the batch settings to file. You can then call this file from the command prompt to apply it to the object you specify.

modelconverterx.exe -batch batch_settings.mbc your_object.mdl

You can convert multiple objects at once by specifying them all.

modelconverterx.exe -batch batch_settings.mbc your_object.mdl your_object2.mdl your_object3.mdl

 

4 thoughts on “ModelConverterX command line arguments

  1. Pelle Liljendal says:

    Bloody nice 🙂

  2. RHuck says:

    First question:

    I must be doing this incorrectly. This is my command:

    “E:\ModelConverterX.exe” -batch config.mbc dae\model1.dae dae\model2.dae dae\model3.dae only converts model3.

    Second question:

    Is there any support for globbing or wildcards? I’d love to be able to just have it convert a directory of models rather than specifying each one.

    • arno says:

      Are you sure you use the recent build? Before only one model was supported from the command line.

      Wildcards are currently not supported, but that would be a good idea.

Leave a Reply to arno Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.