103 lines
6.2 KiB
Markdown
103 lines
6.2 KiB
Markdown
# 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.
|
|
|
|
## Get the client
|
|
|
|
The client is installed and kept up to date by a small downloader. It fetches the 81 GB client file by file,
|
|
resumes after any dropped connection, checks every file, and starts the game when done.
|
|
|
|
- **Windows:** [OctoUpdater.exe](https://dl.hybridgateway.eu/client/OctoUpdater.exe): put it in an empty
|
|
folder (e.g. `C:\Games\OctoWoW`) and double-click it. Always start the game with it afterwards.
|
|
- **Linux:** [octo-install.sh](https://dl.hybridgateway.eu/client/octo-install.sh):
|
|
`chmod +x octo-install.sh && ./octo-install.sh ~/Games/OctoWoW`, then play with `~/Games/OctoWoW/play-linux.sh`.
|
|
- Checksums: [SHA256SUMS.txt](https://dl.hybridgateway.eu/client/SHA256SUMS.txt). Also attached to the
|
|
[winclient release](https://octowow.st/git/praxis/WoW-Hybrid-gateway/releases/tag/winclient).
|
|
- **Torrent:** [OctoWoW-20261124.torrent](https://dl.hybridgateway.eu/client/OctoWoW-20261124.torrent) (web-seeded from the
|
|
download server). Save into your games folder, then run the downloader once in the new `OctoWoW` folder to fetch
|
|
the updates since (the torrent client already verified every piece). It is the fixed base release; game updates never need a new torrent.
|
|
- A broken client: `OctoUpdater.exe --repair` / `./octo-install.sh --repair <folder>`.
|
|
|
|
How it works: [ops/patchserver/README.md](ops/patchserver/README.md).
|
|
|
|
## 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/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.
|
|
|
|
```sh
|
|
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](docs/GETTING_STARTED.md) — what you need, the steps in order, and which tool does each.
|
|
- [docs/TOOLS.md](docs/TOOLS.md) — every operator tool with its purpose and requirements.
|
|
- [docs/README.md](docs/README.md) — index of all design records by topic.
|
|
- [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) — the protocol core and the reference trees it was written against.
|
|
- [docs/NATIVE_SESSION_LIFECYCLE.md](docs/NATIVE_SESSION_LIFECYCLE.md) — how the in-client stack owns a session.
|
|
- [docs/NATIVE_PROTOCOL_MATRIX.md](docs/NATIVE_PROTOCOL_MATRIX.md) — packet-by-packet coverage.
|
|
- [docs/OCTO_CLIENT_DATA.md](docs/OCTO_CLIENT_DATA.md) — the content pipeline.
|
|
- [docs/DEVELOPMENT_BACKLOG.md](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 ignored `runtime/`.
|
|
- The published copy also leaves out the screenshots and the largest data
|
|
dumps under `docs/evidence/`; `docs/evidence/PUBLISHED_OMISSIONS.md` there
|
|
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](docs/LEGACY_GATEWAY_QUICKSTART.md).
|