Convert Minecraft maps to Minetest worlds

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Convert whole Minecraft maps

by sofar » Post

now it works, how strange indeed!.

Great screenshots, thanks for sharing!

Please consider filing an issue for the missing mesa blocks, perhaps we can find a suitable replacement mod for those nodes.

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: Convert whole Minecraft maps

by Nathan.S » Post

Images all seem to be working for me.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Convert whole Minecraft maps

by Morn76 » Post

Several hardened clay mods already exist for MT, e.g. https://github.com/mdoege/stampy_game/t ... rdenedclay

So you could just rebuild the missing buildings in MT.

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Convert whole Minecraft maps

by sofar » Post

Morn76 wrote:Several hardened clay mods already exist for MT, e.g. https://github.com/mdoege/stampy_game/t ... rdenedclay

So you could just rebuild the missing buildings in MT.
meh, that one has 32px textures... I strongly prefer keeping it 16px by default.

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Convert whole Minecraft maps

by Morn76 » Post

sofar wrote:
Morn76 wrote:Several hardened clay mods already exist for MT, e.g. https://github.com/mdoege/stampy_game/t ... rdenedclay

So you could just rebuild the missing buildings in MT.
meh, that one has 32px textures... I strongly prefer keeping it 16px by default.
Yes, those are from MC Faithful, so for licensing reasons you would need to use different textures.

I think my main change to the existing mod was to simplify the code and make the colors MC-compatible (i.e. add light blue or whatever MT is always missing compared to MC).

User avatar
RHR
Member
Posts: 215
Joined: Mon Jan 27, 2014 20:07
GitHub: RHRhino

Re: Convert whole Minecraft maps

by RHR » Post

Nathan.S wrote:Images all seem to be working for me.
Yeah I replaced them with the new uploads.
sofar wrote:now it works, how strange indeed!.

Great screenshots, thanks for sharing!

Please consider filing an issue for the missing mesa blocks, perhaps we can find a suitable replacement mod for those nodes.
I will take a look though the world and make a list of all problems I can find as soon as I have more free time. Right now I'm too busy for that.

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Convert whole Minecraft maps to Minetest!

by sofar » Post

For hardened clay, I'm using the version from oOChainLynxOo/hardenedclay. The textures aren't that pretty, though.

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Convert Minecraft maps to Minetest worlds

by sofar » Post

I've also added LNJplus' carpet mod, making the conversion even further complete.

In progress is ItemFrames, even, I think I can make it work....

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Convert Minecraft maps to Minetest worlds

by TumeniNodes » Post

It would be nice for those with only very basic tech-skills, to have more detailed instructions?
In layman's terms, I mean.
An average user is not going to have any idea how to use this / make it work (such as myself). I have tried a couple times now, (even read your vague instructions) and have failed each time to get it to even begin, and it is very frustrating.
This happens all the time, especially in things Linux related, coders / devs seem to forget that most users will not understand vague instructions.
What seems completely understandable and easy to comprehend for you, is probably not so for most end users.
This is not meant in any way as an insult, it is merely to point out that any users without coding experience are not going to be able to understand how to utilize your awesome mod.
I know I, myself would love to be able to use / try it, but I have become greatly frustrated trying to figure out how.
The same for the MC texture converter
A Wonderful World

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Convert Minecraft maps to Minetest worlds

by sofar » Post

thegreatone wrote:It would be nice for those with only very basic tech-skills, to have more detailed instructions?
In layman's terms, I mean.
An average user is not going to have any idea how to use this / make it work (such as myself). I have tried a couple times now, (even read your vague instructions) and have failed each time to get it to even begin, and it is very frustrating.
This happens all the time, especially in things Linux related, coders / devs seem to forget that most users will not understand vague instructions.
What seems completely understandable and easy to comprehend for you, is probably not so for most end users.
This is not meant in any way as an insult, it is merely to point out that any users without coding experience are not going to be able to understand how to utilize your awesome mod.
I know I, myself would love to be able to use / try it, but I have become greatly frustrated trying to figure out how.
The same for the MC texture converter
I understand. I'm a 15+ year linux user and 10+ linux developer, so I totally get it that :)

I'll try and see if I can make things easier. But please, do tell me what issues you're running into - if you must. join IRC and ask me in chat to help you walk through it. There may very well be a big bug that I need to fix, and without us trying together it's likely hard to spot the error.

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Convert Minecraft maps to Minetest worlds

by TumeniNodes » Post

