Jump to content
mrpictolin

Layers generation problem (Can't load image from file 'P:\': file does not exist)

Recommended Posts

WhenI try to generate layers in terrain builder, I get this error: 

 

 Can't load image from file 'P:\': file does not exist.
 Layers generation - PNGOVerlapV3Style.cpp    bool V3PictureDataMod::LoadFromFile( const char* filename = "P:\" ) Unable to open the image file.
 Layers generation - Unable to load the file "P:\".

 

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

Looking at your config I would assume you are trying to use 4 colors per cell. That is wrong. Use either 6 or 5 plus the sat(if you have a sat normal map). Those are the options for arma3. You also do not need the texture = path/to/your/texture. 

 

Just leave that line as texture="";

 

Also there is plenty of replys explains why. Or I think it is even on the pmc wiki if you want to learn why. I just don't want to retype it all out here again 

Share this post


Link to post
Share on other sites

Hi m1lkm8n, thanks for your reply, I made all your advices but I still having the problem... and I don't find on internet or topics the solution for my problem

Share this post


Link to post
Share on other sites

Can you repost your config with the updates and provide a link via pastebin. 

 

Also is your p drive set up properly?

 

and could you post a screen shot of your export setting screens in terrain builder. 

Share this post


Link to post
Share on other sites

Did you setup the P drive with arma tools or mikero arma3p? There is lots of false info going around due to youtubers

  • Like 1

Share this post


Link to post
Share on other sites

Hi, I check all the P drive, reinstall terrain builder, buldozer, etc. I only use Arma tools, among other things becouse I'm really noob making maps for Arma 3...

 

m1lkm8n, until this moment I don't have any config, only "data" and "source" folders, as said before, I'm really noob in all of this.

 

The only thing that I can make so you don't waste time is upload all the files to mega for you can see what I have.

 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×