aorecomp

Anarchy Online classic in the browser

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


commit b17260a5d1d3f03555acd7b5596047a1e1bc0840
parent 9b477498bd02a63470ab16183215a45a634b1e99
Author: anon <anon@example.com>
Date:   Fri, 16 Oct 2026 23:53:22 +0000

Record browser regression results and preserve per-scene diagnostics

Diffstat:
Mdocs/playfield-validation.md | 8++++++++
Mtools/client/sweep_playfields.py | 3+++
2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/docs/playfield-validation.md b/docs/playfield-validation.md @@ -42,6 +42,14 @@ by unsupported diffuse/specular material-source states. These shared adapter paths have regression tests for state, buffer contents and rendered pixels. After the fixes, Camelot, Condemned Subway, Temple of Three Winds, Fixer Grid and the regular Grid loaded and rendered in sequence on native Linux. +The browser graphics regression also passed, with all 19,421,184 captured bytes +identical to native Linux. The Windows x86 test source passed a syntax check; +it has not been executed on Windows here. + +Screenshot review found that the regular Grid arrival appears below its floor. +The four added playfields also reach rendering, but their district-centre +arrivals remain provisional: an arena view can face a wall or empty terrain, +and the Booster Shop camera is close to geometry. These are not visual passes. Full native coverage is still in progress. Browser coverage must be run separately: paged memory, WebGL, asset fetching and asynchronous WebSocket cleanup can fail diff --git a/tools/client/sweep_playfields.py b/tools/client/sweep_playfields.py @@ -183,6 +183,9 @@ def run_zone(zone, phase): memory = pathlib.Path(f'/proc/{client.pid}/status') if memory.exists(): result['memory'] = [line for line in memory.read_text().splitlines() if line.startswith(('VmRSS:', 'VmHWM:'))] + if (assets / 'stderr.txt').exists() and (assets / 'stderr.txt').stat().st_size: + result['stderr'] = f'{phase}-{zone["id"]}-stderr.txt' + shutil.copyfile(assets / 'stderr.txt', output / result['stderr']) with (output / 'results.jsonl').open('a') as results: results.write(json.dumps(result) + '\n') print(json.dumps(result), flush=True)