Jump to content
_SCAR

Buldozer: cannot load texture Formentera/data/layers/S_000_000_lco.paa

Recommended Posts

Hi All,

Despite all attempts I am unable to see my map in Buldozer. This is a pretty standard map.

 

These are my frame settings:

 

7kvaYlCveq.JPG

 

and this is how I generate layers:

 

wAq-Kd99Kg.JPG

 

This is my S_000_000_lco.png:

 

OlGLJYdhkL.png

 

and I've noticed that it generates a S_000_000_lco.paa which is empty:

 

6SrD7L-I3o.JPG

 

Here a link to file:

 

https://cldup.com/L9m_O2N05M.paa

 

This is my layers.cfg:

 

class Layers
{
	class formentera_seabed
	{
		texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
		material = "Formentera\data\formentera_seabed.rvmat";
	};
  	class formentera_beach
	{
		texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
		material = "Formentera\data\formentera_beach.rvmat";
	};
	class formentera_ground_rocky
	{
		texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
		material = "Formentera\data\formentera_ground_rocky.rvmat";
	};
	class formentera_stony
	{
		texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
		material = "Formentera\data\formentera_stony.rvmat";
	};
	 class formentera_dry_grass
	{
		texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
		material = "Formentera\data\formentera_dry_grass.rvmat";
	};
	class formentera_soil
	{
		texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
		material = "Formentera\data\formentera_soil.rvmat";
	};
  	class formentera_dirt
	{
		texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
		material = "Formentera\data\formentera_dirt.rvmat";
	};
	class formentera_mud
	{
		texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
		material = "Formentera\data\formentera_mud.rvmat";
	};
	class formentera_grass_green
	{
		texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
		material = "Formentera\data\formentera_grass_green.rvmat";
	};
  	class formentera_forest_pine
	{
		texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
		material = "Formentera\data\formentera_forest_pine.rvmat";
	};
	class formentera_concrete
	{
		texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);
		material = "Formentera\data\formentera_concrete.rvmat";
	};
};

class Legend
{
	picture="Formentera\source\mapLegend.png";
	class Colors
	{
		formentera_seabed[]={{255,255,255}};     // white
		formentera_beach[]={{205,114,0}};        // brown
		formentera_ground_rocky[]={{255,255,0}}; // yellow
		formentera_stony[]={{0,255,0}};          // green
		formentera_dry_grass[]={{0,255,255}};    // cyan
		formentera_dirt[]={{0,0,255}};           // blue
		formentera_mud[]={{166,0,255}};          // purple
		formentera_grass_green[]={{255,0,255}};  // violet
		formentera_forest_pine[]={{255,0,0}};    // red
		formentera_concrete[]={{0,0,0}};         // black
	};
};

and this is my standard material template:

 

ambient[]={1,1,1,1};
diffuse[]={0.25,0.25,0.25,1};
forcedDiffuse[]={0,0,0,0};
specular[]={0,0,0,0};
specularPower=1;
emmisive[]={0,0,0,0};
PixelShaderID="NormalMapDiffuse";
VertexShaderID="NormalMapDiffuseAlpha";
class Stage1
{
	texture="Formentera\data\formentera_beach_nopx.paa";
	uvSource="tex";
	class uvTransform
	{
		aside[]={5,0,0};
		up[]={0,5,0};
		dir[]={0,0,0};
		pos[]={0,0,0};
	};
};
class Stage2
{
	texture="Formentera\data\formentera_beach_co.paa";
	uvSource="tex";
	class uvTransform
	{
		aside[]={5,0,0};
		up[]={0,5,0};
		dir[]={0,0,0};
		pos[]={0,0,0};
	};
};

Things I've tried:

 

  • Using a normal map and exporting 5 + 1 (futura)
  • Changing tiles size (2048 or 1024)

 

Any input is warmly welcome.

 

Share this post


Link to post
Share on other sites

Ok I'm narrowing this down to the fact that the PNG file up here cannot be converted to PAA. Just give it a try, you should have an empty .paa:

 

https://cldup.com/OlGLJYdhkL.png

 

Any ideas why?

Share this post


Link to post
Share on other sites

Dont use .png, use .bmp. Also make sure everything is at the right coords

Share this post


Link to post
Share on other sites

I am using BMP. PNGs are automatically created by layer generation.

Share this post


Link to post
Share on other sites

Ok, I found PART of the culprit. This is strange de strange, so bear with me.

 

The background of my sat image is a uniform dark green color, as you can see in the png.

I found out that if, instead of a uniform color, I add a single pixel of a slightly different color within the png, then ImageToPaa succeeds in the conversion.

 

So I did just that: instead of adding a background uniform color, I created a 512x512px pattern that contain all pixels of my desired color except one, which has a slightly darker color (indistinguishable at bare eye). I then used this pattern as background of my satellite image.

The tiles are now generated successfully. I suspect there might be some weirdness in the image compression of paa, but who knows.

 

HOWEVER; this doesn't solve it for me. Buldozer is still unable to load the texture.

 

Share this post


Link to post
Share on other sites

Here:

 

O-HR-C9i5q.jpg

 

BUT GUESS WHAT?!

 

cP4A5BrWK1.jpg

 

I thought I was used to this Arma 3 bullshittery but I guess the story never ends.

Share this post


Link to post
Share on other sites

Have you been clearing your layers folder before exporting?

Share this post


Link to post
Share on other sites
1 minute ago, RoF said:

Have you been clearing your layers folder before exporting?

 

of course.

Share this post


Link to post
Share on other sites

I don't think having one colour in you sat map matters tbh, I used to use a all green one for a test map...

  • Like 1

Share this post


Link to post
Share on other sites

I don't know what to say. It's the usual once-a-week frustration that I unfortunately experience. :)

Share this post


Link to post
Share on other sites

Try making a new project, sometimes TB files can get corrupt

  • Like 1

Share this post


Link to post
Share on other sites

Not really sure why but: I originally used arma3p to unpack a3 and setup buldozer. I have now uninstalled that and regenerated my p:\ drive by using the standard arma tools to install buldozer and extract data.

 

All is good now. 

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

×