Page 1 of 2

MT_Mapper for Windows (and Linux now too!)- make mapping easier! [0.5]

PostPosted: Wed Aug 14, 2013 16:24
by Dan Duncombe
Do you have Windows? If so, have you ever tried minetest_mapper.exe? If so, you are probably bored with having to type everything in each time. Or maybe you just don't like the Windows command line.
Then this is for you! Simply extract the contents of the zip file into the minetest directory. Then run mt_mapper.bat. All the necessary files are included in the download.
NOTICE: A mt_mapper.sh is included for Linux users, converted by vytautas, but Wine is still needed to run minetest_mapper.exe.
Remember, if choosing to enter extra params, always do them in the following way:
--param --param --param

Instead of command line, it is a 'TUI' (Text-based GUI)

[spoiler=The Example Map]Image[/spoiler]

Download here!

Colors.txt can be found here

License for program: WTFPL

PostPosted: Wed Aug 14, 2013 16:27
by rubenwardy
Very nice!

I love it!

PostPosted: Wed Aug 14, 2013 17:08
by Inocudom
VanessaE should have a much better colors.txt that she uses on her server. Could you ask her to add it to your version of the mapping program?

PostPosted: Wed Aug 14, 2013 17:09
by Dan Duncombe
Inocudom wrote:VanessaE should have a much better colors.txt that she uses on her server. Could you ask her to add it to your version of the mapping program?

It is her one I think.

PostPosted: Wed Aug 14, 2013 18:24
by Dan Duncombe
Update! Now logs world name, map name, start and end times of map creation, and date of map creation. See readme for more details.

PostPosted: Wed Aug 14, 2013 18:28
by cHyper
u can also add a exist world name command...

PostPosted: Wed Aug 14, 2013 19:16
by Dan Duncombe
Update: Multiple options to choose after entering world name and map name.
cHyper wrote:u can also add a exist world name command...

cHyper, what do you mean?

PostPosted: Wed Aug 14, 2013 20:16
by cHyper
u can test if world name exist...

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
...
...
set /p world= Please type your world name:
if "%world%"=="" goto auswahl
if exist "..\worlds\%world%" goto mapper
...
...

PostPosted: Wed Aug 14, 2013 20:38
by Dan Duncombe
cHyper wrote:u can test if world name exist...

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
...
...
set /p world= Please type your world name:
if "%world%"=="" goto auswahl
if exist "..\worlds\%world%" goto mapper
...
...


Ah, I see. I will test and maybe add that.
Also, update everyone. It is now an .exe

PostPosted: Wed Aug 14, 2013 21:36
by Dan Duncombe
Link Temporarily down

PostPosted: Wed Aug 14, 2013 23:06
by Dan Duncombe
Link now up

PostPosted: Thu Aug 15, 2013 09:51
by Dan Duncombe
Updated a little.

PostPosted: Thu Aug 15, 2013 17:07
by Dan Duncombe
Big update- a big 'MT Mapper' mapper title when opened, detects if world exists when name is inputted.
Should I add a screenshot to the first post? Showing it mapping or something?

PostPosted: Fri Aug 16, 2013 20:11
by Dan Duncombe
Should colors.txt be embedded in the .exe, or simply included in the download? The second option would allow you to add nodes when necessary, or also update it.

PostPosted: Sat Aug 17, 2013 02:03
by twoelk
keep colors in a place for easy manipulation!

The program works fine for me. Could you post the batch "source" somewhere? I use a set of simple one line batch files myself and would like to compare (and steal youre ideas of course).
Am looking for ways to automatic map single types of blocks (think "only Nyancats" , "all rails above or underground" or "no water map") Don't think this is sensible for a batch file "TUI" though ;-)

Something interesting might be an automated tile generator with the output in a naming and folder structur format usable for Openlayers, Leaflet or the google api to generate slippy maps such as Brandon Reese uses for his Landrush server.

PostPosted: Sat Aug 17, 2013 09:08
by Dan Duncombe
twoelk wrote:keep colors in a place for easy manipulation!
Could you post the batch "source" somewhere?

I will do both now.
EDIT:Colors.txt is now simply in the folder so you can add new nodes.
EDIT2: Source code on pastebin

PostPosted: Sun Aug 18, 2013 19:41
by Inocudom
Creating this easy-to-use version of the mapping program is one of your greatest achievements, Dan Duncombe.

PostPosted: Sun Aug 18, 2013 20:11
by Dan Duncombe
Inocudom wrote:Creating this easy-to-use version of the mapping program is one of your greatest achievements, Dan Duncombe.

Why, thank-you very much. Can you think of any improvements (has to be code-able in Windows Batch)

