2024-05-02 06:27:53 +02:00
|
|
|
# VoxeLibre Tools
|
|
|
|
This directory is for tools and scripts for VoxeLibre.
|
2018-06-05 01:44:57 +02:00
|
|
|
Currently, the only tool is Texture Converter.
|
|
|
|
|
|
|
|
## Texture Converter (EXPERIMENTAL)
|
|
|
|
This is a Python script which converts a resource pack for Minecraft to
|
2024-05-02 06:27:53 +02:00
|
|
|
a texture pack for Minetest so it can be used with VoxeLibre.
|
2018-06-05 01:44:57 +02:00
|
|
|
|
|
|
|
**WARNING**: This script is currently incomplete, not all textures will be
|
|
|
|
converted. Some texture conversions are even buggy!
|
2018-06-05 01:58:23 +02:00
|
|
|
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.
|
2018-06-05 01:44:57 +02:00
|
|
|
|
|
|
|
Modes of operation:
|
|
|
|
- Can create a Minetest texture pack (default)
|
2024-05-02 06:27:53 +02:00
|
|
|
- Can update the VoxeLibre textures
|
2018-06-05 01:44:57 +02:00
|
|
|
|
|
|
|
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
|
2018-06-05 01:53:59 +02:00
|
|
|
- Convert the textures
|
|
|
|
- Put the new texture directory in the Minetest texture pack directory, just like
|
|
|
|
any other Minetest texture pack
|
2021-05-10 09:58:26 +02:00
|
|
|
|
|
|
|
## Luacheck Globals Generators
|
2024-05-02 06:27:53 +02:00
|
|
|
This is a Python script which list every single global tables in VoxeLibre source code.
|
2021-05-10 09:58:26 +02:00
|
|
|
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
|