MinetestMapperGui - Graphical userinterface for mtmapper

u34

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by u34 » Post

are there any new releases??

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by addi » Post

I think Ill find the time to do it this weekend

lilo
Member
Posts: 54
Joined: Sat May 27, 2017 14:45

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by lilo » Post

Hi,

i want to create an 20000 x 20000 Pixel map but i get an Exeption "Failed to prepare SQL statement (blockPostListStatement)". What can i do?

Greets

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by addi » Post

Hi,
I does not realy know what went wrong there. could you please try the minetestmapper in attachment? It might not work at all but it should give you a more detailed error message.
(just replace the Minetestmapper.exe and dll's inside MinetestmapperGUI with that one from 7zip archive.)

If you want you can use the workaround:
In MinetestmapperGUI choose Extras->Expert-mode
After you hit generate a window pops up where you can append --disable-blocklist-prefetch=force at the end of the list. this might bypass the error.
Thanks
addi
Attachments
Minetestmapper-0.8.2-win64.7z
(906.34 KiB) Downloaded 144 times

u34

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by u34 » Post

when i update the files of the 7z-archiv.. i get a error-message !!!

lilo
Member
Posts: 54
Joined: Sat May 27, 2017 14:45

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by lilo » Post

Hi,

i get now this:

Excrption: Failed to prepare SQL Statement (blockPosListStatement): attempt to write a readonly database.

greets

EDIT: i fixed this error. After file extraction, this files were read protected, i changed this and now it create my big map :)

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by addi » Post

after a long time, here is the new release v0.7.2
Windows Vista or newer required. (Or Windows Server 2008)
Setup Minetest Mapper Gui x64.exe 21.9 MB
Setup Minetest Mapper Gui x32.exe 20.1 MB
After Installation, a restart might be required because of msvc redistributable

MinetestMapperGui_64.zip 28.0 MB
MinetestMapperGui_32.zip 24.8 MB
Spoiler
53e9e64 Update colors.txt
f85b349 Update Translation
89a99b0 Remove redundant void
999dabd Remove debug output
114d3f5 Copy mtmapperenv.bat to build dir
838126a Change GeometryGranularity and GeometrySizeMode to QMetaEnums
225439b Move Output log from tab to doc widget and hide it
d2fd74a Fix Geometry meta enum for static methods
1b59cbc Rename general to common
86dd4ba Use lightwight Q_GADGET instead of Q_OBJECT
b1bc4c5 Use colorLineEdit for heightmap color too
0f8fb0c Rework colorLineEdit
b8dfcc6 Add option to open Terminal
f340a43 Made anchors list static const
0cc40eb Removed accidently added cpp and h files from resource
f313121 Load and restore radiobuttons from tiles-tab
709c322 Make use of Qt's MetaEnum for serialization of enums
d59b85e Update Minetestmapper Manual
bffc961 Reworked colors.txt asistant
0cd5255 Removed legacycode, Fixed Typos, Updated Translation
1dabd10 Tidy up
adc60b9 Change string connections to functionpointer connections
99806a0 Error if building on Qt < 5
580331e Correcting colorpaths
Spoiler
b6601bb Print sqlite error if prepare failed
a287701 Update colors.txt file to fit latest Minetest Game
73e7ff8 Update build-instructions.rst
dc24a6c Use algorithm instead of loop
e219fd8 Preparation to use libiconv
6d958c2 Color fix mixing with black (k)
9398ef4 Fix getenv work correct on non-windows
abd91ab Modernize Settings Class
38ef37c Use const ref in Settings Class
d9101ee Add util.h to CMakeLists.txt
32f081c Remove unnecessary calls to strlower in drawalpha option
a305122 Add clang-format file
796f614 Rearange option parse loop
6aa1931 Set CMake_BUILD_TYPE to Release if not specified
f134029 Use Release libs
2d0d982 Select correct triplet
328b9f5 Update vcpkg
9c582da Improve Appveyor
456cfb7 Replace getopt/ketopt with parg
0fed381 Set theme jekyll-theme-cayman
6748578 Recover the documentation
153ae78 Replace getopt with ketopt
cfa6a1d Add Sqlite support for players
4aaa8b1 Update buildsystem
a6135be Use c++17 filesystem as alternative to dirent
1d71b08 Renamed mapper.cpp/h to Mapper.cpp/h
a089cd6 Fix porting on Linux
1bd7977 Fix redis
5b6b6c9 #ifdef USE_REDIS instead of #if
78c2c10 Move Image size check to PaintEngine
cbe326a Add more info to versioninfo
e4250d0 Create ZIP archive
012af62 Use porting::fopen; porting::strerror to avaoid MSVC warnings
b250187 Remove cmake generated files from git
5731dac CPack: use correct version
fb15df2 Return EXIT_FAILURE instead of exit(1)
01f4dfc Ignore cmake autogenerated files
5f21b5b Build Windows installer using WIX
66543fe Dont cache vcpkg download dir
373121c Allow Color to be constexpr
8e58e84 Modernize PixelAttributes
d40bd78 Tidy up PixelAttributes
b07df84 Link to required libaris for leveldb
cc65df9 Refactor CmakeLists.txt
6f4445a Get version from Git
683f4e9 Add TrueType font renderer for libgd (currently disabled)
6cfb021 Add PaintEngine.h to cmake file
b1f5076 Text gets converted by the PaintEngine
face7c0 Use strong enum for blocklist prefetch state
cc3ef4c Add RC file for Windows
963e992 Tidy up and modernize TileGenerator (Part 3)
85eb82e Add support for PGSQL on travis and appveyor
b195c12 Get postgresql working
ef63050 Enable leveldb on travis
4f12a2b Improvement to mapblock deserialisation
0596756 Fix Typo
8f13b85 Modernize Mapper class
5e6b699 Refactor TileGenerator
15a4ed2 Tidy up and modernize TileGenerator (Part 2)
0bba4bc Fix porting for Linux
8062064 Tidy up and modernize TileGenerator (Part 1)
72d29f2 Fix access to uninitialized variable
456189f Refactor porting
b5b3d29 Tidy up Color
b0eb067 Refactor DataFileParser out of TileGenerator
685b136 Modernize db-sqlite3
467e7ce Always use unordered map/set
0292669 Use vector instead of ustring
fb21462 strcasecmp might already defined in libgd header
3e30542 Implement time messurement
de634f6 Leveldb fix
c921987 Refactor mapper class
10aa0d2 Add appveyor.yml for Appveyor builds
84ba5d9 Add support for leveldb
9d55309 Add travis and linux build support

