dungeon-siege-macos

dungeon-siege-macos is a native PC port of Dungeon Siege for Apple Silicon Macs that recompiles the game for arm64.

README

Dungeon Siege for Apple Silicon Macs

Dungeon Siege, native on Apple Silicon

Buy me a Continue on Ko-fi

Play the original Dungeon Siege (GOG or Steam, version 1.11.1) natively on an Apple Silicon Mac: no Wine, no Rosetta, no Windows components. The installer recompiles your own copy of the game from x86 into native arm64 code and links it with a macOS implementation of everything the game uses from Windows (windows and input, files, threads, DirectDraw and Direct3D 7 on Metal, DirectSound on Core Audio). The result is an ordinary Mac app.

Nothing from the game is in this repository or in the download. You need your own copy, and the app checks that it is the exact build it supports. There are two ways to install:

  • Download the app (Releases): drag it to Applications, open it and drop your Dungeon Siege folder on it. It checks your copy, builds the game on your Mac in a few minutes and starts it. No developer tools, no Terminal. See Install the app.
  • Build from source with ./install.sh (below): also installs from the GOG offline installer or a Steam depot, adds Legends of Aranna, mods, Yesterhaven and the benchmark in one command, and installs the Nightly app.

Status: beta. The single-player campaign, multiplayer (with Mac and Windows players) and the Legends of Aranna expansion all play; see Known issues. Beta 3 is the first drag-and-drop download: a ready-made app with a setup window in the game's look that builds the game from the folder you drop on it, and updates itself from the releases page. It also adds native EAX environmental audio (the launch window's Audio row) and runtime fixes. Every release is on the releases page.

From source:

xcode-select --install                     # once: clang, git and python3
git clone https://github.com/Joshspeakman/dungeon-siege-macos.git && cd dungeon-siege-macos
./install.sh --game-dir "/path/to/GOG Games/Dungeon Siege"
#   or: ./install.sh --gog-installer ~/Downloads/setup_dungeon_siege_*.exe     (needs: brew install innoextract)
#   or: ./install.sh --steam                                                   (the Steam edition, see below)
open ~/Applications/"Dungeon Siege Native.app"

Keep the clone in a path without spaces: the current compile scripts split source paths on whitespace.

The step-by-step guide is docs/INSTALL.md. The sections below summarise it.

Screenshots

The launch windowOpening
Farm bridgeFarm river
Character create

Requirements

  • A Mac with Apple Silicon (M1 or later). The installer stops on an Intel Mac. The app needs macOS 13 or newer.

  • About 5 GB free for the downloaded app's copy of the game and the built game code (from the same disk the copy is an APFS clone, which takes almost no space).

  • Only to build from source: the Xcode Command Line Tools: xcode-select --install (installs clang, git and python3). The full Xcode isn't needed.

  • On the first build the recompiler makes a Python environment in recomp/.venv and installs two helper packages into it with pip (capstone and unicorn), so the first install needs an internet connection.

  • Build time and peak disk use have not been verified for a clean install. Allow room for your game files, generated source and object files, the app, and additional update worktrees; time varies with the Mac. The GOG installer, Steam and collection options also copy or unpack the game into the data folder.

  • Optional: Homebrew and brew install innoextract, only for installing from the GOG offline installer.

  • Dungeon Siege 1.11.1 from GOG or Steam. The installer compares the SHA-256 of DungeonSiege.exe with the two builds it supports and refuses anything else:

    EditionDungeonSiege.exe SHA-256
    GOG 1.11.141f14b145e030f2decd95e9f434ccd1de0729ba13d1c5628c4bd9536ee938a02
    Steam 1.11.1 (app 39190, depot 39191)c408ef77b39484d8ad82ba17859cf1e60b24d3baf6d429283a52b886d67f33ab

    The disc releases, other patch levels and modified executables are not supported. The Steam executable has no DRM. The Legends of Aranna expansion's own executable, DSLOA.exe, is never used (see below).

