> I have no idea how to use this converter. Can somebody help me with this?
That ^
This was already written in the initial post but just in case
WARNING: this is not meant for casual users. Really, only SDK writers should use this as there is no guarantee it is complete, and if you install a plugin that has any kind of syntax error, you have to wipe the Application cache and/or the Browser cache! This means you loose any projects you've saved in local storage!
You're not supposed to use it if you don't know how you should use it. If you end up breaking your stuff you'll be the only one responsible.
Now, you use it with CMD or Powershell just like written again, in that same initial post.
Usage:
-masterblaster inputDirectory outputDirectory
This lets you point the tool to one top level directory and it will process all plugins in that directory. (ie: C2/../plugins) Outputs to the output-directory.
-noScirra -masterblaster inputDirectory outputDirectory
Same thing but it will skip Scirra plugins. Good to try third-party plugins in your plugin directory.
inputDirectory outputDirectory
Processed a single plugin and outputs it to output-directory
inputDirectory outputDirectory "pluginCategory"
Processed a single plugin and outputs it to output-directory. Sets the plugin category in plugin.js to the specified value. Must be one of the values specified in the SDK manual.
No code is migrated, only the properties and ACE definitions. Language mappings are all uniquely identified. No extra (.js) files are added. I'm not sure how to support that yet.
Use the Visual Studio editor to check all JSON files. It points out errors before you upload them.
Example:
C2C3AddonConverter.exe -noscirra -masterblaster "C:\Program Files\Construct 2\exporters\html5\plugins" "C:\C3pluginStagingArea\C3conversions"[/code:2zr321y6]
[code:2zr321y6]
C2C3AddonConverter.exe "C:\C3pluginStagingArea\C2originals\bht_smart_random" "C:\C3pluginStagingArea\AutoGen\C3_bht_smart_random" "data-and-storage"[/code:2zr321y6]