MineClone2/tools
2022-11-23 09:49:32 +01:00
..
dicts
analyze-packet-spam Add script to show packets count from debug logs 2021-11-03 14:57:18 +08:00
check_translate_files.py
colors.txt Updated colors.txt 2022-11-19 01:11:40 +00:00
Conversion_Table.csv Rename a few textures to help support texture packs. 2022-03-02 20:13:24 -06:00
create_luacheck.py Fix create_luacheck 2022-07-15 13:24:45 -06:00
create_map_color_file.py
create_texture__mcl_particles_nether_portal_t.py
create_texture__mcl_particles_nether_portal.py
create_texture__mcl_portals_portal.py
create_texture__nether_dust.py
generate_ingame_credits.lua Add OpenCollective link and credits 2021-11-07 20:29:11 +01:00
README.md
spell_check_translate_files.py
strip_trailing_whitespace.sh Add tool to strip trailing whitespace 2022-05-26 07:28:05 +02:00
Texture_Converter.py Add all pixel-perfection textures for netherite 2022-06-30 14:11:13 +02:00

MineClone 2 Tools

This directory is for tools and scripts for MineClone 2. 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 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! Coverage is close to 100%, but it's not quite there yet. For a 100% complete texture pack, a bit of manual work on the textures will be required afterwards.

Modes of operation:

  • Can create a Minetest texture pack (default)
  • Can update the MineClone 2 textures

Requirements:

  • Know how to use the console
  • Python 3
  • ImageMagick

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

Luacheck Globals Generators

This is a Python script which list every single global tables in mineclone2 source code. It outputs a list to be used in luacheck conf files.

Modes of operation:

  • List global tables

Requirements:

  • Know how to use the console
  • Python 3

Usage:

  • In the console, run python3 ./tools/create_luacheck.py in the MineClone2 directory