Install the app

  1. Download Dungeon-Siege.dmg from the newest release, open it and drag Dungeon Siege to Applications.
  2. Open it. The first time, macOS stops it, because the app isn't signed with a paid Apple developer certificate: click Done, open System Settings → Privacy & Security, scroll down and click Open Anyway next to Dungeon Siege. This is needed once.
  3. A setup window in the game's look asks for your game. Give it your Dungeon Siege folder (GOG or Steam 1.11.1, the one that holds DungeonSiege.exe) any of three ways:
    • drop the folder onto the window;
    • drop it onto the app's icon (in the Dock or in Applications);
    • or put it in ~/Games/Dungeon Siege/Put Game Files Here (the window shows that folder) and open the app again.
  4. The app checks DungeonSiege.exe and the game's archives and says what's wrong if anything is. Then it copies the game into ~/Games/Dungeon Siege/game-files, builds the game's code for your Mac with the compiler it carries (about 3 minutes on an M1 Pro) and opens the launch window. It offers to move the folder you dropped to the Trash; it no longer needs it.

That happens once. Later launches go straight to the launch window; if an update changes the game code, the next launch rebuilds it by itself.

WhatWhere (downloaded app)
The app/Applications/Dungeon Siege.app (or wherever you dragged it)
Your game, copied~/Games/Dungeon Siege/game-files
The built game code~/Games/Dungeon Siege/recomp
Saves and the game's settings~/Games/Dungeon Siege/drive_c/Users/player/Documents/Dungeon Siege
Mods, launch window settings, log, crash reports~/Games/Dungeon Siege (mods/, launcher.plist, DungeonSiegeNative.log, CrashReports/)

Legends of Aranna with the downloaded app: put the expansion's archives from your own copy in ~/Games/Dungeon Siege/expansion, Expansion.dsres, ExpVoices.dsres (and XPRes.dsres if you have it) in its Resources folder and Expansion.dsmap (and XPMap.dsmap) in its Maps folder; the launch window's Game row then offers it. Saves from an app built from source can be copied into the saves folder above.

Getting the game files onto the Mac

For a source build, pick one; each is a single install.sh command.

