aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


commit bc9df2c975efc932defafa356d146329b019b616
parent 8024f351ad20547d0255f06368063e9f434d0184
Author: anon <anon@example.com>
Date:   Tue, 10 Nov 2026 01:01:06 +0000

Keep WASM container instructions focused on building

Diffstat:
MDEVELOPERS.md | 24+++++-------------------
1 file changed, 5 insertions(+), 19 deletions(-)

diff --git a/DEVELOPERS.md b/DEVELOPERS.md @@ -501,10 +501,10 @@ commands below. Players create accounts through the game. ### Build the browser client with Podman -The archived builder is the preferred way to preserve the WASM build environment. -The Dockerfile pins the Linux amd64 Emscripten 6.0.12 image by digest and Brotli -by version and checksum. It also retains the checked audio source archives and -Emscripten ports, so client builds need no network access or host SDK. +The Dockerfile installs the WASM build dependencies in a container. It pins the +Linux amd64 Emscripten 6.0.12 image by digest and Brotli by version and checksum, +and downloads and builds the checked audio dependencies and Emscripten ports. +No host SDK is needed. From the repository root, prepare the image once (requires network access): @@ -529,21 +529,7 @@ space, substantial compilation time and enough memory for linking. The six published files appear in `local/wasm-output/`. After validation, copy that complete bundle into `server/assets/client/` to publish it. -Archive the prepared image and record its checksum alongside the source revision: - -```sh -podman save --format oci-archive -o local/ao-wasm-6.0.12.tar localhost/ao-wasm:6.0.12 -sha256sum local/ao-wasm-6.0.12.tar > local/ao-wasm-6.0.12.tar.sha256 -``` - -Keep both files in durable backup storage along with the repository. Restore with -`podman load -i local/ao-wasm-6.0.12.tar`, then use the same offline run command. -The Dockerfile alone still depends on upstream downloads remaining available. -Rebuild and archive the image when changing the SDK, audio dependencies or Brotli. -Validation on November 9, 2026: two independent clean offline builds produced -identical six-file bundles, and their runtime files matched the tracked bundle. -The archive loaded successfully and its checksum passed. Recheck byte-for-byte -reproducibility when changing build inputs. +Rebuild the image when changing the SDK, audio dependencies or Brotli. ### Build the browser client on Debian