Jump to content
Sign in to follow this  
Donny

Material File & Unknown Terrain Material

Recommended Posts

Hello,

since a few days, after I worked my self through Bushlurkers Tutorial, I started to went for my own project.

I used the source files of Bushlurker, like renaming etc in his tutorial.

So there are no Problems by viewing the Terrain in Bulldozer and Visitor 3

like here :

http://i1142.photobucket.com/albums/n611/Wiz15/Test12.jpg

But ingame I became an Error Message, and the Rpt gets Quite bigger

Here is an Picture of the Ingame View

http://i1142.photobucket.com/albums/n611/Wiz15/Test11.jpg

and some copies from my Rpt:

Warning Message: Cannot load material file doy\baghlan\data\layers\p_005-010_l00.rvmat.

Cannot load material file doy\baghlan\data\layers\p_005-010_l00.rvmat

Warning Message: Cannot load material file doy\baghlan\data\layers\p_006-010_l00.rvmat.

Cannot load material file doy\baghlan\data\layers\p_006-010_l00.rvmat

Warning Message: Cannot load material file doy\baghlan\data\layers\p_007-010_l00.rvmat.

Cannot load material file doy\baghlan\data\layers\p_007-010_l00.rvmat

Warning Message: Cannot load material file doy\baghlan\data\layers\p_008-010_l00.rvmat.

Cannot load material file doy\baghlan\data\layers\p_008-010_l00.rvmat

Warning Message: Cannot load material file doy\baghlan\data\layers\p_009-010_l00.rvmat.

Cannot load material file doy\baghlan\data\layers\p_009-010_l00.rvmat

Warning Message: Cannot load material file doy\baghlan\data\layers\p_010-010_l00.rvmat.

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

Unknown terrain material

If I am going to look into my Binarize Log, there are Only the Updating base class things and

<world = "p:\doy\baghlan\Baghlan.wrp">

I have used the search before and found the same problem, but an reinstall of the binarize tool cant solve the problem.

Greetings Donny

Share this post


Link to post
Share on other sites

Hi Donny....

OK.... it's working - and looking good! - in Visitor, so that probably means the problem lies somewhere in the post-visitor binarize stage...

First thing to check is that your "Layers" folder actually is being created in the correct place - that's a parameter I often forget myself... you'll check that in Visitor, under "Tools\Project Preferences"... in the window that pops up, make sure you have...

Folder: Textures

(p:\)doy\baghlan\data

... the other parameter slots can be left blank...

That path defines where the "Layers" folder is created... make sure it's correct...

If it isn't, then change it like above, then reimport Sat & Mask, then open buldozer and let it recreate the whole layers folder contents in the correct place - then "export world" and you should be ready for binarizing...

launch BinPbo and make it look like this...

donny.jpg

those "files to copy directly" in full are...

*.pac;*.paa;*.rtm;*.sqf;*.sqs;*.bikb;*.ext;*.fsm;*.wss;*.ogg;*.wav;*.fxy;*.csv;*.html;*.lip;*.txt;*.sqm;*.bisurf

Then try binarizing again...

let us know how it goes....

B

Share this post


Link to post
Share on other sites

Hi, thanks for answer :)

I repeatet the steps you said an checked the layers folder.

Everything is like it has to be.

I depbo the file and found that the missing Material isnt in the layers folder, but all is on right place.

So I watched into my projects folder to the Layers and the missing Material file p_xxxx is like an *.rvmat everyone of it, the others the s_xxx and the m_xx are png or paa files.

I opend one of the rvmat and they are linked to the S and M files.

http://i1142.photobucket.com/albums/n611/Wiz15/error1.jpg

I have taken a screenshot from it.

Maybe this could be the failure?

Share this post


Link to post
Share on other sites

I'm not so sure which is your error, but I can tell that any mistake regarding maps textures has to be checked in the code of following files:

1 - Layers.cfg (usually inside "source" folder)

2- Config.cpp (inside map proyect folder next to both "data" and "source" folders)