u34

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by u34 » Post

Invalid scale factor specification (1:2) - expected: 1:<n>

Why? i use a mineclone2-world with version 5.0.0 stable!! gui 0.7.2, windows 10 64bit

version gui 0.7.0 works fine!!
Attachments
mc2_colors.zip
(4.11 KiB) Downloaded 156 times

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by addi » Post

Thanks for reporting. It should work again.

u34

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by u34 » Post

same error message?!!

Invalid scale factor specification (1:2) - expected: 1:<n>

xBarkDog
New member
Posts: 4
Joined: Sat Nov 10, 2018 23:13
IRC: xBarkDog
In-game: xBarkDog
Location: USA

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by xBarkDog » Post

I don't know why this is happening
Image

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by addi » Post

You could try the newer 0.8 version https://github.com/adrido/MinetestMappe ... tag/v0.8.0
or you may have to install the Microsoft Visual C++ Redistributable: x86 x64

xBarkDog
New member
Posts: 4
Joined: Sat Nov 10, 2018 23:13
IRC: xBarkDog
In-game: xBarkDog
Location: USA

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by xBarkDog » Post

addi wrote:You could try the newer 0.8 version https://github.com/adrido/MinetestMappe ... tag/v0.8.0
or you may have to install the Microsoft Visual C++ Redistributable: x86 x64
Image
Still same problem note using portable

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by addi » Post

install the redistributables.

xBarkDog
New member
Posts: 4
Joined: Sat Nov 10, 2018 23:13
IRC: xBarkDog
In-game: xBarkDog
Location: USA

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by xBarkDog » Post

addi wrote:install the redistributables.
I did.

u34

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by u34 » Post

When somebody wanna use this MapperGui with the (sub)game MineClone2 to generate a nice map
three is my generated mc2-colors file. feel free to modify this file in any way, maybe somebody has a better file for the community?!
Attachments
mc2_25032019_colors.zip
(8.57 KiB) Downloaded 172 times

cHyper-0815OL

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by cHyper-0815OL » Post

are there any new features fixes or something else?

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by addi » Post

Currently not. Are there some bugs to fix?
I do not longer actively play Minetest, if there is something broken please tell me.

