Files
WoW-Hybrid-gateway/docs/LEGACY_GATEWAY_QUICKSTART.md
praxisandClaude Fable 5.2 60b6d4b7a5 Design records
59 files, from working commit b1a079a.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 01:32:48 +02:00

114 lines
5.9 KiB
Markdown

# External gateway quickstart (original README, October 2026)
This is the first README of the project, kept for the standalone gateway era. Links are relative to the repository root as they were then. For the current state start at the top-level README.
The actual **64-bit WowB.exe 1.60.1.70334** now displays four characters fetched
from a separately authenticated local Tortoise-WoW account. See the
[verified client screenshot](evidence/forever-70334-turtle-roster.png) and
[full local integration record](LOCAL_INTEGRATION.md).
The standalone C++ gateway relays the preserved local Forever authentication
provider, terminates both world packet channels, performs a fresh Turtle SRP
login/enumeration and translates the roster. Forever's character database is not
the roster source; its bound test account has zero character rows.
The actual client enters Northshire with a Turtle test character. Grounded movement,
jump/landing, say/system chat, same-map teleport acknowledgments and static mailbox
visibility have been verified. Initial visibility of a limited Turtle NPC subset is also verified; broader gameplay remains experimental;
this is a development prototype with limited human-warrior support.
## Build and test
Requires CMake >=3.20, C++20, OpenSSL >=3, Boost headers, Zlib development files,
MariaDB client development files/pkg-config and Python 3.
```sh
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build -j2
ctest --test-dir build --output-on-failure
```
The automated fixtures bind ephemeral loopback ports and use disposable fixture
credentials. They do not start real servers or prove real-client compatibility.
See [verification history](VERIFICATION.md) for their separate scope.
## Re-run the authorized local integration
Private test-account metadata is under ignored `secrets/`, recovery snapshots
under ignored `recovery/`, and process logs/PIDs under ignored `runtime/`.
Passwords are not arguments or tracked source constants. With the existing local
providers running:
```sh
python3 ops/run_relay.py
python3 ops/local_forever.py route
python3 ops/client_ui.py launch
```
The relay binds 127.0.0.1:19085 and connects to the local Forever provider at
8085, local Turtle realmd at 3724 and Turtle world at 8090. It is bound to the
explicit disposable frontend/backend account pair in private metadata. Each
translated enumeration authenticates separately to Turtle and fetches its roster.
Frontend authentication still uses the existing local HTTPS/Battle.net provider;
the gateway does not implement a standalone Battle.net server.
The real client's SRP JSON challenge needs `use_srp=true` in addition to the
original parameters. [The tested provider patch](../patches/forever-loopback-srp-shape.patch)
adds it only with `Gateway.LocalSrpCompatibility=1` for loopback peers. Full SRP
proof verification and existing TLS remain enabled. The original provider binary,
source, configs and authentication DB are saved in the private recovery snapshot.
Use the actual WowB.exe login screen with the disposable account in private
metadata, select **Normal**, then **Select**. Automated keyboard/mouse actions
are implemented in `ops/client_ui.py` using a temporary virtual input device,
KWin window activation and compositor screenshots. They require python-xlib,
evdev, Pillow, Tesseract and KDE Spectacle on this machine. The client remains
open in the Turtle world after the latest verified test. Avoid `-portal` on the
command line; this build rejects it. The backed-up Config.wtf portal points to
trinity.actual.battle.net, resolved locally to 127.0.0.1.
Restore the ordinary Forever realm route at any time:
```sh
python3 ops/local_forever.py restore-routing
```
This returns realm 70 to its recorded original port (8085). See the integration
record for full recovery. No external realms or repositories are contacted.
## Backend-only probe
```sh
python3 ops/local_tortoise.py probe --account-dir secrets/GW446480F299
```
Login build 7272 and world build 5875 are separate values in this local server.
`gateway-probe` also supports `--world-build` and `--create NAME`; creation uses
server code after initial enumeration, including Turtle's challengeMask extension.
Private integrity inputs describe this explicitly authorized local setup. The
operator tools can back up/provision local test DBs; the network probe itself
performs no direct DB writes. Source audit and limitations are in
[ARCHITECTURE.md](ARCHITECTURE.md).
Real WowB.exe70334 now enters Northshire with Turtle Gatewaytest. Actual grounded
movement, jump/landing, local say/system chat, and a Turtle-directed same-map teleport
with client acknowledgment have been verified. An opt-in static-object profile also
renders the existing Turtle mailbox in the actual client. Character data comes from the retained
Turtle session; the Forever frontend account has zero character records.
World integration remains opt-in: use the environment variables documented in
[world integration evidence and limitations](WORLD_ENTRY.md). Initial NPC visibility is separately opt-in with
`GATEWAY_NPC_EXPERIMENT=1` for entries6/38/197. NPC template names are verified. NPC visibility-range removal/re-creation is also verified. The initial restricted NPC profile remains available. Expanded population and linear
NPC patrol movement are verified below; interactions, game-object use, combat
and full gameplay compatibility remain incomplete.
The actual Northshire population audit and expanded live-template creature
profile are documented in [OBJECT_POPULATION.md](OBJECT_POPULATION.md).
Use `GATEWAY_POPULATION_EXPERIMENT=1` with the existing NPC/GO/codec flags;
`GATEWAY_POPULATION_AUDIT=1` enables private bounded gameplay traces.
`GATEWAY_SPLINE_EXPERIMENT=1` now translates captured Turtle linear ground
NPC paths. Natural Northshire Guard patrol movement is verified in actual
WowB; see [NPC_SPLINES.md](NPC_SPLINES.md) for screenshots, source mapping
and unsupported spline forms.