Swedish Pyromaniac 0 Posted June 20, 2018 Whenever I try to generate layers in terrain builder, I get this error: 23:57:44: Can't load image from file 'P:\': file does not exist. 23:57:44: Layers generation - PNGOVerlapV3Style.cpp bool V3PictureDataMod::LoadFromFile( const char* filename = "P:\" ) Unable to open the image file. 23:57:44: Layers generation - Unable to load the file "P:\". Here is my layers.cfg: class Layers { class swp_samavia_sand { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_sand.rvmat"; }; class swp_samavia_grass1 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass1.rvmat"; }; class swp_samavia_grass2 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass2.rvmat"; }; class swp_samavia_grass3 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass3.rvmat"; }; class swp_samavia_grass4 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass4.rvmat"; }; class swp_samavia_grass5 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass5.rvmat"; }; class swp_samavia_grass6 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass6.rvmat"; }; class swp_samavia_grass7 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass7.rvmat"; }; class swp_samavia_grass8 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass8.rvmat"; }; class swp_samavia_grass9 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass9.rvmat"; }; class swp_samavia_grass10 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass10.rvmat"; }; class swp_samavia_grass11 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass11.rvmat"; }; class swp_samavia_grass12 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass12.rvmat"; }; class swp_samavia_grass13 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass13.rvmat"; }; class swp_samavia_grass14 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass14.rvmat"; }; class swp_samavia_grass15 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass15.rvmat"; }; class swp_samavia_grass16 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_grass16.rvmat"; class swp_samavia_gravel1 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_gravel1.rvmat"; }; class swp_samavia_gravel2 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_gravel2.rvmat"; }; class swp_samavia_gravel3 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_gravel3.rvmat"; }; class swp_samavia_mud { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_mud.rvmat"; }; class swp_samavia_stone1 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_stone1.rvmat"; }; class swp_samavia_stone2 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_stone2.rvmat"; }; class swp_samavia_stone3 { texture = ""; material = "swp\swp_samavia_terrain\data\swp_samavia_stone3.rvmat"; }; }; class Legend { picture = "maplegend.png"; class Colors { swp_samavia_sand[] = {{ 230, 230, 120 }}; swp_samavia_gravel1[] = {{ 175, 160, 130 }}; swp_samavia_gravel2[] = {{ 175, 160, 131 }}; swp_samavia_gravel3[] = {{ 175, 161, 131 }}; swp_samavia_grass1[] = {{ 156, 194, 75 }}; swp_samavia_grass2[] = {{ 158, 198, 90 }}; swp_samavia_grass3[] = {{ 155, 195, 90 }}; swp_samavia_grass4[] = {{ 160, 200, 90 }}; swp_samavia_grass5[] = {{ 140, 185, 70 }}; swp_samavia_grass6[] = {{ 140, 185, 72 }}; swp_samavia_grass7[] = {{ 110, 190, 80 }}; swp_samavia_grass8[] = {{ 140, 195, 80 }}; swp_samavia_grass9[] = {{ 150, 180, 80 }}; swp_samavia_grass10[] = {{ 150, 195, 80 }}; swp_samavia_grass11[] = {{ 160, 195, 80 }}; swp_samavia_grass12[] = {{ 170, 180, 70 }}; swp_samavia_grass13[] = {{ 170, 190, 80 }}; swp_samavia_grass14[] = {{ 130, 192, 80 }}; swp_samavia_grass15[] = {{ 120, 190, 80 }}; swp_samavia_grass16[] = {{ 110, 180, 80 }}; swp_samavia_mud[] = {{ 200, 170, 100 }}; swp_samavia_stone1[] = {{ 120, 121, 120 }}; swp_samavia_stone2[] = {{ 120, 120, 120 }}; swp_samavia_stone3[] = {{ 80, 80, 80 }}; }; }; Share this post Link to post Share on other sites
RoF 240 Posted June 20, 2018 swp_samavia_grass16 is missing a }; Share this post Link to post Share on other sites
Swedish Pyromaniac 0 Posted June 20, 2018 9 hours ago, RoF said: swp_samavia_grass16 is missing a }; Thanks, It worked. Much appreciated. Share this post Link to post Share on other sites
mrpictolin 18 Posted July 10, 2018 Hi, I'm having the same problem and I really don't know how to resolve this !! Here is my code; class Layers { class gdt_rock { texture = "S_A\data\gdt_rock_co.paa"; material = "S_A\data\gdt_rock.rvmat"; }; class gdt_beach { texture = "S_A\data\gdt_beach_co.paa"; material = "S_A\data\gdt_beach.rvmat"; }; class gdt_forest { texture = "S_A\data\gdt_forest_co.paa"; material = "S_A\data\gdt_forest.rvmat"; }; class gdt_runway { texture = "S_A\data\gdt_runway_co.paa"; material = "S_A\data\gdt_runway.rvmat"; }; class gdt_grass_short { texture = "S_A\data\gdt_grass_short_co.paa"; material = "S_A\data\gdt_grass_short.rvmat"; }; class gdt_reddirt { texture = "S_A\data\gdt_reddirt_co.paa"; material = "S_A\data\gdt_reddirt.rvmat"; }; }; class Legend { picture="S_A\Source\mapLegend.png"; class Colors { gdt_rock [] = {{255, 0, 0}}; gdt_beach [] = {{255, 255, 0}}; gdt_forest [] = {{255, 0, 255}}; gdt_runway [] = {{0, 0, 255}}; gdt_grass_short [] = {{0, 255, 0}}; gdt_reddirt [] = {{0, 255, 255}}; }; }; and some pictures about my Terrain info; https://gyazo.com/d9d710839f4395ced697d939557b68d4 https://gyazo.com/80ffb9e6e96b470800fa8a85e5108d47 Share this post Link to post Share on other sites