Page 1 of 1

Meine Kraft Minecraft Texture Pack to Minetest

PostPosted: Wed Jan 02, 2013 14:24
by KingSmarty
Hi there,
i got this Meine Kraft Texture Pack from Minecraft and want to have it on Minetest.

I tried a Texture Pack Converter but i didn't get that damm thing to work. Is there any else way to convert the Texture Pack or would someone do that for me?

Download the Texture Pack: http://www.mediafire.com/?033tkzu3k6iqu1d
Here's the link to the Texture Pack Converter:http://minetest.net/forum/viewtopic.php?id=292

PostPosted: Wed Jan 02, 2013 14:43
by KingSmarty
These are some pictures of the Texture Pack in Minecraft

Image
Image
Image

PostPosted: Wed Jan 02, 2013 15:51
by Sokomine
I've written a converter for Minecraft classic textures as part of my importer for maps from classic. It uses convert from imagemagic for the actual extratcion of the images. The converter is a bash shell script. If that may help you, look here: terrain2mt.sh

PostPosted: Wed Jan 02, 2013 16:16
by KingSmarty
Sokomine wrote:I've written a converter for Minecraft classic textures as part of my importer for maps from classic. It uses convert from imagemagic for the actual extratcion of the images. The converter is a bash shell script. If that may help you, look here: terrain2mt.sh


Ok what should i do with this code?

PostPosted: Wed Jan 02, 2013 16:55
by Sokomine
If you have everything the script needs (mainly convert from imagemagic somewhere in your path), run it with "./terrain2mt.sh terrain.png" (with terrain.png beeing your texture map) on unix-like systems. It's a shell script. The line "convert -crop 16x16 terrain.png temp.tcrop.png" does the actual splitting up of terrain.png into 16x16 pixel large images named temp.tcrop.png.0 etc. Those texture files afterwards get renamed to names that can be better memorized; e.g. no. 35 beeing the front of a bookshelf.

PostPosted: Wed Jan 02, 2013 17:16
by Calinou
https://github.com/TacticalGenius/TexturePackConverter
This is a Ruby script you can use to convert Minecraft texture packs to Minetest texture packs. It is rather easy to use on Linux. If you use Windows, you can try running some Linux distribution like Ubuntu in VirtualBox. :)

PostPosted: Wed Jan 02, 2013 17:20
by KingSmarty
Sokomine wrote:If you have everything the script needs (mainly convert from imagemagic somewhere in your path), run it with "./terrain2mt.sh terrain.png" (with terrain.png beeing your texture map) on unix-like systems. It's a shell script. The line "convert -crop 16x16 terrain.png temp.tcrop.png" does the actual splitting up of terrain.png into 16x16 pixel large images named temp.tcrop.png.0 etc. Those texture files afterwards get renamed to names that can be better memorized; e.g. no. 35 beeing the front of a bookshelf.

Im really sry to ask again but i'm from Germany and i just want to know if i got that right:

So you copy that code into the Notepad and after that you safe it as shell.....
And after that...??

I'm so sry please be not angry at me.

PostPosted: Wed Jan 02, 2013 17:27
by KingSmarty
Calinou wrote:https://github.com/TacticalGenius/TexturePackConverter
This is a Ruby script you can use to convert Minecraft texture packs to Minetest texture packs. It is rather easy to use on Linux. If you use Windows, you can try running some Linux distribution like Ubuntu in VirtualBox. :)


Thanks. I hope this will work (currently downloading ubuntu).

So u can open that readme.md and that other stuff in Ubuntu?

PostPosted: Wed Jan 02, 2013 17:31
by Calinou
KingSmarty wrote:
Calinou wrote:https://github.com/TacticalGenius/TexturePackConverter
This is a Ruby script you can use to convert Minecraft texture packs to Minetest texture packs. It is rather easy to use on Linux. If you use Windows, you can try running some Linux distribution like Ubuntu in VirtualBox. :)


Thanks. I hope this will work (currently downloading ubuntu).

So u can open that readme.md and that other stuff in Ubuntu?



Remember that if you want to use VirtualBox, you'll have to download it too and when creating the virtual machine, point to the ISO file (do not remove it until you installed Ubuntu in the virtual machine, where you will have to remove the ISO file from the list of virtual drives). This is a Minetest forum, so if you have trouble doing this, ask on the Ubuntu forums instead. :P

