Minecraft to minetest texture pack converter

Post Reply
User avatar
minermoder27
Member
Posts: 138
Joined: Wed Nov 20, 2013 23:24
GitHub: ZNixian
In-game: minermoder27
Location: Unfortunately, not in Baikonur

Minecraft to minetest texture pack converter

by minermoder27 » Post

Here is a minecraft to minetest texture pack converter

It depends on the bash shell, so it will work on mac/linux

EDIT: if you have http://win-bash.sourceforge.net/ it will work on windows

Link:
Github repo
download

It is WIP
Last edited by minermoder27 on Tue Dec 10, 2013 18:13, edited 1 time in total.
My best mods:
Buildtest

User avatar
i love minetest
Member
Posts: 13
Joined: Thu Nov 28, 2013 15:17
Location: uk
Contact:

by i love minetest » Post

can you please make one for windows
if you need any more information please don't hesitate to pm me or email me

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

i love minetest wrote:can you please make one for windows
There's already one for Windows around.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
minermoder27
Member
Posts: 138
Joined: Wed Nov 20, 2013 23:24
GitHub: ZNixian
In-game: minermoder27
Location: Unfortunately, not in Baikonur

by minermoder27 » Post

I don't actually know the difference between the old and new texture packs!!!

I tested it with FamousCraft (A fairly new texture pack) (I cannot find it on planetminecraft now!)

And as for windows, I think you may want to look at this
My best mods:
Buildtest

User avatar
tux_peng
Member
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Post

This converts resource packs to minetest texture packs, works too; nicely done!
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info

User avatar
minermoder27
Member
Posts: 138
Joined: Wed Nov 20, 2013 23:24
GitHub: ZNixian
In-game: minermoder27
Location: Unfortunately, not in Baikonur

by minermoder27 » Post

A resource pack is just the new name for a texture pack, 'cos they can have sounds too.
This texture pack converter does not do sounds.
My best mods:
Buildtest

User avatar
tux_peng
Member
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Post

yea, I was just noting that because the old texture packs were a single tiled image
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info

User avatar
stormchaser3000
Member
Posts: 421
Joined: Sun Oct 06, 2013 21:02
GitHub: stormchaser3000

by stormchaser3000 » Post

i love minetest wrote:can you please make one for windows
minermoder27 wrote:EDIT: if you have http://win-bash.sourceforge.net/ it will work on windows

hint hint

User avatar
Forgelander
Member
Posts: 22
Joined: Fri Dec 20, 2013 03:53

by Forgelander » Post

I'm going to port pixel daydreams to minetest, i'll see how it looks,

+1
In-game name: MummySprayer
Servers usually on: I don't go on servers really.

shadowzone
Member
Posts: 78
Joined: Tue Jul 01, 2014 22:02
GitHub: TheShadowZone12
IRC: shadowzone
In-game: shadowzone
Location: Nowhere Sorry

Re: Minecraft to minetest texture pack converter

by shadowzone » Post

I like it!
Hey!

User avatar
Samson1
Member
Posts: 94
Joined: Wed Apr 01, 2015 19:41
IRC: Samson1
In-game: Samson1

Re: Minecraft to minetest texture pack converter

by Samson1 » Post

How do you use it?

User avatar
minermoder27
Member
Posts: 138
Joined: Wed Nov 20, 2013 23:24
GitHub: ZNixian
In-game: minermoder27
Location: Unfortunately, not in Baikonur

Re: Minecraft to minetest texture pack converter

by minermoder27 » Post

see the readme

Get minecraft texture pack.
Get "assets" folder from minecraft texture pack.
Move "mc-to-mt-tp-conv" folder to folder with assets folder
Run "conv.sh" (it is inside "mc-to-mt-tp-conv" folder)
The folder "minetest-texture-pack" will be made.
"minetest-texture-pack" is the converted texture pack.

Sick-D!!
Member
Posts: 25
Joined: Mon Jan 12, 2015 15:36
GitHub: Sick-D
IRC: Sick-D
In-game: Sick-D

Re: Minecraft to minetest texture pack converter

by Sick-D!! » Post

sorry ... but ... doesn't work?
Never? (Linux Mint 17.2)

My Problem: it does...ehm nothing? it creates an empty folder?
Some Videos in German?
https://www.youtube.com/user/SickDDubstep
Or Livestreams?
http://www.twitch.tv/sick_d

Bye bye ;)

