将MC资源/纹理包转换为Minetest

原贴:Convert MC resource/texture packs to Minetest! - Minetest Forums

我创建了一个简单的shell脚本,它将所有MC资源和纹理包转换为Minetest纹理包。

下载:https://github.com/sofar/mcresconvert
许可证:X11

您将需要具有bash,ImageMagick和解压缩才能运行脚本。这些在所有Linux机器上都是相当标准的,但是对于其他OS来说可能很难获得。

截至目前,它可以将大约380个纹理从MC资源包转换为Minetest。这涵盖了几乎所有基本的世界范围内的元素,并且对于大多数玩家来说应该是非常令人满意的。如果发现丢失的块,请在此论坛主题中提问或在github上发布问题。

与其他转换器不同,此转换器可以处理门,草颜色和生物群系着色以及叶子!

转换完成后,转换器将打印出所有找到的MC纹理和资源包,并显示转换进行得如何:

$ ./mcresconvert.sh 
Automatically converting resourcepacks and texturepacks found...
Scanning for texture/resourcepacks...
Found: /home/sofar/.minecraft/resourcepacks/LegoPak_3.zip
   - Importing as LegoPak_3
   - Conversion quality: 188 / 378
   - Pixel size: 16px
Found: /home/sofar/.minecraft/resourcepacks/PixelDaydreams1.7.zip
   - Importing as PixelDaydreams17
   - Conversion quality: 238 / 380
   - Pixel size: 16px
Found: /home/sofar/.minecraft/resourcepacks/ravands32.zip
   - Importing as ravands32
   - Conversion quality: 348 / 378
   - Pixel size: 32px
Found: /home/sofar/.minecraft/resourcepacks/Pixel_Perfection_V2.0.zip
   - Importing as Pixel_Perfection_V20
   - Conversion quality: 332 / 378
   - Pixel size: 16px
Found: /home/sofar/.minecraft/resourcepacks/Lodecraft-Survival-V017d.zip
   - Importing as Lodecraft-Survival-V017d
   - Conversion quality: 354 / 380
   - Pixel size: 32px
Found: /home/sofar/.minecraft/resourcepacks/LIFE 128x (Vers. 81).zip
   - Importing as LIFE128xVers81
   - Conversion quality: 248 / 362
   - Pixel size: 128px
Found: /home/sofar/.minecraft/resourcepacks/Wayukian_pack_v63.zip
   - Importing as Wayukian_pack_v63
   - Conversion quality: 352 / 380
   - Pixel size: 16px
Found: /home/sofar/.minecraft/resourcepacks/Tiny Pixel's - Pavo's Edit - 25th October.zip
   - Importing as TinyPixels-PavosEdit-25thOctober
   - Conversion quality: 354 / 380
   - Pixel size: 16px
Found: /home/sofar/.minecraft/resourcepacks/[1.6] Dokucraft TSC Light.zip
   - Importing as 16DokucraftTSCLight
   - Conversion quality: 340 / 378
   - Pixel size: 32px
Found: /home/sofar/.minecraft/resourcepacks/lithos.zip
   - Importing as lithos
   - Conversion quality: 282 / 378
   - Pixel size: 32px
Found: /home/sofar/.minecraft/resourcepacks/PIXIE.zip
   - Importing as PIXIE
   - Conversion quality: 354 / 380
   - Pixel size: 16px
Found: /home/sofar/.minecraft/resourcepacks/MorayHills-v12.zip
   - Importing as MorayHills-v12
   - Conversion quality: 316 / 362
   - Pixel size: 32px
Found: /home/sofar/.minecraft/resourcepacks/Sanity.zip
   - Importing as Sanity
   - Conversion quality: 354 / 380
   - Pixel size: 16px
Found: /home/sofar/.minecraft/resourcepacks/Dandelion-v11.zip
   - Importing as Dandelion-v11
   - Conversion quality: 340 / 370
   - Pixel size: 16px
Found: /home/sofar/.minecraft/resourcepacks/Isabella_II_1.7c.zip
   - Importing as Isabella_II_17c
   - Conversion quality: 354 / 380
   - Pixel size: 16px
Found: /home/sofar/.minecraft/resourcepacks/ElvelandLight_v1.6.3.zip
   - Importing as ElvelandLight_v163
   - Conversion quality: 354 / 380
   - Pixel size: 32px
Found: /home/sofar/.minecraft/resourcepacks/Dtipack.zip
   - Importing as Dtipack
   - Conversion quality: 354 / 380
   - Pixel size: 32px
Found: /home/sofar/.minecraft/resourcepacks/OCD-pack-172.zip
   - Importing as OCD-pack-172
   - Conversion quality: 222 / 362
   - Pixel size: 16px
Found: /home/sofar/.minecraft/resourcepacks/Pixel Perfection V3.3.zip
   - Importing as PixelPerfectionV33
   - Conversion quality: 388 / 396
   - Pixel size: 16px
Found: /home/sofar/.minecraft/resourcepacks/Architects-Dream-32x32-172.zip
   - Importing as Architects-Dream-32x32-172
   - Conversion quality: 176 / 366
   - Pixel size: 32px

转换后的纹理包的示例