hajo
Member
Posts: 606
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by hajo » Post

addi wrote:Are there some bugs to fix?
Not real bugs, but could be improved/documented:

* "world.mt not found" when mapping from locally-saved data.
Needs to be fixed with a dummy-file every time, eg. containing
gameid = minetest
backend = sqlite3
* "image to be created exceeds 4096 pixels" - What are the actual limits ?
How about a tiling option for large maps ?
Also, it would be nice for -extend to output the range of coordinates for the map.

* The format of player-files is not documented.
I like to add some annotation to maps, eg. "Spawn", "Shop" etc.,
and create player-like files for that. But that needs one file per entry.

Also, is there a colors.txt to use with minetestmapper, for maps running MineClone 2 ?

bzt
Member
Posts: 217
Joined: Tue Sep 24, 2019 14:26

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by bzt » Post

Hi,
cHyper wrote:maybe somebody has a better file for the community?!
hajo wrote:Also, is there a colors.txt to use with minetestmapper, for maps running MineClone 2 ?
I needed a similar node-color correlation feature in my MTS editor to import voxel images. To make that easier, the editor can generate GIMP Palette for nodes to be used by Goxel. Now with a minor modification, I made it capable of generating Minetestmapper colors.txt files too.

Use it like this:

Code: Select all

mtsedit -m Mineclone2 -C >colors.txt
By default MTSEdit is shipped with two node mappings, one for the Minetest Game (a bit incomplete) and one for MineClone 2 (fully featured). If you need some other (or want to regenerate for a newer version of these games), here are the required steps:

1. install MTSEdit and it's mod
2. within the game in the chat window, type "/mtsedit export (nodemapping)" (where you are free to use any name for the mapping, this will create/update blocks.csv with the node names that the world actually can use. For MCL2, use the mapping name "Mineclone2")
3. also within the game, type "/mtsedit imgs" (this will export the texture filenames for the nodes into blockimgs.csv)
4. in the command line, use "mtsedit -t blockimgs.csv" (this will import the textures and generate the block images for the editor, needed to automatically assign colors to node names)

For convenience, I've generated a colors.txt for the latest MCL2 version, and merged it with cHyper's version for backward compatibility. Enjoy!

Cheers,
bzt
Attachments
mcl2_colors.txt.zip
Mineclone 2 color database
(10.76 KiB) Downloaded 130 times

hajo
Member
Posts: 606
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by hajo » Post

bzt wrote:I've generated a colors.txt for the latest MCL2 version
Thanks! That was very helpful.

u34

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by u34 » Post

map-map mc2-tst-2020-10-15-13.11.12-v1.png
map-map mc2-tst-2020-10-15-13.11.12-v1.png (468.7 KiB) Viewed 2431 times
Are there any new color.txt files for (sub-)games?

---_---_---_--->>

Hey dev. of this awesome map-tool my question is: are there any new releases or features planned??

hajo
Member
Posts: 606
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by hajo » Post

cHyper wrote:
Thu Oct 15, 2020 11:22
Are there any new color.txt files for (sub-)games?
Seconded - I'm playing on a server that has a lot of mods that are not covered currently:
* advancedtrains
* bakedclay
* caverealms
* etherial
* glass_stained
* homedecor
* infrastructure
* more_fire
* moreblocks
* morelamps
* moretrees
* stairs
* streets
* technic
* xpanes
* xtraores

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by addi » Post

To create a unique colors.txt for each world, you can simply use the colors.txt asistant you find in Extras->colors.txt asistant it requires a bit handwork, but it generates a colors.txt file that exactly fits to the world.
I have some plans and ideas for MintetsmapperGUI but I currently do not have the time to implement it.

On my Todo:
- make minetestmapper multi threaded
- make minetestmapper a dedicated library that can be used by minetestmapper, MintestMapperGUI, mapserver,...
- improve the auto-colors assistant
- minetestmapper only render modified blocks.

Maybe next year.

u34

Re: MinetestMapperGui - Graphical userinterface for mtmapper

by u34 » Post

addi wrote:
Sat Oct 24, 2020 08:30
On my Todo:
- make minetestmapper multi threaded
- make minetestmapper a dedicated library that can be used by minetestmapper, MintestMapperGUI, mapserver,...
- improve the auto-colors assistant
- minetestmapper only render modified blocks.

Maybe next year.
nice to hear that this great tool is not finished ... in development!
keep up the good work addi.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests