Requirements
Ruby Version
Lich 5 requires Ruby to run. The version requirements are:- Minimum: Ruby 2.6 or higher
- Recommended: Ruby 3.2 or higher
System Dependencies
Depending on your platform and usage, you may need:- GTK3 — For the graphical login interface (optional on some platforms)
- SQLite3 — For database functionality
- OpenSSL — For secure connections
Installation by Platform
Windows
Download and install Ruby from RubyInstaller:
- Download the Ruby+Devkit 3.2.x (x64) installer
- Run the installer and follow the prompts
- Select “Add Ruby executables to your PATH”
- After installation, run
ridk installin the command prompt to install the development toolchain
macOS
Linux
Install Ruby using your distribution’s package manager:Ubuntu/Debian:Fedora:Arch:Verify installation:
The full list of dependencies is managed in Lich’s
Gemfile. Core dependencies include:gtk3— GTK3 bindings for GUIsqlite3— Database supportsequel— Database ORMterminal-table— CLI table formattingjson,yaml,rexml— Data formatsredis— Optional caching layerkramdown— Markdown processing
Or download the latest release from the releases page.
Configuration
Directory Structure
Lich creates several directories for its operation:Command-Line Options
Lich supports various command-line options:Adding Game Accounts
Using the GUI
When you first run Lich, the GTK3 login interface will appear:- Click Add Account
- Enter your game account credentials
- Select your game (DragonRealms or Gemstone IV)
- Choose your character
- Configure your front-end (StormFront, Wizard, etc.)
Using the Command Line
Add an account from the command line:Front-End Configuration
Lich works with various game front-ends:- Wizard FE — Full XML support, recommended for Windows
- StormFront — Simutronics official front-end
- Wrayth — Modern web-based front-end
- Avalon — macOS native front-end
- Profanity — Terminal-based front-end (requires
cursesgem)
The front-end you choose determines which features are available. XML-capable front-ends like Wizard provide the richest experience.
Verifying Installation
To verify Lich is working correctly:- Launch Lich and connect to the game
- Once in-game, type:
;version - You should see output showing Lich version 5.14.2
- Try running a simple script:
;go2 help
Updating Lich
Lich includes an automatic update system:- Check for new versions
- Download and install updates
- Preserve your custom scripts and settings
Lich keeps backups of script and data files before updating in case of errors.
Troubleshooting
Gem Installation Fails
If automatic gem installation fails, Lich will attempt to use system gem installation:GTK3 Not Available
If GTK3 is not available, Lich falls back to command-line mode. Install GTK3 for your platform: Ubuntu/Debian:Ruby Version Too Old
If you see a Ruby version error, upgrade Ruby:Next Steps
Quickstart Guide
Learn how to write and run your first Lich script
