Page 1 of 5

MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Wed May 13, 2015 15:32
by addi

Image Minetest Mapper GUI


MinetestMapperGui is a program written in C++ using the Qt framework that executes the minetestmapper over an graphical interface.
The Windows downloads include a copy of minetest mapper by Rogier-5

Image

Create a map
  1. Open World Folder
  2. Select output image
  3. Click generate


Windows downloads
Download and install one of the following files:
Setup Minetest Mapper Gui x64.exe 21.9 MB
Setup Minetest Mapper Gui x32.exe 20.1 MB
Or try the "portable" versions:
MinetestMapperGui_64.zip 28.0 MB
MinetestMapperGui_32.zip 24.8 MB
Note: The x32 builds are more limited in map size then the x64 builds, so if you running a x64 Windows use the x64 builds.

Linux user:
grab the source code and compile it using
Code: Select all
    sudo apt-get install qt5-default
    qmake MinetestMapperGui.pro
    make

in the source directory

Languages:
English 100%
German 97%

If you want to translate the mapper into your language, open the language/gui_en.ts file in Qt Linguist, and start translating.
to test it, click "File"->"Share as" and save it under gui_*.qm in the language folder. the option should be available after a restart of MinetestMapperGui.
*=is the short cut of your language. e.g. 'it' for Italy, 'fr' for France, etc.

License:
CC BY

Contribute:
grab the source code and open the MinetestMapperGui.pro with Qt Creator.
Modify, and create a pull Request.

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Wed May 13, 2015 16:03
by Krock
Nice tool but would it be possible for you to use the Qt version 4.8? (Compatibility reasons)

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Wed May 13, 2015 16:33
by addi
Krock wrote:Nice tool but would it be possible for you to use the Qt version 4.8? (Compatibility reasons)

I will try it. But it was hard to find the old version, and I does not know how long 4.8 is supported. The last update was over a year ago.

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Wed May 13, 2015 18:56
by Morn76
addi wrote:
Krock wrote:Nice tool but would it be possible for you to use the Qt version 4.8? (Compatibility reasons)

I will try it. But it was hard to find the old version, and I does not know how long 4.8 is supported. The last update was over a year ago.

KDE has switched to Qt5 this year, so Qt4 is pretty much obsolete now. New projects should use Qt5.

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Thu May 14, 2015 07:43
by Krock
Morn76 wrote:KDE has switched to Qt5 this year, so Qt4 is pretty much obsolete now. New projects should use Qt5.

Oh well, then it's no problem with the current used Qt version.
----
Wouldn't it be "Ausgangsbild" instead of "Ausgangs Bild"?

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Thu May 14, 2015 08:06
by addi
Krock wrote:
Morn76 wrote:KDE has switched to Qt5 this year, so Qt4 is pretty much obsolete now. New projects should use Qt5.

Oh well, then it's no problem with the current used Qt version.


Great, than ill keep it as it is :-)
Krock wrote:Wouldn't it be "Ausgangsbild" instead of "Ausgangs Bild"?

"Ausgangsbild" is better :)

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Thu May 14, 2015 12:56
by srifqi
Sorry, error here:
Image

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Thu May 14, 2015 13:49
by twoelk
srifqi wrote:Sorry, error here:
Image


same here,
using Windows Vista Ultimate, sp2.

so I shouldn't bury my clumsy batchfile collections in a hole in the garden yet :-(

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Thu May 14, 2015 16:12
by addi
Update.
srifqi and twoelk please test again
MinetestMapperGui_64.7z 15.0 MB
MinetestMapperGui_32.7z 14.2 MB

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Thu May 14, 2015 16:23
by twoelk
addi wrote:Update.
srifqi and twoelk please test again
MinetestMapperGui_64.7z 15.0 MB
MinetestMapperGui_32.7z 14.2 MB


