mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 14:53:16 -04:00
Only a single program was used to safely compress all textures in MTG. This was done using optipng with the following settings: ``` optipng -o7 -zm1-9 -nc -strip all -clobber %%f ``` The key command used is -nc, which stops color mode changes. I.e. any RGBA textures will remain RGBA textures, with none being changes to 8-bit indexed mode. The resulting compression: | type | size (Bytes) | % of original texture size | | --- | --- | --- | | Original | 247,571 | 100% | | Compressed | 152,189 | 61.5% | **Summary: Saves 93.14 KB** A script has been added: utils/optimize_textures.sh which will perform this compression automatically, assuming optipng is installed. |
||
---|---|---|
.. | ||
locale | ||
textures | ||
api.lua | ||
init.lua | ||
license.txt | ||
mod.conf | ||
README.txt |
Minetest Game mod: sfinv ======================== See license.txt for license information. Simple Fast Inventory. A cleaner, simpler, solution to having an advanced inventory in Minetest. See game_api.txt for this mod's API. Available for use outside of MTG here: https://forum.minetest.net/viewtopic.php?t=19765 Authors of source code ---------------------- rubenwardy (MIT) Authors of media ---------------- paramat (CC BY-SA 3.0): sfinv_crafting_arrow.png - derived from a texture by BlockMen (CC BY-SA 3.0)