Skip to content
Valgeru

Valgeru — from Valheru to a purpose-built engine

Choosing an engine is about much more than choosing a programming language. Valgeru is intended to be an independent browser-based RPG built around one 60 × 60 hex world map, a shared world clock, action points, recurring character resets, and permanent Chronicles of Glory and a Story Archive. The existing Astro website and multilingual publishing are equally important. We are therefore looking not merely for a ready-made fantasy game, but for a foundation on which to develop unique rules over many years.

Historical context: the former cyrodiil.pl used an engine the author referred to as Valheru. The publicly documented Vallheru project provides a useful point of reference; however, without comparing the archived cyrodiil.pl source code, we cannot claim that these were exactly the same versions or branches. Mechanics from the earlier, short-lived Imperial Province (Cesarska Prowincja) project are not automatically part of Valgeru canon either.

1. A brief comparison

Engine / approach What it offers Brief assessment Fit for Valgeru*
Valheru / Vallheru A historical browser-based RPG: PHP, SQL, economy, roleplay, quests, and guilds. A valuable source of inspiration and lessons in classic architecture; too many legacy assumptions and too much aging code to adopt directly. 2/5
ezRPG A modular browser-game engine written in PHP. Close to the genre, but its public archives are old. Adopting it would require a security and code audit and significant adaptation to Valgeru’s cycles. 2/5
MCCodes v2 A full-featured older PBBG framework focused on economy, statistics, PvP, and scheduled activities. Worth examining for action workflows, but rooted in crime-themed games rather than a hex-map RPG. 1/5
OpenPBBG Modular PHP + MySQL, modules, themes, and an administration panel. A credible candidate for comparison, although the world map, astronomy, and reset rules would still need custom implementation. 3/5
Liberu Browser Game A Laravel-based PBBG with accounts, an administration panel, quests, and gameplay systems. The most interesting ready-made reference for a modern PHP application; the size of its ecosystem could increase the learning and adaptation effort. 3/5
Custom rules on Laravel An application framework with databases, transactions, authorization, scheduling, and tests. No ready-made RPG mechanics, but we can model cycles, AP, and world persistence without having to work around someone else’s assumptions. 5/5
Custom rules on Node.js/TypeScript A game backend in the same language ecosystem used by parts of Astro. A strong alternative; it requires selecting and operating the backend stack and carefully defining database behavior. 4/5
Godot — web export A full scene, interaction, and graphics engine capable of exporting to browsers. Useful for graphics-intensive games, but an additional layer for our primarily text-and-map-based RPG. A backend would still be necessary. 2/5

*Subjective ratings on a scale of 1–5, considering compatibility with Valgeru’s established mechanics, feasibility for a solo developer, migration effort, integration with Astro, and long-term flexibility. They are not ratings of each project’s general quality or popularity, nor are they based on comparative performance tests.

2. Why not simply return to Valheru?

Classic browser RPG engines demonstrate that text-driven gameplay, an economy, and community interactions do not require heavy 3D graphics. That lesson remains relevant. Valgeru’s defining requirements, however — a global hex map, independence of astronomical Eras from gameplay resets, preservation of stories, configurable action points, and globally unlocked regions — call for a coherent data model from the beginning.

Modifying an old engine might seem to shorten the path to the first playable screen. Later, however, redesigning its data structures, permissions, security, and reset procedures could become the harder task. We should reuse the lessons and good ideas of older engines, but not necessarily their code.

3. Design recommendation

For this initial assessment, the recommendation is a custom, modular Valgeru engine based on Laravel and MySQL/MariaDB, working alongside the existing Astro website. This does not mean building authentication or a web server from scratch: Laravel provides the application foundation; the custom code implements Valgeru’s rules.

Alternative worth retaining: Node.js/TypeScript, particularly if a substantial body of game logic is eventually developed in TypeScript or it becomes easier to maintain. Candidates for source-code review: OpenPBBG and Liberu, especially their modular designs and administration tools. At this stage, no decision has been made to adopt or copy code from any of these projects.

The following document, Valgeru_Silnik.md, develops the proposed architecture, mechanics, data model, and prototype in detail. It includes the diagram in section 4, “How do the website, game, and creator tools fit together?”

4. Costs and limits of the assessment

Most of the projects listed make their source code available without an upfront license fee, but free source code does not mean that adaptation, updates, testing, or hosting are free. Before reusing code from any particular version, its LICENSE file must be checked. Available metadata identifies ezRPG as GPLv3-or-later and Vallheru as GPLv2, while the cited OpenPBBG, MCCodes v2, and Liberu repositories declare MIT licenses.

This review is based on publicly available descriptions and repositories checked on 23 October 2026. We have not run these engines or conducted a security audit.

Sources