208 Commits

Author SHA1 Message Date
Jürgen Rühle
1bada3bbea Adapt tools/update-tr.sh 2024-11-21 08:56:59 +01:00
Jürgen Rühle
5231b95158 Make automatic translation generation script slightly more robust
Setup a temporary directory to better control the complete configuration
and hopefully prevent unwanted characters in directory names.

Additionally support minetest and minetestserver executables installed to
PATH. Also support being run from anywhere and not only from tool
directory itself.

Use --quiet parameter instead of directing all output to /dev/null to
better support debugging.
2024-11-21 08:56:59 +01:00
cora
1d8fa06294 Use external shellscript to generate complex translation strings 2024-11-21 08:56:59 +01:00
Elias Åström
8943b551ba Make update-tr.sh to use new convert script 2024-11-18 21:50:48 +01:00
nooneatall
82a7e6979b Update fandom links to newer wiki links. 2024-10-27 11:29:53 +00:00
Elias Åström
7895e46384 Run translation scripts twice in update-tr.sh 2024-09-21 18:53:35 +02:00
Elias Åström
6a577e54d7 Add shell script to update translations
Wrapper around the other translation tools.
2024-09-21 18:45:54 +02:00
cora
9d80ad7e56
Optipng all textures with optimized difference >50 bytes 2024-08-16 08:18:07 +02:00
cora
302196c14d
Add script in tools/ to only optipng files if >50 bytes are saved 2024-08-16 08:14:22 +02:00
cora
64a9a6313f Conversion CSV update 2 2024-03-21 00:45:14 +01:00
cora
55b5e5b8ce Conversion CSV update 1 2024-03-21 00:45:14 +01:00
cora
8cdcfe6bc5 Fix inconsistent indentation (from cherry-picking) 2024-03-21 00:45:14 +01:00
James David Clarke
4dd7d42177 More fixes 2024-03-21 00:45:14 +01:00
James David Clarke
9e7702e94e Converted utils os.system commands to useing the more pythonic: wand, library. And partially converted armor os.system commands to wand too. 2024-03-21 00:45:14 +01:00
James David Clarke
6a695f6635 Added requirements.txt 2024-03-21 00:45:14 +01:00
James David Clarke
650fd972ab Made terms clearer in gui.py 2024-03-21 00:45:14 +01:00
James David Clarke
654e343f8a Fixed crash bug with GUI 2024-03-21 00:45:14 +01:00
James David Clarke
1e7baa22a2 Made minetest directory handling, platform indiependent 2024-03-21 00:45:14 +01:00
James David Clarke
e2e4de6186 Refactor convert_textures code, seperated special cases into its own module 2024-03-21 00:45:14 +01:00
James David Clarke
4f0fef1145 GUI Now functional 2024-03-21 00:45:14 +01:00
James David Clarke
646a914657 Seperated common convert code from CLI and GUI so they can both use it 2024-03-21 00:45:14 +01:00
James David Clarke
fb811ff8b8 Started on GUI and seperating code so GUI and CLI can share it 2024-03-21 00:45:14 +01:00
James David Clarke
3c84eec2fd Added --all flag. 2024-03-21 00:45:14 +01:00
James David Clarke
235847c88e Fixed find_highest_minecraft_version, got rid of hardcoded major-minor version string. 2024-03-21 00:45:14 +01:00
James David Clarke
aed529cc9a Added --default flag 2024-03-21 00:45:14 +01:00
James David Clarke
85b5614705 Added Conversion Table validator. 2024-03-21 00:45:14 +01:00
James David Clarke
4cb683d092 Refactored code: split up into different functions and modules. 2024-03-21 00:45:14 +01:00
James David Clarke
f02e80e1fc Replace getopt code with argparse as its more modern. 2024-03-21 00:45:14 +01:00
James David Clarke
b8858d5548 Added PIL dependency and added pixel dimentions autodetection 2024-03-21 00:45:14 +01:00
James David Clarke
3ed8867460 Extra tools 2024-03-21 00:45:14 +01:00
James David Clarke
e3c3645b68 Added my internal tools 2024-03-21 00:45:14 +01:00
James David Clarke
066681de97 Updated Grass,Fern,Vine,Lily Pad and leaves to MC 1.19+ 2024-03-21 00:45:14 +01:00
James David Clarke
a8932eb4ba Updated rails to MC1.19+ 2024-03-21 00:45:14 +01:00
James David Clarke
101fa1c3bc Added support for MC1.19 Resource Packs 2024-03-21 00:45:13 +01:00
Elias Åström
703ece21ac Remove generate_translate_template script 2024-01-17 14:40:02 +00:00
codiac
9c922bbf83 Remove mcl_villages:stonebrickcarved 2023-12-28 16:28:27 +10:00
cora
3d35cffc63 Add optional translate tool to pre-commit-hook 2023-12-15 21:29:20 +00:00
cora
996583945c Fix usage of old mc "blocks" directory in Texture converter 2023-12-02 20:31:24 +00:00
cora
6237b054ed TP Conversion table: add remaining textures 2023-11-18 19:42:53 +00:00
cora
f3177a196e TP Conversion table: add recovery compass & mcl_crimson 2023-11-18 19:42:53 +00:00
cora
81b169a2ba TP Convertersion table: Add Cherry, mangrove, banners... 2023-11-18 19:42:53 +00:00
cora
c76079412d TP Conversion table: add corals and status effects 2023-11-18 19:42:53 +00:00
cora
1cf8c6f94a TP Conversion table: add blackstone and copper 2023-11-18 19:42:53 +00:00
cora
3ba57a90c0 TP Conversion table: Add bamboo, lush_caves, pottery sherds 2023-11-18 19:42:53 +00:00
cora
d7f96d8bf7 Add new texture mappings: mobs, amethyst, honey, deepslate... 2023-11-18 19:42:53 +00:00
cora
8181872586 TP Conversion_table: Switch to new mc texturepack paths 2023-11-18 19:42:53 +00:00
cora
121f4d0a8d Correct path in Texture_Converter.py 2023-11-18 19:42:53 +00:00
cora
4167eeee44 Add optional pre-commit hook to tools/ 2023-07-31 17:47:08 +00:00
cora
24b1f8659e mapcolor pyscript: use indent option of json.dumps 2023-07-10 16:10:17 +00:00
cora
49a108d52b mapcolor pyscript: add shebang and make executable 2023-07-10 16:10:17 +00:00