3- CfgSurfaces.hpp (often this file is called by config.cpp with #include command, and is located next to config.cpp)

4 - CfgClutter.hpp (same as before... if the two last files are not present, probably their code is already inside config.cpp)

5- *.rvmat (inside "data" folder -important: not "data\layers" folder- for every texture you have defined in layers.cfg)

Those files that you mention inside "data\layers" folder are OK, i mean, they are not the problem itself but a symptom...

Those tiny s_*.png and m_*.png are made when you import Sat and Mask pics from big png image and after that those png are converted to *.paa when launching buldozer...

If you change a tiny part of your sat or mask png file and then reimport, Visitor will make the corresponding new tiny png files -only for those that were changed- and then buldozer will convert them to paa for the sake of game performance...

If you don't expect to change your sat and/or mask files after *.paa files are made, you can get rid of every tiny png file inside your "...data\layers" folder... since they won't be needed anymore... in fact, you may delete them but they could be made again if you make a further reimport introducing changes... understood?

Also, you have to check for every path to be addressed to your current project as Bush already said and this apply for every file to be located as those paths show... often times we make mistakes regarding path or missing files, so do not worry it's a common mistake but not a serious one...

So, you have to check that your * _co.paa, *_mco.paa, *_nopx.paa and/or *_nohq.paa files remain inside "data" folder -not "data\layers"- and that every corresponding rvmat is correctly written... I recommend to use Notepad++ which is freeware and simplify our lives when dealing with this kind of issues...

hope this may help you...

Saludos!

EDIT:

There are several causes for that kind of error:

Warning Message: Cannot load material file doy\baghlan\data\layers\p_010-010_l00.rvmat.

One of them, is probably related to some texture file which is not defined inside layers.cfg, I mean, you may have some texture file that is not properly defined inside Layers.cfg (wrong path?, missing file?, missing or different color on mask_lco.png??)

But, for sure, that is not related to what's inside your "data\layers" project folder... it's related to those files already mentioned... I lost whole days when learning from basic mistakes stuff, so you can copy&paste your corresponding files to search for that hidden mistake... it's just a matter of experience...

EDIT2:

Another thing: Since these warnings are dealing with some parts and not the whole thing, I am sure that this error comes from some definition regarding your mask_lco.png file... if you pay attention to those corresponding tiny pngs you may find that your mask file has some info that is missing or wrong (only those parts)...

For learning purposes, you might make an empty black mask (RGB=0,0,0) and then define only one texture related to this black color... reimport the whole thing with this new mask (you may name it as you want, but keep _lco.png sufix) and then you won't have any warning message... capisce?

Edited by Robster

Share this post


Link to post
Share on other sites

Hi Robster, thanks for the good explanation about the ongoing with the layers.

So I think I need them to delete and let them convert new.

I also checked the .hpp files and the #include command in the config, its everything there :confused:

I have thought about it a little bit and I cant understand why binpbo dont pack this p_xx files too, so I have now unpacked the packed Island pbo, grab those p_xx files copy it to the unpacked pbo folders into data/layers.. and repacked it.

Loaded in modstring and everthing goes fine, Game started, no Errors.

But an really Error Fixing isnt it, when I think that I have to do this with every repacking :j:

Now I see that my Satmap needs a huge overwork :)

http://i1142.photobucket.com/albums/n611/Wiz15/test13.jpg

By the way, I have reInstalled those Bi-Tools today twice, since friday evening I got this error with the material, didnt worked on it on saturday, today I watched back into it, wanted to convert and import sat and masc, and then the bulldozer dont creat any layers, dont know why..

Then I reinstalled all, after that my binpbo doesnt work.. another reinstall.. now it works.. (better than before) really crazy stuff :butbut:

Edit:

One of them, is probably related to some texture file which is not defined inside layers.cfg, I mean, you may have some texture file that is not properly defined inside Layers.cfg (wrong path?, missing file?, missing or different color on mask_lco.png??)

Yeah first I have the problem that Bulldozer doesnt show up the Textures on ground and I find out that it was an Problem of the RGB Colour I choose on mask_lco.png and dont define them in my Layers.cfg, first I thought this would be the fix of my main error, but it dont seem to be, and so on every texture is correct linked to layers cfg and also the other files where it needs to be.

