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 MySQL (Pomelo), Serilog, Sentry
Scripting
A custom .quest DSL — compiler, CLI and language server
Protocol
Retail-accurate TCP, one typed writer per packet family

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

Launcher

Connects to the online test server, and keeps itself patched in place.

Download launcher

sha256 9f41c2…a7de · signed

Local server

The Login and Game services run against a local MySQL and listen on loopback. Setup lives in each repo's README.

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

Repositories

REPOWHAT IT ISLANGUAGELICENCE
LibreKO Godot 4 client and the C# server — rigs, effects, full retail UI C# · Godot AGPL-3.0
LibreKO-Assets Offline asset and data decoder — retail formats to Godot-native Python AGPL-3.0
LibreKO-vscode .quest language support — compiler, CLI and language server C# 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.