Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WoW-Hybrid gateway
A compatibility stack that lets the modern 64-bit client WowB.exe 1.60.1.70334
("Forever", called the native client here) log in to and play on
vanilla-derived servers of the Turtle / Octo family (called the source
side). The client speaks its own modern protocol and reads modern data files;
the server speaks the 1.12-era protocol with custom extensions. This repository
is everything in between: packet translation, session handling inside the
client, converted game data, and the user-interface adapters.
This is a private development project for authorized local test setups. It is a prototype under active work, not a finished product.
The three parts
| Part | What it does | Where |
|---|---|---|
| Protocol core | Translates logins, character lists, object updates, chat, spells, quests, loot, guilds and the other packet families between the two protocols. Pure C++ library with offline tests. | src/, include/gateway/ |
| In-client stack | Runs the protocol core inside the client process (Windows PE, also under Wine): transport, session lifecycle, engine bridge and loader. This replaced the earlier standalone relay and is the current focus. | native/ |
| Content pipeline | Converts source items, models, spells, talents and maps into data the native client can load, packages it and installs it with a rollback path. | ops/, cmake/ItemBuildBase.cmake |
Around them:
| Directory | Contents |
|---|---|
client_addons/ |
Lua addons loaded by the native client. WoWHybridUI adapts Blizzard's own windows (character stats, bags, professions, barbershop and so on); the others are diagnostics and capture helpers. |
compat/, client_ui/ |
Login-screen (glue) adapters and UI resources. |
launcher/ |
One-click launcher front end and its packager. |
tests/ |
Offline fixtures (C++, Python, Lua) registered in CTest. They use loopback sockets and throwaway data; they do not prove behaviour in the real client. |
tools/ |
Small local fixture programs and the MinGW cross-build helper. |
patches/ |
Two small patches for the local reference servers. |
docs/ |
Design records, one topic per file. Start at docs/README.md. |
docs/evidence/ |
Machine-readable records of what was checked and with what result. |
Build and test
Needs CMake 3.20 or newer, a C++20 compiler, OpenSSL 3, Boost headers, zlib, the MariaDB client library with pkg-config, Python 3 and Lua.
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build -j2
ctest --test-dir build --output-on-failure -R <name> # prefer one focused test
The Windows parts are cross-built with the profiles under cmake/Windows*.cmake.
Where to read next
- docs/GETTING_STARTED.md — what you need, the steps in order, and which tool does each.
- docs/TOOLS.md — every operator tool with its purpose and requirements.
- docs/README.md — index of all design records by topic.
- docs/ARCHITECTURE.md — the protocol core and the reference trees it was written against.
- docs/NATIVE_SESSION_LIFECYCLE.md — how the in-client stack owns a session.
- docs/NATIVE_PROTOCOL_MATRIX.md — packet-by-packet coverage.
- docs/OCTO_CLIENT_DATA.md — the content pipeline.
- docs/DEVELOPMENT_BACKLOG.md — priorities and history, newest first. It is long; search for
##headings instead of reading it through.
Words used throughout
| Term | Meaning |
|---|---|
| native / Forever | The modern client, build 70334, and its data and protocol. |
| source / Turtle / Octo | The vanilla-derived server side and its 1.12-era client data. |
| REA | A reverse-engineering assessment of how the original client behaves, done before implementing against it. |
| held | Not resolved yet and deliberately not assumed. |
| implemented / tested offline / packaged / installed / native-accepted | The five separate states a change can be in. Only the last one means it was seen working in the game. |
What is not in this repository
- No game client, server binaries or game data files.
- No account names, passwords or session keys. Local account metadata lives in
an ignored
secrets/directory, logs and receipts in an ignoredruntime/. - The published copy also leaves out the screenshots and the largest data
dumps under
docs/evidence/;docs/evidence/PUBLISHED_OMISSIONS.mdthere lists what was left out.
Working rules
AGENTS.md and CLAUDE.md hold the rules the automated agents working on this
project follow (assessment before implementation, one focused check per change,
credential handling, rollback contracts). The first README of the project,
written for the standalone relay, is kept as
docs/LEGACY_GATEWAY_QUICKSTART.md.