Thank you, I very much appreciate it.
I'm unable to IRC until a couple days from now about it, I will post the output of the error but won't e able to until Monday (eastern US time)
And yeh, I've been using Linux since 2007, and became involved on the dev side as a graphics designer / artist, with PCLinuxOS and Granular, and have done only some basic tech work such as maintaining some packages. But I am far from a coding guru, I just fiddle around with stuff till I break it or fix my issues :D
I have been playing around with the lua in a bunch of mods for minetest, as I am working on a complete, overall TP and have run into issues with double textures for a single item, as well as some mods using over-ride funtions which effect default textures which imo is not a good way to go,as it interferes with anyone who wants to put a TP together, it all becomes rather frustrating and annoying.
But, the upside is, it is all helping me to understand lua more. I'm not afraid to screw anything up :P

PS, not sure if I may be the "big bug" in my issue though haha
A Wonderful World

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Convert Minecraft maps to Minetest worlds

by sofar » Post

FYI I changed the texture pack converter to use "Zenity" so you get easy to follow dialog windows. Please give it a try - I'll try to add some more elaborate instructions on how to "deploy" it in the forum post as well. Hopefully that will really help users.

For mcimport, which is a python project, I can probably do something similar. The problem with the importer is that it's heavily dependent on python version, which means lots of error checking is needed.

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Convert Minecraft maps to Minetest worlds

by TumeniNodes » Post

sofar wrote:FYI I changed the texture pack converter to use "Zenity" so you get easy to follow dialog windows. Please give it a try - I'll try to add some more elaborate instructions on how to "deploy" it in the forum post as well. Hopefully that will really help users.

For mcimport, which is a python project, I can probably do something similar. The problem with the importer is that it's heavily dependent on python version, which means lots of error checking is needed.
Again, thank you very much. And especially for the quick attention, it is very appreciated. And yes, python code is more dangerous and problematic than a python snake, which is pretty odd.
It is definitely always a good thing to make things user friendly, it makes your artistry much more open to be appreciated by more people.
I know my problem is that when attempting to use it I d/l the importer and extracted it. But I have no idea what to do from there.
I downloaded a MC map ( a huge one haha imperial city, I know I should probably pack a lunch) but from here I have no idea what to do, where to place the Imperial city folder, or the mcimport folder, etc. it is all the in between steps I cannot figure out. It is much like if I gave you a hammer, and a piece of wood and said "Here, now you can build a house". :P
I mean, I kNOW this is a great work, I just don;t know how to use it :P
A Wonderful World

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Convert Minecraft maps to Minetest worlds

by sofar » Post

thegreatone wrote: I know my problem is that when attempting to use it I d/l the importer and extracted it. But I have no idea what to do from there.
I downloaded a MC map ( a huge one haha imperial city, I know I should probably pack a lunch) but from here I have no idea what to do, where to place the Imperial city folder, or the mcimport folder, etc. it is all the in between steps I cannot figure out. It is much like if I gave you a hammer, and a piece of wood and said "Here, now you can build a house". :P
I mean, I kNOW this is a great work, I just don;t know how to use it :P
I'll be making a few more changes, but I've already added a zenity-based wrapper to guide you through the conversion process. You will need to *unzip* the minecraft world somewhere, and then start the converter and point it at the right folder location.

Can you re-read the newly posted instructions (above the first screenshot) and follow them? And please let me know how far you get...

It's not entirely finished just yet, but worth to test already now that I'm fixing it up.

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Convert Minecraft maps to Minetest worlds

by TumeniNodes » Post

Ahhhhhh,,,, so much better/er now. It is running. Much cleaner process and again. step v step.
Hindsight... mmmmaybe I shoulda picked a smaller MC map to test with... this one (Imperial city) may take a while...
Meet back here in say, three years so I can let ya know how it went??? :D

Anyway, the script is working atm so as soon as it finished I will post.
Thank you so much for the quickness in which you addressed this, and for how fast you applied these changes... true quality stuff all around.

PS
not sure yet if you added it in already but, the fact that the user can safely close the window once the script begins to work is great. And would be even better if there were a way to give a notification once it has finished converting, as well as a way to open the new file from the notification?
I don;t ask "too" much now... do I :P
A Wonderful World

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Convert Minecraft maps to Minetest worlds

by sofar » Post

thegreatone wrote:not sure yet if you added it in already but, the fact that the user can safely close the window once the script begins to work is great. And would be even better if there were a way to give a notification once it has finished converting, as well as a way to open the new file from the notification?
I pushed one more change that does the following:

