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
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.
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.
brew install xcodegen dotnet spirv-cross python Confirm the tools or add the missing Metal compiler
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:
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

The Code menu is shown first. Swipe sideways to see the selected release, or open the full screenshot.
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.
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.
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.
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
Resolve the prerequisite report before preparation
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:
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.
Activate the workspace environment, then choose one build
source ~/dm-work/build/cache/dm/venv/bin/activate Default app
dm/tools/mac_app.sh Output: ~/dm-work/out/macapp/D2R Mobile.app
Older-API 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
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.
~/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.
- UpdateAccepted · contains RomFS below
- RomFSAccepted · contains data below
- dataAccepted · directly contains these files
build_manifest.psv
*.data
- dataAccepted · directly contains these files
- RomFSAccepted · contains data below
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.
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
- Quit the app. Back up the matching app’s complete save folder outside its live directory.
- Record
git rev-parse HEADandgit status --shortin your old source. Keep local changes; a new source checkout avoids overwriting them. - Select the new release deliberately, run its
./setup.sh checkand./setup.sh, then activate the environment and rebuild the same Mac variant. - 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
- Run
DM_LANG=en ./setup.sh checkfrom the source root. - Confirm full Xcode is selected, not only Command Line Tools. Finish Xcode setup and its Metal component.
- 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
- Match Switch 1.0.34.0 and your input route. All three ExeFS files must match that release.
- Confirm the manifest is at
RomFS/data/build_manifest.psv. A renamed folder does not repair an unsupported dump. - 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
- Keep the first failure above the final summary. Read the named tool’s output.
- Confirm
dotnet --list-sdksincludes .NET 10, SPIRV-Cross is installed and the selected Xcode has Metal. - 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
- Compare the app filename with the Mac’s actual OS.
- For macOS 15–25, build and open
D2R Mobile M3.appusingDM_MAC_M3=1. - 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
- Use one of the accepted folder depths and confirm its manifest is readable.
- Keep the original resources, workspace and output directory where the local build expects them.
- 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:
~/Library/Logs/D2R Mobile ~/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.