aorecomp

Anarchy Online classic in the browser

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


docs/font-version-comparison.md (20042B)


Early-client font comparison

Investigation date: 2026-10-14. The target installation remains 13.2.

Result

The reported isolated pixels are reproducible in native 11.0, 12.0, 12.1, 12.2, 12.3, 12.4, 12.5, 12.6, 12.8, 12.9, and 13.2. None of these tested downgrades removes them. Stock 13.6 is the first verified clean-font candidate. It reaches the world with the isolated corrected server, survives 90 seconds, and has clean chat in native F12 captures at 30.95 and 66.02 seconds. The user selected forward testing after the fresh 11.0 ISO reproduced the defect. The user subsequently approved the stock 13.6 Bronto Burger view; the current reference view is in the developer guide. The exact historical scenery-change cutoff remains unknown.

The subsequent 14.9.1 validation also passes the inspected font check: identical chat lines at BB match the 13.6 foreground mask exactly, with zero differing pixels. Its BB landmark composition and classic GUI are preserved in the saved capture.

Client Native runtime result Font result
11.0 CD World initialized; PNG captured; bounded run stopped Stray pixels present
11.0 freshly re-extracted ISO All 3,638 shipped files match both preserved original and earlier test copy; world captures at 31.00 and 65.93 seconds; survived 90 seconds Exact same text mask and stray pixels as earlier 11.0
12.0 CD World initialized with 16-bit Windows compatibility and recovered server layout; captures at 30.80 and 65.80 seconds; survived 90 seconds Same text mask as 11.0, including stray pixels
12.1 World initialized with the 12.0 compatibility/server settings; captures at 30.92 and 66.14 seconds; survived 90 seconds Same text mask as 11.0 and 12.0, including stray pixels
12.2 World initialized with the 12.0 server and 16-bit compatibility; captures at 31.58 and 66.26 seconds; survived 90 seconds Same text mask as 11.0
12.3 World initialized with the 12.6 server and 16-bit compatibility; captures at 31.12 and 66.59 seconds; survived 90 seconds Same text mask as 13.2
12.4 World initialized with 16-bit compatibility and the 12.6 server variant; captures at 36.80 and 66.17 seconds; survived 90 seconds Same text mask as 13.2 after exact RGB565 color normalization
12.5 World initialized with the same compatibility/server settings; captures at 30.78 and 65.84 seconds; survived 90 seconds Same text mask as 13.2 after exact RGB565 color normalization
12.6 World initialized after an isolated server packet correction; PNGs at 31.10 and 66.01 seconds; survived 90 seconds Exact same text mask as 13.2
12.8 World initialized; PNG captured at 30.89 and 65.97 seconds; bounded run stopped Exact same text mask as 13.2
12.9 World initialized; PNG captured; bounded run stopped Stray pixels present
13.2 World initialized; PNG captured; bounded run stopped Stray pixels present
Rebuilt 13.2 World initialized; PNG captured; bounded run stopped Same visible defect
13.4 Initial packet-parsing crashes; recovered fields removed those crashes, but no world/font capture obtained Unvalidated
13.6 World initialized after correcting fixed-width texture material names; captures at 30.95 and 66.02 seconds; survived 90 seconds Clean new chat font; detached pixels absent in inspected text
14.9.1 Stock world/BB, movement and repeated zoning; final run survived 600.18 seconds Identical BB chat foreground mask to clean 13.6; zero differing text pixels

These are font/startup observations, not gameplay-equivalence tests. A later client's difficulty with our synthetic server is not evidence that the original release was unstable or that its fonts were defective.

Pixel evidence and reliable screenshots

The game's F12 command writes a lossless 1024x768 PNG to its own Screenshots directory. It works even when Windows Graphics Capture returns a black window. Use the native PNG for pixel-level judgments, not the JPEG returned by the Windows capture tool.

Local evidence is under local/client/fonts/:

