feat(perf): add one-step tier setup script for existing players

Default Options only seeds configs when absent, so existing players never
got the tuned settings. build.py --ship now also writes the Deck/Mid/High
tier files to config/onion-perf/<tier>/, and onion-perf-setup.{sh,ps1,bat}
(installed into the instance folder) backs up and replaces the tier's
config files and merges only the tuned video keys into options.txt,
keeping keybinds, audio and vsync/max-FPS choices.

PLAYER-TUNING: point players at the script; bench B4 GC verdict (G1 for
everyone; ZGC/Shenandoah tested worse); 16 GB PCs 5-6 GB heap.
This commit is contained in:
logan committed 2026-10-18 15:31:20 -04:00
1 parent cf7ea5617e
commit f949c169a2
34 files changed
+4348 -22

No files matched your search

+112
View File
@@ -40,6 +40,106 @@ hash = "62034e0589087dab02d1a15192ad313a57f907d5ee9ebbf8853151f7831851a1"
file = "config/modernfix-mixins.properties"
hash = "ca92e91a2d856d42e4a5b1ba1900fbed0e942bcbeddd75c0195a2375ade75695"
[[files]]
file = "config/onion-perf/deck/config/DistantHorizons.toml"
hash = "46910495d79b540beed8137765fff4e14be3fd1860a5cadc73b38a6fbc0f3984"
[[files]]
file = "config/onion-perf/deck/config/entity_model_features.json"
hash = "89a8e21f43f512d78bfbc3ffb97b6d65cedc732a65ee565aed46499aa79fd57d"
[[files]]
file = "config/onion-perf/deck/config/flywheel-client.toml"
hash = "e10963bf43711e1d326e076a5b5baa5654b73d1a3878da6aa11c373b47c9e3ac"
[[files]]
file = "config/onion-perf/deck/config/lambdynlights.toml"
hash = "53a0c285438775ce29b8d44180feba1fd17b496eb0bbe5cb18684f2af1fdd3c9"
[[files]]
file = "config/onion-perf/deck/config/sodium-options.json"
hash = "c8c04fb322fc59c73e446f665522c3f0cdaafe6143b94b5895bb07f267489235"
[[files]]
file = "config/onion-perf/deck/config/sound_physics_remastered/sound_rates.properties"
hash = "c4676fcc924cc4bacc187d5364831aac1be170b93a2dc8e11119bff0235353e9"
[[files]]
file = "config/onion-perf/deck/config/sound_physics_remastered/soundphysics.properties"
hash = "912706e845015c30604db7ad0020a4ca95cdf4a94f7cad9eb8a166eab83f8279"
[[files]]
file = "config/onion-perf/deck/config/ssrd-common.toml"
hash = "9b75828543ed2b8cc5804eabecdc28262297a90d6f0e8e771d64ff779a69e3c9"
[[files]]
file = "config/onion-perf/deck/options.txt"
hash = "c021331ed6ac5150025ccf8f61fc96793fdf2d2950617a85b68b977f7510ee47"
[[files]]
file = "config/onion-perf/high/config/DistantHorizons.toml"
hash = "b4070cb07cf2fb9c7b14a2c49bc6b45b6aeb26d650fe8de80e4f9cbe67cb3ff5"
[[files]]
file = "config/onion-perf/high/config/entity_model_features.json"
hash = "7650058e21d1eaafc14cc1879bc20c2b510eb9f3095914322b8b08fc31025437"
[[files]]
file = "config/onion-perf/high/config/flywheel-client.toml"
hash = "8171fd8500c7bbd52df9fe4f8ea1b7abdc6a24868a9e7e54fa908b4725382bde"
[[files]]
file = "config/onion-perf/high/config/lambdynlights.toml"
hash = "0406650cc9d47011360284e0019f237ba3c94fc3067dc2bb4171f9a5fbea8367"
[[files]]
file = "config/onion-perf/high/config/sound_physics_remastered/sound_rates.properties"
hash = "c4676fcc924cc4bacc187d5364831aac1be170b93a2dc8e11119bff0235353e9"
[[files]]
file = "config/onion-perf/high/config/sound_physics_remastered/soundphysics.properties"
hash = "912706e845015c30604db7ad0020a4ca95cdf4a94f7cad9eb8a166eab83f8279"
[[files]]
file = "config/onion-perf/high/config/ssrd-common.toml"
hash = "9b744451175d440c4f2567d1fdd9799c2dc434012f5b1edb33cc7550193c4cef"
[[files]]
file = "config/onion-perf/high/options.txt"
hash = "22900375cf1d9a608d9d19c8bdbd5bd497d47f66a11a57182de576e09497fd7d"
[[files]]
file = "config/onion-perf/mid/config/DistantHorizons.toml"
hash = "8949bf3c7a43df7a7ae384213db0985425db3559219c29cb63eaef45c7962dcc"
[[files]]
file = "config/onion-perf/mid/config/entity_model_features.json"
hash = "7650058e21d1eaafc14cc1879bc20c2b510eb9f3095914322b8b08fc31025437"
[[files]]
file = "config/onion-perf/mid/config/flywheel-client.toml"
hash = "517e16b3dc86f15b5dccd9ff4f70f767b73ebc2166f6ea2891565417d930772a"
[[files]]
file = "config/onion-perf/mid/config/lambdynlights.toml"
hash = "3876c8b0c49cc8c2a7f500bc5d77429035e4edb25e16d27434e1dd4d546ae510"
[[files]]
file = "config/onion-perf/mid/config/sound_physics_remastered/sound_rates.properties"
hash = "c4676fcc924cc4bacc187d5364831aac1be170b93a2dc8e11119bff0235353e9"
[[files]]
file = "config/onion-perf/mid/config/sound_physics_remastered/soundphysics.properties"
hash = "d93803ffc12f4b55f9668dc2b9a4823d733b77f02dfee0879d6507f262ad34c6"
[[files]]
file = "config/onion-perf/mid/config/ssrd-common.toml"
hash = "9b75828543ed2b8cc5804eabecdc28262297a90d6f0e8e771d64ff779a69e3c9"
[[files]]
file = "config/onion-perf/mid/options.txt"
hash = "62034e0589087dab02d1a15192ad313a57f907d5ee9ebbf8853151f7831851a1"
[[files]]
file = "config/paxi/datapacks/onion-fixes/data/adorablehamsterpets/recipe/cucumber_crate.json"
hash = "21b11674b18c3fb0d8292095cf7c12bca82ef4054ec3f1cd8d1e0222d1655629"
@@ -1311,6 +1411,18 @@ file = "mods/zume.pw.toml"
hash = "165466fe8e528309d95875396f2a5e13c0bab7bcb0c1134d1fd5f3a935d488f5"
metafile = true
[[files]]
file = "onion-perf-setup.bat"
hash = "8e8e613429e5a2243829fa023c1dcc36b874ce42176bfa55dfa3c8a73122ccfd"
[[files]]
file = "onion-perf-setup.ps1"
hash = "86e12ff56f13229c3b0159eb2ea0cba403f35c6221be67037ea8481d370fa30d"
[[files]]
file = "onion-perf-setup.sh"
hash = "ecd5dfd5e135db6e9a98df65a7176cc2a9b3e14d7a140a3dcce90aae64d06519"
[[files]]
file = "resourcepacks/better-leaves.pw.toml"
hash = "c26f8da8b6f013fb7e917e29fc6ae783eb379c539da12d9d61196bc762fd26e1"