Commit Graph

46 Commits

Author SHA1 Message Date
bri cassa 15300a4413 Merge remote-tracking branch 'upstream/master' 2023-06-06 00:03:55 +02:00
unknown 55bbd478d9 fix all or edge cases for https://github.com/mt-mods/homedecor_modpack/issues/49 not caught by the last commit 2022-11-30 17:48:28 -05:00
bri cassa d667e39851 Merge remote-tracking branch 'upstream/master' 2022-05-27 18:34:18 +02:00
wsor4035 546cd7110f
make homedecor game agnostic (#28)
* make materials.lua with hades, minetest game, farlands items

* make textures file for central handling

* make mods game agnostic

* take out the trash

* handle multiple seats in sofas

* add github luacheck workflow and various luacheck fixes

* add fluxionary scope creep

* fix devtest breaking right to a name policy

Co-authored-by: wsor4035 <24964441+wsor4035@users.noreply.github.com>
Co-authored-by: SFENCE <sfence.software@gmail.com>
2022-05-03 15:21:14 -04:00
bri cassa 680f8e8995 Merge remote-tracking branch 'upstream/master' 2022-03-06 16:31:31 +01:00
wsor4035 769e14fd11
refactor doors code (#21) 2022-02-11 15:44:45 -05:00
wsor4035 0c2271fa46
fixes warning spam (#20)
* fix fake fire warnings

* fix hd 3d extras warnings

* fix hd climate control warnings

* fix hd clocks warnings

* fix hd cobweb warnings

* fix hd doors/gates warnings

* fix hd exterior warnings

* fix hd fences warnings

* fix hd gastronomy warnings

* fix hd kitchen missing dependency

* fix hd office warnings

* fix hd roofing warnings

* fix hd table warnings

* fix hd trash cans warnings

* fix hd wardrobe warnings

* remove legacy hack
2022-02-07 08:18:17 -05:00
Sys Quatre df9e8aea4b Merge remote-tracking branch 'upstream/master' 2021-01-24 12:40:06 +01: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
Sys Quatre 3567b42c39 Merge remote-tracking branch 'upstream/master' 2020-08-08 10:04:04 +02:00
Louis Royer 1090c9139c .luacheckrc on each mod 2020-08-05 16:01:47 +02:00
Louis Royer 1faa55a89e mod.conf for homedecor_3d_extras 2020-08-05 15:35:36 +02:00
Sys Quatre e372ccb4d8 Merge branch 'master' of yunohost:mtcontrib/homedecor_modpack into nalc-1.2-dev 2019-12-22 13:26:45 +01:00
Vanessa Dannenberg 7e7b2bcabb use table.copy instead of own clone node 2019-06-18 15:04:08 -04:00
Vanessa Dannenberg cbb41f7d98 give most doors more meaningful, distinct node names
to avoid confusion

doors:wood_glass_{oak,white,mahogany}_{a,b} --> doors:homedecor_french_{oak,white,mahogany}_{a,b}
doors:woodglass2_{a,b}                      --> doors:homedecor_carolina_{a,b}
doors:bedroom_{a,b}                         --> doors:homedecor_basic_panel_{a,b}

All others:
doors:$foo_{a,b}                            --> doors:homedecor_$foo_{a,b}
2019-06-03 03:42:06 -04:00
Vanessa Dannenberg 9b77ba1c28 move door 3d models to "3d extras" mod
by extension, require its presence to cause doors to be 3d

for consistency with the appearance/style of mtg doors in worlds that
wouldn't normally use the 3d extras mod

minor rework of closet door textures to make them work decently in both modes
2019-05-28 07:59:23 -04:00
Vanessa Dannenberg bb1a2c9314 follow proper naming conventions (or at least, make it better than it was :P ) 2019-05-28 06:38:18 -04:00
Vanessa Dannenberg 6181f9c400 3d-ify default doors and trapdoors 2019-05-28 06:26:50 -04:00
Sys Quatre 1520d27a73 Merge branch 'master' into nalc-1.2 2019-05-04 19:25:15 +02:00
Vanessa Dannenberg b08c0905c0 Split the big "homedecor" mod into multiple sub-mods
Any of these new submods can be run without any other
components that were once part of the big "homedecor"
mod, other than homedecor_common and homedecor_i18n

Reduced dependencies where possible, but each submod still
has its various dependencies more or less the same as before,
i.e. some need basic_materials, others need unifieddyes,
some need building_blocks, and so on.

All of the stuff that used to be under homedecor/handlers
got moved to homedecor_common, as did any models and/or textures
that are used by more than one other homedecor component.

All the miscellaneous items that didn't warrant their own
mod ended up in homedecor_misc, which can also be thought
of as the remains of the original "homedecor" mod, renamed.
2019-04-20 17:02:42 -04:00
sys4-fr 4eb9ffb088 Ajoute messages de chargement des mods dans le journal "action" 2018-12-25 17:41:16 +01:00
Vanessa Dannenberg e291a45d99 license fixups: use LGPL 3.0 for code,
CC-by-SA 4.0 for media and everything else
2018-11-08 18:58:34 -05: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
Vanessa Ezekowitz adc8cd0303 new oil extract, drinking glass, glass bottle, oil lamp inv images
adjusted vessels shelf glass texture accordingly
2015-05-26 18:42:03 -04:00
Vanessa Ezekowitz 7bba7cec2e new steel bottle inv image 2015-05-17 17:41:51 -04:00
Vanessa Ezekowitz 09b09550bc better model for steel bottle, revised its texture, renamed related
models and textures to better-conform to naming conventions
2015-05-17 17:17:19 -04:00
kilbith b86dac8e02 Override vessels nodes by mesh 2015-05-17 21:19:43 +02:00
Vanessa Ezekowitz 4b3976fd4b clarify the license info for the modpack and combine all such files into one 2015-05-15 19:12:01 -04:00
Vanessa Ezekowitz f59e0448c7 optimize all PNGs 2015-05-11 12:51:03 -04:00
Vanessa Ezekowitz cc804c734d add 3d vessels shelf 2015-04-22 03:14:36 -04:00
Vanessa Ezekowitz 015243e307 better model for 3d bookshelf
more efficient use of texture space, fewer polys, less wasted vertices.

also made it and empty bookshelf use default wood where possible, and
composite the inside-back texture from overlay + default wood.
2015-04-17 06:02:36 -04:00
Vanessa Ezekowitz a97bbbc23e OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 13:53:00 -05:00
Vanessa Ezekowitz 0051fe2ec6 delete 3d bookshelf blend file
(redundant, bloats modpack)
2015-01-02 01:27:49 -05:00
Vanessa Ezekowitz fecde79709 use mesh node for 3d bookshelf
(but not moreblocks empty one, isn't needed there)
2014-12-14 05:49:46 -05:00
Vanessa Ezekowitz c26d52ebdd PNGCRUSH _ALL_ THE TEXTURES! "\_:D/ 2014-08-04 13:47:16 -04:00
Vanessa Ezekowitz 5b705cf4ed Move the openframe bookshelf into the main homedecor mod
Moved the craft recipe too
this leaves just the default bookshelf and the moreblocks empty counterpart
in the 3d extras mod.
2014-07-13 08:37:42 -04:00
Vanessa Ezekowitz 9be635cb5f change license to LGPL to conform to what's written in the forum post
since forever.

Also clarify it in the copyright message, spread the license file around
a bit, and remove some useless "last changed" dates since they've been
inaccurate for a long time.
2014-06-06 03:26:42 -04:00
Vanessa Ezekowitz 7c85245691 improve textures for openframe bookshelf 2014-05-30 17:01:54 -04:00
Vanessa Ezekowitz 45a8e86021 add crafting recipe for bookshelf 2014-05-30 00:42:35 -04:00
Vanessa Ezekowitz 5d1d559109 minor tweak to top-side texture of open-frame bookshelf 2014-05-30 00:09:24 -04:00
Vanessa Ezekowitz 4d9520cf01 finish adding "open frame" bookshelf node def 2014-05-30 00:01:48 -04:00
Vanessa Ezekowitz 3cc4d57b0e get rid of some useless comments 2014-05-29 22:47:05 -04:00
Vanessa Ezekowitz 2f68d17cf7 make front edge of books uneven (looks better this way) 2014-05-29 22:45:20 -04:00
Vanessa Ezekowitz d9f56ea229 check for presence of moreblocks before overriding empty bookshelf 2014-05-29 19:13:23 -04:00
Vanessa Ezekowitz 2e4dce266f also redefine moreblocks' empty bookshelf in a similar manner 2014-05-29 19:06:53 -04:00
Vanessa Ezekowitz 3db939fca2 add 3d extras mod with 3d nodebox-based bookshelf
by default, this redefines the default bookshelf.
2014-05-29 18:52:51 -04:00