- after conversion failure, show an error message (and give up)
- after conversion success, ask the user if they want mods to be auto-downloaded (yes|no)
- if yes, another window shows mod download progress.
- once finished, display a "finished" message

The downloaded mods go into world/worldmods, so they are custom for the converted world and you need to do the step for each converted world.

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Convert Minecraft maps to Minetest worlds

by TumeniNodes » Post

that's pretty awesome!
A Wonderful World

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Convert Minecraft maps to Minetest worlds

by TumeniNodes » Post

I downloaded a much smaller map and it already finished, and the notification popped up and (as you said) asked ifI want to install the mods for this world, etc. and it works.
I need to copy (or move-either way) the mods from the game which I do not have, into my /minetest/mods folder, then just enable them in that world...
This is so much easier and straight forward now. Very impressive!

Imperial city also finished overnight while I was asleep, and the notification window was there to greet me, and ask if I would like to d/l the world mods....
Both of your conversion programs are imo..., "perfect" and 100% user friendly.
Great work!!!! and thank you very much
A Wonderful World

mongus
New member
Posts: 3
Joined: Mon Apr 11, 2016 13:04

Re: Convert Minecraft maps to Minetest worlds

by mongus » Post

So following on from the post I made in the wrong thread, I have converted a world that appears to be completely empty.

Sofars suggestion to check the coordinates does seem to provide a clue as to what is going on. My minecraft world is at 5642, 21, -2094 which is a long way from 0,0,0. I have tried teleporting to 5642, 21, -2094 but this doesn't seem to help. Could it be that minetest prunes this part of the map away as soon as I start?

The minimap doesn't appear to work on the map. Switching on free movement and noclip doesn't seem to help either, from what I can tell. (I fully accept I may be doing something completely wrong - I am far from an expert in Mine* games.)

Would there be a way to set the spawn location manually within the map?

I have attached the map (minus the mods) here.

Thanks.
Attachments
insurance.tar.gz
(174.43 KiB) Downloaded 258 times

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: Convert Minecraft maps to Minetest worlds

by twoelk » Post

In the first post of this thread Sofar wrote:Note: The map will be 180 degrees rotated (N in MC will end up S in MT), and offset by (1, -65,0) or so... can't help that at this point.
Spoiler
Image
hope this helps ;-P
Attachments
Map-insurance-2016-04-12T11.48.42.png
Map-insurance-2016-04-12T11.48.42.png (32.26 KiB) Viewed 2696 times

mongus
New member
Posts: 3
Joined: Mon Apr 11, 2016 13:04

Re: Convert Minecraft maps to Minetest worlds

by mongus » Post

Yes that helps a lot! I was teleporting to the wrong place. Teleporting to -5642, 21, -2094 brings me to the map. The conversion has been pretty much immaculate!

Great work. Thanks.

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Convert Minecraft maps to Minetest worlds

by sofar » Post

Ahh excellent. Yes, the X coordinates will be swapped - this is due to the difference in coordinate systems. Glad you found the place alright!

User avatar
TumeniNodes
Member
Posts: 2941
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: Convert Minecraft maps to Minetest worlds

by TumeniNodes » Post

mongus wrote:Yes that helps a lot! I was teleporting to the wrong place. Teleporting to -5642, 21, -2094 brings me to the map. The conversion has been pretty much immaculate!

Great work. Thanks.
yep, Sofar's recent tweaks have made his two conversion projects simply awesome and incredibly fun to use.
A Wonderful World

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Convert Minecraft maps to Minetest worlds

by sofar » Post

Update: I've added automatic map light updating to the converter. The map light gets updated in-game as the blocks are loaded in the game for the first time. This makes converted maps look a lot better now:

Image

"Despair Island", a game-focused map (texture pack converted by mcresconvert) (http://minecraftbuildinginc.com/despair-island/)
Last edited by sofar on Wed May 04, 2016 18:40, edited 2 times in total.

theHalfBloodStanger
Member
Posts: 16
Joined: Fri Apr 29, 2016 06:50
GitHub: smeagolthellama
Location: here

Re: Convert Minecraft maps to Minetest worlds

by theHalfBloodStanger » Post

Just an idea, but couldn't it be convenient to convert the programming into c++/c? It would be much faster.
Just an idea from an inexperienced programmer.
It is true! God Is Not Dead, He is alive, and king of the universe!

And by the way, Linux is the best OS.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests