Thanks. Fixed, plus one more.
Request:
Please add "isDeprecated" field in ace.json to convert cf_deprecated, af_deprecated, ef_deprecated,
Request
Please add "file-list" field in addon.json, check official behavior example.
( I am not sure this field is necessary or not, official plugin example does not have this field but still worked fine )
Thanks for the great tool. It works fine for our 2 plugins except:
1. Combo parameters items mixed up sometimes: items from previous lists get in current list somehow.
2. Conditions with combo parameters are missing in output aces.json
'isDeprecated' now supported, and combo-param corruption fixed.
ThePhotons Your files actually have some bad syntax. I allow for some, but you are missing some semi-colons at the end of lines. You need to fix this in the source (re: missing conditions).
Hello blackhornet
Have you any idea why I have this error when I install plugin or behavior after conversion with your tool ?
I don't get this error with the official example : https://www.scirra.com/doc/c3sdk/behavi ... sdk-v1.zip
Thank you
v1.0.0.7 available.
I've stated repeatedly that this tool is not for casual users. There's no guarantee it will work, it can break your C3 install, and is only meant to get the process started for third-party developers. You should contact the developers to see if they will do the conversion.
Does this tool convert "AddVariadicParams" to "variadic" parameter type?
Edit:
"AddVariadicParams" is used in official function object for example.
rexrainbow
I missed this one, since it's not documented. However, cf_fast_trigger is also in there and I see no mapping to C3.
v1.0.0.8 available.
Thanks for your contribution!
Converter tool did not work when the target plugin has "AddVariadicParams" (ex. official function plugin).
Can you be more specific? Support was added, although I don't recall if I actually tested it fully. Trying now, I'm getting this error in C3: "display text for 'myaction0' missing placeholder '{...}' " but as far as I can tell, the conversion was correct.
Doh! Just figured it out. For variadics, you have to have a placeholder for the variable parameters in the form of "{...}".
"display-text": "Alert {0} {...}",[/code:o6rlmxs3] I'll try to get this fixed today.
Develop games in your browser. Powerful, performant & highly capable.
v1.0.0.9 available.