diff --git a/tools/Texture_Converter.py b/tools/Texture_Converter.py
index 60f9ea76c..5f1f07b6c 100755
--- a/tools/Texture_Converter.py
+++ b/tools/Texture_Converter.py
@@ -8,33 +8,19 @@ __author__ = "Wuzzy"
__license__ = "MIT License"
__status__ = "Development"
-import shutil, csv, os, tempfile, sys, getopt, glob
+import shutil, csv, os, tempfile, sys, argparse, glob
from PIL import Image
from collections import Counter
+# Constants
+SUPPORTED_MINECRAFT_VERSION="1.20"
+
# Helper vars
home = os.environ["HOME"]
mineclone2_path = home + "/.minetest/games/mineclone2"
working_dir = os.getcwd()
appname = "Texture_Converter.py"
-### SETTINGS ###
-output_dir = working_dir
-
-base_dir = None
-
-# If True, will only make console output but not convert anything.
-dry_run = False
-
-# If True, textures will be put into a texture pack directory structure.
-# If False, textures will be put into MineClone 2 directories.
-make_texture_pack = True
-
-# If True, prints all copying actions
-verbose = False
-
-PXSIZE = None
-
def detect_pixel_size(directory):
sizes = []
for filename in glob.glob(directory + '/**/*.png', recursive=True):
@@ -46,55 +32,32 @@ def detect_pixel_size(directory):
print(f"Autodetected pixel size: {most_common_size[0]}x{most_common_size[1]}")
return most_common_size[0]
-syntax_help = appname+""" -i [-o