***-- 29Apr2018 --***
Reupload of v2.2.
https://drive.google.com/open?id=11HbNhwIUTzEHYwTJVXNpOsKZmDsUVyPL
no password required to unzip
*****************************************************************************
[historical info below]
The 3 options below have now been added to the .INI:
terrainquadreduction=0 -- > reduces the detail of the terrain in areas which are flat. Change to 1 to take affect
terrainquadrotation=0 -- > prevents triangles from sticking out the side of steep hills. Change to 1 to take affect
terrainsmoothing=0 -- > removes jagged edges on in accurate heightmaps. Change to 1 to take affect
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The first time you run the program, you will be asked to point to your GameGuru install "files" folder e.g C:\Program Files (x86)\Steam\steamapps\common\Game Guru\Files.
You only have to do this once.
A config file "hm2mdat.ini" is created to your root drive folder e.g. c:\hm2mdat.ini.
Here you can change some settings including your GameGuru install path. The settings so far are:
[GG settings]
root=C:\Program Files (x86)\Steam\steamapps\common\Game Guru\Files --> GameGuru install path
[IMPORTER settings]
converttogreyscale=0 --> Change to 1 if you want to convert to Greyscale.
terrainscale=0.5 --> Change terrain scale
terrainyscale=1.0 --> Change terrain Y scale
zerolevel=600.0 -- > Change terrain zero level (the lower the setting of this value e.g. 450, the more flooded your terrain will be, experiment)
terrainquadreduction=0 -- > reduces the detail of the terrain in areas which are flat. Change to 1 to take affect
terrainquadrotation=0 -- > prevents triangles from sticking out the side of steep hills. Change to 1 to take affect
terrainsmoothing=0 -- > removes jagged edges on in accurate heightmaps. Change to 1 to take affect
Step 0. If you are (like me) paranoid about losing any of your existing maps (which shouldn't happen), make a backup of your mapbank folder.
Step 1. Set GameGuru install path (only once)
[no longer need to do this step] Step 2. Select the blankmap.fpm in \mapbank\heightmap_imports\BLANKGGMAP.fpm. A backup of this template is created each time. DO NOT DELETE.
Step 3. Select a 1024x1024 image. app does not like anything else. It defaults to the app \media\mymaps folder. There are some sample ones I've played around with. For the ocean areas, I painted these black and saved out as 1024x1024. You can also use e.g. Paint.net lasso tool to make a custom loop around e.g. an island and then paint the ocean black if the whole pic turns black.
Step 4. When the plane with the image is shown. Click middle mouse button (if you have one) or the Q key to process heightmap data.
Step 5. The app will close and you can now view your new terrain in GameGuru by opening up the \mapbank\heightmap_imports\BLANKGGMAP.fpm file.
Step 6. If you like the output, save with a different name under folder of your choice, preferably not \mapbank\heightmap_imports, although this won't do any harm.
Enjoy.
How To Guide:
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder, FPEtoBAT, DBO2X