Skip to content
المشاريع

mamcjr/BOTWRecompAndroid

عرض على GitHub

حول

إعادة تجميع ثابتة للعبة The Legend of Zelda: Breath of the Wild على Android، لإصدارات Switch 1.0.0 و1.6.0 و1.8.2. لا تتضمن ملفات اللعبة.

الألعاب والمحاكاة

كيف تُقاس هذه الأرقام

1,281 نجمة95 التفرعات +19 خلال 24 ساعة

النمو المقاس للنجوم

خلال 24 ساعة
+١٩
خلال 7 أيام
+٩٠
خلال 15 يومًا
+٢٦٩
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

BOTWRecompAndroid

English | Português

Listed on PlayPorted Discord

A port of The Legend of Zelda: Breath of the Wild (Nintendo Switch, versions 1.0.0, 1.6.0, 1.8.2 and 1.9.0) for Android. This is not Switch emulation: the game code can be recompiled into C for the phone or, in the experimental Native Mode, run directly on its ARM64 CPU. The game's graphics API (NVN) is translated to Vulkan.

It is built on the engine of LAS Recomp by peiikai (a recompilation of Link's Awakening) and its Android port, LASRecompAndroid.

[!WARNING] Beta. Tested primarily on one phone (POCO F7 Ultra, Adreno 830, Mesa Turnip driver). Performance and compatibility vary by device; expect bugs, especially on GPUs that have not been tested on physical hardware. See the 0.6.2-beta release notes and the development notes (in Portuguese).

Supported platform

Android is the only application target. Desktop ports and packaging were discontinued on 2026-10-22. Windows, Linux or macOS may still be used as development hosts with the Android SDK/NDK.

Status

  • Playable from the title screen into the world, with saves, on the tested POCO F7 Ultra. All four listed game versions are supported in Recompiled Mode. Native Mode has been tested with 1.0.0 and 1.9.0; 1.6.0 and 1.8.2 still need testing in that mode.
  • Game code: choose Recompiled Mode (build the code once on the phone) or experimental Native Mode (skip that build). You can switch a Recompiled setup to Native Mode later.
  • Game files: copy the extracted files into app storage or, since 0.2.3-beta, use them in place without an additional copy of about 16 GB. In-place use requires Android all-files access and the source folder must remain available.
  • DLC, saves and mods: install your own extracted Expansion Pass data; import and export saves as ZIP or import an emulator save folder; use mods, including mods that add files and DLC mod folders. In-place mod use needs more testing.
  • Video and controls: optional 60 fps on supported game versions and experimental 60 fps in-engine cutscenes, unlocked aspect ratio, internal/output resolution, FSR 1 or Snapdragon GSR 1 upscaling, FXAA/SMAA, touch controls, physical controllers and gyro. The app offers a Vulkan driver selector and compatibility settings.
  • Frame generation (LSFG), optional: Lossless Scaling's frame generation with your own Lossless.dll (Lossless Scaling for Windows, not included; put it in Download/, LSFG/ or Documents/Emulation/bios/), 2x-4x, in Video. The frame generation code is GPL-3.0-or-later, so an APK built with it is GPL-3.0-or-later as a whole: see NOTICE.md.
  • 0.3.0: crashes and freezes after 30+ minutes on Mali GPUs, the fast travel's dissolve, stray leaves on the ground, the stable's windows and the loading screens in unlocked aspect, a 40 / 45 fps frame rate, even 30 fps on 60 Hz screens, touch buttons for the arrows and the album, and two Driver compatibility options: the driver's own variables, and game memory through a shared file for Mali and Xclipse (experimental).
  • 0.3.2: fewer crashes with the Slate's camera, the red shadows on the Adreno 840 fixed, the unlocked-aspect HUD without jumps after a pause, the scope with bars and the inventory without flicker, an option to keep the minimap at the bottom with touch controls, and the aim steady when the phone turns round.
  • 0.3.3: fewer crashes after long sessions on Mali, the black grass on Mali fixed, and less memory used on phones with under 6 GB of RAM.
  • 0.3.4: the low-RAM profile now activates automatically only on devices with up to 4 GB of RAM. Devices with 6 GB return to the normal texture, buffer and cache settings; the manual override remains available.
  • 0.4.0: optional frame generation (LSFG, with your own Lossless.dll), a new overlay (compact / detailed, with charts), the frame rate no longer stuck lower after a menu or a save, and the pipeline limit on Xclipse and every other non-Adreno GPU.
  • 0.4.1: a faster low-RAM mode on 4 GB devices (Galaxy Tab A9+: ~5 to 11-15 fps in the world, without the missing ground or the flickering menu letters), vibration on a controller's motors or the phone's, 30 fps while the phone overheats, the game paused in the background, and 4:3 / 16:10 screens with bars instead of a squeezed image.
  • 0.4.2: faster on Turnip phones where the GPU waited on the CPU (Galaxy Tab A9+: ~15 to ~19 fps in the world), RAM saving chosen in Video (Automatic / On / Off), and Auto output at 720p when RAM saving is on.
  • 0.4.3: frame generation asks Android for the refresh rate its frames need (60 fps x 2: 120 Hz), so it works on fast screens Android kept at 60 Hz; the menu says when no generated frame fits.
  • 0.4.4: back at full speed right after a menu (~12 s slower after each one before), no long stays at 20 fps after a hitch, frame generation on GPUs without null descriptors (Mali), and an Import Lossless.dll button.
  • 0.4.5: shaders freed when the game restarts and, on Mali and other non-Adreno GPUs, after minutes unused (#450); a lighter FXAA and FSR 1; Native Mode's clock right on MediaTek phones; the game's auxiliary audio and 3D reverb (ports from TOTKDroid).
  • 0.4.6: water that lost its collision after a while (#296), back at full speed 1 s after a load instead of 10 (#465), touch controls a fingerprint sensor hid (#477), no crash with the movies or the DLC's file missing or damaged, safer locks in Native Mode on 1.0.0 / 1.6.0, bilinear filtering on Mali GPUs that lack it for some formats, and optional pipeline prewarming.
  • 0.4.7: the dark map and minimap with RAM saving on (#471 #478), a Video > Shadows option, Frame rate 40 / 45 from the screen's highest refresh rate, fewer shader stalls (urgent builds first, a translation cache), Mali texture slots without stalls, and a freeze report in the log (#401).
  • 0.4.8: fixes for game threads that could wait forever (timed waits survive a clock change, a cancelled wait no longer looks like a taken lock), a freeze report that shows where the game's main thread is (#401), texture slots without stalls on every GPU, and Mali compute work chained without extra barriers.
  • 0.4.9: Settings > Switch-style core turns (experimental, off), for the freeze after a few minutes (#401); a fuller freeze report; Unlocked aspect on screens squarer than 16:9 (#474); and Mali shader constants copied only where they change.
  • 0.4.10: a fix for the freeze after a few minutes on Mali and Qualcomm's stock driver (#401): what shaders write goes back into the game's memory word by word, without undoing the game's own writes.
  • 0.4.11: on an Adreno 6xx with 8 GB of RAM or less, Automatic leaves the game's memory off the GPU, so the game no longer closes after a few minutes for lack of GPU memory (#520); a pipeline that fails for lack of memory is created again instead of being lost.
  • 0.4.12: Settings > Controls > Controller gyro axes for controllers whose gyroscope reports its axes in another order (#511, #521); Wait for the screen (FIFO) on the start screen, on by default for Adreno 7xx, where the picture froze while the game went on (#367); the minimap-at-top group no longer jumps up and down in shrines (#261); Mali: less memory-mapping growth from write tracking and 16 / 8-bit integer targets drawn right; PRs #507, #537 and #480.
  • 0.4.13: a fix for the freeze after a few minutes of fights on Mali (#401): what shaders write goes back into the game's memory word by word without undoing the game's own writes, now also on Malis without the global-memory arena; Mali: draw-target reads in place on Automatic (#549), classic render passes on r49+ drivers (PR #534) and compressed textures decoded on 4 threads (PR #531).
  • 0.5.0: amiibo (#181): a virtual reader - with the amiibo rune out, tap the rune button again (or open the menu) and pick a figure in Settings > Controls > amiibo; each figure gives its items once a day, and Wolf Link's data is kept. Menus: lists scroll with a finger, and the overlay's settings fold away.
  • 0.5.1: a crash with the Sheikah Slate's targets (Magnesis, camera) on an actor that was already gone (#415, #596; SavageWindRecomp's fix); Nintendo controllers' motion on Android (axes, clock, gyro bias; PR #545); an optional centered 16:9 world map on narrow screens (PR #574); Mali: the GPU-progress waiter thread on by default (PR #466). Game code must be built again once.
  • 0.5.2: code mods (#390): mods with an exefs folder (IPS patches for the game's code and extra modules like subsdk6) now work, in Recompiled and Native mode - the Arabic translation that shapes its own text, for one; another crash with the Sheikah Slate's targets covered (#401). Game code must be built again once.
  • 0.5.3: Driver compatibility > 16-bit depth (shadows): D16, D32 or D24. Huawei Maleoon's Automatic is now D24 instead of D32, which left whole scenes dark (#516; the 920C of #240 rejects D16 and D32).
  • 0.5.4: a mod's own code (exefs/subsdkN modules) loads only when you turn on its new row on the Mods page - Switch-only modules like BOTW Optimizer's stopped the game after Play (#602); the stale-actor crash guarded at nine places, in Native mode too (#611, #401); Huawei Maleoon no longer takes Mali's paths (#240); ADPF fix (#544). Game code must be built again once.
  • 0.6.0: co-op (experimental, game 1.9.0 only): up to 4 phones in one Hyrule, on the same Wi-Fi or over the internet (invite and reply codes, IPv6, Tailscale); guests can enter the host's world and bring back what their Link earned; shared enemies, chests, time and weather, Divine Beasts, lightning and more (a port of SavageWind-Coop). New menus and start screen; touch controls' direct camera and a map button (#623, #629); Mali: warm cache hits resolved inline on r49+ (PR #529). Game code must be built again once.
  • 0.6.1: co-op with a PC: Play with PC (Savage Wind Co-op 0.3.0) joins or hosts a room for Savage Wind Co-op 0.3.0 on the same Wi-Fi (two players, each in their own world); the co-op step by step is in this README.
  • 0.6.2: mixed Android and PC rooms for up to four players with game version 1.9.0. Encrypted Android voice chat with hold-to-talk and open mic, host moderation, and separate music and sound effects volume. Samsung One UI 9 overlay corruption fixed for Turnip on Adreno 740.
  • Known issues: short grass appears only up close; water reflections can move with the camera; the pause menu background can be black on Qualcomm's stock driver; Link may flicker on the first hit in Native Mode; rain falls slower than on the console.

[!IMPORTANT] Like LAS Recomp, this project is made almost entirely with AI (Claude, by Anthropic, through Claude Code), directed, tested and reviewed by a human.

[!NOTE] No game files or DLC are included. You need your own legally obtained, extracted game files (exefs and romfs). The app does not open NSP/XCI files or use prod.keys. Instructions on obtaining game files are not provided.

Touch Controls Overhaul

Since 0.2.12-beta, the touch controls show what each button does while you play in the world, with the game's own icons read from your game files. The game's menus keep the classic buttons.

Touch controls in the world

  • Your gear on the buttons: attack, the bow and the shield show what you have equipped, and power shows the selected rune (1.6.0, 1.8.2 and 1.9.0).
  • Rune fan: tap power to use the rune; hold it to open a fan of your runes and let go over the one you want.
  • Gestures:
    • Bow and throw: hold and drag the same finger to aim (with motion controls on, move the phone instead); its sensitivity is in Controls. While you hold them, a ✕ cancels the shot or the throw; with the bow drawn, an arrow button picks the arrows.
    • Parry: slide the finger on the held shield.
    • Magnesis and the camera: with Magnesis selected, a d-pad cross moves the object; with the camera rune, a − button opens the album.
    • Camera: drag anywhere on the right half.
    • Weapon and shield pickers: hold, then choose with a second finger.
    • Shield surfing: double-tap the shield and hold.
  • Minimap at the top: while the touch controls are on screen, the minimap, time, temperature and sensor move to the top right corner. With a controller they stay in their usual place. Double-tap the minimap to open the map; the Sheikah Slate button opens the scope.
  • Your own layout: in Controls, edit the action layout or the classic one. Drag the buttons, and select one to make it bigger or smaller with − and +.

Rune fan

Installing (beta)

  1. Download the APK from Releases and install it (Android 11+, ARM64 and Vulkan). You need your own extracted game folder containing exefs and romfs.
  2. In Game Files, choose Game code: Native (experimental) skips the on-phone code build; Recompiled builds it once. Under Game files, choose Copy them or Use them in place, then select the extracted folder. In-place use asks for Android all-files access; keep that folder where it is. Copying needs roughly 16 GB more storage for the game data, while Recompiled Mode also needs space for generated code.
  3. If you own the Expansion Pass, install its extracted DLC romfs through Settings > DLC > Install DLC. To bring over saves, use Settings > Saves to import a ZIP or emulator save folder.
  4. On Adreno phones, a Mesa Turnip driver can perform better than the system driver. Select it under Settings > Files > Vulkan driver. If the app reports that the Vulkan driver is too old at startup, long-press the app icon and choose Choose driver before launching the game.

If you update from a version before 0.6.0-beta, the start screen asks you to build the game code again once. Updating from 0.6.0-beta or 0.6.1-beta to 0.6.2-beta reuses the existing game code. Shaders compile again once, so the first minutes may stutter. To report a problem, open an issue with your phone, GPU, driver, game version and a log from Settings > Files > Save a log file.

Co-op (experimental)

Up to 4 phones in one Hyrule, with no server of ours: the phones talk to each other directly. Game version 1.9.0 only, and phones can use app version 0.6.0-beta or newer. It's a port of the game side of SavageWind-Coop. Expect some desyncs.

On every phone, once:

  1. Open Settings > Multiplayer, turn on Enable co-op and restart the game.
  2. In the same page, pick a Nickname and a Marker colour.

Same Wi-Fi:

  1. The host loads their save, opens Settings > Multiplayer and, under Create a room, presses Create room (leave Room code blank to generate a code). The button stays off until a save is loaded.
  2. The others load a save too, open the same page, find the room under Rooms on this network and press Join. If the list stays empty, type the host's address in Join a room > Address or link and press Join room.

Over the internet:

  1. The host creates the room with a Room code.
  2. In the room, under Play over the internet, the host presses Get invite code, then Copy invite code, and sends the code to the friends. The code contains the host's IP address: send it only to people you know.
  3. Each friend copies the code, presses Paste invite in Join a room, and then Join room.
  4. If it doesn't connect, the friend presses Copy reply code and sends that code back; the host presses Paste reply code. If the app says a direct connection probably won't work on the network, use Tailscale on every phone (the room shows the VPN address (Tailscale) to join) or the same Wi-Fi. IPv6 addresses work too.
  5. Mobile data use is roughly 0.3 to 1 GB per hour on each phone.

Whose world: once connected, a guest chooses Enter the host's world (play in the host's world with their own Link: hearts, stamina, items and armor; what their Link earns goes back to their own save when they leave, and the world's progress stays with the host) or Just connect (everyone in their own world, seeing the others). The guest's save is never changed while they are in the host's world.

Shared: the other Links with their gear and animations, enemies (exact damage), chests, items and progress, time and weather, blood moon, horses, runes, arrows, fire and grass, townspeople, the Divine Beasts and the castle, gyro mazes and lightning.

With a PC: up to four players on the same Wi-Fi, using game version 1.9.0 on every device. On PC, use Savage Wind 0.7.0-beta.1 with SavageWind-Coop 0.3.0.

  1. Phone hosts: load a save, go to Settings > Multiplayer > Create room, then enter the displayed address and room code in the PC's Co-op menu. Leave the field blank to generate a code. Phones can join from the room list or by address. An Android host needs this update to accept PCs and phones in the same room.
  2. PC hosts: on each phone, go to Play with a PC, enter the IPv4 address and room code shown on the PC and press Join PC room.

When the room has a PC, everyone stays in their own world. Co-op synchronizes players and supported events, including enemy damage. PC connections use a manually entered IPv4 address and room code.

If something goes wrong, open an issue with the log of every phone (Settings > Files > Save a log file).

Room voice on Android (experimental)

Under Audio → Voice chat, choose whether to listen automatically when joining and set the volume of other players. The microphone starts off. In Players, use the microphone icon by your ping to enable your mic. In Audio → Microphone mode, choose Hold to talk or Open microphone. The touch mic sits beside the movement stick. Hold it in the first mode or tap it to mute and unmute in open mode. The speaker icon changes what you hear. The host can mute a guest for the room or remove them with X.

In Android rooms with a code, the encrypted channel is negotiated automatically using the code already used to join. The host can turn off room voice while the game continues. PCs can still play in mixed rooms, and voice stays between supported Android clients. Builds need Opus from android/deps/build_deps.sh.

The app enables Android microphone noise suppression where available. Under Audio, the Music and Sound effects sliders apply when the game restarts.

Testing on Android (developers)

With the Android SDK / NDK, a phone on adb and your dump in Dump/:

cd android/botwrecompandroid && ./gradlew assembleDebug    # the app
android/build_gamelib.sh Dump/01007EF00011E000/exefs  # the game code (about an hour)
android/push_game.sh Dump/01007EF00011E000           # game files and game code onto the phone
android/run_boot.sh 120                               # start the game, log to android/out/boot.log

Support the project

BOTWRecompAndroid is a free, independent project. If you enjoy it and would like to support its development, you can sponsor me on GitHub, Ko-fi, Buy Me a Coffee or via Pix. Your support helps me dedicate time to fixing bugs, improving performance and compatibility, and working on future releases. Sponsorship is entirely optional: it does not unlock features or guarantee specific fixes. Bug reports, device tests, and contributions are also greatly appreciated.

Current goal: buy a POCO X7 Pro ($455), a test device equipped with a MediaTek Dimensity SoC and Mali GPU to improve testing and optimize performance across all our ports (BOTWRecompAndroid, TOTKDroid, LASRecompAndroid, and Swap2-Native). The badge below shows total donations received across all platforms; I update it by hand.

POCO X7 Pro goal

Sponsor on GitHub Ko-fi Buy Me a Coffee Pix

Pix (Brazil only — random key): 6c326b56-6caf-4c3a-bcf7-1fa8ad2abd16

Credits

  • peiikai for LAS Recomp, the recompiler and runtime this project starts from (MIT, see LICENSE). The original README is kept in docs/las/.
  • LASRecompAndroid, its Android port: the app, the phone-side game code build, touch controls, mods, driver compatibility and the Portuguese menus.
  • Revivedx for SavageWindRecomp (MIT), the reference for 1.8.2: frame pacing, internal resolution, the SDK 20 kernel fixes, setjmp.
  • Jaumjvrs for SavageWind-Coop (MIT), the PC co-op mod whose game side the co-op here is a port of.
  • Nycolazs for LASRecomp-Android-Plus (MIT): Vulkan driver compatibility.
  • ly05010419 for MacNativeGames (MIT), whose fixes and notes for BOTW and TOTK pointed the way for several here: the sync lag (its PR #680), GPU results the CPU reads back (PR #239), the terrain's height map texture (PR #511), texture layout, and the gyroscope's drift; and for showing that the game's own ARM64 code can run directly (Native game code).
  • OJZen for totk-mobile, and jhaizhou-ops for d2r-mobile, the core it builds on: what the native mode rewrites in the game's code (svc, the thread registers, the counter) and how - the idea behind ours (no code taken).
  • The zeldaret/botw decompilation and open-ead/sead, for what is known about the game's code.
  • Dusklight's launcher, the start screen's style.
  • Upscaling and anti-aliasing: AMD FidelityFX FSR 1 (MIT), Qualcomm Snapdragon GSR (BSD-3-Clause), SMAA (MIT).
  • Libraries: SDL (zlib), Dear ImGui (MIT), libadrenotools (BSD-2-Clause), volk (MIT), Vulkan Memory Allocator (MIT), shaderc (Apache 2.0), FFmpeg (LGPL), LZ4 (BSD-2-Clause), Capstone (BSD-3-Clause), Unicorn (GPLv2, built from its source by android/deps/build_unicorn.sh), Python (PSF) and Zig (MIT) for the phone-side build.
  • Mesa's Turnip driver (MIT), which players load themselves.
  • Fonts: Baloo 2 (OFL), DejaVu Sans (Bitstream Vera license). The Android robot is reproduced or modified from work created and shared by Google (CC BY 3.0).
  • Contributions through pull requests:
    • 3122380113: builds without FFmpeg again (#97); sound that came back silent after the app sat in the background (#96).
    • todwang96: the GPU heap kept on for Adreno 7xx under Turnip, blank text otherwise (#103).
    • Ureta93: settings files saved with Windows line endings (#187).
    • Propinbo: Link breaking up into light again on a fast travel, instead of turning flat blue and vanishing (#210); 30 fps frames shown evenly on 60 Hz screens, no more 50 / 16.7 ms judder (#183); no validation errors from points and empty copies (#255); a built-in benchmark (#278).
    • ilovz73ai-sketch: phone motion on a foldable's inner screen (#284).
    • 3122380113: the debug frame's three-finger tap with the touch controls hidden (#252).
  • Made with Claude Code (Anthropic).

The Legend of Zelda and Breath of the Wild are trademarks of Nintendo. This project is not affiliated with or endorsed by Nintendo.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…