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

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

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

by Dan Duncombe » Wed Aug 14, 2013 16:24

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
Last edited by Dan Duncombe on Tue Oct 15, 2013 19:41, edited 1 time in total.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Aug 14, 2013 16:27

Very nice!

I love it!
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Wed Aug 14, 2013 17:08

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?
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Wed Aug 14, 2013 17:09

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.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Wed Aug 14, 2013 18:24

Update! Now logs world name, map name, start and end times of map creation, and date of map creation. See readme for more details.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
cHyper
Member
 
Posts: 587
Joined: Fri May 06, 2011 08:49
IRC: cHyper
In-game: cHyper

by cHyper » Wed Aug 14, 2013 18:28

u can also add a exist world name command...
--------------------------------------------------------
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Wed Aug 14, 2013 19:16

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?
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
cHyper
Member
 
Posts: 587
Joined: Fri May 06, 2011 08:49
IRC: cHyper
In-game: cHyper

by cHyper » Wed Aug 14, 2013 20:16

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
...
...
Last edited by cHyper on Wed Aug 14, 2013 20:19, edited 1 time in total.
--------------------------------------------------------
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Wed Aug 14, 2013 20:38

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
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Wed Aug 14, 2013 21:36

Link Temporarily down
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Wed Aug 14, 2013 23:06

Link now up
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Thu Aug 15, 2013 09:51

Updated a little.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Thu Aug 15, 2013 17:07

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?
Last edited by Dan Duncombe on Thu Aug 15, 2013 17:54, edited 1 time in total.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Fri Aug 16, 2013 20:11

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.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

twoelk
Member
 
Posts: 1092
Joined: Fri Apr 19, 2013 16:19

by twoelk » Sat Aug 17, 2013 02:03

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.
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Sat Aug 17, 2013 09:08

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
Last edited by Dan Duncombe on Sat Aug 17, 2013 09:22, edited 1 time in total.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Sun Aug 18, 2013 19:41

Creating this easy-to-use version of the mapping program is one of your greatest achievements, Dan Duncombe.
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Sun Aug 18, 2013 20:11

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)
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sun Aug 18, 2013 20:23

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.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Sun Aug 18, 2013 20:27

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.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sun Aug 18, 2013 20:33

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.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Sun Aug 18, 2013 20:52

Update: Warns you if you are about to overwrite an existing map.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Sun Aug 18, 2013 21:12

Maybe you could add an update option for already made maps.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
evila3333
New member
 
Posts: 6
Joined: Mon Sep 23, 2013 20:13

by evila3333 » Mon Sep 23, 2013 21:03

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
In a country well governed, poverty is something to be ashamed of. In a country ill-governed, wealth is something to be ashamed of...
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Mon Sep 23, 2013 21:06

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
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
evila3333
New member
 
Posts: 6
Joined: Mon Sep 23, 2013 20:13

by evila3333 » Mon Sep 23, 2013 21:28

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....
In a country well governed, poverty is something to be ashamed of. In a country ill-governed, wealth is something to be ashamed of...
 

User avatar
evila3333
New member
 
Posts: 6
Joined: Mon Sep 23, 2013 20:13

by evila3333 » Mon Sep 23, 2013 21:32

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,
In a country well governed, poverty is something to be ashamed of. In a country ill-governed, wealth is something to be ashamed of...
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Tue Sep 24, 2013 06:41

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
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

by Dan Duncombe » Tue Oct 15, 2013 17:03

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
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Tue Oct 15, 2013 18:13

Could you add source code. I would like to compile this into Ubuntu.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

Next

Return to Minetest-Related

Who is online

Users browsing this forum: No registered users and 28 guests

cron