From 39f429a9da538cbb3de3edee01325339689e5fa8 Mon Sep 17 00:00:00 2001 From: yukkop Date: Thu, 12 Nov 2026 19:51:16 +0000 Subject: [PATCH] fix: rustwipes: wow optimization --- docs/minecraft-prism.md | 32 ++++- docs/world-of-sosal-optimizations.md | 110 ++++++++++++++++++ .../system/neuro/minecraft/world-of-sosal.nix | 4 +- 3 files changed, 138 insertions(+), 8 deletions(-) create mode 100644 docs/world-of-sosal-optimizations.md diff --git a/docs/minecraft-prism.md b/docs/minecraft-prism.md index df888abc..6524ba75 100644 --- a/docs/minecraft-prism.md +++ b/docs/minecraft-prism.md @@ -21,10 +21,11 @@ Official workflow: https://packwiz.infra.link/tutorials/installing/packwiz-insta ## Publishing a tested update Keep authoritative `.mrpack` revisions as separate files in Storage Box. -The current source is `minecraft/pack/WorldOfSosal-v4-native-height.mrpack`, -SHA-256 `4a197bc039d6684fa1e652e1242b15d87bd8758de895ea8c4f8455ce6a712df1`. -V4 removes Dynamic Height and the Sable compatibility addon; other pack files -and Minecraft/NeoForge versions are unchanged. For a server update, upload a new +The current source is `minecraft/pack/WorldOfSosal-v5-optimizations.mrpack`, +SHA-256 `d3ec9d8725fbaaaa1e14ced3404a1fb904417ab45b1f632861d8e495e7846211`. +V5 adds five optimizers and Nowheel, with separate client/server Lithium +compatibility settings. V4's removal of Dynamic Height and its Sable addon is +retained. Minecraft/NeoForge versions are unchanged. For a server update, upload a new revision and set its path and SHA-256 in `nixos/system/neuro/minecraft/world-of-sosal.nix`, and rebuild/switch neuro before publishing the corresponding client export. The server importer and the client export must consume the same archive; publishing only the client can make @@ -32,7 +33,7 @@ it incompatible with the running server. ```sh # Test the client and deploy the matching server release first. -python3 script/build-prism-pack.py WorldOfSosal-v4-native-height.mrpack \ +python3 script/build-prism-pack.py WorldOfSosal-v5-optimizations.mrpack \ prism-export --server store.hectic-lab.com:25568 python3 script/publish-prism-pack.py prism-export hectic-lab ``` @@ -64,7 +65,26 @@ If Minecraft/NeoForge versions change, update and test both the server pin and client pack. packwiz-installer 0.5.14 understands NeoForge components in Prism's `mmc-pack.json`; a launcher restart/relaunch may be necessary after changing them. -## Verification on 2026-11-12 +## Verification: v5 on 2026-11-12 + +- Published `v5-optimizations` on hectic-lab; immutable web release + `b8416b890f24578dbaeabd2b2bede19ca8a1e01f9e2b532b04023188fa407c30`. +- Public HTTPS checks passed for the 598-entry index, the index hash, + client Lithium settings, archive SHA-256, and Prism's NeoForge 21.1.250 pin. +- Real packwiz transition from v4 to v5 passed and preserved modified + `options.txt`. +- Verified all 132 production server JARs against the same archive; no extra + JARs were present. The server started normally with the expected server + Lithium settings and the existing spawn datapack. +- Compared the production region against its fresh pre-update backup: + 81 chunks and 12,798 sampled blocks were unchanged, with `yPos=-32`, + 52-long heightmaps, and no heightmap-size warnings. +- The actual client entered an isolated Azeroth server and rendered the spawn + from multiple angles. This used software rendering, not an FPS benchmark. +- See `world-of-sosal-optimizations.md` for versions, compatibility rules, + accepted warnings, and remaining limitations. + +## Verification: v4 on 2026-11-12 - Published `v4-native-height` on hectic-lab. Source archive SHA-256 is `4a197bc039d6684fa1e652e1242b15d87bd8758de895ea8c4f8455ce6a712df1`; diff --git a/docs/world-of-sosal-optimizations.md b/docs/world-of-sosal-optimizations.md new file mode 100644 index 00000000..82570820 --- /dev/null +++ b/docs/world-of-sosal-optimizations.md @@ -0,0 +1,110 @@ +# WorldOfSosal v5 optimization compatibility + +Published on 2026-11-12 for Minecraft 1.21.1 / NeoForge 21.1.250. +Sodium 0.8.13, Create 6.0.10, Sable 2.0.5, and all existing mod versions +remain unchanged. + +| Component | Version | Side | +| --- | --- | --- | +| ImmediatelyFast | 1.6.15+1.21.1 | Client | +| Entity Culling | 1.11.3 | Client | +| Create: Nowheel | 2.1.1+1.21.1neoforge | Client compatibility fix | +| FerriteCore | 7.0.3 | Both | +| ModernFix | 5.27.27+mc1.21.1 | Both | +| Lithium | 0.15.4+mc1.21.1 | Both | + +More Culling is deferred: all 11 stable NeoForge artifacts advertised for +1.21.1 through 1.0.11 require Minecraft `[1.21,1.21.1)`, excluding 1.21.1. +No JAR metadata was patched or dependency check bypassed. Distant Horizons +and spark were not added. + +Nowheel addresses Entity Culling hiding entities on Sable sublevels. The +conservative pairing is Entity Culling 1.11.3 with Nowheel 2.1.1, rather than +the newly released Entity Culling 1.12.0. + +## Lithium compatibility + +Common `config/lithium.properties` disables: + +```properties +# Retained game-event dispatchers, issue 783. +mixin.world.game_events.dispatch=false +# Iron's Spellbooks multipart shields, issue 723. +mixin.entity.collisions.intersection=false +``` + +Client overrides retain both rules and additionally disable: + +```properties +# Create Ponder fake-level collisions, issue 771. +mixin.entity.collisions.movement=false +# Create Ponder identification raycasts, issue 663. +mixin.world.raycast=false +``` + +Sable automatically disables Lithium's unpushable cramming, chunk access, +chunk ticking, and tick scheduler optimizations. Runtime confirmed four +automatic rules plus two manual server rules. Existing ModernFix configuration +is unchanged. + +Two method-overwrite warnings are accepted overlap: ModernFix wins over Lithium +for biome temperature and sorted chunk-ticket removal. Temperature implementations +compute the same result; both ticket implementations retain linear compaction. +Disabling the skipped Lithium implementations would only remove warnings. +No warning suppression was added. + +## Deployment and checks + +Source: `minecraft/pack/WorldOfSosal-v5-optimizations.mrpack`. +SHA-256: `d3ec9d8725fbaaaa1e14ced3404a1fb904417ab45b1f632861d8e495e7846211`. +Parent v4: `4a197bc039d6684fa1e652e1242b15d87bd8758de895ea8c4f8455ce6a712df1`. +All previous archive entries and indexed mods are unchanged; only six JAR +entries and the two Lithium configuration files were added. + +All prior Storage Box versions and web releases remain available. Fresh +production backups are under +`/srv/minecraft/backups/wowMineMap-before-optimizations-20261112T190256Z`, +with sibling `-mods` and `-config` copies. The working world was not reset. +The existing Azeroth spawn datapack and source-map pin were preserved. + +An isolated server loaded, saved, restarted, and reloaded native Azeroth chunks. +Both comparisons passed: 81 chunks, 12,798 control blocks unchanged, +`yPos=-32`, 52-long heightmaps, and cobblestone below spawn unchanged. +The independent comparison after production deployment passed the same checks +against the fresh production backup. All 132 production JAR hashes matched the +new archive, with no extra JARs. + +The actual client entered the isolated server, initialized all new mods, and +rendered Azeroth from multiple angles. A real packwiz v4-to-v5 transition also +passed, preserving modified options and selecting the client Lithium settings. +Public HTTPS checks verified the 598-entry index, checksums, source archive, +client settings, and Prism loader pin. + +## Existing findings and test limits + +Sodium Dynamic Lights 1.0.10 references older Sodium option/rendering classes +and declares a Sodium Options API dependency that conflicts with Reese's +current options. Client logs confirm missing old Sodium mixin targets. This +pre-existing mod was retained; no incompatible Options API was installed. +Full dynamic-lighting functionality is not certified by this update. + +Older production logs already contain the same missing recipe/loot registry +entries from Design n' Decor, Artificers, and Craftable Loot Chests. +These were not changed as part of the optimization update. + +Client smoke testing used llvmpipe software rendering on OpenGL 4.5. It is not +an FPS comparison; Sable's GPU-specific shaders and every moving-ship/passenger +scenario were not exhaustively tested. + +## Primary references + +- https://github.com/tr7zw/EntityCulling/issues/299 +- https://modrinth.com/mod/create-nowheel/version/3NKOvEei +- https://raw.githubusercontent.com/FxMorin/MoreCulling/v1.0.11/gradle.properties +- https://github.com/FxMorin/MoreCulling/issues/481 +- https://github.com/CaffeineMC/lithium/issues/783 +- https://github.com/CaffeineMC/lithium/issues/723 +- https://github.com/CaffeineMC/lithium/issues/771 +- https://github.com/CaffeineMC/lithium/issues/663 +- https://github.com/embeddedt/ModernFix/issues/274 +- https://github.com/FlashyReese/reeses-sodium-options/issues/170 diff --git a/nixos/system/neuro/minecraft/world-of-sosal.nix b/nixos/system/neuro/minecraft/world-of-sosal.nix index 16482246..7f3d7bb1 100644 --- a/nixos/system/neuro/minecraft/world-of-sosal.nix +++ b/nixos/system/neuro/minecraft/world-of-sosal.nix @@ -13,10 +13,10 @@ serverName = "wowMineMap"; remoteHost = "u664722.your-storagebox.de"; remoteUser = "u664722"; - remotePath = "minecraft/pack/WorldOfSosal-v4-native-height.mrpack"; + remotePath = "minecraft/pack/WorldOfSosal-v5-optimizations.mrpack"; archiveName = "WorldOfSosal.mrpack"; cacheDir = "/var/lib/minecraft-modpacks/worldOfSosal"; - archiveSha256 = "4a197bc039d6684fa1e652e1242b15d87bd8758de895ea8c4f8455ce6a712df1"; + archiveSha256 = "d3ec9d8725fbaaaa1e14ced3404a1fb904417ab45b1f632861d8e495e7846211"; expectedDependencies = { minecraft = "1.21.1"; neoforge = "21.1.250";