PostPosted: Sun Aug 18, 2013 20:23
by jojoa1997
Dan Duncombe wrote:
Inocudom wrote:Creating this easy-to-use version of the mapping program is one of your greatest achievements, Dan Duncombe.

Why, thank-you very much. Can you think of any improvements (has to be code-able in Windows Batch)
Maybe making a gui.

PostPosted: Sun Aug 18, 2013 20:27
by Dan Duncombe
jojoa1997 wrote:Maybe making a gui.

That is, as far as I know, impossible in batch. I have made it as GUI-ish as possible with text. To make a true GUI I would have to start learning C++ or something, which I won't do yet.

PostPosted: Sun Aug 18, 2013 20:33
by jojoa1997
Dan Duncombe wrote:
jojoa1997 wrote:Maybe making a gui.

That is, as far as I know, impossible in batch. I have made it as GUI-ish as possible with text. To make a true GUI I would have to start learning C++ or something, which I won't do yet.
Oh it is in batch. Then that is really the best you can do i think. Batch is really the only language i know well off the bat compared to others.

PostPosted: Sun Aug 18, 2013 20:52
by Dan Duncombe
Update: Warns you if you are about to overwrite an existing map.

PostPosted: Sun Aug 18, 2013 21:12
by jojoa1997
Maybe you could add an update option for already made maps.

PostPosted: Mon Sep 23, 2013 21:03
by evila3333
when I extract the files I do not get the mt_mapper.exe, it shows it in the archive I downloaded, but have extracted 3 times to 3 diff dir.... and no .exe file? I am using 7-zip and running win7??? any ideas

PostPosted: Mon Sep 23, 2013 21:06
by Dan Duncombe
evila3333 wrote:when I extract the files I do not get the mt_mapper.exe, it shows it in the archive I downloaded, but have extracted 3 times to 3 diff dir.... and no .exe file? I am using 7-zip and running win7??? any ideas
Okay, that is weird. Try now. Do you get a folder called mapper? If so, put it in the minetest directory, and mt_mapper should be inside, if not, then IDK

PostPosted: Mon Sep 23, 2013 21:28
by evila3333
Dan Duncombe wrote:
evila3333 wrote:when I extract the files I do not get the mt_mapper.exe, it shows it in the archive I downloaded, but have extracted 3 times to 3 diff dir.... and no .exe file? I am using 7-zip and running win7??? any ideas
Okay, that is weird. Try now. Do you get a folder called mapper? If so, put it in the minetest directory, and mt_mapper should be inside, if not, then IDK


I do get the folder mapper, however the only three files in the folder are readme(instructions), colors.txt, and examplemap... no .exe....

PostPosted: Mon Sep 23, 2013 21:32
by evila3333
evila3333 wrote:
Dan Duncombe wrote:
evila3333 wrote:when I extract the files I do not get the mt_mapper.exe, it shows it in the archive I downloaded, but have extracted 3 times to 3 diff dir.... and no .exe file? I am using 7-zip and running win7??? any ideas
Okay, that is weird. Try now. Do you get a folder called mapper? If so, put it in the minetest directory, and mt_mapper should be inside, if not, then IDK


I do get the folder mapper, however the only three files in the folder are readme(instructions), colors.txt, and examplemap... no .exe....



yes extremely weird, I am a noob at this game, but not a noob on computers, I am more of a linux usr, but have better luck with games on win7.... I have even dl the zip a few times with the same results..... I do enjoy this game a lot, and this is not a huge deal, however I really suck at finding the things I build,

PostPosted: Tue Sep 24, 2013 06:41
by Dan Duncombe
evila3333 wrote:
Dan Duncombe wrote:
evila3333 wrote:when I extract the files I do not get the mt_mapper.exe, it shows it in the archive I downloaded, but have extracted 3 times to 3 diff dir.... and no .exe file? I am using 7-zip and running win7??? any ideas
Okay, that is weird. Try now. Do you get a folder called mapper? If so, put it in the minetest directory, and mt_mapper should be inside, if not, then IDK


I do get the folder mapper, however the only three files in the folder are readme(instructions), colors.txt, and examplemap... no .exe....

Try this link: https://www.dropbox.com/s/v24r714ak62xgzm/mapper.zip

PostPosted: Tue Oct 15, 2013 17:03
by Dan Duncombe
Ok, update 0.5.
  • Input is allowed of custom Parameters, all of which are listed in Readme.
  • Switched back to batch, easier to make adjustments to (no need to re-compile every time I made a change)
  • minetest_mapper.exe is NOT deleted on exiting, this is intentional. If the minetest_mapper,written is c++ is updated, in the forum post about it, you can replace the current one with an updated one. The same goes for colors.txt
  • Also, switched to Github

PostPosted: Tue Oct 15, 2013 18:13
by jojoa1997
Could you add source code. I would like to compile this into Ubuntu.