mirror of
https://github.com/jhaizhou-ops/d2r-mobile
synced 2026-11-26 13:57:52 +08:00
The interface-art scripts (romfs_art.py, gen_widestash_art.py) read the game's textures through a small deswizzle library that they build with clang on the spot unless DM_DESWIZZLE_LIB is set. On Windows that needs LLVM plus Visual Studio's C++ tools, which is most of the setup list in #243. The release's shell zip already carries the library (Tools/deswizzle/{win-x64,macos-arm64}/), and d2rm_pack.py places it for the iOS route. - check_env: with --shell, place_deswizzle(z) sets DM_DESWIZZLE_LIB from the shell; without a prebuilt library it now asks for clang up front (the scripts call clang by name) instead of failing halfway through the art step. - Header, docs/ANDROID.md (+ zh-CN) and dm/android/README (+ zh-CN): clang is listed, and --shell covers it too. - test_android_shell.py: 11 cases (shell with both tools needs neither .NET nor clang and sets DM_DESWIZZLE_LIB; a shell without the library, or no shell, needs clang; DM_DESWIZZLE_LIB needs no clang). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>