Octo patch server (2026-11-23)
Streams signed updates to OctoWoW clients, the way the 1.12 client used to patch itself. The 70334 client has no
patch downloader of its own, so a small launcher does it: OctoUpdater.exe in the client root (next to
.build.info) checks the channel, installs what is missing, then starts _classic_beta_\WowB.exe.
Pieces
| Piece | Where |
|---|---|
| Publisher | publish.py — turns a frozen content step (stage-plan.json) or a set of loose files into a signed channel |
| Channel repo | /mnt/Games/@project/patchserver/repo/<channel>/ — manifest.txt, manifest-store.txt, their detached signatures, and blobs/<sha256>.zst |
| Server | container octo-patchserver (python:3.13-slim, http.server, repo mounted read-only), port 8095 on all interfaces (LAN and WireGuard addresses of the build PC) |
| Updater | updater/OctoUpdater.cpp, built by updater/build.sh (mingw, static, zstd 1.5.7 decoder, WinHTTP, BCrypt) |
| Signing key | private: claude-linux-build-20261121/signing-key-PRIVATE/patch-manifest-key.pem (never publish); public: patch-manifest-public.pem, embedded in the exe |
What the updater guarantees
- The manifest must carry a valid RSA-3072 signature from the patch key, or nothing is installed.
- A CONTENT step runs only when the client's build key is the step's parent, and only after the same exact
checks
install.pymakes (file hashes, index generations, 547-ish alias spans, new paths absent). - Every downloaded blob and every decoded file is checked against the signed sha256.
- New files are staged under
_patch/stage, moved in, and.build.infois switched last (old one kept in_patch/build.info.<parent>). An interrupted run leaves the client on its old build; a rerun reuses staged blobs. - A new
data.Narchive is shipped as azstd --patch-fromdelta againstdata.N-1, which the step already pins byte-exact: the 0f1c step is 96 MB to download instead of 699 MB. - FILES steps (natives, addons) replace a file only when it is in the expected prior state; old copies go to
_patch/backup/<id>/; applied ids are listed in_patch/applied.txt. - The game is refused updates while WowB.exe runs. If the server is unreachable or a check fails, the updater
shows why (
_patch/updater.log) and still starts the game on the intact previous build.
Publishing a new content step
cd ops/patchserver
python3 publish.py --repo /mnt/Games/@project/patchserver/repo --channel octo \
add-content /mnt/Games/@project/gateway/runtime/continuation-20261113/claude-lane/content/<step>-frozen-candidate
Steps must be added in chain order (each step's parent = previous child). Natives / addon files:
python3 publish.py --repo ... --channel octo add-files natives-<hash> \
_classic_beta_/GWNativeBackend.dll=<signed dll> _classic_beta_/GWNativeWire.dll=<...> ...
The prior state each PUT expects is read from the canonical client at publish time.
Retiring a loose file or addon
For Turtle_ShopUI, omit the addon from the 20261201 release tree, signed install list and torrent. Prepare the retirement in the publisher's channel repository with the command below. Once the clean base is live, publish both filtered manifests with the signed updater step. Until the filtered manifests are live, older updaters can still fetch the addon from historical updates. Announce retirement once both releases are available.
python3 publish.py --repo /mnt/Games/@project/patchserver/repo --channel octo \
retire-path _classic_beta_/Interface/AddOns/Turtle_ShopUI/
A trailing slash retires the directory's descendants. A file path retires that file. Matching is case-insensitive. Both signed update lists omit historical PUT entries for those files so older updaters also skip them while upgrading on the cleaned base. The updated Windows updater honors the signed retirement during installation, updates and explicit repairs, including repairs against older signed base lists. The base-list signer rejects future release trees that still list a retired file. Remove that file from the release source before building its list and torrent. The standalone Linux installer and older Windows updaters follow the published base list directly.
Suggested player notice for this release
Turtle_ShopUI has been retired. New installations and repairs now skip it. If you have it installed, the updater leaves your copy in place.
Client setup
New players need only the installer, not the 81 GB zip:
- Windows: put
OctoUpdater.exein an empty folder (e.g.C:\Games\OctoWoW) and double-click it. With no client there it installs one, then updates and starts the game. Started from a folder with other files it installs into anOctoWoWsubfolder. It defaults tourl=https://dl.hybridgateway.eu/,channel=octo. - Linux:
./octo-install.sh [folder](default~/Games/OctoWoW; needs curl, openssl, sha256sum), thenplay-linux.shin that folder (umu-run + GE-Proton) runs the same updater and the game.
Both fetch the signed file list <channel>/install.txt (+ .sig) and download the release tree at
<channel>/install/<release>/OctoWoW/ one file at a time: each file goes to <file>.part, resumes with an HTTP
Range request after any break, is retried with back-off, and is SHA-256 checked (damaged → fetched again).
.build.info comes last, so an unfinished install never looks like a client; starting again continues.
For an existing installation, close the game and open Repair client files beside OctoUpdater.exe.
It runs OctoUpdater.exe --repair --no-launch. The updater checks signed base files and later published updates,
verifies the active store and restores damaged files. Normal starts also check files delivered by FILES updates.
On Linux, use the same updater under the client’s Proton environment for repairs. The standalone
octo-install.sh reads the frozen installation list.
Patch blobs of normal updates resume the same way.
Publishing a release tree: unpack the client on the server (per-file sha256 manifest), then
install_list.py --repo R --channel octo --release <id> --files <manifest.json> --check-against <local client>
signs the list only after comparing every hash with the local release source; push_vps.sh uploads it.
nginx serves .build.info only inside install/<release>/OctoWoW/, and never caches install.txt*.
An existing client folder keeps OctoUpdater.cfg:
url=https://dl.hybridgateway.eu/
channel=octo
launch=1
Windows: double-click OctoUpdater.exe instead of WowB.exe. Linux: play-linux.sh runs it under Proton.
Flags: --check (report only), --no-launch, --no-dialog, --repair.
Base release, torrent and peer-to-peer install
The server keeps one frozen base release (<channel>/install/<release>/OctoWoW/, listed in the signed
install.txt) plus the channel's update steps. A fresh install downloads the base, then applies every update on
top. Never change files inside the base tree: it is the torrent's web seed, and a changed file breaks the torrent's
pieces. New updater/DLL versions reach players as FILES/STORE steps. When updates pile up, cut a new base release
(new install tree, install_list.py, make_torrent.py, p2p_list.py) and remove the old one.
make_torrent.py --tree <dir with OctoWoW/> --files <manifest.json> --release <id> --out X.torrent --tracker ...: files in install.txt order, every file's SHA-256 checked, web seedhttps://dl.hybridgateway.eu/octo/install/<id>/.p2p_list.py --repo R --channel octo --release <id> --torrent X.torrent --torrent-url p2p/X.torrent --aria2 aria2c-1.37.0.exe --aria2-url p2p/aria2c-1.37.0.exesignsinstall-p2p.txt(checks torrent = install.txt).p2p/also holds the aria2 GPL source and licence.- OctoUpdater (fresh install, >= 2 GB missing): pinned aria2 downloads the torrent straight into place (
.build.infoand the running exe diverted to_patch/p2p/hold); afterwards every file is hash-checked and the rest comes over HTTP. Falls back to HTTP when the list is missing, aria2 fails, or speed stays 0 for 5 min. cfg:p2p=0,p2p_min_gb,p2p_seed_minutes,p2p_upload_limit,p2p_stall_seconds,p2p_args. - Player choice (11-30): a fresh install with no
p2p=line asks once (Yes = peer-to-peer, No = direct download only) and savesp2p=1/0in OctoUpdater.cfg.OctoUpdater.exe --no-p2p/--p2pchange the saved choice. The Windows updater uses P2P for fresh installations. Updates and repairs download the signed files directly. - Fresh install asks where to install (or
--dir <path>), then makes a desktop shortcutOctoWoW. octo-install.shdoes the same with a systemaria2c(OCTO_P2P=0turns it off).- nginx: the base tree's three dot-files (
.build.info,_classic_beta_/.flavor.info,Data/wow_classic_beta/.residency) are exempt from the dot-file 404;install(-p2p).txt(.sig)are no-cache.
Release 20261201 (2026-12-01)
Replaces 20261127 in install.txt / install-p2p.txt: 5219 files, 77.36 GB, build 7965d981. Built the way a player gets it: the 20261127 base files (4981 reflinked from LOCAL where the hash matched, 133 fetched from the VPS base), then the real OctoUpdater applied all 165 published steps and compacted the store (22.1 GB freed); _patch work files, step preimages, WTF/Account, Cache and the retired Turtle_ShopUI removed. (A LOCAL-derived seed was rejected: it carried 59 LOCAL-only archives, 10.6 GB, that no player has.) Seed: /mnt/Games/OctoWoW-Seed-20261201b. VPS: tree hard-linked from 20261127, 12.4 GB rsynced (-rl --checksum, no -t so shared inodes are untouched), all 5219 hashes verified on the VPS; a --repair run of the image against the live server downloaded no content. Torrent OctoWoW-20261201.torrent, infohash 499c50c8280c436e25952cbb8b493edab0bbc23b. /client/ now holds OctoUpdater.exe (01704720, retire-path build), octo-install.sh and the new torrent; old torrents stay in p2p/ until their downloads finish.
nginx (2026-12-01): the no-store location was /manifest\.txt(\.sig)?$, so the compact manifest-store.txt(.sig) fell
to location / without Cache-Control and the front proxy (server: BlazingFastWeb, no purge access) cached it. Now
location ~ /manifest(-store)?\.txt(\.sig)?$ (backup /etc/nginx/nginx.conf.bak-20261201). The proxy keys on the full URL,
so ?t=<n> always reaches the origin; the updater should request the lists with such a query.
Release 20261127 (compacted base, 2026-11-27)
Replaces 20261124 as install.txt / install-p2p.txt: 5387 files, 66.85 GB (was 81.3 GB). Built from a reflink copy of
the OCTO client limited to old-base paths + every step PUT target + Data/, then brought to the newest step by the real
OctoUpdater (--no-launch --no-dialog: 5 steps applied, store check 0.0 GB unused); updater work dirs and WTF removed.
VPS upload: 4881 unchanged files hard-linked from install/20261124 (base trees are immutable), 506 files (15.6 GB)
rsynced; all 5387 hashes verified on the VPS. Torrent infohash b3add74d31da8b686f5911cedf5e83a0f12b0462.
client/ now offers the current OctoUpdater.exe and OctoWoW-20261127.torrent. Keep install/20261124 until existing
p2p downloads of the old torrent have finished, then delete it (its hard links keep the shared files alive).
2026-11-27 (later): owner rule "addons only on Gitea, not in the patch channel". Step pfquest-forever-20261127 removed from the channel; install.txt re-signed without pfQuest, pfQuest-turtle and a stray _claude-preimage folder (5114 files, 66.82 GB; the tree on the VPS is unchanged, the 273 files are just no longer listed). New torrent OctoWoW-20261127b.torrent (infohash a38fc01a37b86685fb640bd6782457119e46b0f8) replaces OctoWoW-20261127.torrent in p2p/ and client/. That base included the Octo* and WoWHybrid* client addons, the aux AH window and Turtle_ShopUI. Turtle_ShopUI is retired for base 20261201. Third-party addon ports live in their own Gitea repos.
Verified 2026-11-24 (installer)
Release 20261124 tree (4949 files, 81.3 GB) unpacked on the VPS; 4944 hashes agree with the OCTO client, the
3 DLLs updated since and the 2 zip-only extras checked by hand. octo-install.sh and OctoUpdater.exe (Wine):
a 1 GiB archive cut to a 200-300 MB .part resumed (HTTP 206, only the rest sent), result byte-identical;
OctoUpdater then applied the channel's 4 FILES steps; second run: nothing to do.
Verified 2026-11-23
LOCAL rolled back to b7d02d14 with install.py, then OctoUpdater.exe under GE-Proton: signature OK, 589 preconditions OK, 96 MB fetched, data.233 rebuilt from the delta, client at 0f1c6476 byte-identical to the hand install (all copy targets + .build.info match the plan). Rerun: 0 updates. Tampered manifest: refused, nothing installed. Launch through the updater: login screen with the gateway natives loaded.
Release 20261202 + prune step 82012452 (2026-12-02)
Owner: "the client grew again from 67 GB". Cause: every content step writes a new ROOT/DOWNLOAD/SIZE/INSTALL/VFS set and ENCODING kept naming all old sets, so compaction had to keep them (20.3 GiB of 76.9 at 7502f6b3, 322 build configs). Prune-only STORE step 82012452 on 7502f6b3 (ops/content-prune-20261202: stale.py -> compose.py -> qualify.py; 570 ENCODING entries + 145 DOWNLOAD records; ROOT/TVFS unchanged; 590 KB download). The updater's own compaction then frees ~22 GB on every client (LOCAL/Windows copy 77.3 -> 56.6 GiB). Base 20261202: 5279 files, 61.89 GB (was 77.36), build 82012452, seed /mnt/Games/OctoWoW-Seed-20261202 (20261201b seed + real updater). VPS tree hard-linked from 20261201, all hashes verified; install.txt/install-p2p.txt signed; torrent OctoWoW-20261202.torrent infohash efb53ef3b212443f5fb147b24ca70a56da66103c; /client/ now offers it. Repeat the prune whenever a measure of stale table bytes grows (a few GB): rerun stale.py against the new head's candidate. Each frozen parent must be registered as claude-lane/content/-frozen-candidate for add-store.