You haveCommand
The GOG game installed somewhere (copied from a PC, GOG Galaxy, an old CrossOver or Wine install)./install.sh --game-dir "/path/to/Dungeon Siege" (the folder that holds DungeonSiege.exe)
The GOG offline installer, setup_dungeon_siege_*.exe, from your GOG library./install.sh --gog-installer ~/Downloads/setup_dungeon_siege_*.exe (needs innoextract; the game is unpacked into the data folder)
The Steam editionIn Steam on the Mac, open the console (steam://open/console) and run download_depot 39190 39191; then ./install.sh --steam (or ./install.sh --steam "/path/to/the/downloaded/folder"). The download is copied into the data folder.
A backup made with --save-collection./install.sh --collection "/path/to/the/collection"

Give --game-dir an absolute path (for example "$HOME/Games/Dungeon Siege", not a relative one). The game is copied into the data folder (game-files; from the same disk an APFS clone, which takes almost no space), so the folder you named can be deleted afterwards; --in-place reads it there instead, and then it has to stay. The game folder is only ever read.

Build from source

git clone https://github.com/Joshspeakman/dungeon-siege-macos.git
cd dungeon-siege-macos
./install.sh --game-dir "/path/to/Dungeon Siege"

This recompiles the game and installs ~/Applications/Dungeon Siege Native.app (shown as Dungeon Siege). Keep the cloned folder: the app's Updates row rebuilds from it.

Every install.sh option:

OptionWhat it does
--game-dir DIRBuild from an installed GOG or Steam game folder.
--gog-installer FILEUnpack the GOG offline installer into <data>/gog-extract (with innoextract) and build from that.
--steam [DIR]The Steam edition: Steam's own download location, or DIR. Copied into <data>/steam-game.
--expansion DIRAdd Legends of Aranna from your own copy: Expansion.dsres, ExpVoices.dsres and Expansion.dsmap (plus XPRes.dsres and XPMap.dsmap if present) are found anywhere under DIR. Only the data is used.
--mods DIRAdd valid Dungeon Siege mod archives (.dsres, .dsmap) found under DIR, excluding the base game and expansion archives, to the launcher's Mods list.
--yesterhaven DIR-or-FILEAdd Gas Powered Games' free Yesterhaven adventure from a folder holding its two files, or from its installer.
--benchmark FILEAdd Gas Powered Games' Dungeon Siege Benchmark from its installer, DSBenchmark.EXE (docs/BENCHMARK.md).
--collection DIRSet up everything from one backup folder: the game, the expansion, mods, saves and launcher settings.
--save-collection DIRWrite that backup folder from this Mac's current setup.
--nightlyInstall Dungeon Siege Nightly.app next to the stable app, built from the nightly branch (see Updating).
--app-dir DIRWhere the app goes (default ~/Applications). See the updater limitation below.
--data-dir DIRWhere saves, settings, logs and the copy of the game go (default ~/Games/DungeonSiegeNative). See the updater limitation below.
--in-placeRead the game from --game-dir instead of copying it into the data folder (that folder then has to stay).
--no-downloadsSkip the two downloads an install makes by default (also DS_NO_DOWNLOADS=1).

--expansion, --mods, --yesterhaven and --benchmark work on their own (after the game is installed) or together with a game option. With no game option at all, install.sh rebuilds from the game folder the installed app already uses.

Downloads during an install. Unless --no-downloads is given, the installer fetches two things that are not part of this project, only for your Mac:

  • Yesterhaven: Gas Powered Games' own installer from the Internet Archive (53 MB, checked by its hash), when the Mods folder doesn't have it yet. Only its two archives are taken out.
  • The launch window's banner: Dungeon Siege's key art from Steam's store. Without it the window shows its title plaque.
What goes where
LocationContents
Your game folderOnly read, never changed; copied into <data>/game-files (unless --in-place), so it can be deleted.
~/Applications/Dungeon Siege Native.appThe recompiled game, built on your Mac from your copy.
~/Games/DungeonSiegeNativeThe data folder: saves and the game's settings (drive_c/Users/player/Documents/Dungeon Siege, and Dungeon Siege LOA for the expansion), the launch window's choices (launcher.plist), mods (mods/), the expansion (expansion/), the log (DungeonSiegeNative.log), update output (update.log), crash reports (CrashReports/), benchmark results (Benchmarks/), and the unpacked or copied game for --gog-installer, --steam and --collection.
The cloned repositoryThe recompiler, its Python environment (recomp/.venv), the generated code (recomp/work, never committed) and the update builds (build/stable, build/nightly).

First launch

Open Dungeon Siege from ~/Applications or Spotlight. The launch window comes first, drawn with the game's own menu art. Choose and press Play (or Return); every choice is remembered.

  • Game: Single Player (the Kingdom of Ehb campaign) or Multiplayer. Legends of Aranna and Aranna Multiplayer appear once the expansion is installed, Benchmark once the benchmark is.
  • Display: Resolution (your display's size is recommended), Interface Size (100% to 300%: a larger interface while the world stays sharp), Notch (on a Mac with a notch: Hide the Notch or Around the Notch), View Distance (Original up to Maximum, 300%), Gamma, and Frame Rate (Automatic, 120 on displays reporting at least 120 Hz, 60, 30 or Unlimited).
  • Graphics: the game's own Options > Video settings (Texture Filtering, Object Detail, Shadows) plus Shadow Detail and Shadow Edges for sharper, softer character shadows. They're written into the game's settings when you press Play, so the in-game Video page needn't be used.
  • Audio: Environmental Audio → Standard or EAX. EAX uses the game's environmental settings for native Core Audio reverb and positional effects.
  • Mods: a tick list per game, and an Open Mods Folder button (docs/MODS.md).
  • Updates: see below.

The full table of settings and their choices is in docs/INSTALL.md.

The first time you host or look for a multiplayer game, macOS asks whether Dungeon Siege may find devices on your local network, and the firewall (if it is on) whether it may accept incoming connections. Allow both.

In the game the mouse or trackpad controls the cursor, a two-finger click is a right click, and two-finger scrolling zooms. The game's keyboard shortcuts work as on Windows; Cmd+Tab switches away and Cmd+Q quits. Controllers are not supported.

EAX is implemented in software on the Mac: the original Miles provider feeds DirectSound3D and EAX 1.0/2.0 properties into the native mixer. Room decay, early reflections, high-frequency damping, source positioning, distance, cones, Doppler, obstruction and occlusion are processed before Core Audio output. The game controls which sounds enter the room effect, so dry areas and sounds remain dry. This reproduces the environmental behavior, not the exact sound of a particular Creative card. The setting is shared with the game's eax_enabled preference.

Updating

The downloaded app updates from the releases page: the launch window's Updates row shows when a newer release (betas included) is out, and pressing it downloads that release and swaps it in. Your game copy, saves, settings and mods stay; if the new release changes the game code, the next launch rebuilds it from your copy. If the app sits somewhere it can't write to, download the new release and drag it in instead.

An app built from source: the launch window's Updates row asks GitHub for the newest commit of the app's branch: main for Dungeon Siege, nightly for Dungeon Siege Nightly. When it says Update available, press it. The new version is checked out into build/stable (or build/nightly) inside your clone, the app is rebuilt from your copy of the game (with a progress window), and offers a Restart button when it finishes. Your own checkout, game folder, saves, settings and mods are left as they are. The output goes to update.log in the data folder.

Keep the clone in the same place. Not available means the app has no usable updater script; Couldn't check means the script failed to read the remote branch, for example because the clone moved, GitHub was unreachable or git needed a sign-in. Press the row to retry.

Known limitation: the updater runs the new install.sh without the options you first installed with. If you used --app-dir or --data-dir, update by hand with the same options. The updater searches the default app folder, so it may fail to find your app or use another installed copy, and it rebuilds with the default data folder.

By hand: git pull, then run the same install.sh command again (with the same --app-dir/--data-dir, if any, and --nightly for the Nightly app).

Stable and Nightly. New work lands on the nightly branch first and reaches main once it has proven itself. ./install.sh --nightly builds the newest nightly in build/nightly (your checkout stays as it is) and installs Dungeon Siege Nightly.app next to the stable app, with its own icon. Both share the data folder, so saves, settings and mods work in either; each keeps its own log. Run it again, or use its Updates row, to update it.

Uninstalling

The downloaded app: move Dungeon Siege.app to the Trash, and ~/Games/Dungeon Siege too if you no longer want your saves and the game copy.

Built from source: delete ~/Applications/Dungeon Siege Native.app (and Dungeon Siege Nightly.app), the cloned folder, and ~/Games/DungeonSiegeNative if you no longer want your saves. Your game folder was never changed.

Features

  • Native performance. The game's own code runs as optimised arm64 with no translation layer. The frame rate follows your display (60 Hz, or 120 Hz on ProMotion screens), with Unlimited for faster hardware, and frame pacing stays steady. The heaviest calculation in big battles (vertex lighting) runs as native code with identical results.
  • Game Mode. Game Mode requires macOS 14 or later and macOS full screen. Around the Notch uses a borderless window and does not enable Game Mode.
  • Scales with your Mac. View distance up to 300% of the original (the built-in equivalent of the SeeFar mod), Interface Size for high resolutions, and defaults chosen from your Mac's GPU (Very Far on Max and Ultra chips, Farther elsewhere). A new installation starts with the game's shipped settings (Party complex shadows, bilinear filtering); the launcher's Graphics rows change them.
  • Sharper, softer character shadows: Shadow Detail (up to 1024 pixels, 256 by default; the original is 64) and Shadow Edges (Soft by default).
  • Multiplayer and cross-play on LAN and over the internet, using the game's own DirectPlay 8 protocol (implemented from Microsoft's published specifications): Macs with each other, and Macs with PCs running the Windows game. A hosting Mac asks the router to forward the game's ports (NAT-PMP or UPnP). A Mac built from either edition presents itself as GOG 1.11.1, so it plays with GOG PCs. PC players need the GOG 1.11.1 executable named DungeonSiege.exe, the same resource files and Microsoft's DirectPlay. Details: docs/MULTIPLAYER.md.
  • Legends of Aranna, the expansion, from your own copy's data (./install.sh --expansion <folder>), with its own saves in the original's folder name, so they can be copied to and from Windows.
  • Mods chosen per game in the launcher (Yesterhaven, ResolutionFix, UberUI and others; credits in docs/MODS.md).
  • The Dungeon Siege Benchmark as a launcher option and tuning tool (docs/BENCHMARK.md).
  • The game's own sound and video (Miles, Bink), recompiled from your game folder as well and playing through Core Audio.
  • Crash and freeze reports in ~/Games/DungeonSiegeNative/CrashReports.
  • Backups: --save-collection and --collection keep a whole setup (game, expansion, mods, sa