please check the links. only getting "oops 404" at the moment

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Thu May 14, 2015 16:27
by addi
the links are ok, the problem seems to be at bitbucket sorry :(
edit: 32bit version should work now
edit2: 64bit version works now too :)

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Thu May 14, 2015 16:32
by twoelk
addi wrote:the links are ok, the problem seems to be at bitbucket sorry :(
edit: 32bit version should work now


yay, the program opens, now lets play with this a little er - do som testing of course

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Thu May 14, 2015 16:40
by addi
twoelk wrote:
addi wrote:the links are ok, the problem seems to be at bitbucket sorry :(
edit: 32bit version should work now


yay, the program opens, now lets play with this a little er - do som testing of course

great :) I hope you give me a feedback after playing - uhm - testing.

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Thu May 14, 2015 17:35
by twoelk
works!

The way blue is used in the hightmap irritated a little but that can be tweaked I guess.
No geometry yet? Hmm my position was out of bounds
Some warning before an existing image is overwriten might be nice.

so now to persuade you to include all the stuff my batch script does (my local version has some more features than the download but is embarrassing messy)

One of the reasons I began writing the batchfiles was to automate the naming of the map outputs - so - :-P
being able to design a template for the output name would be really cool. My template went something like worldname+date+time but it would be nice if you could come up with something more flexible than me.

ooh I really like this
let me play some more
brace yourself for a large feature request list of all the stuff I had planned but not done

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Fri May 15, 2015 17:50
by addi
huge update:

added Tiles option
more status tips
half-automatic filenamegeneration
added geometry
added scalefactor
added minY and maxY
added geometrymode
added colorpicker for HeightmapColor
added drawAir
added draw noShades

@twoelk it asks now for overwrite, if the file exists, and you can specify the output using parameters <worldname>, <isodate> and <time>

MinetestMapperGui_64.7z 15.0 MB
MinetestMapperGui_32.7z 14.2 MB

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Mon May 18, 2015 09:12
by srifqi
Thanks for update! Now it works!

There are some typos. :D

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Wed May 20, 2015 14:46
by addi
srifqi wrote:There are some typos. :D

You make me hope...
On Friday I have English exam. :-/

ill continue development and correct the typos after that. :-)

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Fri May 22, 2015 13:10
by Excalibur Zero
I was able to compile the program on Linux, do you think you could add the following instructions to the first post?

I ran the following commands in the terminal, with the repo directory as the current directory:

Code: Select all
qmake minetestmappergui.pro
make


That created an executable file for the program in my user directory.

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Fri May 22, 2015 23:32
by addi
Excalibur Zero wrote:I was able to compile the program on Linux, do you think you could add the following instructions to the first post?

Yes of course. Thanks a lot. :)

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Wed May 27, 2015 09:33
by addi
New Update:
show progress also in windows Taskbar
added button to cancel minetestmapper
changed all icons to svg
new app icon by McKrustenkaese
y-map limit ranges now +- 30000 instead of +-128
display error messages if minetestmapper fails
display error message if no world selected
options to clear mintestmapperlog
display stdError of minetestmapper in red
updated Languages

The Windows build should include now all necessary dll files.

Download:
Windows 64 bit15.3 MB
Windows 32 bit14.2 MB

I dont know how to handle the msvc*.dll files. Microsoft says its allowed to share it with the Application, but its recommend to let the user install the Visual C++ Redistributable Package. So the dll's can be updated via Windows Update. But I think the most user will not use a program that requires to install another one.

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Sun May 31, 2015 15:25
by addi
New Update:
  • Win32 build Supports Windows XP SP3 now. (Windows 5.01)
  • Display error message if output image is empty
  • new default paths for output image and input world
  • added Expert mode, it shows the arguments, and you are able to modify it. Select Extras->Expert mode
  • added Profiles (experimental) You can add profiles, and switch between different settings for each profile


Download:
Windows 64 bit15.2 MB
Windows 32 bit14.0 MB

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Sun May 31, 2015 15:39
by Krock
addi wrote:Win32 build Supports Windows XP SP3 now. (Windows 5.01)

You're my hero :)
The app runs fine, found a typo in
Code: Select all
Eigenschaften -> Zeichne Spielerpos.s.itionen

I tested it with a yappy mapgen world, white air looks better.
Image

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Sun May 31, 2015 15:56
by addi
Thanks, fixed. New German translation file in attachment.

You are right, the default of the block color is now white.

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Sun May 31, 2015 16:02
by red
I tried to compile this on lubuntu 15.04 and It failed to compile.
here is the output I got http://pastebin.com/MzbxvKFp

Re: MinetestMapperGui - Graphical userinterface for mtmapper

PostPosted: Sun May 31, 2015 16:14
by addi
red wrote:I tried to compile this on lubuntu 15.04 and It failed to compile.
here is the output I got http://pastebin.com/MzbxvKFp

It requires the QT framework 5.4, and qmake version 5.
It seems you are using Qt 4.8.
update to Qt 5.4 should solve the problem