aorecomp

Anarchy Online classic in the browser

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


docs/14.9.1-validation.md (9660B)


Stock 14.9.1 validation

The main server/ now incorporates the recovered 14.9.1 packet layouts and compact movement codec, while retaining release 11.0 serialization. Follow the main-server launch instructions for current development. A stock-client check loaded Omni Training and stayed connected for 30 seconds with an isolated data copy and independently chosen ports. Its character ID was taken from that instance's user data. The full Go test suite also passed, including the original-client path, 14.9.1 movement relay, zone redirect and NPC reload checks.

The probe preparation steps below describe the earlier isolated experiment. Its source-rewriting helper requires the older server baseline; do not apply its protocol transformations again to the integrated 14.9.1 server.

Test date: 2026-10-14. The candidate is isolated in anarchy-vanilla-14.9.1. The original 13.2 client remains preserved. The selected 14.9.1 game also has a working native C round trip.

Visual result

The original classic GUI and the saved Omni Entertainment Bronto Burger view render correctly. BB and the building behind it remain intact in this view. Clouds and lighting differ from the 13.6 reference; the landmark arrangement matches the user-approved composition.

Stock 14.9.1 at Bronto Burger

The identical three chat lines in the 13.6 and 14.9.1 BB screenshots have zero differing foreground pixels in rectangle (0, 690)-(250, 750). The comparison extracts exact white/red pixels without smoothing or moving them. Both masks hash to 39c29ba641b6a8549dbc6e09f85a0da2e8200e02d1157ea7af840332b0fcefc4. This supports a clean-font result for the inspected text, not every possible glyph, size or graphics device.

Reproduce the comparison with python tools/client/compare_bb_fonts.py (requires Pillow). Image SHA-256: 04356994476e6e34869fc79ddd7081536a328746a3edc9f883996bea72330bcc. The PNG is the game's native F12 output, captured 39 seconds after launch. Windows Graphics Capture still returns a black world surface on this machine; use F12 PNGs for future visual validation.

Stock installation and reproduction

The client was copied from the preserved 11.0 ISO extraction, then upgraded using the original patcher and official resource deltas:

11.0 -> 14.7.3 -> 14.7.4 -> 14.7.5 -> 14.7.6 -> 14.7.8
     -> 14.7.10 -> 14.8.0 -> 14.8.1 -> 14.8.2 -> 14.9.0 -> 14.9.1

Incremental download URLs, sizes and SHA-256 hashes are recorded in tools/client/patches-14.9.1.json. The cumulative package is patches/AOPatch_v11.0-v14.7.3.exe, extracted from the existing ao1473.zip. The final version.id is 14.9.1. No game DLL, executable or font resource was modified after official patching.

File SHA-256
Clientr.exe dec3fe3f8f6bce71616d54d0533285be1941970c1d22810f8cf598c94e691e31
kkr.dll a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0
llr.dll ebb09047f6ead192388f7ddfb4795da5013a60f7c2d1c3933ec02eef58a10132

From the repository root:

python old_wip/reconstruction/prepare_client_1491.py
python old_wip/reconstruction/prepare_font_server.py 14.9.1

The client preparer resumes completed versions. During a fresh upgrade, answer No to the original patcher's undo-backup prompt; the untouched source copy is preserved. It finishes delayed file replacements only after the patcher reports that resource patching is complete. It refuses to resume a partial .RES patch. The server preparer refuses to overwrite an existing probe directory.

Run local/client/fonts/server-14.9.1/server.exe with that directory as its working directory. It uses localhost ports 7510/7511/8081 and its own data copy. Then run:

python tools/client/verify_client_1491.py

This creates a synthetic character at playfield 705, XYZ [960, 16.5, 510], quaternion [0, 0.9238795, 0, -0.3826834], facing northeast at 13:30. First person is selected through preferences, and first-run tips are disabled. Wait at least 30 seconds before pressing F12. The helper stops its own game after ten minutes and records its lifetime in work/fonts/bronto-PID.json. The ordinary development server on 7500/7501/8080 is independent.

Protocol adaptations

Only the isolated server changes. REA/Ghidra 12.1.4 and local PE disassembly identified these differences from the 13.6 probe:

Message Recovered 14.9.1 requirement Reader address
N3 envelope One-byte pass-on flag; normalize incoming and outgoing messages llr.dll 0x100240b0
SimpleChar Version byte 0x30; NPC name followed by DWORD plus four shorts; player fields already fit kkr.dll 0x10082da0
FullCharacter Version 16; empty tail [0, 0, 1009, 1009] kkr.dll 0x1007f5b0
GameTime Seconds, period, day, and an additional Unix timestamp DWORD kkr.dll 0x10042970
Movement Action/flag byte, quantized XYZ, signed normalized quaternion, auxiliary short; 17-byte body kkr.dll 0x10043dc0, 0x10043a60
Playfield Existing version-4 body and two world-origin DWORDs still fit llr.dll 0x10042fd0, kkr.dll 0x10145f00

Before those corrections, startup crashed on misaligned playfield data, the server rejected the short client-ready packet, and a missing clock field left default night lighting. These were test-server incompatibilities, not evidence of historical client instability. The first movement trial disconnected because the server required the old full-width packet. The recovered decoder fixes that check, preserves client movement bytes for relay, and encodes generated NPC movement in the compact format.

REA evidence is retained locally under local/client/fonts/: rea-1491-findings.json, rea-1491-kkr.json, rea-1491-llr.json, and rea-1491-gametime-findings.json / rea-1491-gametime.json, plus rea-1491-movement-findings.json / rea-1491-movement.json.

Two self-contained Go tests validate the actual captured movement packet and NPC encoding, including signed height and the auxiliary value. Run from the probe directory:

go test ./server/server_1491_movement.go ./server/server_1491_movement_test.go -count=1

The ordinary copied server test suite requires fixtures outside the probe; its TestMain fails before running tests there. The focused codec command above passes. Regenerating the probe's Go sources reproduces the tested sources byte-for-byte; the server builds successfully.

Runtime checks and limits

Additional native screenshots are retained locally as work/fonts/map-14.9.1.png, shop-14.9.1.png, and rome-green-14.9.1.png. bronto-14.9.1-final.png records the end-of-run view. The isolated game/server processes and REA sessions were closed after testing; the normal server remains separate. The canonical Clientr.exe still hashes to 1bc236ced3a56a575c03a98579ea3f5e0eca878d3fadf2eebe864e2d7861135c.

The database contains Temple of Three Winds playfield 1931, with 30 compressed geometry resources. Playfield 1943, internally named Dng: High Level ToTW, is a likely Inner Sanctum candidate with four geometry resources. Their district positions are [174, 31.0012474, 292] and [184, 1.01, 168]. These are extracted resource positions, not validated safe arrival points. Dungeon visits are not yet a runtime pass. See work/fonts/dungeons-14.9.1-evidence.json for resource hashes.

The small local server does not implement the complete game. These checks cannot establish combat, missions, inventory, quest or multiplayer correctness, nor prove that the historical release was generally bug-free. Those captures used the older extracted NPC, terrain and zone-link dataset; their placement and gameplay content are not a reconstruction of the 14.9.1 server. The subsequent population extraction updates the NPC dataset separately; it does not establish historical gameplay correctness.

Recommendation: retain 14.9.1 as the next reconstruction candidate. It passes the requested BB/font checks and this bounded runtime smoke test. Validate the additional dungeon visits and broader gameplay as the server gains support; the existing 13.2 reconstructed source has not been replaced by this test.