Check Out “U9GL”: a New OpenGL Renderer (and a Lot of Fixes) for “Ultima 9”

Over on the r/Ultima subreddit, TheGreyWanderer has unveiled U9GL, which adds a new OpenGL renderer to Ultima IX: Ascension, alongside the DirectX 6, DirectX 7, and Glide renderers the game shipped with. It comes with a brand new launcher, a new lighting engine, and fixes for crashes and bugs that, as TheGreyWanderer puts it, have dogged the game “for over 25 years.” The game itself is otherwise left alone: your u9.exe is never edited, and switching everything off gives you the original game back.

TheGreyWanderer anticipated the obvious question, and answered it up front:

I used an AI coding assistant to help reverse-engineer the engine and write the C code, and the project’s README says so openly. Every feature and fix was tested in-game by human(s), often run after run, with crash logs, until it was resolved or I gave up. The AI was a tool in the workshop. It isn’t the product. Britannia is still Origin’s.

The changes to lighting are the standout feature in U9GL. Lamps, candles and torches now light the room around them and stay on their own side of the wall (in the original, light had a tendency to go straight through walls). The sun casts shadows that follow the time of day and lengthen toward evening, the brighter moon casts faint shadows at night (strongest at full moon), and lava, fires, the Runes of Virtue, and moongates glow more naturally. Underwater areas get haze and light shafts, draw distances are longer, the game’s brightness setting actually works, and you can drop in your own replacement HD textures at any size. There’s even an optional live web dashboard showing the Avatar’s stats, spells and status effects; TheGreyWanderer suggests opening it on a phone or tablet over your home network, since he built it to give an old iPad Mini something to do.

The fix list is long. Among the crashes that no longer happen are ones that cropped up when loading certain saves, when a cutscene starts or is skipped, when cleansing a shrine whose rune was moved, and during Lord British’s fight with Blackthorn (where overlapping Rings of Fire could be mistaken by the game engine for a spell and deleted mid-fight). Hostile creatures that chased you but never attacked now fight you in earnest, doors no longer swing past the point at which they’re considered closed, and shopkeepers stay off their counters.

There’s even a bit of recovered content: the game shipped with a finished halberd asset, but left every one in the world as scenery. Now, you can pick one up and fight with it.

U9GL is in beta, and moving quickly; version 0.5.6 went up on GitHub early on November 14, and 0.5.7 followed that afternoon, adding (among other things) the option to play in a window, which one commenter on the Reddit thread had asked about.

To try it, you’ll need your own installed copy of Ultima 9 (the GOG and Steam releases both work) and a 64-bit Windows PC. Grab the zip from the project’s releases page or the newly-created project entry here at the Codex, unzip it into your game folder so the u9gl folder sits beside u9.exe, and run u9gl\U9GL.exe, which installs one file alongside the game and backs up anything else that it touches.

After that, you can start the game from the launcher or the way you always do. TheGreyWanderer asks that you report any problems you find on GitHub.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.