Jump to content
Sign in to follow this  
Baron von Beer

Bulldozer (OA.exe) stuck on "preparing surface materials" after sat/mask import

Recommended Posts

Ok, got the basic stuff done, work folder setup using OA.exe. (Copied the folders in, depbo'd the 3 from DTA into P:\root (Bin, Core, Languagecore) etc, presumably it was all good because I could fire up buldozer fine with just the elevation data in place (XYZ grid imported)

So, got my Sat_Lco png & mask ready, mask was just a single layer, using brown. I simply wanted to be able to see the elevation with the satelite layer to see in 3d how it was lining up. Going over the background image method through visitor wasn't really ideal for this.

So, imported the sat & mask (legend & layers.cfg also ready). Import goes fine. So, launch buldozer. It does it's thing converting the pngs to paa without a hitch, but, it just doesn't start afterward. The "Preparing surface materials" text shows, the line goes back and forth for a bit and then just stops. Doesn't crash, CPU is still showing 50% (assume 1 core maxed), but buldozer never actually opens the map.

FWIW, map grid was 2048,

cell size 6

area 12288m X 12288m, sat & mask both the same.

Texture size 48m

Sat grid 64, sat segment 512.

The one texture & rvmat (from a tutorial on here) used in the layers.cfg is residing in p:\myprojectname\mapname\data The layers folder is in data, with the thousands of png, paa & Rvmat files present. Opening some of the paa's up they look fine.

Map pew is in P:\projectname the sat & mask etc were in the source folder.

Any ideas of where to start looking for a cause greatly appreciated.

Should I revert back to plain Arma2 used for buldozer? Tried reimporting twice, but after an hour or so each same end result. Double then triple checked through the tutorials and my file structure, and didn't see anything out of place. :confused:

And an unrelated question: Since I imported the elevation data using an xyz grid, do I still need a pdl file? I only saw them mentioned in conjunction with greyscale png elevation imports. Without one, prior to the sat import troubles, the elevations looked fine in buldozer, just hard to judge things when it's all plain white. I should have known I'd turn an "easy" import of the satelite imagery into a multi hour fiasco. :)

Edited by Baron von Beer

Share this post


Link to post
Share on other sites

Hm...

i had that problem too as i mentionend in another thread. When i used arma2OA from version 1.55 or 1.56 and the files from dta i was not able to get bulldozer running in visitor. My solution was: deinstall arma20a, install and patch to 1.54 copy the desired files to my pdrive etc.... then i patched the game to i.56. That leaves the files on p:\ untouched

Make a backup of your needed 1.54 files for the future.

I think most of us are not using the latest arma2oa.exe for their buldozer because they have setup their p:\ drive earlier.

Share this post


Link to post
Share on other sites

I've noticed the same issue moving from 1.54 to 1.56. Looking on DEV HEAVEN for reports...

Share this post


Link to post
Share on other sites

Ok.. so at the moment its: playing with version 1.56, visitor needs 1.54 not higher...but oxigen does not have any problems with 1.56

Share this post


Link to post
Share on other sites
Ok.. so at the moment its: playing with version 1.56, visitor needs 1.54 not higher...but oxigen does not have any problems with 1.56

By the way bulldozer is not frozen. It's really slow after loading objects, and freezes for a couple of seconds or some minutes, but after this time it will come back alive and fully functional.

EDIT: Issue reported on DH http://www.dev-heaven.net/issues/16047

Edited by shezan74

Share this post


Link to post
Share on other sites

Yeah, I launched buldozer before going to bed and let it run overnight and at some point it finally started. No idea how long it actually took, but I waited a full 15 minutes for it to start before initially posting the issue. Though it loaded, there were more issues waiting with open arms. :)

When I checked it this morning after it did finally load, the satellite texture still wasn't present, the terrain was a flat dark gray (not like the whitish pre-sat import, but near black) and there was very strange & delayed lighting. Like thick fog staring into a spotlight, and the lighting would slowly adjust over ~20 seconds each time I changed pitch and rotate. I can only assume that though it made it to 3d, it was still having some serious issues. (There was nothing close to resembling this strange lighting & fog when I went to 3d prior to the sat import, and buldozer loaded within ~5 seconds.

Hoping to be able to give 1.54 a shot tonight and see if that does the trick. Will post results when I do. And again, thanks for all the info. Very much appreciated.

