a month ago
Currently upgrading our addon to AC29. Here is a note to anyone using ResConv.exe tool explicitly, which took me quite a while to find out:
Calling ResConv.exe (of 29.3000 SDK) without the new -sc parameter produces empty output files, which makes AC crash at some point. As I understand it, -sc is only used on Mac, and in fact you can pass any value, which is not used on Windows. Therefore I consider this a bug that is hopefully fixed in some later SDK release.
If you use the official cmake-tools scrips then everything works out of the box, the parameter is added automatically, see here. The passed file does not exist, there is no error message, but the -sc parameter can't be omitted.
Solved! Go to Solution.
2 weeks ago
Hello,
You are both correct. The intention was as @Ralph Wessel mentioned, but without a crash. With Archicad 29.0.1 hotfix, there will come a new APIDevKit release, which will contain the fix, and it won't be a mandatory parameter on Windows.
Sorry for the inconvenience!
3 weeks ago
The additional parameters are for generating dark-mode equivalents for any add-on image/icon resources. While this is currently only relevant to macOS targets, I think it's reasonable to assume this could become cross-platform in future. Also, building add-ons cross-platform is simpler if you minimise differences in calls. I see this as forward-looking rather than a bug.
2 weeks ago
Hello,
You are both correct. The intention was as @Ralph Wessel mentioned, but without a crash. With Archicad 29.0.1 hotfix, there will come a new APIDevKit release, which will contain the fix, and it won't be a mandatory parameter on Windows.
Sorry for the inconvenience!