1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-08 11:20:26 +01:00
Commit Graph

1547 Commits

Author SHA1 Message Date
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
Vanessa Dannenberg
a57723df7d Merge branch 'fix-recipies-groups' into 'master'
Update recipies to contain groups

See merge request VanessaE/homedecor_modpack!17
2020-12-01 23:45:49 +00: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
Vanessa Dannenberg
99d5d96113 Merge branch 'master' into 'master'
add connection to direct top node (0;1;0) in rules_alldir of homedecor_lightning/init.lua

See merge request VanessaE/homedecor_modpack!16
2020-11-19 20:29:59 +00:00
Sebastian Lobinger
93bf5d76ae reorder rules_alldir in homedecor_lightning/init.lua so it can read by y-axis and then line by line of 2d coordinates
if you express the connections in ascii where N is the Node 1 is connected and 0 is not connected:
```
y+0: 010
     1N1
     010

y+1: 010
     111
     010

y-1: 010
     111
     010
```
This code structure is more easy to read / a very close representation of the sketched layers.
2020-11-19 16:41:12 +00:00
Sebastian Lobinger
ec06010320 add connection to direct top node (0;1;0) in rules_alldir of homedecor_lightning/init.lua
This allows the rope_light_on_ceiling node to be connected with mesecon in a natural manner.
2020-11-19 16:17:28 +00:00
VanessaE
96a0862833 fixed doorbell recipe
fixes #32
2020-11-18 11:41:19 -05:00
Vanessa Dannenberg
77bb9636bc Merge branch 'showItemDescription' into 'master'
improve info with fallback

See merge request VanessaE/homedecor_modpack!15
2020-10-14 10:22:12 +00:00
SwissalpS
77af2295ae add description of item in frame / on pedestal
lets players brag about their tools and is useful
for better overview.
2020-10-14 10:22:12 +00:00
Vanessa Dannenberg
f2cd1fbd49 Merge branch 'master' into 'master'
Display item's description in infotext.

See merge request VanessaE/homedecor_modpack!14
2020-10-12 08:27:09 +00:00
SwissalpS
43de5b79ae Display item's description in infotext.
allows players to brag about their tool stats and is useful for better overview.
2020-10-12 06:23:01 +00:00
Vanessa Dannenberg
0678ecdafc Merge branch 'update_german_locale' into 'master'
Update german locale

See merge request VanessaE/homedecor_modpack!13
2020-10-09 04:57:41 +00:00
Gardon Klimm
ec1be77d7e Update german locale 2020-10-09 04:57:41 +00:00
VanessaE
1ecde7e278 fix #29 2020-09-15 09:20:08 -04:00
VanessaE
47a029923c opt depend on screwdriver in _common 2020-08-17 09:18:51 -04:00
Vanessa Dannenberg
c2122a634a Merge branch 'locale' into 'master'
MT5 translation