Also, a readme.md file is just a text file with some formatting, you can open it with any "notepad" program.

PostPosted: Wed Jan 02, 2013 17:39
by KingSmarty
Calinou wrote:Remember that if you want to use VirtualBox, you'll have to download it too and when creating the virtual machine, point to the ISO file (do not remove it until you installed Ubuntu in the virtual machine, where you will have to remove the ISO file from the list of virtual drives). This is a Minetest forum, so if you have trouble doing this, ask on the Ubuntu forums instead. :P

Also, a readme.md file is just a text file with some formatting, you can open it with any "notepad" program.


Ok thanks but i will run it from an USB-Stick.
Can you tell me what the hack is going on on http://www.ubuntu.com/? (I mean the Timer....)

PostPosted: Wed Jan 02, 2013 17:50
by PilzAdam
KingSmarty wrote:Can you tell me what the hack is going on on http://www.ubuntu.com/? (I mean the Timer....)

Ubuntu for tablets.

PostPosted: Wed Jan 02, 2013 17:58
by KingSmarty
PilzAdam wrote:
KingSmarty wrote:Can you tell me what the hack is going on on http://www.ubuntu.com/? (I mean the Timer....)

Ubuntu for tablets.


Thanks!

PostPosted: Wed Jan 02, 2013 18:33
by BrandonReese
PilzAdam wrote:
KingSmarty wrote:Can you tell me what the hack is going on on http://www.ubuntu.com/? (I mean the Timer....)

Ubuntu for tablets.


It's actually a Ubuntu Phone

PostPosted: Wed Jan 02, 2013 18:34
by KingSmarty
Calinou wrote:Remember that if you want to use VirtualBox, you'll have to download it too and when creating the virtual machine, point to the ISO file (do not remove it until you installed Ubuntu in the virtual machine, where you will have to remove the ISO file from the list of virtual drives). This is a Minetest forum, so if you have trouble doing this, ask on the Ubuntu forums instead. :P


I tried to run it from USB but that didn't worked well. Now i do it like you told me and using a Virtual Box (That works quite well)

PostPosted: Wed Jan 02, 2013 18:39
by KingSmarty
PilzAdam wrote:Ubuntu for tablets.


BrandonReese wrote:It's actually a Ubuntu Phone


Ok is anyone of you going to buy that PHONE? :p

PostPosted: Wed Jan 02, 2013 18:49
by BrandonReese
KingSmarty wrote:
Calinou wrote:Remember that if you want to use VirtualBox, you'll have to download it too and when creating the virtual machine, point to the ISO file (do not remove it until you installed Ubuntu in the virtual machine, where you will have to remove the ISO file from the list of virtual drives). This is a Minetest forum, so if you have trouble doing this, ask on the Ubuntu forums instead. :P


I tried to run it from USB but that didn't worked well. Now i do it like you told me and using a Virtual Box (That works quite well)


I ran the shell script on terrain.png in that texture pack. I actually had to modify the script because the file names weren't matching up properly. Here are the resulting images. I've not made a texture pack before but I think now all you need to do it rename the images to their proper minetest equivalents?

http://ubuntuone.com/6xKWLrqM0y6hXl5K98FNuA

PostPosted: Wed Jan 02, 2013 18:51
by BrandonReese
KingSmarty wrote:
PilzAdam wrote:Ubuntu for tablets.


BrandonReese wrote:It's actually a Ubuntu Phone


Ok is anyone of you going to buy that PHONE? :p


I would consider it. It seems like a good platform and they are doing some revolutionary stuff. I use Ubuntu 98% of the time on my Desktop so I'm a bit partial to it (I only use Windows for testing web development in IE, and Video Editing which I don't do much of)

PostPosted: Thu Jan 03, 2013 11:22
by KingSmarty
BrandonReese wrote:I ran the shell script on terrain.png in that texture pack. I actually had to modify the script because the file names weren't matching up properly. Here are the resulting images. I've not made a texture pack before but I think now all you need to do it rename the images to their proper minetest equivalents?

http://ubuntuone.com/6xKWLrqM0y6hXl5K98FNuA


Thank you! You're Awsome. I did get crazy with Ubuntu....all that Terminal Shit and sometimes that didn't work

(I never thought anyone is going to reply on this Post...)