Go to file
ExeVirus f9ca183f2a # Compression Commit
This commit performs both lossless and lossy compression on every .obj and .png in homedecor. The .png files were all 100% losslessly compressed using ect.exe and optipng.exe (more details below) at maximum settings. The .obj files were lossy-compressed so that comments were removed, trailing 000's were removed and all numbers rounded to 3 decimal places max. Blender exports at 6 decimal places but for minetest, 3 decimal places is the absolute maximum a person with anything under a 256K screen will ever need.

## Results
```
Original entire modpack size: 6343.5 KB
New entire modpack size:      5312.2 KB
Total Reduction:              1031.3 KB  (16.3% less)
```
Please note that actual media size is likely more like 4,500 KB so media reduction is more around 20-25%.

## Details / What actions were actually performed

Used these programs:

https://github.com/ExeVirus/Compress-Obj

https://sourceforge.net/projects/optipng/

https://github.com/fhanau/Efficient-Compression-Tool

Ran this command on every .obj: (fast)

```
luajit.exe compress.lua -f <file> -precision 3
```

Ran these commands on every .png: (slow)
```
ect.exe  -9 -strip --allfilters-b <file>
optipng.exe -o7 -strip all -clobber <file>
```

Note that for future compression, I recommend only using optipng.exe instead of both. ECT can get better results but it takes a LOT longer and only ever saves another 1-2% of the file size. Not worth an extra 10-20 seconds per texture file in my opinion.

## Time spent

Roughly 2 Hours from start to finish + commit + PR
2021-01-23 07:28:20 -05:00
building_blocks # Compression Commit 2021-01-23 07:28:20 -05:00
computer # Compression Commit 2021-01-23 07:28:20 -05:00
fake_fire # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_3d_extras # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_bathroom # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_bedroom # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_books # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_climate_control # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_clocks # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_cobweb # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_common # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_doors_and_gates # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_electrical # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_electronics # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_exterior # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_fences # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_foyer # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_furniture # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_furniture_medieval # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_gastronomy # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_kitchen # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_laundry # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_lighting # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_misc # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_office # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_pictures_and_paintings # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_roofing # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_seating # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_tables # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_trash_cans # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_wardrobe # Compression Commit 2021-01-23 07:28:20 -05:00
homedecor_windows_and_treatments # Compression Commit 2021-01-23 07:28:20 -05:00
inbox # Compression Commit 2021-01-23 07:28:20 -05:00
itemframes # Compression Commit 2021-01-23 07:28:20 -05:00
lavalamp # Compression Commit 2021-01-23 07:28:20 -05:00
plasmascreen # Compression Commit 2021-01-23 07:28:20 -05:00
.gitignore ignore eclipse project files 2015-08-16 16:05:00 +02:00
LICENSE license fixups: use LGPL 3.0 for code, 2018-11-08 18:58:34 -05:00
README reduce README to just a stub (use the forum thread instead) 2017-02-22 14:59:54 -05:00
bower.json Add files via upload 2016-08-10 18:41:51 +02:00
copyright.txt Split the big "homedecor" mod into multiple sub-mods 2019-04-20 17:02:42 -04:00
listnodes.sh Split the big "homedecor" mod into multiple sub-mods 2019-04-20 17:02:42 -04:00
modpack.conf add minimum minetest version key for contentdb 2020-06-03 13:00:19 -04:00
modpack.txt split signs_lib from homedecor, put them into their own separate mods 2014-01-25 12:57:05 -05:00

README

This is what I consider to be a fairly feature-filled home decor modpack.  
See the forum thread at 
https://forum.minetest.net/viewtopic.php?f=11&t=2041 for details about 
this modpack.

Dependencies: unifieddyes and a Minetest engine build newer than 2017-01-23.

Recommends: signs_lib, windmill, moreblocks, unified_inventory.