This started out as an unofficial fan remake of the original 1983 Apple II game from Origin Systems. Origin had made official Mac ports of a few older Ultima games, but these were all monochrome. My remake was originally implemented in Think C for 1990s-era color Macintosh computers on Motorola processors running Mac OS 7. I really liked how it was turning out, so I managed to get ahold of Richard Garriott over AOL and he liked it enough to give me permission to release it officially sometime in 1994 or 1995.
Some of the logic was originally gleaned through examining the Apple II version's 6502 assembly code. You can find comments throughout the source referring to memory locations in this version! There were no such things as "shrinkwrap" licenses back then which would forbid such reverse engineering.
In my spare time over the following 10+ years I would poke and prod at it to keep it running on current systems of the time; making it capable of running on Mac OS X without the need for Classic, compiling it for Intel processors to eliminate the need for Rosetta, adding support for alternate graphics, etc. I had transitioned the project to CodeWarrior early on, then to Xcode when that came out. By the time macOS Catalina was released with its removal of support for 32-bit executables, I had only barely touched this project for many many years.
For upload, I've mostly removed license key handling and update checking. The current macOS build is maintained for Apple silicon and is documented below.
Random fun fact: Ultima III was one of the first games to acknowledge non-binary gender!
Requirements:
- macOS 13 or newer
- Xcode with the macOS platform and command-line tools installed
- Apple silicon Mac
Clone the repository and build an unsigned Release app:
git clone https://github.com/hongjuny/ultima3.git
cd ultima3
sh scripts/build-release-app.shThe app is written to Build/Products/Release/Ultima III.app. Set
DERIVED_DATA to choose another intermediate-data root. The build contains all
required graphics, text, sound effects, and MIDI files from the repository.
During the build, scripts/fetch-midi-soundbank.sh downloads and checksum-
verifies FluidR3 GM into the local resource directory so it is included in the
application bundle. The file is cached and ignored by Git. Set
U3_SKIP_FLUIDR3_DOWNLOAD=1 to build offline with the bundled GeneralUser GS
fallback instead.
Prefer not to compile? Download the prebuilt Apple silicon Release application from GitHub Releases. This build is ad-hoc signed for bundle integrity, but is not Developer ID signed or notarized.
For a Debug build directly through Xcode:
xcodebuild -project Ultima3.xcodeproj -scheme Ultima3 \
-configuration Debug -derivedDataPath Build/DerivedData \
CODE_SIGNING_ALLOWED=NO buildThe same project can be opened in Xcode with:
open Ultima3.xcodeprojSelect the Ultima3 scheme and press Run or choose Product > Build.
Both Debug and Release compile as unsigned local applications. The historical
DMG packaging and code-signing phases are reserved for explicit deployment
postprocessing and are not required for normal IDE builds.
FluidR3 GM is fetched at build time because its 141 MB file exceeds GitHub's
regular file limit. The bundled GeneralUser GS bank remains available as an
offline fallback; provide U3_MIDI_SOUNDBANK=/path/to/bank.sf2 to compare
another SoundFont at runtime.
This repository preserves a historically layered game: the gameplay rules and data are rooted in the Apple II version, while the original presentation code passed through 1990s Carbon and early Cocoa APIs. The modernization work keeps that historical game behavior while separating it from the operating system.
The current runtime is organized around explicit boundaries:
- Game core: party state, maps, combat, spells, events, movement, saves, and the original game rules remain in the C sources.
- Platform layer: timing, preferences, paths, resource loading, windows,
keyboard events, and application lifecycle are routed through
U3PlatformandU3IOadapters rather than being spread through game logic. - Rendering: the legacy bitmap renderer is isolated behind renderer and Cocoa bridge interfaces. This keeps the classic raster presentation usable while leaving room for a future renderer.
- Audio: PCM effects use modern AVFoundation playback. Music is provided as MIDI with a SoundFont selected at runtime; the original QuickTime/MUSI path is retained as historical input and is not required by the modern build. The Exodus intro uses a procedural Mockingboard-style digital-noise approximation rather than an instrument sample.
- Input and text: keyboard commands, mouse actions, Pascal-style legacy strings, and modern text conversion are handled at the boundary so the game core does not depend on Carbon event structures or MacRoman display APIs.
The result is a native 64-bit Apple silicon macOS application that can be built from a clean clone, while retaining the original assets and gameplay identity. The code intentionally favors small adapters over a wholesale rewrite: this makes future ports to another windowing, rendering, or audio library practical without rewriting the game rules.
The modernization also includes release-oriented verification scripts for bitmap loading, command/text behavior, and representative gameplay scenarios. These checks are designed to catch regressions in the preserved game loop as platform code continues to evolve.
Ultima III was one of my favorite games as a child. On an Apple II+ clone with a Mockingboard, it was the first fantasy role-playing game that made that world feel real to me. LairWare's Ultima III continued that dream: it wrapped those childhood memories in color and wonder. I still remember playing the LairWare game on a 68k Mac Centris with a Trinitron monitor, and I have never forgotten that experience.
I discovered the source code after the developer generously open-sourced it last year. Since then, I have worked to clear away the accumulated legacy layers and make the game run on current macOS. With help from modern ChatGPT 5.5, I was able to take on a modernization effort that would otherwise have been considerably harder. I am grateful for that help, and I offer this work in solidarity with the Apple II friends who grew up with similar memories.
Modernization and current macOS/Apple silicon adaptation by hongjuny.
The sound system still has room for improvement. The legacy implementation used QuickTime-based instrument playback; it has been adapted to MIDI and SoundFont playback for modern macOS, but the result is not a perfect match for the original sound. The sizzling noise during the opening Exodus splash is also still an approximation and needs further work.
If you find a bug while playing, please report it with the screen or sequence where it occurred, the macOS version, and whether the application was built from source or downloaded as a release. Gameplay and compatibility reports are welcome.
Usage is provided under the MIT License. See LICENSE for the full details.
However, certain non-code assets (such as the project name, music, maps, etc) were not originally created by me. These assets are included under the assumption that copyright will no longer be actively enforced due to their age (40+ years). If you are a rights-holder and have concerns, please contact me.
To put it another way: I'm not claiming any copyright on the Ultima franchise name, NPC names, the specific maps found in this game, etc. This license just refers to everything else here. I'm presenting it merely as historical code in good faith, in hope that no one will care to litigate -- there is indeed no feasible way I am aware of to build this project to run on a modern system without an emulator.
Leon McNeill AKA "Beastie"