This is a small, simple tool to resize (shrink) a Dolphin texture pack, after I realised that there was no tool that would do this on Linux when I wanted to resize and shrink a texture pack that was way too large (and wouldn't fit in RAM when preloaded).
This is probably useless for 99% of Dolphin users, since most people use Windows (…I think) and they can already use the much more complete and full-featured Custom Texture Tool by Bighead.
But for the few Linux users, I hope this can be (slightly) useful. To use this, you'll need a modern version of Node (v6 or higher) and development files for libmagick++. The tool uses as many cores as possible by default, so it should be pretty fast. However, it currently doesn't support DDS textures and there are probably other small issues I haven't found yet, so PRs are welcome!
Source, usage and instructions: https://github.com/leoetlino/resize-dolphin-pack
This is probably useless for 99% of Dolphin users, since most people use Windows (…I think) and they can already use the much more complete and full-featured Custom Texture Tool by Bighead.
But for the few Linux users, I hope this can be (slightly) useful. To use this, you'll need a modern version of Node (v6 or higher) and development files for libmagick++. The tool uses as many cores as possible by default, so it should be pretty fast. However, it currently doesn't support DDS textures and there are probably other small issues I haven't found yet, so PRs are welcome!
Source, usage and instructions: https://github.com/leoetlino/resize-dolphin-pack
Code:
$ resize-dolphin-pack --input ~/wii/texture-packs/GZL/ --output ~/.dolphin-emu/Load/Textures/GZL/ --scale 4 -j 5
Directory: ~/wii/texture-packs/GZL/
Output: ~/.dolphin-emu/Load/Textures/GZL/
Target scale: original game x4
> Getting the file list…
skipping ~/wii/texture-packs/GZL/Items/Heros Bow/GZLE01_28764a1e_14.png
3166 files to process, 634 files/worker
404/3166 [==== ] 13% HUD/Screens/Start Screen/tex1_256x64_08aba0ba05a7746d_5.PNG