minetest/mods
ExeVirus 454bb6dc7f Safe Compression Commit
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.
2021-02-11 09:01:07 -05:00
..
beds Safe Compression Commit 2021-02-11 09:01:07 -05:00
binoculars Update translation templates 2021-02-06 15:07:07 +01:00
boats Update translation templates 2021-02-06 15:07:07 +01:00
bones Safe Compression Commit 2021-02-11 09:01:07 -05:00
bucket Update translation templates 2021-02-06 15:07:07 +01:00
butterflies Update translation templates 2021-02-06 15:07:07 +01:00
carts Safe Compression Commit 2021-02-11 09:01:07 -05:00
creative Safe Compression Commit 2021-02-11 09:01:07 -05:00
default Safe Compression Commit 2021-02-11 09:01:07 -05:00
doors Safe Compression Commit 2021-02-11 09:01:07 -05:00
dungeon_loot Dungeon loot: Warn on unknown registered loot items (#2613) 2020-03-06 21:51:07 +01:00
dye Update translation templates 2021-02-06 15:07:07 +01:00
env_sounds Smoothen lava sounds at loop points (#2820) 2021-02-09 17:34:40 +01:00
farming Safe Compression Commit 2021-02-11 09:01:07 -05:00
fire Update translation templates 2021-02-06 15:07:07 +01:00
fireflies Safe Compression Commit 2021-02-11 09:01:07 -05:00
flowers Safe Compression Commit 2021-02-11 09:01:07 -05:00
game_commands Update translation templates 2021-02-06 15:07:07 +01:00
give_initial_stuff Add support for MT 5 game translation (rebasing ) (#2466) 2019-09-10 19:09:51 +02:00
map Update translation templates 2021-02-06 15:07:07 +01:00
mtg_craftguide Update translation templates 2021-02-06 15:07:07 +01:00
player_api Move player model sitting and laying positions to above the ground (#2746) 2020-11-13 18:14:25 +00:00
screwdriver Update translation templates 2021-02-06 15:07:07 +01:00
sethome Update translation templates 2021-02-06 15:07:07 +01:00
sfinv Safe Compression Commit 2021-02-11 09:01:07 -05:00
spawn Fix respawn not working at all when suitable position was not found 2020-04-04 13:06:40 +02:00
stairs Safe Compression Commit 2021-02-11 09:01:07 -05:00
tnt Safe Compression Commit 2021-02-11 09:01:07 -05:00
vessels Safe Compression Commit 2021-02-11 09:01:07 -05:00
walls Update translation templates 2021-02-06 15:07:07 +01:00
weather weather: Fix error caused by missing biomes 2021-02-07 11:48:05 +01:00
wool Update translation templates 2021-02-06 15:07:07 +01:00
xpanes Safe Compression Commit 2021-02-11 09:01:07 -05:00