Author Topic: MakeAHMap 1.10 Released  (Read 1976 times)

Offline artik

  • Silver Member
  • ****
  • Posts: 1907
      • Blog
MakeAHMap 1.10 Released
« on: February 10, 2017, 04:18:48 PM »
2017-02-11: Version 1.10

- Fixed several issue with clipboard map generation:
  * Water wasn't properly colored on small 64x64 maps (bug #7)
  * Beach color wasn't continuous
  * Bad atlats to CBM color was used (regression)

- It is now possible to create clipboard map with geographical
  rather than game grid by specifying:
 
    cbm_grid=geo_dd
   
  for geographical grid using decimal digits: 31.5, -1.2

    cbm_grid=geo_dm
 
  for geographical grid with degrees and minutes of arch: 31°30'N, 1°12'W

- Now every run of makeahmap.exe creates a full log in the output\log.txt
  directory that can be used for issues solving

- The makeahmap_cpu.exe - is no longer needed, makeahmap.exe runs
  correctly even if OpenCL.dll is missing - it falls back to CPU
  implementation
 
- Performance improvements in splattype generation and CPU
  based water optimization.

  - Fixed cleaup of temporary after upgrade bug #8



I strongly recommend to all users to upgrade to latest version:

I also recommend to rerun the program for the current terrain and create new clipboard map that looks much better - especially for 64x64 terrains

Artik, 101 "Red" Squadron, Israel

Offline NatCigg

  • Gold Member
  • *****
  • Posts: 3336
Re: MakeAHMap 1.10 Released
« Reply #1 on: February 13, 2017, 11:43:38 AM »
after update 1.10 when i run the program i get error: error in config.ini, line 1:key missing value
press enter to exit...

Offline artik

  • Silver Member
  • ****
  • Posts: 1907
      • Blog
Re: MakeAHMap 1.10 Released
« Reply #2 on: February 13, 2017, 12:07:36 PM »
Can you please post the content of the log.txt in the output directory, also put the first lines of config.ini

If unsure copy the config_reference.ini to config.ini and use one.

One more, if you are using Notepad try to save the config.ini file as ANSI instead of Unicode/utfi
« Last Edit: February 13, 2017, 12:13:07 PM by artik »
Artik, 101 "Red" Squadron, Israel

Offline Randall172

  • Persona Non Grata
  • Copper Member
  • **
  • Posts: 277
Re: MakeAHMap 1.10 Released
« Reply #3 on: February 13, 2017, 12:22:45 PM »
wheres the link?

Offline NatCigg

  • Gold Member
  • *****
  • Posts: 3336
Re: MakeAHMap 1.10 Released
« Reply #4 on: February 13, 2017, 12:54:16 PM »
- Loading Profile from config.ini
Exception in line 1 :#####################################

Error:Error in config.ini, line 1: Key missing value

Offline NatCigg

  • Gold Member
  • *****
  • Posts: 3336
Re: MakeAHMap 1.10 Released
« Reply #5 on: February 13, 2017, 01:03:07 PM »
after i saved as a ansi type the error is now gone.  i waiting for the program to finish.  i think it may have froze at fixing ground types... :D

yes, the program stops at fixing ground types.  i have tried twice. the second try the recognition of failure was fast. i did notice with both runs the times for the output test from my video card were longer, over a minute for the last one.  also, the computer spent a long time fixing ground types before recognizing failure, the first run.

- Loading Profile from config.ini
  map_size=512
  map_name=miter
  tile_set=europe
  dem=srtm3
  lat=45.02
  lon=84.55
  scale=1.0
- Version: 1.10
- Latitude, longitude range and scale
    Lat:     41.312     48.728
    Lon:     79.305     89.795
  Scale:      1.000
- Loading ground type mapping europe.csv
- Loading GlobCover Data.
- Loading Digital Elevations Model data.
- Loading & processing shores data.
-- Total segments:1185357, maximal segment lenght:58.459
- Loading & processing rivers data...
--- Total river segments: 7003; max river segment length 7.907
  Complete
- Updateing altitudes...
-- Converting water bodies to elevations map
--- Iceles and Lakes
--- Rivers
-- Calculating elevation modifications to bring water to 0 feet
   Using:OpenCL solver running on GPU: GeForce GTX 745; computing units=3

         Grid|  Vertices| Time (s)|Iterations| Bandwidth GB/s
      256x256|     63959|    0.125|       319|    8.889
      512x512|    255813|    0.359|       429|   14.671
    1024x1024|   1023224|    1.938|       705|   17.959
    2048x2048|   4092703|   11.078|      1082|   19.402
    4096x4096|  16370512|   61.339|      1545|   20.010

    Total optimization time 74.839 s
    Maximal correction  range max=13222.000 min=-535.000
    Maximal land modificationt to below 0 alt 2232
