feat: transfer wowmine to neuro
This commit is contained in:
@@ -0,0 +1,204 @@
|
||||
# wowmine source versions and reset
|
||||
|
||||
The rename target is a byte-identical source copy named
|
||||
`wowmine-20261114T223938Z-winter-biomes.tar.gz`. Copy publication is planned,
|
||||
not verified by this documentation change. Historical Storage Box source names
|
||||
below use the wowmine prefix; recorded hashes and checks apply to the original
|
||||
verified bytes and do not establish that renamed copies exist. Paths retaining
|
||||
the old spelling below are explicitly historical rollout receipts or GC roots.
|
||||
|
||||
The source map is independent of the running world. Keep every source revision
|
||||
as a separate archive in Storage Box under `minecraft/map/versions/`.
|
||||
Never replace an existing version. The original `minecraft/map/wow mine map.rar`
|
||||
remains the parent source.
|
||||
|
||||
Each new version has a UTC timestamp in its filename and a JSON sidecar recording
|
||||
its SHA-256, parent archive and hash, spawn dimension and coordinates, and changes.
|
||||
Upload to a temporary filename, verify the remote SHA-256, then rename to the
|
||||
final version filename. Pin that path and hash in
|
||||
`nixos/system/neuro/minecraft/wow-mine-map.nix`.
|
||||
|
||||
The current source bytes to be copied as
|
||||
`wowmine-20261114T223938Z-winter-biomes.tar.gz` have
|
||||
SHA-256 `d1afd169b16b7b50a57c47da46245e93285b46b6c833bfd08941d07d0341b208`
|
||||
(6,423,189,189 bytes). Archive and JSON manifest were uploaded separately,
|
||||
fully downloaded again, hash checked, and renamed to immutable Storage Box
|
||||
paths on 2026-11-15 UTC. The manifest SHA-256 is
|
||||
`4fd3caff074c1f2f30f55dd82a94fef6fd6918e06243094c4fd39457408facc0`.
|
||||
|
||||
The winter revision extends existing snowy plains, snowy taiga, and ice spikes
|
||||
through the native height Y=-512..2031. The approved northern snowy `the_end`
|
||||
component becomes snowy plains. Its exact contour contains 218,269 native
|
||||
4x4 columns; existing winter areas contain 1,384,211 columns. Isolated snow
|
||||
and ice decorations outside these masks remain unchanged. Together these
|
||||
cover 1,602,480 columns in 104,637 chunks and 187 Azeroth region files.
|
||||
The approved contour bundle SHA-256 is
|
||||
`d15c85c563553c203fb32034f74421bda6a5b00209220ef4f9e780b5900760bd`.
|
||||
|
||||
The transformation checks all 1,019,177,280 target biome cells and every
|
||||
unselected biome cell in each affected chunk. Original non-biome NBT bytes,
|
||||
chunk membership, region timestamps, and untouched compressed chunk payloads
|
||||
are preserved. Missing sections added within the native height contain only
|
||||
air blocks. An independent verifier also checked every modified region header,
|
||||
every untouched payload, and 512 selected chunks. A private server with the
|
||||
production NeoForge 21.1.250, Java 21, and 133 mod JARs passed 117 biome predicates
|
||||
and 216 original-block predicates at nine control points. Biome expectations
|
||||
use Minecraft's seeded biome sampling, including neighboring quart cells.
|
||||
|
||||
On 2026-11-15 UTC the running world received a biome-only overlay, without a
|
||||
reset or source extraction. Minecraft was stopped before copying the original
|
||||
187 target region files and player/progress metadata to
|
||||
`/srv/minecraft/backups/wowMineMap-before-winter-biomes-20261114T223938Z`.
|
||||
This is a targeted backup, not a full-world snapshot. Separate output MCA files
|
||||
passed the complete biome/non-biome checks and the independent 512-chunk check
|
||||
before atomic replacement. All 3,361 other world files retained their SHA-256,
|
||||
size, ownership, mode, inode, and modification time before server startup,
|
||||
including entities, POI, playerdata, advancements, statistics, and level metadata.
|
||||
The original live `SOURCE_VERSION.txt` remains unchanged; the separate overlay
|
||||
receipt is `/var/tmp/worldofsosal-winter-biomes/live-application.json`.
|
||||
|
||||
The old Azeroth `data/DistantHorizons.sqlite` was moved intact into the backup's
|
||||
`derived-dh/` directory (807,206,912 bytes, SHA-256
|
||||
`d7c5174889f236bbbeca63be68cb7bd56f85cd96d83d5bd3730af7c089598a30`).
|
||||
This derived terrain cache must be regenerated to avoid serving old biome LODs.
|
||||
Other dimensions' caches were preserved. Old source versions and backups remain.
|
||||
|
||||
After startup at 00:23:37 UTC on 2026-11-15, the production server passed all
|
||||
117 biome predicates and 216 block predicates against the pre-change live
|
||||
baseline at nine control points. Both dimensions registered, temporary
|
||||
force-load tickets were removed, and `save-all flush` succeeded. The Azeroth
|
||||
DH database was recreated with the new cache identity. Only `levelKeyPrefix`
|
||||
changed in the DH configuration; all other parsed TOML settings matched.
|
||||
The v11 archive, all 133 mod JARs, JVM launcher and memory flags
|
||||
(`-Xmx24G -Xms2G`), and view/simulation distances 32/32 were verified unchanged.
|
||||
The public Minecraft status endpoint answered with the v11 MOTD.
|
||||
No heightmap warnings appeared. All 304 distinct startup error messages matched
|
||||
the previous 2026-11-13 launch: existing mod compatibility, registry, loot,
|
||||
recipe, and function errors remain outside this biome change.
|
||||
Verification reports reside in `/var/tmp/worldofsosal-winter-biomes/`:
|
||||
`live-patch-report.json`, `live-independent.json`, `live-application.json`,
|
||||
`live-runtime-report.json`, `live-config-application.json`, and
|
||||
`live-final-report.json`. These separate offline byte-preservation evidence
|
||||
from normal game writes after startup.
|
||||
|
||||
The parent is `wowmine-20261113T172314Z-outland.tar.gz`,
|
||||
SHA-256 `bee81bb955099e85ed93ca7c258a9cc48ec1a26590bfe891c869a80ad0094def`
|
||||
(6,579,158,241 bytes). This is a clean source revision, derived from the spawn
|
||||
revision below, without gameplay state. It was activated on neuro on 2026-11-13:
|
||||
the working world was reset through the updated import and reset units.
|
||||
Previous source archives and existing backups were retained.
|
||||
|
||||
Outland is now `crafting_azeroth:outland`. The original source documentation
|
||||
places its spawn at **-51210 100 7**, Shattrath at `-53787 77 1069`, and the
|
||||
Hellfire Dark Portal at `-51153 119 7`. Positive X near `51200 116 0` is a
|
||||
separate rotated Stormwind instance and remains in Azeroth.
|
||||
|
||||
All 147 region files west of X=-25600 were moved into Outland without changing
|
||||
coordinates or MCA bytes: 96,403 chunks, 854,810,624 bytes. All 2,063,716 source
|
||||
chunks remain accounted for. The new dimension reuses the native Azeroth height
|
||||
type (`min_y=-512`, `height=2544`) and an empty flat generator. The Azeroth spawn
|
||||
datapack remains enabled. Updated installation and teleport instructions and
|
||||
`OUTLAND_SEPARATION.json` are included in the archive.
|
||||
|
||||
During the winter overlay the server used a revision-specific Distant Horizons
|
||||
`server.levelKeyPrefix`, enforced by the modpack importer's `postStart`. This
|
||||
historical long prefix was later shortened; see `minecraft-prism.md`. The archive
|
||||
configuration omitted the key, so `postStart` inserted it under `[server]` rather
|
||||
than only replacing an existing line. This gave clients a fresh terrain-cache
|
||||
identity for each dimension. Obsolete client terrain
|
||||
caches can be removed if old Azeroth LODs remain visible. No DH database is
|
||||
included in the source archive. Ordinary server restarts preserve the working
|
||||
world; only the explicit reset command imports the source again.
|
||||
|
||||
The isolated 2026-11-13 trial registered both dimensions on NeoForge 21.1.250.
|
||||
All 1,440 sampled block states across seven control chunks matched before and
|
||||
after a server restart, with `yPos=-32` and 52-long heightmaps. Controls include
|
||||
Outland spawn, Hellfire, Shattrath, Azeroth spawn, the retained positive-X
|
||||
instance, and both empty counterpart locations. The v11 client joined, visited
|
||||
Outland and Shattrath, and returned to Azeroth; screenshots confirmed terrain.
|
||||
Existing modpack recipe/function errors remain unrelated to this map revision.
|
||||
|
||||
After activation, the working server registered both dimensions and passed the
|
||||
same seven-chunk, 1,440-block comparison with native height metadata. Temporary
|
||||
force-load tickets were removed after verification. All 133 mod JARs, the v11
|
||||
release, JVM launcher, and view/simulation distances of 32/32 remained unchanged.
|
||||
The public Minecraft status endpoint responded successfully. The final restart
|
||||
with the new DH cache identity began at 21:42:22 UTC on 2026-11-13.
|
||||
|
||||
The server now uses the native `crafting_azeroth_height` datapack
|
||||
(`min_y=-512`, `height=2544`). The modpack importer's `postStart` removes
|
||||
`dynamicheight-0.2.0+neoforge-1.21-1.21.1.jar` and
|
||||
`sable_dynamicheight_compat-1.0.0.jar` after every import.
|
||||
The original pack archive remains unchanged.
|
||||
|
||||
With the previous mod configuration, saved Azeroth height changed from
|
||||
MinY=-512, MaxY=2016 to MinY=-64, MaxY=320 and loaded chunks were rewritten.
|
||||
The native-height trial checks the 81 chunks around `3742 89 8891`, saves them,
|
||||
restarts Minecraft, and compares control blocks and chunk height metadata.
|
||||
The 2026-11-12 trial passed on the main server: 12,798 sampled blocks matched the
|
||||
source both before and after restart, all 81 chunks retained `yPos=-32` and
|
||||
52-long heightmaps, and the cobblestone at `3742 88 8891` remained present.
|
||||
No heightmap-size warnings appeared after restart. Temporary force-load tickets
|
||||
are removed after the trial. This verifies server loading and persistence;
|
||||
client login with the changed mod set is a separate check.
|
||||
|
||||
The parent spawn revision is
|
||||
`wowmine-20261112T093842Z-spawn-3742-89-8891.tar.gz`, with SHA-256
|
||||
`da3f79e5593a5b7485ed371d65341cc1516c78a19a1fba71874ae8c1d90e624c`.
|
||||
Its parent is retained as `versions/wowmine-original-bc80084d.rar`, with
|
||||
SHA-256 `bc80084de10a06b0fc2cb1651c61936b9e2fd2288f3f0fe44c964d83a393aa30`.
|
||||
The immutable spawn revision includes the historical namespace
|
||||
`worldofsosal_spawn`, which initializes each new
|
||||
character once at `3742 89 8891` in Azeroth and sets a personal respawn point.
|
||||
Its maintained source is `nixos/system/neuro/minecraft/wowmine-spawn/`.
|
||||
|
||||
The spawn was re-enabled on 2026-11-12 after switching to native dimension height.
|
||||
The working world was not reset or replaced: only the datapack, world spawn
|
||||
metadata, and yukkop's personal respawn fields were changed. Player position,
|
||||
inventory, and other player data were preserved. A full pre-change world copy is
|
||||
kept at `/srv/minecraft/backups/wowMineMap-before-spawn-20261112T133407Z`.
|
||||
After restart, the saved world spawn and personal respawn fields were verified
|
||||
at `3742 89 8891`, with personal `SpawnDimension=crafting_azeroth:azeroth` and
|
||||
forced respawn enabled. The spawn datapack was enabled in the running server.
|
||||
Across 81 loaded chunks, all 12,798 control blocks matched the pre-change working
|
||||
world; `yPos=-32`, 52-long heightmaps, and the cobblestone below spawn were
|
||||
preserved. There were no heightmap-size warnings. The temporary force-load
|
||||
tickets were removed after verification.
|
||||
|
||||
To discard all gameplay changes and return to the pinned source:
|
||||
|
||||
```sh
|
||||
ssh neuro systemctl start minecraft-world-reset-wowMineMap.service
|
||||
```
|
||||
|
||||
This command deletes the entire working world, including all dimensions,
|
||||
inventories, player positions, advancements, and statistics. It first verifies
|
||||
the cached source archive's SHA-256, stops the game and world importer, deletes
|
||||
`/srv/minecraft/wowMineMap/world`, then starts the server. The existing importer
|
||||
extracts the pinned archive before Minecraft starts.
|
||||
|
||||
Mods, server configuration, operator permissions, and source archives remain.
|
||||
Ordinary server restarts preserve the working world; only the explicit reset
|
||||
command discards it.
|
||||
|
||||
Check completion with:
|
||||
|
||||
```sh
|
||||
ssh neuro systemctl status minecraft-world-reset-wowMineMap.service \
|
||||
minecraft-world-import-wowMineMap.service minecraft-server-wowMineMap.service \
|
||||
--no-pager
|
||||
```
|
||||
|
||||
An inactive reset service with exit status 0 is expected after completion.
|
||||
The cache must already contain the pinned archive. To switch source versions,
|
||||
deploy the changed importer and cache the verified archive before resetting.
|
||||
|
||||
The initial deployment on neuro installs the generated import and reset units
|
||||
under `/etc/systemd/system.control/`, with GC roots
|
||||
`/nix/var/nix/gcroots/worldofsosal-world-{import,reset}-unit`. This avoids an
|
||||
unrelated NixOS upgrade. These persistent units override ordinary NixOS units:
|
||||
replace both links and GC roots when deploying another source revision, or
|
||||
remove the overrides after a full NixOS activation includes the same revision.
|
||||
The modpack importer also has an override under `/etc/systemd/system.control/`,
|
||||
pinned by `/nix/var/nix/gcroots/worldofsosal-modpack-import-unit`. Update or remove
|
||||
that override under the same rules when changing the modpack import configuration.
|
||||
Reference in New Issue
Block a user