The inspected rectangle is (0, 690)-(250, 750). The white/red foreground mask hashes for native 12.3, 12.4, 12.5, 12.6, 12.8, 12.9 and 13.2 are identical: 16fe3aa59eea9c5cd9f86e28302e000d08f24d7acd57ea00d32c598a6bf95bbb. Examples include the isolated white pixel beneath the i in Rubi-Ka, and isolated red pixels beneath letters in Entering 'Omni Training'. On row 747, the single red pixels at x=44, 109, 143, 156 recur in every successful pre-13.6 test. 11.0, 12.0, 12.1 and 12.2 use a different zone-entry sentence and share text-mask hash 6cd9cda1101de28f133ab83d413142dbd6aa81847857187e4dd31e221cb772d0. RGB565 captures use white (248,252,248) and red (248,0,0) instead of the 32-bit maximum values. The comparison recognizes those exact colors; it does not move, smooth, expand or remove any pixels. Empty text masks are rejected.

The repeated 11.0 test used prepare_font_11.py to extract the Gamefiles group directly from the original ISO into a new client-font-11.0-iso directory. ISO SHA-256: a95deb7c2d278eefac4e85c413f1d792bfff742b8aabdb4c91b900a2e14db344. Every one of the 3,638 extracted files matched both old_wip\\clients\\original-11.0/Gamefiles and the earlier client-font-11.0 test installation. The manifest is work/fonts/iso-11.0-verification.json. Only the common local graphics preferences were copied afterward; no patcher, rebuilt DLL, or edited font asset was used. The new native F12 capture is native-11.0-iso.png, with an unsmoothed enlargement in native-11.0-iso-chat-6x.png. This confirms 11.0 is not a clean endpoint for version bisection on this machine.

Graphics settings were copied from the existing baseline: 1024x768, 32-bit, windowed, GPU Direct3D hardware T&L device, compressed textures disabled. This establishes behavior on this machine; it does not rule out a rendering setting or driver interaction with the historical font implementation.

For 12.0 through 12.5, the isolated test helper now uses __COMPAT_LAYER=16BITCOLOR and DisplayBitsPerPixel 16. This is launch-only Windows compatibility, with no persistent registry change and no edited client executable or font asset. REA found that these early renderers return failure even after a successful 16-bit Z-buffer retry. Their mode selection also silently falls back to a different enumerated mode when the requested 16-bit mode is unavailable. In stock 12.0, LLDB read the retained error string: Failed during creation of the z-buffer: Unrecognized error: 0x0000001a. The compatibility launch passed display initialization. Correcting the server's appearance and playfield-name serialization then enabled the native world capture. Evidence is in work/lift-support/font-early-display/findings.txt and work/fonts/display-12.0-error.txt. REA CreateBuffers evidence: ev_825435aceb1689c498140ab6f259dce42ad877625f75d4d5a0e28323345468f2.

Historical research

The search covered the recovered official Changes.txt files for every 12.0-to-12.9 increment, 13.0/13.1, and Funcom's surviving 13.2/13.4/13.6 notes. No explicit in-game font/glyph rendering repair was found through 13.4. Unlisted fixes remain possible. The 12.9 reference to garbled preference entries concerns the launcher, not chat lettering.

The first clear font-system change found is 13.6: selectable chat font and size, alongside Japanese text support. The tested 13.6 installation created ChatFontName "Verdana", ChatFontStyle "Regular", and ChatFontSize 140 in its preferences. The successful in-world capture now verifies clean rendering of the inspected welcome/help/zone-entry text using these stock defaults. The notes describe a changed font system; they do not explicitly name the particular detached-pixel defect. The screenshot is the evidence for that result.

Sources:

The story date does not identify the client patch that changed geometry, nor does the article name the Bronto Burger platform. 13.4 is a comparison boundary, not a proven demolition patch. The recovered 13.2 package predates the story event; a complete 13.24 hotfix installation remains unrecovered and must not be conflated with the available 13.2 binaries.

A long interval before the next patch is only a weak stability signal: release scheduling and server-side work also affect it, and a persistent cosmetic bug need not trigger an urgent release. Direct screenshots and specific fixes are better selection criteria for this issue.

Reproduction

All candidates are separate ignored client-font-* directories. Original client-target and the canonical decompiled tree were not changed. The preserved 13.2 Clientr.exe SHA-256 remains 1bc236ced3a56a575c03a98579ea3f5e0eca878d3fadf2eebe864e2d7861135c.

Use the bundled Python with the existing venv packages on PYTHONPATH:

$env:PYTHONPATH='C:/path/to/ao/venv/Lib/site-packages'
$fontPython='python3'
& $fontPython old_wip/reconstruction/prepare_font_candidates.py
& $fontPython old_wip/reconstruction/verify_font_client.py client-font-12.9

prepare_font_candidates.py constructs each 12.0 through 12.9 candidate from the recovered 12.0 CD, 13.0/13.1 from the prepared 12.9 copy, and 13.4/13.6 from separate copies of 13.2 using the inventoried official patches. It waits for resource-database completion before handling the patcher's rename marker. It never launches a game while patching. The 11.0 candidate was copied from old_wip\\clients\\original-11.0/Gamefiles; the 13.2 control from client-target, each with the same Prefs/Main.cfg graphics settings.

While the verification helper owns the game, initialize the Computer Use skill and run old_wip/reconstruction/capture_font_client.js in its Node REPL. It presses F12 at 30 and 65 seconds, saves the resulting native PNGs, and records actual times. The final helper uses accessibility-only refresh after F12, avoiding the observed Windows screenshot timeout. The game stops after 90 seconds, and any orphan helpers in that test installation are stopped too. Inspect the PNGs before classifying a run as world-ready.

Copy successful full frames to work/fonts/native-VERSION.png, then run:

& $fontPython old_wip/reconstruction/compare_font_captures.py

The normal development server uses localhost ports 7500/7501. Diagnostic servers are source copies under work/fonts/server-12.0, server-12.6, server-13.4 and server-13.6, with separate copied user/data state and ports 7510/7511/8081. Build one with:

& $fontPython old_wip/reconstruction/prepare_font_server.py 13.6

Run its server.exe with that directory as working directory, then:

& $fontPython old_wip/reconstruction/verify_font_client.py client-font-13.6 7510

These are incomplete diagnostic serializers, not production protocol support. The isolated Go builds use go build -buildvcs=false -o server.exe ./server. Their exact copied source hashes are in each directory's sources.json.

For the validated older clients, build/start the 12.0 server variant and run verify_font_client.py client-font-12.0 7510 or client-font-12.1 7510. Use the 12.6 server variant for client-font-12.4, client-font-12.5, or client-font-12.6. Only one diagnostic server may own these ports at a time. The helper automatically sets launch-only 16BITCOLOR for 12.0/12.1/12.4/12.5; their prepared graphics preferences request 16-bit mode. The other clients use the common 32-bit preferences.

Recovered SimpleCharFullUpdate changes from 13.2:

Version Observed reader differences implemented in the diagnostic copy
12.0 / 12.1 Keep 16-bit appearance and omit the NPC extra short; keep the playfield name with a one-byte length; retain newer envelope and seventh full-character list
12.4 / 12.5 Use the 12.6 server variant: 32-bit appearance, no NPC extra short, no playfield-name tail
12.6 NPCs omit the extra uint16 after the name; remove the 13.2 conversion's insertion
13.4 Extra uint16 before the vehicle stream; three byte-counted groups between the final two list containers
13.6 Extra uint32 after NPC name and before the NPC short; same three groups; no 13.4 pre-vehicle short

For the later 13.x probes, unknown scalar values were sent as zero and the new groups were empty. The older variants use recovered field widths and layouts.

12.0 and 12.1 already send the dfdf handshake, selecting the server's target conversion. The World S2C log prints packets before this conversion, so it does not show the final wire layout. Their SimpleChar reader retains 16-bit appearance at 0x10073390; REA evidence ev_369d093e79f5fb3697e645e83655f3237a7842ed547f9badf1001cb4bd65eb10. The playfield reader at 0x1013a610 needs two origins followed by a byte-length name (0x1013a642), whereas 11.0 uses a DWORD length. The 12.0 server therefore retains byte 96 and the name after it, removing the other three length bytes before the normal compression-header removal. FullCharacter still needs the existing seventh-list conversion. Evidence and version comparisons are in work/lift-support/font-early-protocol/findings.txt.