I am thinking about my mass of Problems with Bi Tools errors, maybe Binpbo dont work probably, dont know.

Edited by Donny

Share this post


Link to post
Share on other sites

hahaha!!!!

When begining, I always accused to BIS tools for any unexpected behaviour, but today I can tell that those are my own mistakes the most of the time... BIS Tools are not perfect, but as soon as you get the basics you begin to enjoy the bl**dy thing...

Anyway, I do not recommend to introduce further amendments directly inside layers folder once you have binarized your pbo because that have showed weird errors to me... as you said: really crazy stuff

EDIT: Anytime you run BinPBO those rvmats are somehow linked to paa file and that's the reason you may get errors after unpacking pbo and replace things without a proper binarization... Anyway, when I am testing some new texture I always unpack the pbo and then I change some texture file (i.e.: polopoust_co.paa) for a new one but keeping the same name... then repack again and it works like a charm... just to do a "quick" test...

Edited by Robster

Share this post


Link to post
Share on other sites

Try again from scratch Donny...

Sometimes BinPBO does do odd things, though like Robster says - generally, the tools do do the job they're supposed to...

Check over all your paths in Layers.cfg, cfgSurfaces.hpp - check the mask colours in Layers.cfg correspond to the mask... check the individual ground texture .rvmats too!

Then go to P:\doy\baghlan\data\ - and DELETE your current "Layers" folder...

Also go to P:\bin_temp and DELETE the whole "doy" folder you'll find there....

That gets rid of any leftover old stuff which could be causing problems...

Then - reimport Sat & Mask - start Buldozer and let it generate all the files - and finally, while Buldozer is open - "Export World"...

Then try BinPBO again - all settings as above....

I've had this "missing blahblahblah.rvmast" error once or twice and fixed it simply by running BinPBO twice - assuming all other parameters are definitely correct....

Give it a try anyway - let us know how it goes.....

B

Share this post


Link to post
Share on other sites

Ok, now it works..

You dont want to know what my problem was..

Yesterday I have checked all pathes, hpps cfgs.. and so on.

Then I am went to recheck every step, until get to the installation itself..

wow and there was the greatest bug -> the user :rolleyes:

I have downloaded BI Tools from this thread

http://forums.bistudio.com/showthread.php?t=94222

in the mind of that would be the correct BI Tools Version?

No there you get only the old Version 2.0

Then I began to google for the BI Tools itself and found the Version 2.51

Installed them, oh look there is an arma2"OA" Bulldozer and also the exe Icons of Arma2"OA".

So and thats the way all it goes.. I repeat the Steps with importing sat & mask.. went to Binarize with binpbo watched into the Log and found this pretty entry:

....................doy\baghlan\data\layers\p_003-015_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_003-015_l02.rvmat

doy\baghlan\data\layers\p_008-006_l01.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_008-006_l01.rvmat

doy\baghlan\data\layers\p_005-021_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_005-021_l02.rvmat

doy\baghlan\data\layers\p_021-008_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_021-008_l02.rvmat

doy\baghlan\data\layers\p_019-018_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_019-018_l02.rvmat

doy\baghlan\data\layers\p_007-018_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_007-018_l02.rvmat

doy\baghlan\data\layers\p_011-014_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_011-014_l02.rvmat

doy\baghlan\data\layers\p_005-005_l00_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_005-005_l00_l02.rvmat

doy\baghlan\data\layers\p_013-020_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_013-020_l02.rvmat

doy\baghlan\data\layers\p_004-004_l00_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_004-004_l00_l02.rvmat

doy\baghlan\data\layers\p_000-001_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_000-001_l02.rvmat

doy\baghlan\data\layers\p_013-003_l01_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_013-003_l01_l02.rvmat

doy\baghlan\data\layers\p_020-000_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_020-000_l02.rvmat

doy\baghlan\data\layers\p_013-011_l00_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_013-011_l00_l02.rvmat

doy\baghlan\data\layers\p_000-016_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_000-016_l02.rvmat