See merge request VanessaE/homedecor_modpack!12
2020-08-06 19:38:13 +00:00
Louis Royer
98b281aade Fix minetest warnings from homedecor_lighting
```
Undeclared global variable "mesecon" accessed at ...etest/mods/homedecor_modpack/homedecor_lighting/init.lua:852
Undeclared global variable "mesecon" accessed at ...etest/mods/homedecor_modpack/homedecor_lighting/init.lua:898
```
2020-08-05 16:10:33 +02:00
Louis Royer
1090c9139c .luacheckrc on each mod 2020-08-05 16:01:47 +02:00
Louis Royer
1c7ceb2e90 MT5 translation for homedecor_common
- Remove intllib support
- Fix luacheck warnings (except for 1 I don't know what to do)
- Removes homedecor_common/mt_game_beds_functions.lua (we can get the
function directly from `beds` mod instead of using an obsolete copie; I
have not re-enabled bed-sleeping, but it should work)
2020-08-05 16:01:47 +02:00
Louis Royer
f0ab7a6c78 MT5 translation for plasmascreen 2020-08-05 16:01:47 +02:00
Louis Royer
0800810530 MT5 translation for lavalamp 2020-08-05 16:01:47 +02:00
Louis Royer
b88d76d07f MT5 translation for itemframes
- Fix luacheck warnings
2020-08-05 16:01:47 +02:00
Louis Royer
3bc711b9e3 MT5 translation for inbox 2020-08-05 16:01:47 +02:00
Louis Royer
4a72054c78 MT5 translation for homedecor_windows_and_treatments 2020-08-05 16:01:47 +02:00
Louis Royer
204beaaaac MT5 translation for homedecor_wardrobe
- Add screwdriver to optional_depends
- Fix luacheck warnings
2020-08-05 16:01:47 +02:00
Louis Royer
f7412c6191 MT5 translation for homedecor_trash_cans 2020-08-05 16:01:47 +02:00
Louis Royer
0e52553b8a MT5 translation for homedecor_tables
- Fix luacheck warnings
2020-08-05 16:01:47 +02:00
Louis Royer
a9809998bf MT5 translation for homedecor_seating
- Add screwdriver to optional_depends
- Fix luacheck warnings
2020-08-05 16:01:47 +02:00
Louis Royer
ea6e75fa6a MT5 translation for homedecor_roofing
- Fix luacheck warnings
2020-08-05 16:01:47 +02:00
Louis Royer
661636bb5c MT5 translation for homedecor_pictures_and_paintings 2020-08-05 16:01:47 +02:00
Louis Royer
77df83e161 MT5 translation for homedecor_office 2020-08-05 16:01:47 +02:00
Louis Royer
92649fad62 MT5 translation for homedecor_misc
- Add screwdriver to optional_depends
- Fix luacheck warnings
- Fix indentation
2020-08-05 16:01:47 +02:00
Louis Royer
e3ec030468 MT5 translation for homedecor_lighting
- Add screwdriver to optional_depends
- Fix luacheck warnings (mostly removing unused/legacy stuff)
Note: sm_light used to be a light_source value for lattice small lantern,
but when this was changed, only half of the lines were deleted
(including the declaration). The other half has been preserved because
it was part of an if-arm that "seems" unrelated (but it only seems).
- Improve french translation
2020-08-05 16:01:39 +02:00
Louis Royer
4f23eeec3e MT5 translation for homedecor_laundry
- Add french translation
2020-08-05 16:01:39 +02:00
Louis Royer
efba9e0648 MT5 translation for homedecor_kitchen
- Add screwdriver in optional_depends
- Fix luacheck warnings
2020-08-05 16:01:39 +02:00
Louis Royer
eae0f6cb3c MT5 translation for homedecor_gastronomy
- Add screwdriver in optional_depends
- Fix luacheck warning
- Improve french translation
2020-08-05 16:01:39 +02:00
Louis Royer
57d51e4596 MT5 translation for homedecor_furniture_medieval 2020-08-05 16:01:39 +02:00
Louis Royer
6f383c66b0 MT5 translation for homedecor_furniture 2020-08-05 16:01:39 +02:00
Louis Royer
9d28edc3ff MT5 translation for homedecor_foyer
- Add screwdriver in optional_depends
2020-08-05 16:01:39 +02:00
Louis Royer
22e4e0c42b MT5 translation for homedecor_fences
- Update .luacheckrc to allow signs_lib in globals since the current API
doesn't allow to have it read only (added a FIXME, needs a addition to
signs_lib, ping @VanessaE)
2020-08-05 16:01:39 +02:00
Louis Royer
1675a93fec MT5 translation for homedecor_exterior
- add screwdriver in optional_depends
- fixes luacheck warnings
- french translation
2020-08-05 16:01:32 +02:00
Louis Royer
facee91684 MT5 translaton for homedecor_electronics
- Fix indentation
- Remove duplicated craft
2020-08-05 16:01:32 +02:00
Louis Royer
07e42fb2f5 MT5 translation for homedecor_electrical
- fixes luacheck warnings
2020-08-05 16:01:32 +02:00
Louis Royer
512ae9ec67 MT5 translation for homedecor_doors_and_gates
- add screwdriver optional_depends
- fix luacheck warnings
- french translation
2020-08-05 16:01:18 +02:00
Louis Royer
4d6458b684 MT5 translation for homedecor_cobweb
- luacheck warnings fix
`homedecor_cobweb/init.lua:104:10: setting read-only field rotate_cobweb of global homedecor`
2020-08-05 16:01:18 +02:00
Louis Royer
6b18347fb0 MT5 translation for homedecor_clocks
- add screwdriver in optional_depends
- improve french translation
2020-08-05 16:01:18 +02:00
Louis Royer
c1d9cc1de2 MT5 translation for homedecor_climate_control
- Add screwdriver in optional_depends
- Add screwdriver in .luacheckrc
2020-08-05 16:01:18 +02:00
Louis Royer
fc28c4385a MT5 translaton for homedecor_books
Separate translation of colors because it depends of context for some
languages (eg. french); improved translation of colors in french.
2020-08-05 16:01:10 +02:00
Louis Royer
c6e35a4e5c MT5 translation for homedecor_bedroom
- add screwdriver in optional_depends
- Fix luacheck warnings
2020-08-05 15:35:36 +02:00
Louis Royer
ea73ff6f6e MT5 translation for homedecor_bathroom
- add screwdriver in optional_depends
- Fixes luacheck warnings
2020-08-05 15:35:36 +02:00