LibreKO

Knight Online,
rebuilt in the open

A from-scratch reimplementation of the client and the server

The stack

CLIENT

Godot 4.7.2 · C#

Runtime
.NET 9, Forward+ renderer
Layers
Network · Domain · World · Rig · Fx · Ui · Terrain · Sky · Audio
Packs
Core .pck plus per-content side packs mounted at startup
Targets
Windows today; Android arm64 in progress

SERVER

C# · .NET 10

Services
Login · Game · Common · Quests
Data
EF Core over MariaDB or MySQL (Pomelo), Serilog, Sentry
Scripting
A custom .quest DSL — compiler, CLI and language server
Protocol
Retail-accurate TCP, one typed writer per packet family
Deploy
Docker Compose stack: MariaDB, Login and Game

PIPELINE

Offline · Python

Decodes the retail formats and emits Godot-native resources. The runtime never parses a retail file.

  • .n3chr / .n3pmesh — meshes
  • .dxt — encrypted textures
  • .gtd / .gtt — terrain
  • .opd — object placement
  • .tbl — data tables
  • .fxb — effects

Test client

A Windows build of the client, preconfigured for the public test server.

Download for Windows

LibreKO.7z · hosted on MediaFire

Local server

The Login and Game services run against a local MariaDB and listen on loopback, or start the whole stack with Docker. Setup lives in the repo's README; the client bakes its content from your own game install with LibreKO-Assets.

git clone https://github.com/ZeusAFK/LibreKO.git

cd LibreKO && docker compose up

Repositories

REPOWHAT IT ISLANGUAGELICENCE
LibreKO Godot 4 client and the .NET server — Login, Game, the .quest compiler and a Docker Compose stack C# · Godot AGPL-3.0
LibreKO-Assets Offline asset and data decoder — your own game install to Godot-native resources Python AGPL-3.0
LibreKO-vscode VS Code extension for .quest scripts — grammar, semantic tokens, ids shown as names JavaScript AGPL-3.0
LibreKO-Website This site HTML · CSS AGPL-3.0

AGPL-3.0, all of it

Client, server, pipeline and tooling. Use it, study it, modify it, redistribute it — a modified client or server you distribute ships its source under AGPL-3.0 too.

The network clause matters: run a modified server other people connect to and those users are entitled to your source. Running it privately triggers nothing.

The licence covers this project's code only. It says nothing about the original game's assets or data — those are not ours to license, and we distribute none of them.

Full text:

github.com/ZeusAFK/LibreKO/LICENSE

Contribute

Help is wanted on quest content, testing, art tooling and protocol coverage.