User avatar
minermoder27
Member
Posts: 138
Joined: Wed Nov 20, 2013 23:24
GitHub: ZNixian
In-game: minermoder27
Location: Unfortunately, not in Baikonur

Re: Minecraft to minetest texture pack converter

by minermoder27 » Post

are the "mc-to-mt-tp-conv" and "assets" folders in the same place?

Sick-D!!
Member
Posts: 25
Joined: Mon Jan 12, 2015 15:36
GitHub: Sick-D
IRC: Sick-D
In-game: Sick-D

Re: Minecraft to minetest texture pack converter

by Sick-D!! » Post

yep... it does really nothing... :/
Some Videos in German?
https://www.youtube.com/user/SickDDubstep
Or Livestreams?
http://www.twitch.tv/sick_d

Bye bye ;)

wilkgr76
Member
Posts: 833
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re:

by wilkgr76 » Post

stormchaser3000 wrote:
i love minetest wrote:can you please make one for windows
minermoder27 wrote:EDIT: if you have http://win-bash.sourceforge.net/ it will work on windows

hint hint
kaeza wrote:
i love minetest wrote:can you please make one for windows
There's already one for Windows around.
hint hint x 2
N/A

Soudon
Member
Posts: 167
Joined: Wed Apr 08, 2015 17:14
In-game: Soudon

Re: Minecraft to minetest texture pack converter

by Soudon » Post

I had it working at one time with a separate command I ran in win-bash but I cannot find the command and all this does is make three folders all of which are empty and the cmd window says cannot stat then disappears so I didn't let the code run the whole way I just clicked quick to pause and take a screenshot in about three more seconds while keeping it paused it still disappears. but here is the main error.

Image

kogorek
New member
Posts: 1
Joined: Mon Sep 26, 2016 13:29

Re: Minecraft to minetest texture pack converter

by kogorek » Post

Soudon wrote:I had it working at one time with a separate command I ran in win-bash but I cannot find the command and all this does is make three folders all of which are empty and the cmd window says cannot stat then disappears so I didn't let the code run the whole way I just clicked quick to pause and take a screenshot in about three more seconds while keeping it paused it still disappears. but here is the main error.

Image
Here's a bit fixed script:

Code: Select all

#!/bin/bash
#cd "$(dirname "$0")"
#cd ..
rm -rf minetest-texture-pack
rm -rf uctextures
mkdir textures
mkdir uctextures
cd uctextures
mkdir b
mkdir i
cd ..


FILES=$(dirname "$0")/../assets/minecraft/textures/blocks/*.png
for f in $FILES
do
	cp $f "uctextures/b/"
done

FILES=$(dirname "$0")/../assets/minecraft/textures/items/*.png
for f in $FILES
do
	cp $f "uctextures/i/"
done

cd uctextures

while read p; do
	if [ -n "$p" ]
	then
		if [ -e "trans.png" ]
		then
			mv trans.png "../textures/$p"
		else
			mv "$p" trans.png
		fi
	fi
done < ../transtable.txt


#####################################
convert "b/destroy_stage_0.png" \
	"b/destroy_stage_1.png" \
	"b/destroy_stage_2.png" \
	"b/destroy_stage_3.png" \
	"b/destroy_stage_4.png" \
	"b/destroy_stage_5.png" \
	"b/destroy_stage_6.png" \
	"b/destroy_stage_7.png" \
	"b/destroy_stage_8.png" \
	"b/destroy_stage_9.png" \
			+append "../textures/crack-anylength.png"
#####################################

cd ..

mv textures minetest-texture-pack

LuLa
New member
Posts: 8
Joined: Thu Nov 17, 2016 19:54
GitHub: Tresonic
In-game: Tresonic[LuLa]
Location: Germany

Re: Minecraft to minetest texture pack converter

by LuLa » Post

Nice!!!
But I think you made a small mistake:
the normal sapling isn´t converted, because the spelling in the .bat file is saping.

LuLa
Wieso einfach, wenn's auch kompliziert geht?

User avatar
minermoder27
Member
Posts: 138
Joined: Wed Nov 20, 2013 23:24
GitHub: ZNixian
In-game: minermoder27
Location: Unfortunately, not in Baikonur

Re: Minecraft to minetest texture pack converter

by minermoder27 » Post

Due to the problems with running this on windows, I might just rewrite this in Java. Therefore, cross-platform.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests