DIABLO II: RESURRECTED / BUILD GUIDE

Build Diablo II: Resurrected for Mac

Build the v2.0.0 Mac app from your own Switch files. Choose combined, separate or extracted inputs, then prepare, package and open the matching app.

Start with your Mac ↓

Guide source: D2R Mobile v2.0.0 · b811b90 · reviewed 25 October 2026. Game: Switch 1.0.34.0, shown as 3.3.94012 in project folders.

Prepare the build Mac and its tools

BUILD MAC

Full Xcode + Metal compiler

The upstream dependency list uses Xcode 26.6. Apple lists its host as macOS 26.2–26.x. Open Xcode once and finish its component setup.

PLAY TARGET

Default or older API

Default: macOS 26+. M3 variant: macOS 15+. Both use Apple silicon. The older target does not remove the build Mac’s Xcode requirements.

Install Homebrew, then the command-line dependencies. A developer account, device registration and the iOS signing settings are unnecessary for this Mac build.

Mac build dependencies
brew install xcodegen dotnet spirv-cross python
Confirm the tools or add the missing Metal compiler
Read installed versions and selected Xcode
xcodebuild -version
xcode-select -p
xcrun -sdk iphoneos metal --version
python3 --version
dotnet --list-sdks

If full Xcode is installed but Metal is missing, finish its additional component download:

Install Xcode’s Metal component
xcodebuild -downloadComponent MetalToolchain

Upstream lists Python 3.14, .NET 10, XcodeGen 2.45.4 and SPIRV-Cross 1.4.357. The setup.sh check report identifies missing tools. Apple’s Xcode host requirements ↗

Leave room beyond the input files: setup requires at least 30 GB free before game data is present, or 15 GB with the game directory present. Extraction alone needs about 20 GB of working space.

Get one fixed release of the source

Get the source · select v2.0.0, then Code → HTTPSOpen full screenshot ↗
Real English GitHub Code menu for D2R Mobile with tag v2.0.0 selected, HTTPS clone address and Download ZIP.
The selected v2.0.0 tag supplies this guide’s source. Code → HTTPS gives the clone address; the checkout command below fixes the release revision, and the Mac app is compiled locally from that checkout. Original source ↗

The Code menu is shown first. Swipe sideways to see the selected release, or open the full screenshot.

01

Clone into a new source folder

The source folder and the ~/dm-work workspace are different directories. Run the following commands from a parent folder where d2r-mobile-v2 does not already exist.

Clone and select the v2.0.0 guide revision
git clone https://github.com/jhaizhou-ops/d2r-mobile.git d2r-mobile-v2
cd d2r-mobile-v2
git checkout b811b90172f4eb40ec1bc89d903308e0c5ab88d0
git rev-parse HEAD

For ZIP source, use this fixed revision ZIP, expand it and open Terminal in the folder containing setup.sh. Do not mix a source ZIP, a mobile shell and a community Mac binary as if they were the same artifact.

git rev-parse HEAD prints b811b90172f4eb40ec1bc89d903308e0c5ab88d0.

Choose the input route that matches your files

All routes need your own Switch 1.0.34.0 with Reign of the Warlock. The project calls this 3.3.94012. For packages, install hactool as its README describes and put it on your PATH; HACTOOL can name another installed path.

One XCI or NSP containing the base and supported update

Extract the combined package into the default workspace. The keys argument comes last.

Extract your combined package
dm/tools/extract_game.sh "$HOME/Games/d2r-combined.xci" "$HOME/keys/prod.keys"
Separate base NSP and 1.0.34.0 update NSP · v2.0.0

Pass both packages before the keys. A base package alone or an update alone is not the combined input.

Extract your base and update together
dm/tools/extract_game.sh "$HOME/Games/d2r-base.nsp" \
  "$HOME/Games/d2r-update-1.0.34.0.nsp" "$HOME/keys/prod.keys"

The extractor reads title keys from suitable package tickets. A personalized ticket may need your existing ~/.switch/title.keys. Follow the exact message rather than renaming a package.

Already extracted ExeFS and RomFS folders

Put the three program files and the resource data in the layout below, then skip extraction. Copying a Windows game directory here does not convert it.

~/dm-work/data/switch/3.3.94012/Update/
├─ ExeFS/
│  ├─ main
│  ├─ sdk
│  └─ subsdk0
└─ RomFS/
   └─ data/
      ├─ build_manifest.psv
      └─ *.data

The expansion entitlement is required, but extraction does not need a separate DLC package: its data is in the supported base/update. Replace the example filenames above with your real paths; the scripts validate contents and version.

Have a custom DM_ROOT or an incomplete workspace?

Every command below uses the default ~/dm-work. If you set DM_ROOT, keep it consistent for extraction, preparation, activation and packaging. If an incomplete Update directory already exists, setup skips extraction; inspect what is missing before trying again. Keep your original packages and saves while repairing the workspace.

Prepare, then package the app for your system

02

Resolve the prerequisite report before preparation

Read-only prerequisite report · English
DM_LANG=en ./setup.sh check

Fix the missing tool or file it names, then rerun the report. It also displays iOS signing suggestions; these do not block a Mac-only app. When the report passes, prepare code, resources and shaders:

Prepare the workspace
DM_LANG=en ./setup.sh

Wait for preparation to finish without a failed stage. Its final iOS suggestion uses cd dm/ios; for the Mac, stay in the source root and use the next step.

03

Activate the workspace environment, then choose one build

Activate Python · default workspace
source ~/dm-work/build/cache/dm/venv/bin/activate
macOS 26+

Default app

Build D2R Mobile.app
dm/tools/mac_app.sh

Output: ~/dm-work/out/macapp/D2R Mobile.app

macOS 15–25

Older-API app

Build D2R Mobile M3.app
DM_MAC_M3=1 dm/tools/mac_app.sh

Output: ~/dm-work/out/macapp/D2R Mobile M3.app

The older-API build also prepares shader libraries for its older target. Keep the app output directory, workspace and shaders in place; the default local package refers to them.

Choose the resources on first launch

04

Open the matching app, then select the resource folder

In Finder, press Shift + Command + G, paste the output directory below and press Return. Double-click the app you just built.

Open the app output directory in Finder
~/dm-work/out/macapp

When asked for resources, choose Update or RomFS in the layout below. At this source, selecting the data directory itself also works if it directly contains the manifest and resource archives.

Folder layout diagram · three accepted selectionsAll three folder levels lead to the same game data in the file picker.
  1. UpdateAccepted · contains RomFS below
    1. RomFSAccepted · contains data below
      1. dataAccepted · directly contains these filesbuild_manifest.psv
        *.data

Selecting the source repository, ExeFS, a game package file or a different game’s resources does not supply this data. A rejected selection lets you choose again. Keep the accepted folder readable and in place.

05

Reach the menu and confirm your preferred language

The key reference appears once and remains under Help. To choose English, open Options → Custom, use the first-row language option, choose Accept All, then close and reopen the app.

Create a character with the keyboard, enter a game, quit normally and reopen to confirm the character remains before relying on a long session.

Update the source without losing the working setup

  1. Quit the app. Back up the matching app’s complete save folder outside its live directory.
  2. Record git rev-parse HEAD and git status --short in your old source. Keep local changes; a new source checkout avoids overwriting them.
  3. Select the new release deliberately, run its ./setup.sh check and ./setup.sh, then activate the environment and rebuild the same Mac variant.
  4. Open that exact output, check the character list and load the intended save. Keep your old app, source and backup until the new build works.

main can be newer than this guide’s release. A pull request or fork can change inputs, output packaging or save identity. Use its own revision and instructions; do not copy its environment flags into this fixed build automatically.

What changed from the old 53e7c5b guide?

v2.0.0 accepts separate base/update packages, adds Xbox layout recognition and offers optional Mac resource packaging and FFmpeg movie decoding. The steps here keep the default local package and separate resources. They do not enable those optional packaging or decoder switches.

Return to the stage that failed

A tool or the Metal compiler is missing
  1. Run DM_LANG=en ./setup.sh check from the source root.
  2. Confirm full Xcode is selected, not only Command Line Tools. Finish Xcode setup and its Metal component.
  3. Install the named dependency, then rerun the report. An Apple signing-team note belongs to iOS and is not a Mac prerequisite failure.
Wrong version, missing ExeFS or incomplete game data
  1. Match Switch 1.0.34.0 and your input route. All three ExeFS files must match that release.
  2. Confirm the manifest is at RomFS/data/build_manifest.psv. A renamed folder does not repair an unsupported dump.
  3. If setup says game files already exist, inspect that existing Update directory; it skips package extraction. Repair the missing files from your own matching source before preparation.
Shader translation or .NET preparation stops
  1. Keep the first failure above the final summary. Read the named tool’s output.
  2. Confirm dotnet --list-sdks includes .NET 10, SPIRV-Cross is installed and the selected Xcode has Metal.
  3. For shader translation, preserve ~/dm-work/build/cache/dm/shaders.log. Correct the named tool issue, then rerun setup; do not erase the whole workspace as a first remedy.
The app cannot run on this macOS version
  1. Compare the app filename with the Mac’s actual OS.
  2. For macOS 15–25, build and open D2R Mobile M3.app using DM_MAC_M3=1.
  3. If switching app variants, use that variant’s separate save folder. A blank character list does not mean the other app’s progress was deleted.
The resource folder is rejected or disappears
  1. Use one of the accepted folder depths and confirm its manifest is readable.
  2. Keep the original resources, workspace and output directory where the local build expects them.
  3. If those paths moved, restore them or rebuild deliberately with the intended locations. For a system security warning, match the macOS warning.
Find a runtime log or preserve a failed session

Use Help → Share Log… to save an archive of the current log, previous log and build information. The action saves locally and excludes saves. Or open the matching directory in Finder:

Default app log folder
~/Library/Logs/D2R Mobile
M3 app log folder
~/Library/Logs/D2R Mobile M3

Keep host.log before another launch; host.prev.log is the previous run. Record app variant, source revision, macOS version and the first failing stage.