Edited by Baron von Beer

Share this post


Link to post
Share on other sites

1.54 does fix the load time. FWIW, I grabbed OA Beta 72967 and was able to use the files within that, don't need to do a whole reinstall. (Download beta patch, extract it. Then use 7zip, etc to extract the exe that was in the zip file. Then extract the exe that is extracted from the initial exe, might have to manually open 7 zip and tell it to extract, at that point it no longer had the right click context menu, but it will still extract it. ;) Then the ultimate path is ARMA2_OA_Build_72967\.rsrc\0\RCDATA\ALL the oa.exe is in there, and then expansion\beta has the dta folder)

With those files, it loads in ~30 seconds, much better than >15 minutes. Still no textures though, the terrain is still dark gray. Just to verify, my sat_LCO and mask were 8 bit RGB png files, is this correct? Next guess, in Visitor if I hit the "terrain types" button (upper right, bottom row, 2nd to left) the map shows as all blue. This wouldn't mean water by any chance would it, and if so, how might I change that? I was under the impression that was done automatically to anyplace <0m alt, which shouldn't be an issue for me. Believe my lowest point, and visitor shows this, is ~1450m

Those are my only 2 guesses so far, as the data\layers folder seems to have everything in it, bunch of mask & sat .paa files, and rvmats.

Edited by Baron von Beer

Share this post


Link to post
Share on other sites

Hm... if you see terrain in buldozer but without textures (or only dark) you may want to delete the contents of your layers folder and do a complete sat and mask reimport with your new Arma2oa files.

Maybe you just open some of the .paa files in you layers-folder and look if they show some sat or some mask... you can also open some of the rvamt files and look where they are pointing at....

Share this post


Link to post
Share on other sites

Did check that. the SAT tagged png/paa files looked correct, chunks of the overall sat_lco file, with the terrain on there. The mask tagged files were very small 4x4 pixel brown squares. The mask file is solid brown, did a single layer, brown RGB values used from the tutorial, and same values set to that paa texture/layer in the layers .cfg. Will try it as yellow, can see if a general re import or mask colors are to blame here.

The rvmats were pointing to the png files still, will also change those to the correct paa file after a reimport. Was under the impression this only mattered when it came time to binarize and actually import into the game, but might have misread.

PS, for anyone who may be unfamiliar with the program and dreads having to convert the png/paa line in rvmats, you can grab notepad ++ (freeware), open a bunch and do a replace operation to all open files in one click rather than plodding through them one at a time in windows notepad. ;) http://notepad-plus-plus.org/ It also runs MUCH faster if you ever work with large text files in general, eg a 50 meg file loads in seconds, while windows notepad has a heart attack.

Share this post


Link to post
Share on other sites

I don´t know how old your tutorial is but you don´t have to change any rvmat files in your layers folder. I remember this was mentioned in a very old tutorial.....

When you start buldozer for the first time after reimporting your sat and mask it should begin converting every .png to .paa.

After that you should see your map in Buldozer...

Share this post


Link to post
Share on other sites

Yeah, it converts the files from png to paa when first firing up buldozer, I thought I had alter the rvmat references, which at that point still pointed to png files. I hadn't done it yet, but thought I had to do that prior to binarizing (not that I'm anywhere near that point, so I hadn't done it yet). So when I binarize will it fix those lines in the rvmats automatically?

I had several tutorials I saw referenced on here, and several posts on here referencing that rvmat text edit, so assumed it was needed. Glad to hear if it isn't, not that I'm anywhere near to that point, and from the looks of things may never get to it... :)

Moving to plan B and trying a new "map" with sat file to see if I can get any sat_lco to show up, and hopefully figure out why it doesn't want to work on my real map. Half a dozen attempts and every one nets me the matte dark grey/black finish.

Thanks for taking the time to try and help me through the maze. :)

Share this post


Link to post
Share on other sites
I thought I had alter the rvmat references, which at that point still pointed to png files.

No, Visitor and BinPBO should cover all that for you. No one should need to run any special edits or batch files, its all done for you if you source files are setup correctly.

Before I regenerate a new lot of "Layer" directory files, I always completely delete all old files in there ...... its just a "just-in-case" type thing I do ;) May not be nessisary.

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  

×