From 309dc4048409a92577fbe9854d737ab0491d57a5 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 5 Jun 2018 01:53:59 +0200 Subject: [PATCH] Fix typos in Texture Converter --- tools/README.md | 6 ++++-- tools/Texture_Converter.py | 14 +++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/tools/README.md b/tools/README.md index 3f0698770..2b6d0643d 100644 --- a/tools/README.md +++ b/tools/README.md @@ -4,7 +4,7 @@ Currently, the only tool is Texture Converter. ## Texture Converter (EXPERIMENTAL) This is a Python script which converts a resource pack for Minecraft to -a texture pack for Minetest (and thus, MineClone 2). +a texture pack for Minetest so it can be used with MineClone 2. **WARNING**: This script is currently incomplete, not all textures will be converted. Some texture conversions are even buggy! @@ -23,4 +23,6 @@ Requirements: Usage: - Make sure the file “`Conversion_Table.csv`” is in the same directory as the script - In the console, run `./Texture_Converter.py -h` to learn the available options - +- Convert the textures +- Put the new texture directory in the Minetest texture pack directory, just like + any other Minetest texture pack diff --git a/tools/Texture_Converter.py b/tools/Texture_Converter.py index 3f449a15e..809b020da 100755 --- a/tools/Texture_Converter.py +++ b/tools/Texture_Converter.py @@ -40,17 +40,17 @@ Mandatory argument: Optional arguments: -p - Specify the size of the original textures (default: 16) + Specify the size (pixels) of the original textures (default: 16) -o - Directory in which to put the resulting MineClone 2 texture pack + Directory in which to put the resulting Minetest texture pack (default: working directory) -d - The script will only pretend to convert textures by writing - to the console only, but not changing any files. + Just pretend to convert textures and just print output, but do not actually + change any files. -v - Prints out all copying actions + Print out all copying actions -h - Shows this help an exits""" + Show this help and exit""" try: opts, args = getopt.getopt(sys.argv[1:],"hi:o:p:dv") except getopt.GetoptError: @@ -65,7 +65,7 @@ for opt, arg in opts: print( """This is the official MineClone 2 Texture Converter. This will convert textures from Minecraft resource packs to -a MineClone 2 texture pack. +a Minetest texture pack. Supported Minecraft version: 1.12 (Java Edition)