1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-16 07:10:35 +01:00
Commit Graph

61 Commits

Author SHA1 Message Date
unknown
21ae9f8c17 drop stairs api support and fix use_texture_alpha for stairs 2021-11-27 23:43:59 -05:00
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
Peter Nerlich
af808c7586 update recipies to contain groups instead of concrete items: wardrobe, filing_cabinet, desk, table, woodglass, fakegrass 2020-12-02 00:32:16 +01:00
Gardon Klimm
ec1be77d7e Update german locale 2020-10-09 04:57:41 +00:00
Louis Royer
1090c9139c .luacheckrc on each mod 2020-08-05 16:01:47 +02:00
Louis Royer
9a814da186 MT5 translation for building_blocks mod
- update .luacheckrc because stairs is used
- remove dependency to homedecor_common (not needed anymore)
- improve french translation
2020-08-05 15:35:22 +02:00
TenPlus1
0cd8bd7780 remove homedecor_i18n and merged into homedecor_common, fixed meseon global error 2019-04-21 16:25:21 +01:00
Vanessa Dannenberg
b94139c9df lighter, softer building_blocks marble texture 2019-04-20 17:02:48 -04:00
Vanessa Dannenberg
bf79c7d430 if both gloopblocks and moreblocks present, don't register "gravel spread"
alias it to gloopblocks:slab_gravel_1
2018-10-25 13:03:25 -04:00
Alexander Weber
3597c2c1aa Proper handle stairs groups
fix #410
2018-05-11 09:09:25 -04:00
Jat15
5efa9af1b7 Building_blocks Alias (#398)
Alias for old node Tar cut by moreblocks.
2017-11-20 12:26:57 -05:00
Jat15
8882ab8e19 Building blocks add glass for stairplus (#394)
* Building Blocks Add all glass for stairsplus

-Smoothglass
-WoodGlass

(plus some style fixes)
2017-09-29 11:58:55 -04:00
Jat15
3021248538 Building Blocks add sound (#393)
- Grate
- Firefplace
- Roofing
2017-09-29 01:05:53 -04:00
Vanessa Ezekowitz
228e25e123 get rid of inventorycube() calls
they're obsolete and annoying in combo with current inventory hover animations
2017-09-28 06:22:53 -04:00
Jat15
ddcb08fe62 Building Blocks node_stairs layout
- Glasslike
- RailLike
- Nodebox
- Node
And fix one tabulation with fakegrass.
2017-09-27 18:47:58 +02:00
Jat15
972d30dd38 Building Blocks layout all file 2017-09-27 17:05:20 +02:00
Jat15
cc9276841e Building Blocks Delete return to the line 2017-09-27 16:26:44 +02:00
Jat15
f2f49a3aac Building Blocks Create file recipes 2017-09-27 16:02:54 +02:00
Jat15
b92c9e065b Building Blocks Create file others 2017-09-27 15:58:04 +02:00
Jat15
ea77ac32ea Building Blocks Create file node_stairs 2017-09-27 15:44:33 +02:00
Jat15
14697ef71b Building Blocks create file alias 2017-09-27 15:29:20 +02:00
Jat15
9921efeeef Building Blocks Revert capital lettre
45-48 and 352-353 : Marble and Tar not use capital lettre for stairs.
Alias and node name revert.
2017-09-27 14:14:40 +02:00
Jat15
87e3c9f9ce Building Blocks add alias for moreblocks 2017-09-26 17:19:51 +02:00
Jat15
095e34ad7f Building Blocks Add Alias for bbstairs 2017-09-26 16:48:20 +02:00
Jat15
6c9da755f3 Building Blocks moreblocks and stairs
Simplify integration moreblocks
Replace bb stairs by Stairs
2017-09-26 15:43:47 +02:00
Jat15
c786e3ae05 Building Blocks simplify name for stairs 2017-09-26 15:17:16 +02:00
Vanessa Ezekowitz
c60607aa0d use a nodebox for building_blocks BWtile 2017-08-12 16:52:31 -04:00
fat115
c247318dd8 Update french, german, portuguese (and pt_BR) translations (#380)
* add some translatable strings

* updated translations
add option --sort-by-file to updatepo.sh

* Updated de, pt, pt_BR translations
from pull requests #378 (Wuzzy) & #379 (afmachado)

pt.po and pt_BR.po are the same but pt.po is usable by any portuguese speaking people, not only brazilian ones

* improved french translation
2017-08-12 16:30:46 -04:00
Vanessa Ezekowitz
af41f549a7 fix missing tar alias
(if moreblocks is installed)
2017-02-27 11:27:57 -05:00
Vanessa Ezekowitz
43f7056142 building_blocks: if moreblocks is installed, un-register the tar therein
and replace it with the building_blocks version.  Depends on moreblocks
pull request #70
2017-02-23 11:13:48 -05:00
Vanessa Ezekowitz
cf44a85684 increase yield of tar recipes (2 -> 4) 2017-02-22 13:44:45 -05:00
Diego Martínez
3e585ec482 Add a few missing translations. 2017-01-29 23:49:09 -03:00
Diego Martínez
27e1175fb0 Add missing translations. 2017-01-29 21:57:15 -03:00
Auke Kok
138e078f1b Whitespace damage fixes.
This is cleaned up by `cleanfile` (from the linux kernel tree
tool set).
2016-12-31 12:33:46 -08:00
Foz
90b9f90c0c replace deprecated field 2016-11-04 07:49:18 -09:00
Vanessa Ezekowitz
abdd52721c if moreblocks is installed, use different recipe
for sticks -> bundle of sticks

also add recipe to craft bundle --> 4 sticks
2015-10-12 03:32:26 -04:00
Craig Davison
ed3aa1e88a Replace LIGHT_MAX with default.LIGHT_MAX 2015-08-01 10:24:43 -04:00
Vanessa Ezekowitz
f59e0448c7 optimize all PNGs 2015-05-11 12:51:03 -04:00
kilbith
4dee35893a Cleaning and tweaking node params 2015-04-29 16:58:33 +02:00
Vanessa Ezekowitz
814d43f541 do similar for marble 2015-04-18 17:15:22 -04:00
Vanessa Ezekowitz
4ec6a72d5d put tar block into tar_block group and use that for related recipes 2015-04-18 17:04:00 -04:00
Vanessa Ezekowitz
8b806bf082 if technic isn't installed, define its granite node (as a building
material only) and make it from 5 tar + 4 marble (both from
building_blocks).

If moreblocks is installed (and technic isn't), this node is routed
through the stairsplus component, and a recipe is added that uses
moreblocks' own tar node also.
2015-03-23 02:09:39 -04:00
Vanessa Ezekowitz
a97bbbc23e OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 13:53:00 -05:00
Tim
3aee04287e register adobe and roofing of building_blocks with the circular saw as well 2015-01-19 22:57:48 +01:00
Tim
b88e756627 line ending (CRLF->LF) and whitespace cleanup for building_blocks 2015-01-19 22:57:40 +01:00
Vanessa Ezekowitz
71dad95d40 PNGCRUSH _ALL_ THE TEXTURES! "\_:D/ 2014-11-02 13:03:34 -05:00
Vanessa Ezekowitz
f590652035 use gravel + coal, cook the result to get tar 2014-09-01 22:53:05 -04:00
Vanessa Ezekowitz
36d86add50 detect moreblocks properly 2014-08-13 13:03:17 -04:00
Jat
dbc519c8b9 Use moreblocks for building_blocks slab and stair 2014-08-11 21:20:25 +02:00
Vanessa Ezekowitz
c26d52ebdd PNGCRUSH _ALL_ THE TEXTURES! "\_:D/ 2014-08-04 13:47:16 -04:00