Skip to content
Hybrasyl Server
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Hybrasyl Server

Project website - Bug tracker - Punchlist

Welcome to Project Hybrasyl! Our aim is to create a well-documented and exceptionally accurate DOOMVAS v1 emulator (example: Dark Ages). Look around, make an account, and join us sometime.

This document is intended for developers; if you're interested in using a released version of Hybrasyl server, please check our Github releases page. We do not currently provide installer packages, although that is in the works. Generally, if you use the Hybrasyl launcher, our staging server is almost always online - production will be online once we implement more features!

Hybrasyl is a work in progress. A lot of the functionality you would expect from a playable game is not yet implemented. You can see open issues in our GitHub issue tracker, look at our current TODO/punchlist or check out recent project news.

The instructions in this document will guide you in setting up and running the latest version of Hybrasyl and connecting a client for testing purposes. Note that this project does not provide game content (properly configured items, maps, warps between maps, etc); it comes with a set of examples that will allow you to log in but not enough to come close to playing a real game.

It is our hope to release a content editor at some point in the future to make the process of adding content to a server much easier.


You will need three things to compile and use Hybrasyl:

Terminology and key concepts

There are three processes that need to be properly configured in order to connect a Dark Ages client to your own Hybrasyl instance:

  • The launcher (which modifies the Dark Ages client to get it to connect to the server)
  • The game server (what you're looking at now)
  • A running instance of Redis, which will be used for storing state data.

This tutorial assumes that the launcher (DA client) and Hybrasyl server will be running on the same machine. Redis can be located anywhere, as long as Hybrasyl can reach it (it could even be an Amazon Elasticache instance).

Game Server (Hybrasyl)

The game server maintains all game metadata and state, including registered character names, mobs, towns, spawn points, items, and a bunch of other game-related data. The Hybrasyl server retrieves state data such as players, player inventory, messageboards and mailboxes from its companion Redis server at runtime; XML is processed when the server starts up for actual world data (items, maps, mobs, etc).

  1. Download and install the Windows installer for Redis 2.8 from the MSOpenTech releases page. There is no requirement for Redis to be local to the server; it can be hosted anywhere, though we recommend it is located on the same network segment for better security. Redis should work out of the box with Hybrasyl with its default settings. You will need to ensure that the Redis port, TCP/6379, can be accessed from the server running Hybrasyl; you may need to grant access or open ports.

  2. Do one of the following. Either:

    • Run the included powershell script (Prep.ps1) included in the examples directory to create the Hybrasyl data directories. Hybrasyl's data is currently located at %MYDOCUMENTS\Hybrasyl\world, normally found at C:\Users\<yourusername>\Documents\world.

    • Copy the example XML and scripting data (including subdirectories) from the examples directory into the world\xml directory. This will populate the world with enough to login as a user,wander around, and test functionality.


    • Unzip the included into your Hybrasyl folder.
  3. Examine the Hybrasyl configuration in the Hybrasyl data directory, config.xml. In particular, you will want to add the name of your character to <Privileged>, which will allow them to use any slash command.

Compiling the Game Server

The process for compiling Hybrasyl is detailed below.

  1. Install Microsoft Visual Studio. The Community Edition is free and capable of compiling all the needed projects (server, launcher).
  2. Clone the launcher and server repositories to your local machine using a git client, or with Visual Studio's built-in integration. Make sure you clone them into separate directories.
  3. Open the Hybrasyl Server solution (Hybrasyl.sln) in Visual Studio and update all NuGet packages (just building it will do this). The SDK for XML is now included in server to make this process (as well as making changes) easier.
  4. Build Hybrasyl. The default settings should be adequate for most system setups, assuming you've updated and installed all NuGet packages (which should occur automatically).
  5. Copy,, and from your Dark Ages directory (or an online archive) into My Documents\Hybrasyl\world\mapfiles (which should exist, if you followed the directions above).
  6. Give the control service permission to bind to port 4949 (the default, this can be changed in config.xml): netsh http add urlacl url=http://+:4949/ user=YOURMACHINENAME\YOURUSERNAME. Substitute your Windows machine name and your username in the command above; e.g. user=LOURES\baughj.
  7. Run Hybrasyl.exe either from within Visual Studio or as a standalone executable in the hybrasyl\bin\Debug folder of your git checkout. This should launch the server. You can change any of Hybrasyl’s settings by editing config.xml in My Documents\Hybrasyl.

Now that your setup is complete, you should be able to use the released version of the launcher to connect to it. In case you have trouble with the latest launcher, open Hy-brasyl Launcher.sln and build the project. Launch the executable and select localhost from the server selection dropdown. You should now be able to connect to your Hybrasyl server, create a new character, and log in!

If not, well, take a look at the section on getting help.

Logging in

Log in to your new server by launching the Hy-brasyl Launcher application, either compiled as described above or downloaded from Point it to a local Dark Ages client installation, select localhost from the server configuration dropdown, and launch. The launcher will ask you for a local Dark Ages client executable; you must have the latest client installed in order to continue. Once launched, you should see a Hybrasyl welcome screen in place of the standard Dark Ages welcome screen. Congratulations -- you're connected!

Create a character and log in the same way you would on a production server. You should find your Aisling in an inn and ready to explore the world.

Testing tips and other notable resources

  • There are a number of admin flags that can be used for common tasks like creating items, teleporting, or changing level and class. Certain flags require that you be registered as a game master.

  • Try typing /item Stick when you log in to add a stick to your inventory. You can add any item that is a valid Item XML file in xml/items in your world directory.

  • You can learn skills and spells by using /spell, for instance, /spell Assail.

  • Warps are links between locations on the map. You can add or remove warps in a map file (e.g. xml/maps/ExampleVillage.xml).

  • You can add new items by creating new XML files. The example items should provide good models to follow; there are also XSD files for the XML structure in the SDK repository. We hope to make a world editor available eventually.

Help! Something isn't working!

We're here to help!

The project maintains a public Discord server and it should be your first go-to for asking questions. Remember that Hybrasyl is a volunteer project, not a job; we'll try to get to your questions as soon as we see them.

We also maintain two Google Groups, one for developers and one for users.

A Note on Licensing

Please note that Hybrasyl Server, along with most of its components, is licensed under the GNU Affero General Public License, version 3 (AGPLv3). This means that, if you use this software to run a server that other users can connect to, you are required by the license to release the corresponding source code, which means that any and all modifications you make to the server software are also licensed under the AGPLv3. Read more at

By using this license for Hybrasyl, our intent is to foster a vibrant community whose development and progress are open and available to all.

Please note: these restrictions do not apply to in-game Python scripts and/or world data you may create for your server. Whether or not you distribute that content is up to you.


We welcome contributions to the project! We encourage new developers to visit us on Discord or send some emails to the developer list and get to know us first, especially if you plan on tackling a substantial feature or change. Hybrasyl follows the standard Github fork model, so fork us today and submit a PR!

Please note that in order to contribute to the project, you must agree to the terms of our contributor agreement.

You can’t perform that action at this time.