Save Architecture & Filesystem Paths
D2R Mobile operates completely offline and organizes character states, settings, and progression inside a dedicated save directory.
iOS and iPadOS
On mobile Apple devices, save files reside inside the application container:
- Files App Location: On My iPhone (or On My iPad) → D2R Mobile → save
- Internal Sandbox Path: Documents/save (referenced via runtime environment variable DM_SAVE)
macOS (Apple Silicon)
On macOS desktop builds, saves are isolated in the user library:
- Default Build (macOS 26+): ~/Library/Application Support/D2R Mobile/save
- Older-API Build (macOS 15–25, D2R Mobile M3.app): ~/Library/Application Support/D2R Mobile M3/save
The Mac startup check on v2.2.4 confirmed creation of the application-support save and temp directories. A read-only follow-up found zero files and an empty save directory, because the app never entered gameplay. This is not a character save write/read verification. For an actual backup, quit the app first and copy the entire save directory.
What lives inside save
The save directory contains one subfolder per character (named after the character), shared stash binary files (.d2i), and a Settings folder containing configuration and interface language preferences. In addition, D2R Mobile stores data for custom features—including extra personal stash pages, the pouch, rift progression, and the chronicle vault—directly within this directory. Because of these additional structures, seamless two-way compatibility with unmodified PC offline installations is not guaranteed.
Android Save Backup & Import (v2.3.0)
On Android, live save files live inside the app's private internal storage directory, which is inaccessible to regular file managers without root. Starting in v2.3.0, the official Android host (D2RMobile-android.apk) includes a built-in, rootless export and import mechanism triggered inside Download/S2X/D2R Mobile/:
Exporting saves on Android (Backup)
- Force-close D2R Mobile if it is currently running.
- Open your Android file manager and navigate to
Download/S2X/D2R Mobile/. - Create an empty file named
export(no file extension such as.txt). - Launch D2R Mobile. On startup, the app automatically copies your internal saves to a timestamped folder:
text Download/S2X/D2R Mobile/save-export/YYYYMMDD-HHMMSS/ - Copy that timestamped folder to cloud storage, an SD card, or your computer for safekeeping.
Importing saves on Android
- Force-close D2R Mobile before moving files.
- Create a folder named
save-importinsideDownload/S2X/D2R Mobile/and place the save files or character folders you want to import inside it. - Launch D2R Mobile. On startup, the app imports your files safely:
- Additive character import: Import only adds characters and never overwrites or replaces a character that already exists on the phone.
- Automatic shared stash merging: If the imported folder contains a shared stash from another phone, D2R Mobile automatically merges the shared stash items rather than wiping your current stash.
- Once the import finishes, the app renames your folder to
save-import.done-YYYYMMDD-HHMMSSso it is not imported again on the next launch.
Critical Android warning — Uninstalling or switching signing keys deletes internal saves: Because Android stores live saves in the app's private sandbox, uninstalling the APK or switching to an APK signed with a different key (for example, moving from a self-compiled debug build to the official
D2RMobile-android.apkrelease, or vice versa) immediately deletes all internal saves. Always run theexportbackup workflow before uninstalling or changing signing keys. Installing a newer official release APK directly over an older official release APK with the same signing key preserves your internal saves.
Manual Save Transfer Workflow (iOS & macOS)
When migrating progress between an iPhone/iPad and a Mac (or importing an exported Android save-export/YYYYMMDD-HHMMSS/ folder onto Apple devices), always transfer the entire save directory as a unified unit:
- Terminate the Game Completely: Force-close the app on iOS via the App Switcher, or quit with Command-Q on macOS. Never touch save files while the process is running.
- Back Up Destination Directory: Before copying, navigate to the target location and rename the existing
savefolder (e.g.save backup). - Copy the Entire Folder: Transfer the complete
savefolder via AirDrop, Finder USB file sharing, or local network. Do not selectively move individual character files. - Verify Hierarchy: Ensure the destination layout sits directly at
.../D2R Mobile/save/(or.../D2R Mobile M3/save/). Confirm that you have not created an unintended nested directory such assave/save/. - Ignore Ephemeral Files: Directories named
save.workorsave.neware transient scratch locations that the host cleans and rebuilds on startup.
iCloud Entitlement Requirements (iOS & Mac)
The upstream codebase contains native iCloud synchronisation routines (cloud_ios.m), but this mechanism functions only if the installed application bundle holds a valid Apple iCloud entitlement (iCloud.<bundle ID>).
A local or free sideloaded build does not gain iCloud access merely by compiling or signing successfully. It needs a paid developer account and valid container entitlements; free personal Apple ID provisioning through tools such as Sideloadly or AltStore does not provide them. Upon launch, the host logs an alert that iCloud is unavailable and falls back strictly to local sandbox storage. Cloud sync cannot be activated on free self-signed builds.
Preventing Data Loss During 7-Day iOS Re-Signing
Free Apple developer certificates expire after 7 days, requiring the IPA to be re-signed and reinstalled:
- Do not uninstall the app: Choosing Delete App removes its local sandbox and saves. Remove from Home Screen only hides its icon and is not the same operation. Never use uninstalling as a routine signing fix.
- Keep the app identity: Refresh or install over the current app using the same Apple ID and signing route. An ordinary in-place update preserves
Documents/save, though changes in bundle ID or provisioning can affect container access. - Pre-Update Backup: Prior to any re-signing operation, open the Apple Files app and copy the
savefolder to iCloud Drive or an external backup folder.