0
0
Fork 0

Fix typos in Texture Converter

This commit is contained in:
Wuzzy 2018-06-05 01:53:59 +02:00
parent 0e00c85f99
commit 309dc40484
2 changed files with 11 additions and 9 deletions

View File

@ -4,7 +4,7 @@ Currently, the only tool is Texture Converter.
## Texture Converter (EXPERIMENTAL) ## Texture Converter (EXPERIMENTAL)
This is a Python script which converts a resource pack for Minecraft to 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 **WARNING**: This script is currently incomplete, not all textures will be
converted. Some texture conversions are even buggy! converted. Some texture conversions are even buggy!
@ -23,4 +23,6 @@ Requirements:
Usage: Usage:
- Make sure the file “`Conversion_Table.csv`” is in the same directory as the script - 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 - 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

View File

@ -40,17 +40,17 @@ Mandatory argument:
Optional arguments: Optional arguments:
-p <size> -p <size>
Specify the size of the original textures (default: 16) Specify the size (pixels) of the original textures (default: 16)
-o <output directory> -o <output directory>
Directory in which to put the resulting MineClone 2 texture pack Directory in which to put the resulting Minetest texture pack
(default: working directory) (default: working directory)
-d -d
The script will only pretend to convert textures by writing Just pretend to convert textures and just print output, but do not actually
to the console only, but not changing any files. change any files.
-v -v
Prints out all copying actions Print out all copying actions
-h -h
Shows this help an exits""" Show this help and exit"""
try: try:
opts, args = getopt.getopt(sys.argv[1:],"hi:o:p:dv") opts, args = getopt.getopt(sys.argv[1:],"hi:o:p:dv")
except getopt.GetoptError: except getopt.GetoptError:
@ -65,7 +65,7 @@ for opt, arg in opts:
print( print(
"""This is the official MineClone 2 Texture Converter. """This is the official MineClone 2 Texture Converter.
This will convert textures from Minecraft resource packs to 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) Supported Minecraft version: 1.12 (Java Edition)