.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT > Campaigns, Scenarios & Maps
Notices


Reply
 
Thread Tools Display Modes
  #281  
Old January 14th, 2025, 12:38 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,603
Thanks: 4,042
Thanked 5,796 Times in 2,861 Posts
DRG will become famous soon enough
Default Re: Height Maps

Yeah it would be nice to know exactly how he downloaded the code

That said, I just tried a random search ( //www.venhola.com/maps/geo.php#44.15577044111034,41.994028549747384,0) and ended up in the area between the Black and Caspian seas but ( no surprise......) when I tried to DL the map the message.....

Quote:
Something went wrong, return value 2. Process returned:
Can't locate List/MoreUtils.pm in @INC (you may need to install the List::MoreUtils module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at contour.pl line 13.
BEGIN failed--compilation aborted at contour.pl line 13.
..appeared and the seach did NOT have a longitude is greater than 99

So if whoever this is found a way to get it to work there are a lot of people who would be interested

WHY he cannot register with Shrapnel is a mystery
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
The Following User Says Thank You to DRG For This Useful Post:
  #282  
Old January 14th, 2025, 12:51 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,603
Thanks: 4,042
Thanked 5,796 Times in 2,861 Posts
DRG will become famous soon enough
Default Re: Height Maps

HOLD ON

https://github.com/tvenhola/SPMBT-maps

Somebody more code tech savvy than me needs to look at this

THERE DOES SEEM TO BE CODE

Quote:
# SPMBT-maps
Satellite height data to WinSPMBT map utility

Requirements:
* Linux
* Perl (5.?)
* Perlmagick (imagemagick utility)
* SRTM3 map data files from the region of your choice from http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/

Installation:

Install the linux utlities perl and perlmagick:

Ubuntu and Debian:
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #283  
Old January 15th, 2025, 03:59 AM
zovs66's Avatar

zovs66 zovs66 is offline
First Lieutenant
 
Join Date: Mar 2011
Location: Ohio
Posts: 791
Thanks: 1,282
Thanked 576 Times in 313 Posts
zovs66 is on a distinguished road
Default Re: Height Maps

The fellow posted this:

"Here is the fixed script. Somewhere between line 190 and 200 is where the bug is, where it calls the heightmap files. Adjusting one of the "arrays" to allow an extra digit fixed it.

Do note that I cannot vouch it being bug-free, I am not proficient in Perl."


and:

"Do note also there is also an off-by-one bug when entering the longitude in the script. Still trying to debug it when I have the free time.
For example, entering N39.60354930809638, W105.0732811510434, increment longitude by 1, change it to W106.0732811510434
Mine created the map squarely right into where I wanted it, and made a map out of that area."


I have downloaded his script, but I don't have UNIX / LYNIX to run it.

So its sits on my hard drive.
__________________
ASL
Reply With Quote
  #284  
Old January 15th, 2025, 04:03 AM
zovs66's Avatar

zovs66 zovs66 is offline
First Lieutenant
 
Join Date: Mar 2011
Location: Ohio
Posts: 791
Thanks: 1,282
Thanked 576 Times in 313 Posts
zovs66 is on a distinguished road
Default Re: Height Maps -- The Fix ?

This is the file he posted, but I am not sure how to incorporate it into that repo or test it or to build a server for it???
Attached Files
File Type: zip strm3-eclipse.zip (4.6 KB, 37 views)
__________________
ASL
Reply With Quote
  #285  
Old January 15th, 2025, 09:47 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,603
Thanks: 4,042
Thanked 5,796 Times in 2,861 Posts
DRG will become famous soon enough
Default Re: Height Maps

Me neither and it's not something Andy has worked with

What I am unclear on is how this fix gets the program running from its remote location

Has he turned it into a standalone?
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #286  
Old February 15th, 2025, 06:51 PM

lukerduker123 lukerduker123 is offline
Corporal
 
Join Date: Jul 2013
Posts: 118
Thanks: 29
Thanked 48 Times in 30 Posts
lukerduker123 is on a distinguished road
Default Re: Height Maps

If anyone can conjigger this up I can potentially host it. My brother runs an Ubuntu server, so that's one step. Not sure where to start or where to finish -- when he gets home I'm grilling him on this.

Update: A good person on a Discord server I'm on decided to faf around with it, and it's apparently missing a contour.pl file.

Update #2: I found someone who appears to be DMNT on Twitter. I reached out with a brief message, and I'm hoping they reply.

Last edited by lukerduker123; February 16th, 2025 at 02:06 AM..
Reply With Quote
The Following 3 Users Say Thank You to lukerduker123 For This Useful Post:
  #287  
Old February 16th, 2025, 10:03 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,603
Thanks: 4,042
Thanked 5,796 Times in 2,861 Posts
DRG will become famous soon enough
Default Re: Height Maps

Well..... I wish you GOOD LUCK with this. If .you can find someone who knows how to Contact Thomas Venhola that may also help or spomeone who can decipher what is here..........

https://github.com/tvenhola/SPMBT-maps

That link might be the key to the entire puzzle if you can find someone who likes solving code mysteries
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
The Following User Says Thank You to DRG For This Useful Post:
  #288  
Old February 16th, 2025, 06:33 PM

lukerduker123 lukerduker123 is offline
Corporal
 
Join Date: Jul 2013
Posts: 118
Thanks: 29
Thanked 48 Times in 30 Posts
lukerduker123 is on a distinguished road
Default Re: Height Maps

I don't want to promise anything DRG, all I have to say is that this'll be an interesting night. It turns out I'm in the same server as the guy with the fix, and I'm in another server with someone who knows much about Linux and Perl. I'm going to push them together, see what comes of it.
Reply With Quote
The Following 2 Users Say Thank You to lukerduker123 For This Useful Post:
  #289  
Old February 16th, 2025, 08:10 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,603
Thanks: 4,042
Thanked 5,796 Times in 2,861 Posts
DRG will become famous soon enough
Default Re: Height Maps

Good luck!
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #290  
Old Yesterday, 10:08 PM

lukerduker123 lukerduker123 is offline
Corporal
 
Join Date: Jul 2013
Posts: 118
Thanks: 29
Thanked 48 Times in 30 Posts
lukerduker123 is on a distinguished road
Default Re: Height Maps

Sorry for the delay -- one fine fellow is working on forking it (Github speak). Once it's forked the other'll mess with the php, but otherwise I think it'll be working.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:11 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.