From ffab0bf5d23031628c5f0de38ac432817a981258 Mon Sep 17 00:00:00 2001 From: jhaizhou <258432107+jhaizhou-ops@users.noreply.github.com> Date: Tue, 13 Oct 2026 15:28:59 +0800 Subject: [PATCH] Docs: name the game version as the console shows it (1.0.34.0, PC 3.3.94012); note community ports to other versions; package format is not checked --- README.md | 8 +++++--- README.zh-CN.md | 8 +++++--- dm/README.md | 2 +- dm/README.zh-CN.md | 2 +- docs/DEPENDENCIES.md | 2 +- docs/DEPENDENCIES.zh-CN.md | 2 +- docs/GAME_FILES.md | 2 +- docs/GAME_FILES.zh-CN.md | 2 +- docs/NO_XCODE.md | 2 +- docs/NO_XCODE.zh-CN.md | 2 +- 10 files changed, 18 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 63efe95..ae2f669 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This is not a tech demo that "sort of runs". It is a mobile version polished for daily play, from your first character all the way through the endgame. -Platforms: iPhone / iPad (iOS 26 and later) · Game version: Switch release with Reign of the Warlock, 3.3.94012 (shown as 1.0.34.0 on the console) · English / 中文 · License: MIT · **Bring your own game files** +Platforms: iPhone / iPad (iOS 26 and later) · Game version: Switch release with Reign of the Warlock, 1.0.34.0 (corresponds to PC version 3.3.94012) · English / 中文 · License: MIT · **Bring your own game files** 中文: [README.zh-CN.md](README.zh-CN.md) @@ -191,7 +191,9 @@ flowchart LR ## Getting started -Both routes start with **the files of the game you bought**: the Switch release of Diablo II: Resurrected plus the Reign of the Warlock expansion, updated to 3.3.94012 (the version the console shows is 1.0.34.0). This project is built for the version with that expansion; using it without the expansion is not supported and has not been verified. How to prepare them is in [docs/GAME_FILES.md](docs/GAME_FILES.md). +Both routes start with **the files of the game you bought**: the Switch release of Diablo II: Resurrected plus the Reign of the Warlock expansion, updated to 1.0.34.0 (the version the console shows; it corresponds to PC version 3.3.94012, and the directory names and tools in this repository use the latter number). This project is built for the version with that expansion; using it without the expansion is not supported and has not been verified. How to prepare them is in [docs/GAME_FILES.md](docs/GAME_FILES.md). + +This project is implemented and verified on the Switch release 1.0.34.0 (which corresponds to PC version 3.3.94012), and by default the tools accept only that version. Community users have reported adapting other versions on their own by following the structure of this repository, and running them successfully. The rule tables are grouped by game version (in `dm/tools/patch_nso.py`, keyed by the build ID of the main program); you are welcome to contribute the version you adapted. | | With a Mac | Without a Mac | |---|---|---| @@ -238,7 +240,7 @@ Download our prebuilt "shell" package (`D2RMobile-shell.ipa`), which contains no | Item | Status | |---|---| | Online play | Out of scope; fully offline | -| Game packages in `.nsp` format | Not verified (only `.xci` was tested) | +| `.nsp` / `.xci` game packages | The tools only check the version of the main program and do not distinguish package formats; we ran the whole path with an `.xci` ourselves | | Signing and installing with a sideloading tool (Sideloadly, AltStore and the like) | Not verified; open an issue and tell us how it went | | Making the package on Linux | Not verified (verified on Windows and Mac) | | The "one-line verdict" and "legacy Chinese name" entries in item notes | These two content tables are not shipped with the repository; you can supply your own, see `dm/ios/tools/annot/README.md` | diff --git a/README.zh-CN.md b/README.zh-CN.md index b434fe3..c816b92 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -4,7 +4,7 @@ 这不是一个「勉强能跑」的技术演示,而是一个打磨到可以天天玩、从开荒一路玩到终局的移动版。 -平台:iPhone / iPad(iOS 26 起)· 游戏版本:Switch 版「术士君临」3.3.94012(主机上显示为 1.0.34.0)· 中文 / English · 许可证:MIT · **需要自备游戏文件** +平台:iPhone / iPad(iOS 26 起)· 游戏版本:Switch 版「术士君临」1.0.34.0(对应 PC 版 3.3.94012)· 中文 / English · 许可证:MIT · **需要自备游戏文件** English: [README.md](README.md) @@ -191,7 +191,9 @@ flowchart LR ## 开始使用 -两条路都要先有**你自己购买的游戏的文件**:Switch 版《暗黑破坏神 II:狱火重生》本体加「术士君临」资料片,更新到 3.3.94012(在主机上看到的版本号是 1.0.34.0)。本项目是按带这部资料片的版本做的,没有资料片的情况不支持、也没有验过。怎么准备见 [docs/GAME_FILES.zh-CN.md](docs/GAME_FILES.zh-CN.md)。 +两条路都要先有**你自己购买的游戏的文件**:Switch 版《暗黑破坏神 II:狱火重生》本体加「术士君临」资料片,更新到 1.0.34.0(主机上显示的版本号;它对应 PC 版的 3.3.94012,本仓库的目录名和工具里用的是后一个号)。本项目是按带这部资料片的版本做的,没有资料片的情况不支持、也没有验过。怎么准备见 [docs/GAME_FILES.zh-CN.md](docs/GAME_FILES.zh-CN.md)。 + +本项目基于 Switch 版 1.0.34.0(对应 PC 版的 3.3.94012)实现并验证,工具默认只认这一版。已有社区用户反馈,参照仓库结构自行适配了其他版本并成功运行。规则表按游戏版本分组存放(`dm/tools/patch_nso.py` 里按主程序的构建标识分组),欢迎把你适配的版本提交回来。 | | 有 Mac | 没有 Mac | |---|---|---| @@ -238,7 +240,7 @@ flowchart LR | 项 | 现状 | |---|---| | 联机 | 不在范围内,完全离线 | -| `.nsp` 格式的游戏包 | 没验过(只测过 `.xci`) | +| `.nsp` / `.xci` 两种游戏包 | 工具只核对主程序的版本,不区分包的格式;我们自己用 `.xci` 走过全程 | | 用自签工具(Sideloadly、AltStore 等)签名装机 | 没验过,欢迎开 Issue 告诉我们结果 | | Linux 上做包 | 没验过(Windows 与 Mac 上验过) | | 物品注释里的「一句点评」与「旧译名对照」 | 两张内容表不随仓库提供,可自备,见 `dm/ios/tools/annot/README.zh-CN.md` | diff --git a/dm/README.md b/dm/README.md index 0bb8bc4..33a8530 100644 --- a/dm/README.md +++ b/dm/README.md @@ -191,7 +191,7 @@ The repository contains no images, tables or text derived from the original game **Which files are needed** -- Required: the update package RomFS of Switch version 3.3.94012 (`Update/RomFS`, which contains `data/build_manifest.psv`). If the version is wrong, the generation scripts report an error based on the registered checksums ("原件和冻结的不一样", i.e. "the original differs from the frozen one"; "原文变了", i.e. "the original text has changed"). +- Required: the update package RomFS of the Switch release 1.0.34.0 (corresponding to PC version 3.3.94012) (`Update/RomFS`, which contains `data/build_manifest.psv`). If the version is wrong, the generation scripts report an error based on the registered checksums ("原件和冻结的不一样", i.e. "the original differs from the frozen one"; "原文变了", i.e. "the original text has changed"). - Optional: an unpacked directory of the PC version of D2R (containing `hd/global/ui/...`, the raw `.sprite` files). With it, the bottom UI uses the PC version's 2x original images; without it, the bottom UI uses upscaled Switch assets and will be slightly blurry, and generation prints "没找到 PC 版文件……底栏用 Switch 素材放大,会略糊" ("PC version files not found … the bottom bar uses upscaled Switch assets and will be slightly blurry"). **Where to put them** diff --git a/dm/README.zh-CN.md b/dm/README.zh-CN.md index 9c1a5aa..47f323b 100644 --- a/dm/README.zh-CN.md +++ b/dm/README.zh-CN.md @@ -191,7 +191,7 @@ DM_ROMFS= DM_SAVE=<存档目录> DM_TEMP=<临时目录> DM_ **要哪些文件** -- 必需:Switch 版 3.3.94012 的更新包 RomFS(`Update/RomFS`,里面有 `data/build_manifest.psv`)。版本不对时,生成脚本会按登记的校验值报错(「原件和冻结的不一样」「原文变了」)。 +- 必需:Switch 版 1.0.34.0(对应 PC 版 3.3.94012)的更新包 RomFS(`Update/RomFS`,里面有 `data/build_manifest.psv`)。版本不对时,生成脚本会按登记的校验值报错(「原件和冻结的不一样」「原文变了」)。 - 可选:PC 版 D2R 的解包目录(下面是 `hd/global/ui/...`,原始 `.sprite`)。有它,底部 UI 用 PC 版的 2 倍原图;没有它,底部 UI 用 Switch 版素材放大,会略糊,生成时打印「没找到 PC 版文件……底栏用 Switch 素材放大,会略糊」。 **放哪** diff --git a/docs/DEPENDENCIES.md b/docs/DEPENDENCIES.md index 90b3a2a..ebddd09 100644 --- a/docs/DEPENDENCIES.md +++ b/docs/DEPENDENCIES.md @@ -9,7 +9,7 @@ Everything the build needs is on this page: what each item is, what it is for, w | What | Used for | Notes | |---|---|---| | An Apple silicon Mac | Building, and running the host tools | Needs macOS and the Xcode version below | -| Your own game files | The game program and all game data | This repository contains no game files. You need the program files (ExeFS) and the update data (RomFS) of the Switch release 3.3.94012, dumped from a copy you bought and own. See [GAME_FILES.md](GAME_FILES.md) | +| Your own game files | The game program and all game data | This repository contains no game files. You need the program files (ExeFS) and the update data (RomFS) of the Switch release 1.0.34.0 (corresponding to PC version 3.3.94012), dumped from a copy you bought and own. See [GAME_FILES.md](GAME_FILES.md) | | An Apple developer account | Signing the app and installing it on your own device | A paid account gives you everything. A free account (personal team) cannot sign iCloud, sustained execution or the increased memory limit: building with `DM_FREE_ACCOUNT=1` removes them; what you lose is iCloud save sync, and the game runs as usual. Apps signed with a free account must be reinstalled every 7 days. With a free account: before building, connect the phone by cable and unlock it, and set `DM_IOS_UDID` in the local configuration (the build targets this phone, which is what makes Apple generate a provisioning profile for a free team); after installing, before the first launch, trust your developer account on the phone under Settings → General → VPN & Device Management. This mode has been signed with an actual free account, installed and played (on a 12 GB device); 6 GB / 8 GB devices have not been verified | ## Build tools diff --git a/docs/DEPENDENCIES.zh-CN.md b/docs/DEPENDENCIES.zh-CN.md index 4928585..2433f43 100644 --- a/docs/DEPENDENCIES.zh-CN.md +++ b/docs/DEPENDENCIES.zh-CN.md @@ -9,7 +9,7 @@ English: [DEPENDENCIES.md](DEPENDENCIES.md) | 需要什么 | 用来做什么 | 说明 | |---|---|---| | 一台 Apple 芯片的 Mac | 构建与运行宿主 | 需要 macOS 与下面的 Xcode | -| 你自己的游戏文件 | 主程序与全部游戏资源 | 本仓库不含任何游戏文件。需要 Switch 版 3.3.94012 的程序文件(ExeFS)与更新包资源(RomFS),从你自己购买并拥有的游戏导出,见 [GAME_FILES.zh-CN.md](GAME_FILES.zh-CN.md) | +| 你自己的游戏文件 | 主程序与全部游戏资源 | 本仓库不含任何游戏文件。需要 Switch 版 1.0.34.0(对应 PC 版 3.3.94012)的程序文件(ExeFS)与更新包资源(RomFS),从你自己购买并拥有的游戏导出,见 [GAME_FILES.zh-CN.md](GAME_FILES.zh-CN.md) | | Apple 开发者账号 | 给 App 签名并装到自己的设备上 | 付费账号可用全部功能。免费账号(个人团队)签不了 iCloud、持续执行、加大内存上限这几项:出包时加 `DM_FREE_ACCOUNT=1` 会去掉它们,少的是 iCloud 存档同步,游戏照常运行;免费账号签的 App 每 7 天要重装一次。用免费账号时:构建前把手机用数据线连上并解锁、在本机配置里填 `DM_IOS_UDID`(构建以这台手机为目标,苹果才肯给免费团队生成描述文件);装好后第一次打开前,到手机「设置 → 通用 → VPN 与设备管理」里信任你的开发者账号。这一档已真拿免费账号签过、装机进局(12 GB 内存的机器);6 GB / 8 GB 的机器没验 | ## 构建工具 diff --git a/docs/GAME_FILES.md b/docs/GAME_FILES.md index 7d3accf..6991c16 100644 --- a/docs/GAME_FILES.md +++ b/docs/GAME_FILES.md @@ -6,7 +6,7 @@ ## Which files -The Switch release of Diablo II: Resurrected **with the Reign of the Warlock expansion**, updated to **3.3.94012**. That is the game's internal build number; the version shown on the Switch console is **1.0.34.0** (select the game on the HOME menu and press "+" to see it; the `v2228224` that often appears in the file name of a dumped update is the same thing, 2228224 = 34 × 65536). The base game, the update and the expansion all have to be ones you bought yourself; this project is built for the version with the expansion, and using it without the expansion is not supported and has not been verified. You need two parts of it: +The Switch release of Diablo II: Resurrected **with the Reign of the Warlock expansion**, updated to **1.0.34.0** — the version shown on the Switch console (select the game on the HOME menu and press "+" to see it; the `v2228224` that often appears in the file name of a dumped update is the same thing, 2228224 = 34 × 65536). It corresponds to PC version **3.3.94012**; the directory names, the tools and the rest of the documentation in this repository use 3.3.94012, meaning the same version. The base game, the update and the expansion all have to be ones you bought yourself; this project is built for the version with the expansion, and using it without the expansion is not supported and has not been verified. You need two parts of it: | Part | Contents | Size | |---|---|---| diff --git a/docs/GAME_FILES.zh-CN.md b/docs/GAME_FILES.zh-CN.md index 44be71e..946867d 100644 --- a/docs/GAME_FILES.zh-CN.md +++ b/docs/GAME_FILES.zh-CN.md @@ -6,7 +6,7 @@ English: [GAME_FILES.md](GAME_FILES.md) ## 需要哪些文件 -Switch 版《暗黑破坏神 II:狱火重生》,**带「术士君临」资料片**,更新到 **3.3.94012**。这是游戏内部的构建号;在 Switch 主机上看到的版本号是 **1.0.34.0**(主界面选中游戏按「+」可以看到;导出的更新包文件名里常带的 `v2228224` 也是它,2228224 = 34 × 65536)。本体、更新和资料片都要是你自己购买的;本项目是按带资料片的版本做的,没有资料片的情况不支持、也没有验过。需要其中两部分: +Switch 版《暗黑破坏神 II:狱火重生》,**带「术士君临」资料片**,更新到 **1.0.34.0**——这是 Switch 主机上显示的版本号(主界面选中游戏按「+」可以看到;导出的更新包文件名里常带的 `v2228224` 也是它,2228224 = 34 × 65536)。它对应 PC 版的 **3.3.94012**;本仓库的目录名、工具和其余说明里用的都是 3.3.94012 这个号,指的是同一版。本体、更新和资料片都要是你自己购买的;本项目是按带资料片的版本做的,没有资料片的情况不支持、也没有验过。需要其中两部分: | 部分 | 内容 | 大小 | |---|---|---| diff --git a/docs/NO_XCODE.md b/docs/NO_XCODE.md index 69fd782..37ab422 100644 --- a/docs/NO_XCODE.md +++ b/docs/NO_XCODE.md @@ -21,7 +21,7 @@ The shell cannot start by itself: on launch it tells you that this package has n ## What you need -- The files of the game you bought: `ExeFS` and `RomFS` of the Switch version 3.3.94012, see [GAME_FILES.md](GAME_FILES.md) +- The files of the game you bought: `ExeFS` and `RomFS` of the Switch release 1.0.34.0 (corresponding to PC version 3.3.94012), see [GAME_FILES.md](GAME_FILES.md) - The source of this repository, at the same release as the shell (the tool checks and says so if they differ) - Python 3.9 or later, plus: `python3 -m pip install pillow numpy lz4 capstone unicorn` - A C compiler (`clang`; on Windows, installing LLVM is enough) and the .NET SDK. Apple's Metal shader compiler is **not** required: if it is there (a Mac with Xcode) the shaders are compiled into libraries on the computer, otherwise they are compiled on the phone diff --git a/docs/NO_XCODE.zh-CN.md b/docs/NO_XCODE.zh-CN.md index 7080a18..e0f18ab 100644 --- a/docs/NO_XCODE.zh-CN.md +++ b/docs/NO_XCODE.zh-CN.md @@ -21,7 +21,7 @@ English: [NO_XCODE.md](NO_XCODE.md) ## 你需要准备的 -- 你自己购买的游戏的文件:Switch 版 3.3.94012 的 `ExeFS` 与 `RomFS`,见 [GAME_FILES.zh-CN.md](GAME_FILES.zh-CN.md) +- 你自己购买的游戏的文件:Switch 版 1.0.34.0(对应 PC 版 3.3.94012)的 `ExeFS` 与 `RomFS`,见 [GAME_FILES.zh-CN.md](GAME_FILES.zh-CN.md) - 这个仓库的源码,版本要与壳是同一个发布版本(工具会核对,不一致会直说) - Python 3.9 以上,以及这几个包:`python3 -m pip install pillow numpy lz4 capstone unicorn` - 一个 C 编译器(`clang`;Windows 上装 LLVM 即可)、.NET SDK。**不需要**苹果的 Metal 着色器编译器:有它(装了 Xcode 的 Mac)就在电脑上把着色器编成库,没有就走手机上现编