aorecomp

Anarchy Online classic in the browser

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


docs/README.md (6971B)


Original Anarchy Online research

This is a record of findings about the original 2001 Anarchy Online 11.0 client, the recovered 13.2 client, and the selected 14.9.1 target, their wire protocols, and shipped assets. The eventual goal is a web remake of that experience. The original Windows client provides a reference for recovering behavior and checking our interpretation.

These documents describe the original artifacts and recorded experiments. They do not inventory the Go server's functions, state fields, tests, or current feature status. Read the source for implementation details and the developer guide for detailed build and launch commands.

Where to start

Document Contents
portable-assets.md Asset-only Linux runtime, file-access auditing and native filesystem checks.
audio-audit.md Complete sound-format audit, Miles replacements, differential checks and reverb investigation.
reconstruction-14.9.1.md Current generated-C baseline, runtime fix, BB capture, font comparison and rebuild workflow.
binary-inventory-14.9.1.md Selected target's module hashes, scope and dependencies.
versions-and-patches.md Provisional 13.24 target, historical cutoff evidence, city-layout uncertainty, recovered patch inventory, and upgrade handoff checks.
client-behavior.md Launch requirements, client simulation, visibility, appearance, lighting, logout, and inferred responsibilities of the historical server.
protocol.md Framing, compression, login, entity messages, zoning, time, appearance, and original reader/activation addresses.
protocol-13.2.md Recovered 13.2 envelope, appearance, character, movement, and teleport differences, with native runtime checks.
game-data.md Resource database, map/terrain decoding, original district populations, monster appearances, and unresolved template links.
population-14.9.1.md Selected-client population formats, appearance coverage, sourced name inferences and preservation of YAML edits.
npc-scripts.md Recovered dialogue, speaker ID evidence, reconstructed menus and verified 14.9.1 conversation packets.
items.md Selected-client item/nano definitions, serialization, requirements and effects, and the boundary between definitions and owned instances.
zoning.md Fixed door links, shared interior returns, boundary lines and portal polygons, native trigger behavior, and unresolved mission destinations.
maps.md Local and planet coordinates, native world origins, tiled planet imagery, area-map textures and building masks.
reverse-engineering.md Original binary hashes, saved evidence/snapshots, capture locations, and analysis recovery.
open-questions.md Unknown semantics, failed experiments worth preserving, and other server projects as research leads.
browser-porting.md Approach comparison, bounded runtime assessment, and the initial original-terrain browser scene.

For a fresh session, read this page and client-behavior.md, then use the protocol and game-data documents for the feature under investigation. Consult saved evidence before repeating native analysis. Choose further work from the user's latest instructions; the open questions are research leads.

The selected target is 14.9.1. Its stock client and native C reconstruction both render the approved BB view with clean inspected chat fonts. Earlier version research remains historical evidence; use the protocol and validation documents for the specific tested build.

The obsolete installations and raw local/ experiments were deleted during workspace cleanup. Historical artifact paths in these documents are records, not an inventory of available files. The retained research notes preserve cited text findings; maintained source, tools and the 14.9.1 inputs remain.

Evidence standard

Update these documents when an original-client finding changes or an unknown is resolved. Routine Go changes do not require matching documentation edits. Keep captures and implementation tests with the code that produces them.

Original artifacts and workspace

An example Windows checkout is C:\path\to\ao. The reference is Anarchy Online 11.0.iso, 669872128 bytes, initially mounted at D:. Drive letters and running processes must be rediscovered after a restart.

Path Role
local/references/original-11.0/Gamefiles/ Pristine release files extracted from the disc.
server/ Local Go implementation; consult the source directly.
tools/ Extractors, decoded catalogs, REA snapshots, evidence, captures, and launch helpers.
venv/ Python environment used by the tools.
C:\Funcom\Anarchy Online Separate modern installation, left untouched.

The release files were extracted with Unshield rather than installed. This avoided an installer conflict with the modern installation. The verified local launch required URL/preference edits, not executable-byte patches. Binary identities are recorded in reverse-engineering.md.

If extraction must be reproduced, discover the mounted ISO drive and extract the Gamefiles group into a fresh directory, for example:

.\tools\unshield\unshield.exe -d client-extracted-check -g Gamefiles x D:\data1.cab

Compare original hashes before replacing a reference. Historical experiment binaries and logs are evidence, not necessarily the current implementation.

Working preferences

Keep the original 2001 release as the fidelity reference, and always run it windowed. Test routine inputs autonomously; do not wait for the user to press W or X. The control UI should remain plain HTML without SPA frameworks, branding, or decorative design. Prefer focused, straightforward changes and ASCII source; use the existing Python environment. Read applicable AGENTS.md and installed skills in the future session and respect the latest user edits.