- Fixing ground types...
« Last Edit: February 13, 2017, 01:17:55 PM by NatCigg »

Offline artik

  • Silver Member
  • ****
  • Posts: 1907
      • Blog
Re: MakeAHMap 1.10 Released
« Reply #6 on: February 13, 2017, 02:35:47 PM »
Two questions:

1. What is your exact CPU model you can find it there: Computer->right click properties -> Under System, Processor
2. How the program ends? Crashes, does not end at all, if crashes what is the message you are receiving: dialog box whatever?

Note fixing ground types can take few seconds. The wait time related to elevation is different and finished correctly - but it takes long 74.839s - it is normal for your relatively slow graphics card.

« Last Edit: February 13, 2017, 02:37:45 PM by artik »
Artik, 101 "Red" Squadron, Israel

Offline artik

  • Silver Member
  • ****
  • Posts: 1907
      • Blog
Re: MakeAHMap 1.10 Released
« Reply #7 on: February 13, 2017, 02:45:51 PM »
One more, can you download this exe:

http://cppcms.com/files/makeahmap/debug/makeahmap_for_natcigg.exe

Put it into same location the normal makeahmap.exe resides and run one - to see if it completes correctly.

(I disabled in this exe some relativity new option I introduced in 1.10 version)
Artik, 101 "Red" Squadron, Israel

Offline NatCigg

  • Gold Member
  • *****
  • Posts: 3336
Re: MakeAHMap 1.10 Released
« Reply #8 on: February 13, 2017, 03:48:23 PM »
Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 CPUs), ~3.6GHz
makeahmap.exe has stopped working  .... windows checking for problem ... close program.

Offline artik

  • Silver Member
  • ****
  • Posts: 1907
      • Blog
Re: MakeAHMap 1.10 Released
« Reply #9 on: February 13, 2017, 03:52:37 PM »
Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 CPUs), ~3.6GHz
makeahmap.exe has stopped working  .... windows checking for problem ... close program.

Does the exe I posted above gives the same issue?
Artik, 101 "Red" Squadron, Israel

Offline NatCigg

  • Gold Member
  • *****
  • Posts: 3336
Re: MakeAHMap 1.10 Released
« Reply #10 on: February 13, 2017, 03:53:32 PM »
One more, can you download this exe:

http://cppcms.com/files/makeahmap/debug/makeahmap_for_natcigg.exe

Put it into same location the normal makeahmap.exe resides and run one - to see if it completes correctly.

(I disabled in this exe some relativity new option I introduced in 1.10 version)

the linked program did not freeze.

Offline artik

  • Silver Member
  • ****
  • Posts: 1907
      • Blog
Re: MakeAHMap 1.10 Released
« Reply #11 on: February 13, 2017, 03:59:44 PM »
OK thanks use the linked program meanwhile until I release the official fix.

Does anybody else has similar problem with crashing on ground type fixes?
Artik, 101 "Red" Squadron, Israel

Offline NatCigg

  • Gold Member
  • *****
  • Posts: 3336
Re: MakeAHMap 1.10 Released
« Reply #12 on: February 13, 2017, 04:05:53 PM »
is there a good way to get more rivers and lakes? many are showing as sand.  i put the river detail setting to 11 and the other settings seem be at a good limit.?

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
Re: MakeAHMap 1.10 Released
« Reply #13 on: February 13, 2017, 06:31:39 PM »
- Loading Profile from config.ini
Exception in line 1 :#####################################

Error:Error in config.ini, line 1: Key missing value
fyi Captain1ma/Jaeger was having the same or similar problem Saturday night.

Perhaps a case of ...
Quote
One more, if you are using Notepad try to save the config.ini file as ANSI instead of Unicode/utfi
« Last Edit: February 13, 2017, 06:33:12 PM by Easyscor »
Easy in-game again.
Since Tour 19 - 2001

Offline artik

  • Silver Member
  • ****
  • Posts: 1907
      • Blog
Re: MakeAHMap 1.10 Released
« Reply #14 on: February 14, 2017, 02:14:48 AM »
is there a good way to get more rivers and lakes? many are showing as sand.  i put the river detail setting to 11 and the other settings seem be at a good limit.?

Are you sure you have these lakes and rivers, how is it in comparison to google maps. Also note you have chosen very high altitude area, the AHIII water altitude must be 0 so you may end with multiple artifacts.

Also make sure that you don't set water_alt_limit to low altitude at your sample map, it removes any water bodies that their original altitude is above this altitude. Since the area you create is at very high altitude modifications of water_alt_limit is tricky


If you are using this area for MA terrain generation, it isn't the best choice due to high altitude of the terrain
« Last Edit: February 14, 2017, 02:36:59 AM by artik »
Artik, 101 "Red" Squadron, Israel