Problem when trying to build real world data terrain

ArmA 3 editing; configs, modeling, missions, textures, terrain etc.

Moderators: Lone Wolf, Snake Man

Post Reply
Erik21
Newbie
Posts: 9
Joined: 2022-08-11 21:03:20
Gaming Interests: ArmA 3
Editing Interests: All, I (try) to edit everything.

Problem when trying to build real world data terrain

Post by Erik21 » 2022-08-16 15:39:42

Hey

I have encountered two problems while working through the tutorial.

1. When i try to use "OSM_Places_CSV2HPP" to convert the csv file, it crashes as soon as i click on "Qgis" an select my file

2. Where do i get my sattelite mask from (the yellow picture)

Thanks for your help :)

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: Problem when trying to build real world data terrain

Post by Snake Man » 2022-08-19 09:55:34

Erik21 wrote:
2022-08-16 15:39:42
1. When i try to use "OSM_Places_CSV2HPP" to convert the csv file, it crashes as soon as i click on "Qgis" an select my file
Can you 7-zip the CSV and send it to me and I'll try to run it to see whats going on. You can email the file to me.
2. Where do i get my sattelite mask from (the yellow picture)
Its a simple single color "blank" image, create it in GIMP.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Erik21
Newbie
Posts: 9
Joined: 2022-08-11 21:03:20
Gaming Interests: ArmA 3
Editing Interests: All, I (try) to edit everything.

Re: Problem when trying to build real world data terrain

Post by Erik21 » 2022-08-19 19:00:04

Alright, Will do.

Thanks

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: Problem when trying to build real world data terrain

Post by Snake Man » 2022-08-20 08:58:58

Here is global mapper exported transformed_places.csv file:

Code: Select all

X,Y,LABEL,osm_id,code,fclass,population,name
200221.139,22207.742,Stawiszcze,31786979,1004,hamlet,200,Stawiszcze
219976.188,3419.430,Łęki-Kolonia,3009774749,1004,hamlet,0,Łęki-Kolonia
217951.912,20369.003,Łętków,3009774750,1050,locality,0,Łętków
And here is yours:

Code: Select all

fid,cat,osm_id,code,fclass,population,name
"1","1","26759080","1002",town,"0",Voitsberg
"2","2","26759287","1002",town,"4856",Köflach
"3","3","34911644","1002",town,"7983",Deutschlandsberg
As you can see your CSV is missing X and Y coordinates completely. Yeah PMC OSM Places CSV2HPP Converter tool crashes as its got no error checking, but the source issue here is your CSV is missing data.

Its been a long time since I last used QGIS, probably when I wrote PMC ArmA 3 Terrain Real World Data Tutorial, let me know how QGIS saves X and Y coordinates.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Erik21
Newbie
Posts: 9
Joined: 2022-08-11 21:03:20
Gaming Interests: ArmA 3
Editing Interests: All, I (try) to edit everything.

Re: Problem when trying to build real world data terrain

Post by Erik21 » 2022-08-22 19:03:35

Thanks for your help, I now found out why the coordinates were missing, i haven't put a tick in a checkbox where it needed one.

But now i have another problem, I am at the point where i do the Terrain Processor Shapefiles.

Where do i put the downloaded .tpp files? in my tut\tut_austria_40km\source\TerrainProcessor directory?
And then i just need to open every .tpp file in Terrain Processor and click on run?

Thank you in advance

Erik21
Newbie
Posts: 9
Joined: 2022-08-11 21:03:20
Gaming Interests: ArmA 3
Editing Interests: All, I (try) to edit everything.

Re: Problem when trying to build real world data terrain

Post by Erik21 » 2022-08-22 21:33:14

I have managed to work my way through but i get an error when trying to build my addon in "pboProject"...
scanning for pbos to make....
Processing \ATL\tut_austria_40km...
<scanning files to pack>
validating \ATL\tut_austria_40km\source\layers.cfg
ok
..................
<building a land class list from unbinarised wrp contents>
.
cannot fopen 'ca\rocks2\R2_Boulder1.p3d'
cannot open `ca\rocks2\R2_Boulder1.p3d`

invalid/faulty file

R2_Boulder1.p3d invalid/faulty file
.
</endscan>
preprocessing files produced an error

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: Problem when trying to build real world data terrain

Post by Snake Man » 2022-08-23 11:26:11

Where do i put the downloaded .tpp files? in my tut\tut_austria_40km\source\TerrainProcessor directory?
Yes.
And then i just need to open every .tpp file in Terrain Processor and click on run?
Yes.
cannot fopen 'ca\rocks2\R2_Boulder1.p3d'
That means the terrain WRP is using CUP terrains core object models but you forgot to unpack the addons.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Erik21
Newbie
Posts: 9
Joined: 2022-08-11 21:03:20
Gaming Interests: ArmA 3
Editing Interests: All, I (try) to edit everything.

Re: Problem when trying to build real world data terrain

Post by Erik21 » 2022-08-23 18:06:41

That means the terrain WRP is using CUP terrains core object models but you forgot to unpack the addons.
Where do i get the missing files from?
And where do I have to put them in order to get a successful pboProject build?

Thank you :)

Snake Man
Commander-In-Chief
Posts: 9338
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: Problem when trying to build real world data terrain

Post by Snake Man » 2022-08-24 17:21:58

CUP ArmA 3, there click download button on the top that takes you to the download page.

Where do you put them, well search PMC Editing Wiki about unpacking CUP with Mikeros ExtractPbo, there is a page for it.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Erik21
Newbie
Posts: 9
Joined: 2022-08-11 21:03:20
Gaming Interests: ArmA 3
Editing Interests: All, I (try) to edit everything.

Re: Problem when trying to build real world data terrain

Post by Erik21 » 2022-08-25 17:38:57

I haven't found the tutorial but i still managed to get CUP working.

But now i get following error when building the addon:
pbo exceeds 2gig
</MakePbo>makepbo failed: pbo exceeds 2gig
Is there any way to still pack it and to handle this error?

Erik21
Newbie
Posts: 9
Joined: 2022-08-11 21:03:20
Gaming Interests: ArmA 3
Editing Interests: All, I (try) to edit everything.

Re: Problem when trying to build real world data terrain

Post by Erik21 » 2022-08-25 18:45:14

OK, i have now managed to get a working terrain.

The problem was, that there was loads of data in the temp / cache, thats why the addon was so big

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests