Sh0rty 10 Posted January 7, 2021 Hello Everyone, i seem to have a Problem with my layers.cfg, atleast that's what pboProject thinks... ..File shrty\shrty_santmarteen\source\layers.cfg: Expected ';' or ':' or '{' after classname Failed. View->output logs for shrty\shrty_santmarteen shrty_santmarteen.pbo not produced due to error(s) Anyone spot something weird in my cfg? class Layers { class shrty_grass { texture = ""; material = "shrty\shrty_santmarteen\data\shrty_grass.rvmat"; }; class shrty_ocean { texture = ""; material = "shrty\shrty_santmarteen\data\shrty_ocean.rvmat"; }; class shrty_beach { texture = ""; material = "shrty\shrty_santmarteen\data\shrty_beach.rvmat"; }; class shrty_stone { texture = ""; material = "shrty\shrty_santmarteen\data\shrty_stone.rvmat"; }; }; class Legend { picture = "maplegend.png"; class Colors { shrty_grass[] = {{ 0, 100, 0 }}; shrty_ocean[] = {{ 0, 0, 255 }}; shrty_beach[] = {{ 255, 255, 0 }}; shrty_stone[] = {{ 255, 0, 0 }}; }; }; Share this post Link to post Share on other sites
m1lkm8n 411 Posted January 7, 2021 At the very end you need one final }; to close out class Legend Share this post Link to post Share on other sites
Sh0rty 10 Posted January 7, 2021 28 minutes ago, m1lkm8n said: At the very end you need one final }; to close out class Legend Really? Where exactly? i thought the sum of { and } added up (7 open, 7 close)... Edit: Also, pboProject says no to this solution... Share this post Link to post Share on other sites
RoF 241 Posted January 7, 2021 Run pboproject with noisy option. Also its best not to save your source folder in the map folder, pboproject cant delete it then by mistake. Also stops it checking your layers.cfg which is pointless Make a new folder somewhere, and in TB > file > save as and save it there instead. Then move your layers.cfg to the new folder and change map frame to use that file instead of the old one. Then delete your old source folder and stop worrying about pboproject checking layers.cfg / deleteing your map Share this post Link to post Share on other sites
RoF 241 Posted January 7, 2021 This might explain it better if you dont get what I mean https://armadocs.gitlab.io/terrain/03project/1folder/ Share this post Link to post Share on other sites
Sh0rty 10 Posted January 7, 2021 I tried your solution, but the outcome is the same, it just wont pack, telling me i am missing a semicolon in either the layers.cfg or the config.cpp ... i checked both, everything seems ok... Share this post Link to post Share on other sites
RoF 241 Posted January 7, 2021 23 minutes ago, Sh0rty said: I tried your solution, but the outcome is the same, it just wont pack, telling me i am missing a semicolon in either the layers.cfg or the config.cpp ... i checked both, everything seems ok... If you tried my way then it won't check layers.cfg as its not in the folder... Share this post Link to post Share on other sites
Sh0rty 10 Posted January 7, 2021 Well, it comes up with this problem now... 21:14:57: Extensions: "</texheaders>" class CfgPatches { class shrty_santmarteen { units[] = {}; weapons[] = {}; requiredVersion = 1; requiredAddons[] = { "A3_Map_Stratis" }; }; }; class CfgWorldList { class shrty_santmarteen{}; }; class CfgWorlds { class Stratis class shrty_santmarteen: Saint Martin rapify x64UnicodeVersion 1.76, Dll 6.44 "config.cpp" In File shrty\shrty_santmarteen\config.cpp: Line 23 Expected ';' or ':' or '{' after classname Line 23 is : class shrty_santmarteen: Saint Martin and if i put a semicolon behind it, i get the same error... Share this post Link to post Share on other sites
RoF 241 Posted January 7, 2021 Use the barebones pmc config and test with that https://pmc.editing.wiki/doku.php?id=arma3:terrain:ultimate-terrain-tutorial#configcpp Share this post Link to post Share on other sites
RoF 241 Posted January 7, 2021 Also make sure you are using latest mikero tools https://mikero.bytex.digital/Downloads Share this post Link to post Share on other sites