doy\baghlan\data\layers\p_007-004_l01_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_007-004_l01_l02.rvmat

doy\baghlan\data\layers\p_004-019_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_004-019_l02.rvmat

doy\baghlan\data\layers\p_007-000_l01_n.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_007-000_l01_n.rvmat

ca\plants_e\clutter\data\c_plants.rvmat->P:\bin_temp\ca\plants_e\clutter\data\c_plants.rvmat

doy\baghlan\data\layers\p_011-006_l01_n.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_011-006_l01_n.rvmat

doy\baghlan\data\layers\p_008-010_n_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_008-010_n_l02.rvmat

doy\baghlan\data\layers\p_012-018_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_012-018_l02.rvmat

doy\baghlan\data\layers\p_009-015_n_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_009-015_n_l02.rvmat

doy\baghlan\data\layers\p_018-012_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_018-012_l02.rvmat

doy\baghlan\data\layers\p_003-011_l01_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_003-011_l01_l02.rvmat

doy\baghlan\data\layers\p_020-017_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_020-017_l02.rvmat

doy\baghlan\data\layers\p_017-004_n_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_017-004_n_l02.rvmat

doy\baghlan\data\layers\p_008-010_l01_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_008-010_l01_l02.rvmat

doy\baghlan\data\layers\p_019-001_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_019-001_l02.rvmat

doy\baghlan\data\layers\p_004-008_l01_n.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_004-008_l01_n.rvmat

doy\baghlan\data\layers\p_013-007_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_013-007_l02.rvmat

ca\plants_e\clutter\data\c_grass_bunch_02.rvmat->P:\bin_temp\ca\plants_e\clutter\data\c_grass_bunch_02.rvmat

doy\baghlan\data\layers\p_015-013_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_015-013_l02.rvmat

doy\baghlan\data\layers\p_003-013_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_003-013_l02.rvmat

doy\baghlan\data\layers\p_008-004_l01.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_008-004_l01.rvmat

doy\baghlan\data\layers\p_021-006_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_021-006_l02.rvmat

doy\baghlan\data\layers\p_004-006_n_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_004-006_n_l02.rvmat

doy\baghlan\data\layers\p_019-016_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_019-016_l02.rvmat

doy\baghlan\data\layers\p_003-006_n_l01_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_003-006_n_l01_l02.rvmat

doy\baghlan\data\layers\p_007-016_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_007-016_l02.rvmat

doy\baghlan\data\layers\p_010-008_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_010-008_l02.rvmat

doy\baghlan\data\layers\p_010-015_l01_n.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_010-015_l01_n.rvmat

doy\baghlan\data\layers\p_007-007_l01_n.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_007-007_l01_n.rvmat

doy\baghlan\data\layers\p_017-021_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_017-021_l02.rvmat

doy\baghlan\data\layers\p_004-008_l01_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_004-008_l01_l02.rvmat

doy\baghlan\data\layers\p_004-002_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_004-002_l02.rvmat

doy\baghlan\data\layers\p_000-014_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_000-014_l02.rvmat

doy\baghlan\data\layers\p_017-004_l00_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_017-004_l00_l02.rvmat

doy\baghlan\data\layers\p_010-013_n_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_010-013_n_l02.rvmat

doy\baghlan\data\layers\p_010-006_n_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_010-006_n_l02.rvmat

doy\baghlan\data\layers\p_004-017_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_004-017_l02.rvmat

doy\baghlan\data\layers\p_003-003_l00_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_003-003_l00_l02.rvmat

doy\baghlan\data\layers\p_016-006_n_l02.rvmat->P:\bin_temp\doy\baghlan\data\layers\p_016-006_n_l02.rvmat

Convert world p:\doy\baghlan\Baghlan.wrp -> P:\bin_temp\doy\baghlan\Baghlan.wrp

This wanst there before..

and thats exactly the files that were missing at first...

Shame on me, and thanks for your good will to help me :rolleyes:

Without any errors:

http://i1142.photobucket.com/albums/n611/Wiz15/Test15.jpg

Thank you :)

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
Sign in to follow this  

×