Jump to content
56Curious

Terrain Builder Refusing Files

Recommended Posts

This is an extract from the skype chat for terrain makers.

 

Getting an error in my map frame properties, tried looking on the fourms but only found issues that had an actual file path.
Error is as follows:
"Can't load image from file 'P:\': file does not exsist."
"Layers generation - PNGOVerlapV3Style.cpp bool V3PictureDataMod::LoadFromFile( const char* filename = "P:\") Unable to load from file"
"Layers generation - unable to load the file "P:\"."
 I have setup my P drive correctly, I am sure of it. I've tried restarting and re-mounting but that doesn't work either. if I can't get help here, i'll have to copy it onto the fourms.

I typed out the layers.cfg again to see if that would fix it, as well as double checking the file paths.

I useally have the P drive open on PC startup, if I'm away from PC and it times the elevation stage out, I open A3 tools and mount the P drive.

 

Share this post


Link to post
Share on other sites

Post your layers and pictures of samplers etc

Share this post


Link to post
Share on other sites

Layers.cfg:

Please bare inmind, there is only one texture right now as I just wanted to generate layers to make sure it was doing so correctly. It has done this before, but I must have touched something at some point.

 

class Layers
{
	class cur_uahuka_grass_yellow
	{
		texture = "Projects\ua_huka\terrain builder\data\Cur_dirt_co.paa";
		material = "Projects\ua_huka\terrain builder\data\Cur_UaHiva_dirt.rvmat";
	};
};

class Legend
{
	picture = "Projects\ua_huka\terrain builder\source\surfacemaplegend.png";
	class colors
	{
		cur_uahuka_grass_yellow [] = {{255,255,0}};
	};
};

I wasn't sure what you mean't by samplers (Still new to terrain building) so I grabbed stuff I thought you meant?

 

http://imgur.com/a/aXfl3

^ ignore the Gdt files, they were there to test something.

As above, I have been able to generate layers before, did it a few times infact, however I opened it up the next day and it broke.

Share this post


Link to post
Share on other sites

Layers.cfg:

Please bare inmind, there is only one texture right now as I just wanted to generate layers to make sure it was doing so correctly. It has done this before, but I must have touched something at some point.

 

class Layers
{
	class cur_uahuka_grass_yellow
	{
		texture = "Projects\ua_huka\terrain builder\data\Cur_dirt_co.paa";
		material = "Projects\ua_huka\terrain builder\data\Cur_UaHiva_dirt.rvmat";
	};
};

class Legend
{
	picture = "Projects\ua_huka\terrain builder\source\surfacemaplegend.png";
	class colors
	{
		cur_uahuka_grass_yellow [] = {{255,255,0}};
	};
};

 

 

Share this post


Link to post
Share on other sites

I thought i'd show you what bulldozer displays, This is all i've ever seen, without the damn thing crashing.

 

 

Share this post


Link to post
Share on other sites

What's going on here

Projects\ua_huka\terrain builder\data\Cur_UaHiva_dirt.rvmat

Files should be in yourTag\mapName then it should be source and data. ground textures etc go in data, your masks etc go in source. I'm wondering if its your weird file layout thats playing it up. Looks like you got files all over the place maybe and that will cause trouble if not now then later.

 

Map samplers is the map frame settings etc. Post the Cur_UaHiva_dirt.rvmat

Share this post


Link to post
Share on other sites

As for the buldozer bug, it can't find the texture. Like I said above, I think your file layout is a mess maybe

Share this post


Link to post
Share on other sites

I'll rework the file structure at some point soon. here is the RVMAT

 

ambient[]={1,1,1,1};
diffuse[]={1,1,1,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="P:\Projects\Ua_Huka\Terrain Builder\data\Cur_UaHiva_dirt.paa";
	uvSource="tex";
	class uvTransform
	{
		aside[]={5,0,0};
		up[]={0,5,0};
		dir[]={0,0,0};
		pos[]={0,0,0};
	};
};

 

Share this post


Link to post
Share on other sites

Another question, as to RVMATs, I've just grabbed a template and adjusted the texuture file path, but the person I saw had a program to adjust them? Could this cause an issue?

Share this post


Link to post
Share on other sites
texture="P:\Projects\Ua_Huka\Terrain Builder\data\Cur_UaHiva_dirt.paa";

 

Dont EVER use P:\ in your file paths, Most likely why its bugging out.

 

Also follow the guides in my sig, youtube ones are most likely out of date or just plain wrong

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

×