For 12.6, Capstone disassembly of kkr.dll at 0x100757aa shows the NPC branch bypassing the player-only fields and continuing directly to level at 0x10075809. The normal server's extra NPC short shifted the subsequent vehicle-stream length to 0x00640000; the original crash was in cr.dll. Removing only that insertion in the isolated server enabled the observed 90-second native world run. The client executable and DLLs were unchanged. REA/Ghidra 12.1.4 independently recovered the same reader as FUN_100754c0: ev_cc7850b591610be0c3a80e2c79f1d649d80d6f6e55be51017ef05272811a183c. Its complete evidence is in work/lift-support/font126-rea-evidence.json. The reader disassembly is retained in work/lift-support/font126-simple-reader.txt, and the original failure in work/fonts/crash-12.6.txt. Disassembly and REA session evidence are retained under work/lift-support/font*. The later 13.x PlayfieldInit readers matched the existing base/proxy/origin layout; no speculative change was made there. The subsequent 13.6 loading diagnosis and correction are recorded below. All owned REA sessions were closed.

13.6 loading correction and successful run

One-shot breakpoints with the portable 32-bit LLVM LLDB 23.1.3 showed that the playfield reader returned 0 (accepted), while the first player SimpleChar reader returned 1 (rejected). The failing texture-record helper at kkr.dll:0x10142350 reads exactly 32 bytes for each material name, followed by three DWORDs. The 13.2 helper at 0x1013dfb0 instead reads a NUL-terminated name. Our five short material names left the message 134 bytes short. Padding each name to 32 bytes in the isolated 13.6 server fixed startup, without editing any client binary or font. The same fixed-width reader exists in 13.4, but that candidate has not been rerun with the correction.

Reproduction is included in prepare_font_server.py 13.6. The saved server copy contains this correction in server/world.go; its source manifest is work/fonts/server-13.6/sources.json. Client PID 17024 / character 58 reached the world and remained alive for the full 90-second bounded test. Captures: capture-17024-30.png, capture-17024-65.png, and native-13.6.png. The enlarged chat is native-13.6-chat-6x.png. This establishes clean rendering for the inspected text and successful world initialization, not complete gameplay/protocol equivalence.

Reader evidence: work/lift-support/font136-loading-findings.txt, font136_texture_record_compare.txt, and font136-helper-142350.txt. The startup trace is retained as work/fonts/reader-status-13.6-playfield.log and reader-status-13.6-rejected-simple.log. Direct 64-bit LLDB exposed the wrong WOW64 context; automatic breakpoint callbacks and the remote backend also stalled. Direct 32-bit one-shot breakpoints produced the usable results. Debugger archive: official llvm-mingw 20261006 ucrt-i686, SHA-256 d7e60e64d0992891496d1986b7fe93f87c9af304a0361d19e9c6206739662b9e.

Recommendation

A stock client with clean fonts is a prerequisite for selecting the new base. Do not adopt 13.2 as the base on the assumption that its fonts will be repaired or backported. Keep its installation and generated source intact as reference material until a replacement passes validation.

Earlier candidates must reach the world and pass the lossless chat-font check before selection. Display initialization failures are inconclusive about font quality. Successful startup alone is also insufficient: 12.8 has the exact same chat text mask and stray pixels as 13.2.

Stock 13.6 passed the clean-font, world-startup and user-reviewed Bronto Burger view checks. It is the visual reference for the later-version evaluation, which recommends testing 14.9.1 for additional classic dungeons. Keep the current 13.2 installation/generated source until the replacement passes validation.

The asset comparison does not yet identify the remembered meetup-area change. Omni Entertainment (705) ground data is identical in 11.0, 13.2, 13.4 and 13.6. All 429 collision records match between 13.2 and 13.4; 68 have genuinely changed decompressed content in 13.6. The added 13.4 blowup_backyard_omni.abiff model has a raw reference in playfield 1940, not 705, so it does not establish a Bronto Burger change. Evidence: work/fonts/omni-assets-comparison.json and omni-deltas.txt. Do not equate the December 2001 apartment story with the user's remembered meetup platform without further evidence.

This is not an exhaustive claim about every historical patch: 12.7, 13.0 and 13.1 were not captured in this comparison. Their installations are prepared; the 12.7 run was stopped when the user prioritized the fresh 11.0 ISO check. The eleven pre-13.6 native versions with actual world captures retain the defect; 13.6 passes the inspected chat-font check. All owned game processes, diagnostic servers and REA sessions were stopped after validation; the normal development server remains available. The original 13.2 Clientr.exe still hashes to 1bc236ced3a56a575c03a98579ea3f5e0eca878d3fadf2eebe864e2d7861135c.