[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109190":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":13,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":12,"lastSyncTime":28,"discoverSource":29},109190,"doom-port","Desm0nt\u002Fdoom-port","Desm0nt","DOOM Mobile: the Nintendo Switch release of DOOM (2016) running natively on ARM64 Android (Vulkan). Bring your own game files.",null,"C",125,2,5,8,0,1,16,58,57.23,"MIT License",false,"main",[],"2026-11-17 18:35:12","2026-11-23 16:42:59","# DOOM Mobile\n\n> [!IMPORTANT]\n> **Mali, PowerVR, Xclipse phones (Dimensity, Exynos, Tensor, Unisoc): make the `astc` texture cache.** Since\n> **v0.4.12**, setup can prepare a copy of the game's textures in formats these GPUs read directly (folder\n> `DOOM Mobile\u002Fastc`, about 0.85 GB). Without it the game converts textures on the fly: it needs several times more\n> graphics memory, stutters more and may be closed by the system while a level loads. If you prepared your files with an\n> older setup, run setup again (it only adds the new folder) and copy `astc` to `Download\u002FDOOM Mobile\u002Fastc` on the\n> phone: [INSTALL, step 5](docs\u002FINSTALL.md#step-5-copy-the-game-folder-to-the-phone). Snapdragon phones don't need it.\n>\n> **Телефоны с Mali, PowerVR, Xclipse (Dimensity, Exynos, Tensor, Unisoc): сделайте кэш текстур `astc`.** Начиная с\n> **v0.4.12** setup умеет готовить копию текстур игры в форматах, которые эти GPU читают напрямую (папка\n> `DOOM Mobile\u002Fastc`, около 0,85 ГБ). Без неё игра перекодирует текстуры на лету: ей нужно в несколько раз больше\n> графической памяти, больше подтормаживаний, и система может закрыть игру во время загрузки уровня. Если файлы\n> готовились старым setup, запустите его ещё раз (он только добавит новую папку) и скопируйте `astc` на телефон в\n> `Download\u002FDOOM Mobile\u002Fastc`: [INSTALL, шаг 5](docs\u002FINSTALL.ru.md#шаг-5-скопируйте-папку-игры-на-телефон).\n> Телефонам со Snapdragon она не нужна.\n\n**A native Android port of DOOM (2016) for Nintendo Switch.** The game's own AArch64 program runs directly on the\nphone's CPU; a small host provides the Switch system services, and the NVN graphics API is replayed on Vulkan.\nYou bring the game: this repository contains no game content.\n\nРусский: [ниже](#по-русски).\n\n**Install:** step-by-step guide for players — [docs\u002FINSTALL.md](docs\u002FINSTALL.md) (English) ·\n[docs\u002FINSTALL.ru.md](docs\u002FINSTALL.ru.md) (по-русски). In short: dump your own game + update v262144 and `prod.keys`,\nput them into `put-game-files-here\u002F`, double-click `setup.bat` (or `bash setup.sh`), copy `work\u002FDOOM Mobile` to the\nphone's `Download` folder and install the APK from the [latest release](https:\u002F\u002Fgithub.com\u002FDesm0nt\u002Fdoom-port\u002Freleases\u002Flatest).\n\n> **Tested so far on Adreno 750 (Snapdragon 8 Gen 3, Xiaomi 14 Ultra) and Adreno 740 (Snapdragon 8 Gen 2).** Other GPUs\n> are untested. Adreno 6xx\u002F7xx use the bundled Mesa **Turnip** Vulkan driver by default; other Adreno generations get\n> their Turnip package, and non-Adreno GPUs (Mali, PowerVR, Xclipse) use the phone's own driver, with engine fallbacks\n> for features those GPUs lack (see *Vulkan drivers* and *Other GPUs*).\n\n## Screenshots\n\nCaptured on the phone (Adreno 750, Qualcomm driver). The counter in the top-left corner is the port's own FPS \u002F frame\ntime \u002F GPU time overlay (it can be turned off in the settings). These shots predate the aspect-ratio fix: they show the\n16:9 image stretched to the 20:9 screen; current builds render 1600×720 widescreen (or 16:9 with side bars).\n\n**On-screen controls** (shown while no gamepad is connected):\n\n| | |\n|---|---|\n| ![Desert, on-screen controls](docs\u002Fimages\u002Ftouch_desert.jpg) | ![Fight, on-screen controls](docs\u002Fimages\u002Ftouch_combat.jpg) |\n\n**With a gamepad** (Bluetooth \u002F USB): the on-screen controls hide themselves and come back when it disconnects.\n\n| | |\n|---|---|\n| ![Mars surface, gamepad](docs\u002Fimages\u002Fdesert.jpg) | ![Fight with an imp, gamepad](docs\u002Fimages\u002Fcombat.jpg) |\n| ![Canyon, gamepad](docs\u002Fimages\u002Fcanyon.jpg) | ![Main menu in Russian, on-screen controls](docs\u002Fimages\u002Ftouch_controls.jpg) |\n\n## Port settings (gear button)\n\nThe gear at the top of the screen opens the port's own settings, on top of the game's menus:\n\n![Port settings dialog](docs\u002Fimages\u002Fsettings.jpg)\n\n| Setting | Default | What it does |\n|---|---|---|\n| Dynamic resolution | off | lets the game lower the 3D resolution under load; the same switch as **Video → Dynamic Resolution** in the game menu, applies at once and is saved in the game profile |\n| Vulkan driver | by GPU | Adreno 6xx\u002F7xx: bundled Turnip; other Adreno: their Turnip package; others: system driver. Or any package in `Download\u002FDOOM Mobile\u002Fdrivers` (next launch); a driver that fails falls back to the system one with a message |\n| Frame rate limit | 60 | 30 \u002F 60 \u002F 90 \u002F 120 (only rates your display supports; next launch; above 60 is experimental) |\n| Game language | system | text and voice: system language, Russian or English (next launch) |\n| Aim assist | 1 | strength of the game's aim assist; \"Как на Switch\" keeps the Switch behaviour (next launch) |\n| Widescreen | on | 1600×720 (screen aspect, wider view) instead of 1280×720 16:9 with side bars (next launch; turn it off on weaker devices) |\n| Rumble | off | controller \u002F phone vibration (next launch; off to save battery) |\n| FPS and frame time counter | on | the overlay in the top-left corner |\n| 3D resolution | 100% (720p) | 85% \u002F 75% \u002F 67%; the HUD stays at 720p |\n| Sharpening (FSR RCAS) | off | weak \u002F medium \u002F strong |\n| Look sensitivity | 1.0 | swipe look and the look while FIRE is held |\n| Move stick dead-zone compensation | none | offsets the game's own move-stick dead zone |\n\nEach option says whether it applies at once or on the next launch. The dialog follows the system language: English,\nRussian, Ukrainian, German, French, Spanish, Portuguese, Italian, Polish, Turkish, Simplified Chinese, Japanese, Korean.\n\n## What it is, and what it is not\n\n**It is:**\n\n- The original game code, **executing natively** on the phone — no emulated CPU, no JIT. Switch and Android phones\n  share the AArch64 instruction set; an offline rewriter changes only the few instructions that cannot run unchanged\n  on Linux (x18 use, TLS reads, system calls, counter reads) into calls to the host.\n- An HLE host for the Horizon OS services DOOM uses (threads, memory, file system, audio renderer, input, sockets…),\n  and an NVN → Vulkan recorder and engine tuned for Adreno GPUs.\n- A phone port: on-screen controls with mouse-like touch look, game controllers, gyro aiming, aim assist, rumble,\n  resolution scaling and sharpening, the game's own languages (including Russian) following the phone's locale.\n\n**It is not:**\n\n- An emulator, cloud gaming or streaming.\n- **A source of game content.** There is no game program, data, shader, text or key in this repository, and the APK\n  contains none. You dump DOOM from a Switch you own and convert it on your PC ([docs\u002Fdoom\u002FGAME_FILES.md](docs\u002Fdoom\u002FGAME_FILES.md)).\n  What the repository knows about the game (patch addresses, cvar names, shader identifiers…) is listed in\n  [docs\u002Fdoom\u002FDERIVED.md](docs\u002Fdoom\u002FDERIVED.md).\n- Online. The MULTIPLAYER entry is removed from the main menu and every network \u002F account service answers like a\n  console without a connection; the campaign runs fully offline.\n- Affiliated with id Software, Bethesda, ZeniMax, Panic Button or Nintendo.\n\n## Current state\n\nTested on **Snapdragon 8 Gen 3 \u002F Adreno 750** (Xiaomi 14 Ultra) and **Snapdragon 8 Gen 2 \u002F Adreno 740** (Xiaomi 13 Pro).\nOther Snapdragon devices may work; other GPUs are untested.\n\n- The campaign is playable from the main menu through gameplay. Output is **1600×720 widescreen** by default on a\n  20:9 screen (same height as the Switch's handheld 720p, with a wider Hor+ view: more on the sides, nothing\n  stretched); the original **1280×720 (16:9)** with side bars is optional in the settings and ~25% lighter on the GPU.\n- Performance at 1600×720 with Turnip v27: **Snapdragon 8 Gen 3 (Adreno 750)** — 50–60 fps in most of the campaign\n  (capped at 60), the heaviest areas ~35–50 fps; **Snapdragon 8 Gen 2 (Adreno 740)** — ~40–50 fps, heavy areas ~33–40 fps\n  (measured on a warm, thermally throttled phone). Turning widescreen off (1280×720) helps on 8 Gen 2 in pixel-heavy\n  scenes. Level loads use a fast NEON zlib. Since v0.4.1 scenes with in-game video screens no longer drop to ~20 fps (an\n  audio renderer wait, fixed); v0.4.2 keeps the GPU busier between frames (a deeper submit queue), about +7–10% fps in\n  the heaviest scenes on 8 Gen 2; v0.4.3 trims GPU work without changing the image (shader and pass clean-ups, skipped\n  dead occlusion boxes), another ~1.4–1.9 ms per frame, about +9–11% fps on 8 Gen 2.\n  v0.4.4 shortens the hitches when a level starts and when you enter a new area (faster texture uploads, shaders read\n  from internal storage instead of the shared Download folder): about −35% in total time spent in frames over 100 ms.\n  The frame rate limit above 60 now really reaches the game (90 \u002F 120 Hz screens).\n  v0.4.5 adds a **Light mode** (the Switch handheld quality preset, for weaker phones), a working **3D resolution**\n  option, and **dynamic resolution that targets 30 \u002F 45 \u002F 60 fps** using the port's own GPU timing; menus and loading\n  screens now run at 60 so loads are fast with a higher limit. After updating to v0.4.5 run the setup again once: it\n  regenerates the patched game files these options need (with the old ones the new options stay off).\n  v0.4.6 trims the translation thread further (bigger pipeline cache, cached driver constant blocks, fewer image\n  checks, present on its own thread, -O3 engine build) and makes dynamic resolution keep lowering while it still saves\n  GPU time: in the heaviest spots on 8 Gen 2 with dynamic resolution on, about 38 → 48 fps.\n  v0.4.7 records the Vulkan commands on their own thread (about −2.7 ms of translator CPU per frame), fixes the game\n  speed (game time ran 4 % slow in gameplay and 2× fast in menus at 60 fps; both now follow real time) and adds an optional GSR upscale to the\n  screen's native resolution in the gear settings.\n  v0.4.8 makes swipe-look follow the finger exactly, including slow, smooth movements: the swipe now drives the game's\n  own gyro-aim channel like a touchpad, instead of tilting the right stick.\n  Optimisation is ongoing. The game's adaptive tick keeps game speed equal to real time at any frame rate.\n- Memory: the game uses about 1.2–2 GB of RAM; its VRAM pools get extra headroom only on phones with 14 GB or more (half\n  on 12 GB phones). On 8–12 GB phones close background apps before playing: when Android has to swap them out, level\n  loads become much slower.\n- Input: on-screen pad (left stick, mouse-like look on the right half, FIRE that also looks while held, R3),\n  Bluetooth \u002F USB controllers (the on-screen pad hides while one is connected), gyro aiming, aim assist with adjustable\n  strength, rumble.\n- Settings (gear button): widescreen, frame rate limit, light mode (Switch handheld preset), 3D render resolution, dynamic resolution with a target fps\n  (shared with the game's Video menu), RCAS sharpening, Vulkan driver (by GPU, or your own package), game language, aim assist strength, rumble,\n  frame counter, look sensitivity, and the gear button itself (normal, or faded with an opacity slider). The in-game Video menu's *Chromatic Aberration* entry is\n  repurposed as *Dynamic Resolution*.\n\n### Known issues\n\n- The game's GPU triangle culling (`r_geometryCulling`, `r_smallTriangleCulling`) is **off by default**: on our GPU\n  path it dropped visible triangles. Turning it on (`DM_DOOM_GEOMCULL=1`) is for debugging only.\n- Dynamic resolution is off by default; enable it in the gear settings or the Video menu and pick its target fps.\n- Only update **v262144** is supported; the patches and addresses are tied to its build id.\n- Turnip is the default driver and matches or beats the stock Qualcomm driver on Adreno 750; on other Adreno\n  generations you may need another Turnip build (see *Vulkan drivers*); non-Adreno GPUs use the system driver.\n- The heaviest scenes are still below 60 fps (see above).\n- The gear dialog's *3D render resolution* currently has no effect (the game ignores the forced scale while dynamic\n  resolution is off); a fix is in progress.\n- The port's settings dialog is translated into 13 languages (system locale, English by default).\n- Many renderer fixes are still behind switches for A\u002FB testing; see [docs\u002Fdoom\u002FSWITCHES.md](docs\u002Fdoom\u002FSWITCHES.md).\n\n## Building\n\nRequirements: Android SDK with NDK r29, CMake ≥ 3.22 and Ninja, JDK 17+ and Gradle, Python 3. Clone with submodules:\n\n```sh\ngit clone --recursive \u003Cthis repository>\n# or, in an existing clone:\ngit submodule update --init --recursive\n```\n\nConfigure and build the native host for DOOM (`DM_GAME=doom`; the default `d2r` builds the original D2R host):\n\n```sh\ncmake -S dm\u002Fandroid -B work\u002Fbuild-android -G Ninja \\\n  -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME\u002Fbuild\u002Fcmake\u002Fandroid.toolchain.cmake \\\n  -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=android-31 -DCMAKE_BUILD_TYPE=Release -DDM_GAME=doom\n```\n\nThen build, sign and (optionally) install the APK — `build.bat` on Windows (wraps the PowerShell script), `pwsh`\nelsewhere:\n\n```sh\nbuild.bat [-Install \u003Cadb serial>]                 # Windows\npwsh tools\u002Fbuild_apk.ps1 [-Install \u003Cadb serial>]  # Linux \u002F macOS with PowerShell\n```\n\nThe script reads every tool path from the environment (`ANDROID_HOME`, `JAVA_HOME`, `GRADLE`, `PYTHON`) and signs with\n`DM_KEYSTORE` (default: the Android debug keystore in `~\u002F.android`). Output: `work\u002FDOOM-port-debug.apk`, app id\n`org.doom.port`. `work\u002F` is git-ignored and holds every build output and every game-derived file.\n\n## Installing\n\nFull guide: **[docs\u002FINSTALL.md](docs\u002FINSTALL.md)** (English) \u002F **[docs\u002FINSTALL.ru.md](docs\u002FINSTALL.ru.md)** (Russian).\n\n1. Dump your own copy (base game `0100416004C00000` + update `0100416004C00800` **v262144**, as NSP \u002F NSZ \u002F XCI \u002F XCZ)\n   and your console's `prod.keys` — e.g. with nxdumptool and Lockpick_RCM on your Switch.\n2. Put the files into `put-game-files-here\u002F` (any names) and double-click `setup.bat`, or run `bash setup.sh` on\n   Linux \u002F macOS (explicit files in any order work too; `setup check` reports what is missing and changes nothing).\n   Setup provides Python, its packages and the .NET 10 SDK in `tools\u002F.runtime` when they are missing (it asks first),\n   checks the inputs and the free space (~50 GB while preparing), then extracts, patches and translates everything into\n   `work\u002FDOOM Mobile` (~22 GB). Technical details: [docs\u002Fdoom\u002FGAME_FILES.md](docs\u002Fdoom\u002FGAME_FILES.md).\n3. Copy `work\u002FDOOM Mobile` to the phone's `Download` folder (USB cable, *File transfer* mode) and install the APK\n   ([latest release](https:\u002F\u002Fgithub.com\u002FDesm0nt\u002Fdoom-port\u002Freleases\u002Flatest), `DOOM-Mobile-v\u003Cversion>-arm64.apk`, or build it yourself,\n   see *Building*).\n4. Start *DOOM Mobile* and allow *All files access* when asked.\n\n## Vulkan drivers\n\nThe APK bundles **Mesa Turnip v27** (an adrenotools build of Mesa main for Adreno 6xx\u002F7xx) and uses it by default; it\nfalls back to the phone's own driver when Turnip does not load or finds no supported GPU. On Adreno 750 Turnip v27 is\nas fast as the Qualcomm driver or slightly faster.\n\n**Automatic downloads.** When the phone is online, the app reads [`drivers\u002Fmanifest.json`](drivers\u002Fmanifest.json) from\nthis repository in the background and downloads the driver packages listed there that it does not have yet (Turnip\nbuilds for other Adreno generations: A710\u002FA720\u002FA722, A8xx \u002F Snapdragon 8 Elite, A740 on newer One UI firmware). Every\npackage is checked against the SHA-256 in the manifest. A package whose `auto` pattern matches the phone's GPU\n(`\u002Fsys\u002Fclass\u002Fkgsl\u002Fkgsl-3d0\u002Fgpu_model`, e.g. `Adreno720v1`) becomes the default from the next launch, unless you picked a\ndriver yourself. Offline nothing is downloaded and the bundled Turnip is used.\n\n**Your own driver.** Copy an adrenotools driver package into `Download\u002FDOOM Mobile\u002Fdrivers\u002F` on the phone, in either\nform:\n\n```text\nDownload\u002FDOOM Mobile\u002Fdrivers\u002F\n  my-turnip.zip              \u003C- the package zip as released (meta.json + the driver .so), unpacked on the next launch\n  my-turnip\u002F                 \u003C- or the unpacked folder\n    meta.json\n    libvulkan_freedreno.so\n```\n\nRestart the game, open the gear dialog, pick it under *Vulkan driver* and restart again. *System* selects the phone's\nown driver. Compatible packages: adrenotools \u002F Turnip releases such as\n[Banners-Turnip](https:\u002F\u002Fgithub.com\u002FThe412Banner\u002FBanners-Turnip\u002Freleases) (use the plain Android builds, not the\n`-Linux` \u002F `-Wayland` ones). `TU_DEBUG` (Turnip's debug options, e.g. `sysmem`) can be set in\n`Download\u002FDOOM Mobile\u002Fdm\u002Fenv`. To offer a driver to everyone, add an entry (name, url, sha256, optional `auto` regex)\nto `drivers\u002Fmanifest.json`.\n\n## Other GPUs (Mali, PowerVR, Xclipse)\n\nUntested on real hardware yet. These phones use their own Vulkan driver; the engine checks the device's features and,\ninstead of aborting, falls back where the game's Switch shaders need something the GPU lacks: no geometry shaders\n(the game's culling shaders are skipped), no D24 depth (D32 is used), no format-less storage image writes, no\n`shaderImageGatherExtended`, no GPU timestamps. BC textures are decoded on the CPU when the GPU cannot sample them.\nExperimental third-party drivers exist and can be added as packages (see above): Mesa PanVK for Mali on stock kernels\n(e.g. panvk-kbase-android) and RADV for Xclipse (radv-xclipse); there is none for PowerVR. Expect lower performance\nthan on Snapdragon 8 Gen 2\u002F3. Reports (device, GPU, driver, log) are very welcome.\n\n## Repository layout\n\n| Path | What |\n|---|---|\n| `dm\u002F` | The host (from d2r-mobile): loader, HLE (`dm\u002Fhost`), NVN recorder and Vulkan engine (`dm\u002Fgfx`), Android app (`dm\u002Fandroid`), offline rewriter (`dm\u002Ftools\u002Fpatch_nso.py`) and its verifiers (`dm\u002Fverify`). DOOM code is behind `DM_GAME_DOOM`. |\n| `setup.sh`, `setup.bat`, `build.bat` | Game file preparation (`tools\u002Fsetup_doom.py`) and APK build entry points |\n| `tools\u002F` | DOOM tooling: game file extraction, shader jobs, APK build, device test and analysis scripts |\n| `third_party\u002Flibadrenotools` | git submodule (BSD-2-Clause) |\n| `docs\u002Fdoom\u002F` | Port documentation: state, recon, switches, game files, derived information |\n| `docs\u002Fresearch\u002F` | Analysis notes behind individual fixes |\n| `docs\u002FTHIRD_PARTY.md`, `docs\u002FDEPENDENCIES.md`, `docs\u002FDERIVED.md`, `docs\u002Fupstream\u002F` | Attribution: code ported for DOOM, the third-party code and D2R-derived records inherited from d2r-mobile, and d2r-mobile's acknowledgements |\n\n## Credits\n\nDOOM Mobile stands on the work of others — thank you:\n\n- **[d2r-mobile](https:\u002F\u002Fgithub.com\u002Fjhaizhou-ops\u002Fd2r-mobile)** by jhaizhou (MIT) — the base of this port: native\n  NSO loader and rewriter, HLE host, NVN → Vulkan engine, shader translation chain and Android app.\n  Its Android app and Vulkan engine came from community contributors; see its\n  [acknowledgements](docs\u002Fupstream\u002FREADME-d2r-mobile.md).\n- **[nxnative](https:\u002F\u002Fgithub.com\u002Fseedds\u002Fnxnative)** by seedds (MIT) — threads and SVCs, SDK 6.x services, audio\n  renderer, NVN entry points, timestamp units, patcher and translator pieces.\n- **[nx2android](https:\u002F\u002Fgithub.com\u002Fshirai91\u002Fnx2android)** \u002F nx2apk (MIT) — window acquire-sync fix (1c6177d),\n  Android haptics, ADPF, gamepad code.\n- **[BOTWRecompAndroid](https:\u002F\u002Fgithub.com\u002Fmamcjr\u002FBOTWRecompAndroid)** and\n  **[LASRecompAndroid](https:\u002F\u002Fgithub.com\u002Fmamcjr\u002FLASRecompAndroid)** by mamcjr, and\n  **[LASRecomp](https:\u002F\u002Fgithub.com\u002Fpeiikai\u002FLASRecomp)** by Peiikai (MIT) — the Turnip \u002F adrenotools driver loading\n  approach, chunked submit and sync-lag ideas, UBWC \u002F format-list and Turnip notes.\n- **[libadrenotools](https:\u002F\u002Fgithub.com\u002Fbylaws\u002Flibadrenotools)** by Billy Laws (BSD-2-Clause).\n- **Ryujinx** shader translator (Ryujinx Team and Contributors, MIT), vendored by d2r-mobile in `dm\u002Fthird_party\u002Fryujinx`.\n- **[AMD FidelityFX FSR 1](https:\u002F\u002Fgithub.com\u002FGPUOpen-Effects\u002FFidelityFX-FSR)** RCAS (MIT).\n- **[zlib-ng](https:\u002F\u002Fgithub.com\u002Fzlib-ng\u002Fzlib-ng)** (zlib license) — optional fast inflate for the game's resource containers.\n- **[Mesa](https:\u002F\u002Fmesa3d.org) Turnip** (MIT) — the default Vulkan driver, bundled in the APK as the adrenotools build\n  by **[The412Banner](https:\u002F\u002Fgithub.com\u002FThe412Banner\u002FBanners-Turnip)** (Mesa main). Not stored in this repository:\n  `tools\u002Ffetch_turnip.py` downloads it at build time with a pinned SHA-256.\n- Khronos **Vulkan validation layers** (Apache-2.0) — used for debugging, not redistributed.\n\nDetails per file: [docs\u002FTHIRD_PARTY.md](docs\u002FTHIRD_PARTY.md).\n\nDOOM © id Software LLC, a ZeniMax Media company. DOOM, id, id Software and id Tech are trademarks of ZeniMax Media\nInc.; the Switch version was developed with Panic Button. Nintendo Switch and NVN are trademarks of Nintendo. This is an\nunofficial, non-commercial fan project with no affiliation to any of them. Play it with a copy you own.\n\n## License\n\nMIT — see [LICENSE](LICENSE). The d2r-mobile copyright notice is kept; third-party components keep their own licenses.\n\n---\n\n## По-русски\n\n**DOOM Mobile** — нативный порт DOOM (2016) для Nintendo Switch на Android. Оригинальный AArch64-код игры исполняется\nпрямо на процессоре телефона (без эмулятора и JIT); небольшой хост подменяет системные сервисы Switch, а графический API\nNVN воспроизводится через Vulkan. Основа — проект [d2r-mobile](https:\u002F\u002Fgithub.com\u002Fjhaizhou-ops\u002Fd2r-mobile) (MIT).\n\n- **Игры в репозитории нет.** Нужна своя копия DOOM для Switch (база + обновление v262144) и свои ключи консоли.\n  **Установка по шагам: [docs\u002FINSTALL.ru.md](docs\u002FINSTALL.ru.md).** Технические подробности подготовки файлов —\n  [docs\u002Fdoom\u002FGAME_FILES.md](docs\u002Fdoom\u002FGAME_FILES.md) (англ.).\n- Проверено на Adreno 750 (Snapdragon 8 Gen 3, Xiaomi 14 Ultra) и Adreno 740 (Snapdragon 8 Gen 2); другие GPU не проверялись.\n  Драйвер выбирается по GPU: Adreno 6xx\u002F7xx — встроенный Turnip (Mesa), другие Adreno — свой пакет Turnip, Mali\u002FPowerVR\u002FXclipse —\n  системный драйвер с обходами в движке; если драйвер не запустился, игра переходит на системный и сообщает об этом. Производительность (1600×720): 45–60 fps на большей части кампании, в самых\n  тяжёлых зонах ~35–50 fps на 8 Gen 3 и ~33–40 на 8 Gen 2 (замерено на прогретом, троттлящем телефоне); оптимизация\n  продолжается. На телефонах с 8–12 ГБ памяти перед игрой лучше закрыть фоновые приложения: своп сильно замедляет загрузки.\n- Вывод по умолчанию широкий **1600×720** (Hor+: шире обзор по бокам, без растяжения); классические **1280×720 (16:9)**\n  с полосами — галочкой «Широкий экран» в настройках (со следующего запуска, на ~25 % легче для GPU).\n- Экранный геймпад с обзором «как мышью», геймпады, гироскоп, aim assist, вибрация, русский язык (язык игры берётся из\n  системы или задаётся в настройках), масштаб 3D-разрешения и резкость RCAS.\n- Шестерёнка вверху экрана открывает настройки порта (на языке системы, 13 языков; у каждой опции указано, «сразу» или «со следующего\n  запуска»): динамическое разрешение (тот же переключатель, что «Видео → Динамическое разрешение» в игре), лимит FPS 30\u002F60\u002F90\u002F120,\n  драйвер Vulkan, язык игры, сила\n  помощи в прицеливании, вибрация (по умолчанию выключена), счётчик FPS, разрешение 3D, резкость RCAS,\n  чувствительность обзора и компенсация мёртвой зоны стика (см. таблицу «Port settings» выше).\n- Известные ограничения: GPU-куллинг треугольников игры выключен (на нашем пути он терял видимые треугольники),\n  динамическое разрешение выключено по умолчанию, поддерживается только обновление v262144, мультиплеер убран, сетевые\n  сервисы отвечают как у консоли без сети.\n- Подготовка файлов игры: положите базу, обновление (NSP \u002F NSZ \u002F XCI \u002F XCZ) и `prod.keys` в `put-game-files-here\u002F` и\n  дважды щёлкните `setup.bat` (Linux \u002F macOS: `bash setup.sh`); проверка без изменений — `setup check`. Python, его пакеты\n  и .NET 10 SDK установка при необходимости ставит сама в `tools\u002F.runtime` (спросив разрешения); нужно ~50 ГБ свободного\n  места на время подготовки. Готовый APK — в [Releases](https:\u002F\u002Fgithub.com\u002FDesm0nt\u002Fdoom-port\u002Freleases\u002Flatest).\n- Сборка: `cmake -S dm\u002Fandroid -B work\u002Fbuild-android … -DDM_GAME=doom`, затем `build.bat` \u002F `tools\u002Fbuild_apk.ps1` (см. «Building»).\n\nПодробности о состоянии порта, переключателях и истории исправлений — в [docs\u002Fdoom\u002F](docs\u002Fdoom\u002F) и [docs\u002Fresearch\u002F](docs\u002Fresearch\u002F).\n","这是一个将《DOOM》（2016）Nintendo Switch 版本原生移植到 ARM64 Android 设备的开源项目，基于 Vulkan 图形 API 运行。核心功能包括：直接执行原版 Switch 的 AArch64 可执行文件，通过轻量宿主模拟 NVN 系统服务，并针对不同 GPU（如 Adreno、Mali、PowerVR、Xclipse）优化纹理加载与 Vulkan 渲染路径；支持 ASTC 纹理预缓存以提升 Mali\u002FPowerVR\u002FXclipse 设备性能。项目不包含游戏资源，需用户自行提供合法游戏文件。适用于希望在高端 Android 手机上体验原汁原味 Switch 版 DOOM 的技术向玩家和移植爱好者。","2026-11-24 04:36:08","CREATED_QUERY"]