// open-source game server · neocron evolution 2.5
NEOCRON
The city never died. It was just waiting for
a server anyone can run.
A free, GPLv3 server implementation for the Neocron Evolution 2.5 client — built from a fully reverse-engineered, byte-verified protocol, in Go, shipped as a single OCI image.
$ docker run -p 7000:7000 -p 12000:12000 -p 5005:5005/udp \
ghcr.io/hauke-cloud/neocron login,gateway
INFO neocron starting roles="login,gateway" version=0.1.0
INFO login role listening addr=:7000 name=neocron
INFO gateway role listening tcp=:12000 udp=:5005
READY the city is awake▌
// 01 · the project
One old city.
New open plumbing.
Neocron Evolution 2.5 shipped in 2001 and its servers went dark long ago. This project rebuilt what it takes to run one from the client binary up: the network protocol was statically reverse-engineered, confirmed against a capture of a real session, and written down as machine-checkable specs. The server implements those specs — no original server code involved.
Spec-first protocol
Every message documented with evidence grades, ID tables and reference codecs in Python and Go — cross-checked against each other and a real session capture.
One binary, every role
Login, gateway, zone and account API are roles of a single Go binary. Start one process for a small server, scale each role on Kubernetes for a big one.
Real accounts
Accounts in PostgreSQL with client-certificate auth, a JSON account API behind OIDC, and one-time launch passwords handed to the client — no plaintext anywhere.
Operationally sane
Structured slog logs, Prometheus metrics, alert rules and a Grafana
dashboard ship with the Helm chart.
Hardened by default
Distroless nonroot image, read-only filesystem, all capabilities dropped, no secrets on the command line — passwords come from stdin or the database.
GPLv3, for real
Analysis, specs, server and launcher are free software. The launcher even replaces the original proprietary distribution system end to end.
Service map
| Role | Port | Proto | What happens here |
|---|---|---|---|
| login | 7000 | TCP | echo challenge, sign-in, character list & ops |
| gateway | 12000 | TCP | NetHost join, session key hand-out, GPS settings push |
| gateway | 5005 | UDP | the game itself — LFSR-keyed, guaranteed & fragmented messages |
| api | 8090 | TCP | JSON account API for launcher & web tools (OIDC) |
| zone | — | internal | gameplay authority (in development) |
// 02 · the launcher
Grab it. Sign in.
Drop onto the street.
The open launcher replaces the original proprietary distribution client. It signs you in with OIDC (authorization code + PKCE — no passwords stored), keeps the game files downloaded and integrity-verified against a SHA-256 manifest, and starts the game — natively on Windows, through Steam's Proton on Linux. A small themed GUI rides on top of the same commands.
neocron-launcher-setup-windows-amd64.exe
per-user installer · Start menu & desktop entry
Download$ neocron-launcher login # opens the browser — OIDC, code + PKCE
$ neocron-launcher update # fetch game files, verify SHA-256
$ neocron-launcher launch # update, then start via Proton
OK have fun out there▌
- Integrity first. Every file is hashed while streaming; damage is repaired, unknown files pruned, updates applied atomically.
- Proton, no tricks. The launcher builds the same runtime chain Steam does — no Steam client running, no non-Steam shortcuts.
- Account hand-over. Pick one of your game accounts; the launcher hands the client a one-time password the way the original did.
- Runs headless. Same launcher as a plain CLI on a machine without a GUI.
// 03 · deploy a server
Three ways to bring
the grid up.
Containers
One distroless image carries every role; the role is the first argument.
docker run -p 7000:7000 \
-p 12000:12000 -p 5005:5005/udp \
ghcr.io/hauke-cloud/neocron \
login,gateway
Kubernetes
One role per Deployment and Service, metrics, alerts and dashboards included.
helm install neocron \
oci://git.hauke.cloud/\
gaming-cloud-internal/\
charts/neocron \
-n neocron --create-namespace
gaming-cloud
The intended way on hauke.cloud: a GameServerTemplate plus one
GameServer per server — the operator wires ports, metrics and
certificates.
kubectl apply -f \
deployments/gaming-cloud/\
template.yaml \
deployments/gaming-cloud/\
server.yaml
Accounts come from PostgreSQL with
-database-url and a client certificate; without a database the server
runs open for development. Create an account with
neocron account set-password <user> — it reads the password from
stdin and never takes secrets on a command line. Full values reference:
values.yaml.
// 04 · under the hood
Nothing here is guesswork.
$ sed -n '1,4p' specs/headline.txt
login TCP FE | u16 size | payload · echo challenge
neith TCP join 83 01 → 83 05 · UDP key hand-out
session UDP [key16][len16][payload] · 16-bit LFSR
charsys UDP 15|seq|25|actionID|body (wire: +10)▌
The analysis repository publishes the complete evidence chain: Verified claims trace to bytes in the client binary — strings, tables, traced disassembly; Inferred semantics are marked as such and cross-checked against the TinNS 1.x reference server. Specs, generated ID maps, reference codecs with self-tests, and an independent validation pass that lists what it corrected.
That is also the contribution path: open work packages in
docs/tasks/ are written so that make check — Go tests,
race detector, Python reference tests — decides when a change is done.