RE4Wii-Android

RE4Wii-Android is a native Android port of Resident Evil 4 Wii Edition that recompiles the game's code to C++ and renders on Vulkan.

README

Resident Evil 4 Wii for Android

An unofficial port of Resident Evil 4 Wii edition (NTSC-U, RB4E08) to Android (arm64) and Windows.

The game's PowerPC code is recompiled to C++ ahead of time on a PC and built into a native app. A runtime stands in for the Wii's system software, and a GX renderer draws on Vulkan. Nothing is emulated on the phone.

Port made by xu@shiinobu and coded by Claude Opus 5.5. It is built on WiiCompiled (GPLv3), through our Sengoku Basara 2 Heroes port (see Credits).

Note

This repository contains no game assets and no game code. You need a dump of your own legally acquired disc.

This is an unofficial fan project, not affiliated with or endorsed by Capcom. Resident Evil, its characters and its logo belong to Capcom.

Contents: Status · Features · Getting started · Coming from the Beta · Saves · Reporting a problem · Building · Credits · License

Status

1.2 (November 2026). Download it from Releases. 1.0 was the first release (the Beta has ended), 1.1 brought smoother 30 and 60 FPS and new controls, and 1.2 fixes the 1.1 reports: gamepads, mouse and keyboard, PowerVR and Adreno 7xx phones, and Play As crashes.

The main game plays on Android and Windows with sound, saving and loading, and Separate Ways runs too. Not every chapter has been played through on every phone yet. In the app, What's New lists what each version changed.

Warning

Android 10: phones with an Adreno 5xx GPU (Snapdragon 625, 630, 660, 835 and similar) on Android 10 are not supported: their Vulkan driver stops the game on its first screens. Android 11 or newer is recommended.

PowerVR GPUs (many MediaTek and Unisoc phones, e.g. Samsung Galaxy A04 with the PowerVR GE8320): the game plays, but older PowerVR Rogue GPUs stay at 10–25 fps. Since 1.2 there is no "Preparing shaders" wait at the start: shaders compile while you play, so a room can miss a few objects for a moment the first time. Use the Low-End or Ultra Low preset.

Known issues
  • With 60 FPS on, smoke, fire, blood and the menus still move at 30.
  • PowerVR: the first visit to a room can miss a few objects for a moment while its shaders compile.
  • Renderer OpenGL ES: the first minute or two can stutter a little while the shaders are prepared.
  • The merchant after the chainsaw sisters is heavy on some Mali phones.
  • Going back from the main menu to the title movie can freeze on some phones.
  • Infinix X656 (PowerVR GE8320, Android 10): the screen stays black with sound after the start.
  • Adreno 5xx phones on Android 10 are not supported: their Vulkan driver stops the game on its first screens.
  • Play As is experimental: some cutscenes show Leon's model, and Play As stays off in Separate Ways.
Tested phones

Results from our own phones and from testers' logs. The game itself runs at 30 fps (60 FPS adds pictures in between); "Gameplay" is what the phone held in play, at the Render Resolution shown. "Version" is the build it was last tested on; a phone not retested may run better on the current one.

Adreno

PhoneChip / GPUAndroidGameplayVersion
vivo I2501Snapdragon (SM8850) / Adreno 84017plays with 60 FPS on1.0
vivo I2401Snapdragon 8 Elite / Adreno 8301730 fps at 4×1.0
Xiaomi 25053PC47GSnapdragon 8s Gen 4 / Adreno 8251630 fps at 1.5×Beta 14
Xiaomi 23127PN0CGSnapdragon 8 Gen 3 / Adreno 7501630 fps at 2×, 60 FPS Full on1.1
Xiaomi 24069PC21GSnapdragon 8s Gen 3 / Adreno 7351630 fps at 2×, 60 FPS Full on; Keys/Treasures items fixed in 1.21.1
moto g67 power 5GSnapdragon (SM7435) / Adreno 71016plays; its grey screen at start is fixed in 1.11.0
moto g57 powerSnapdragon (SM6435) / Adreno 7101630 fps at 2×; its grey screen at start with V-Sync on is handled in 1.21.2 test
Xiaomi 25098RA98GSnapdragon (SM6475) / Adreno 7101630 fps at 1.5× to 2×1.1
ASUS ROG Phone 5 (ASUS_I005D)Snapdragon 888 / Adreno 6601330 fps at 1.125×1.0
Poco F4Snapdragon 870 / Adreno 65060 fps with 60 FPS onBeta 1
Xiaomi 22101320GSnapdragon 778G / Adreno 642L1430 fps at 2×, 60 FPS Full on1.1
Redmi Note 12 ProSnapdragon 732G / Adreno 6181330 fps in the villageFinal Beta
Redmi Note 9 ProSnapdragon 720G / Adreno 6181230 fps at 1.5× with a custom driver1.1
OPPO CPH2159Snapdragon 720G / Adreno 6181330 fps at 1.125×1.1
realme 5 Pro (RMX1971)Snapdragon 712 / Adreno 61611about 30 fps at 1.5× with TurnipBeta 14
OPPO CPH2375Snapdragon 680 / Adreno 6101330 fps in the village at 0.75×Final Beta
OPPO CPH2565Snapdragon 680 / Adreno 6101529–30 fps at 1×1.1
OPPO CPH2631Snapdragon 680 / Adreno 61016about 30 fps at 1×1.1
OPPO CPH1933Snapdragon 665 / Adreno 6101128–30 fps at 1×; keep Render Resolution at 1× or lower in the castle1.1

Mali

PhoneChip / GPUAndroidGameplayVersion
Xiaomi 2412DPC0AGDimensity 8400 / Mali-G720 MC716plays at 3× with 60 FPS Full on1.1
Xiaomi 2306EPN60GDimensity 8200 / Mali-G610 MC61630 fps at 1.5×, 60 FPS Full on1.1
Infinix X6871Dimensity 8200 / Mali-G610 MC61630 fps at 1× to 1.5×1.1
TECNO LJ8kDimensity 7300 / Mali-G615 MC21630 fps at 1.125×1.0
Infinix X6876Dimensity 7300 / Mali-G615 MC216plays; its crashes in chapters 1-2 and 1-4 are fixedBeta 8
samsung SM-M156BDimensity 6100+ / Mali-G57 MC21530 fps at 1.5×1.0
TECNO LH8nDimensity 6080 / Mali-G57 MC21430 fps at 1.5× with the malisx2 driver1.0
itel P661NDimensity 6080 / Mali-G57 MC213about 30 fps at 1×; 60 FPS Full drops (Adaptive fits better)1.1
Infinix X6882Helio G99 / Mali-G57 MC21430 fps at 1.5×, dips to 15 in busy village momentsBeta 14
Infinix X6885Helio G99 / Mali-G57 MC216plays at 2×1.0
Xiaomi 22071219CGHelio G99 / Mali-G57 MC21430 fps at 2×1.0
Xiaomi 2312FPCA6GHelio G99 / Mali-G57 MC21629 fps at 1×Beta 8
nubia Z2465NUnisoc T820 / Mali-G571630 fps at 2×, 60 FPS Full on1.1
VILLAON V6752LUnisoc (UMS9230E) / Mali-G571530 fps at 1×1.0
itel A666LNUnisoc T606 / Mali-G57 MP113about 30 fps at 1.2×Beta 14
OPPO CPH1819Helio P60 / Mali-G72 MP31029 fps at 1×1.0
OPPO CPH2591Helio G85 / Mali-G52 MC21530 fps with the malisx2 driver1.0
OPPO CPH2579Helio G85 / Mali-G52 MC21530 fps in play at 2×; the slow title menu is fixed in 1.21.1
Infinix X692Helio G85 / Mali-G52 MC210about 30 fps at 1.125×1.1
Xiaomi 2409BRN2CYHelio G81-class / Mali-G52 MC21630 fpsBeta 14

PowerVR (many MediaTek and Unisoc phones): less tested. Use the Ultra Low preset, and send Share Log when something goes wrong.

PhoneChip / GPUAndroidResultVersion
moto g55 5GDimensity 7025 / PowerVR BXM-8-25616plays; the crash at every start after the first is fixed in 1.1, no shader wait at start since 1.21.1
OPPO CPH2209Helio P95 / PowerVR GM94461229 fps at 0.5×Beta 8
Samsung Galaxy A04Helio P35 / PowerVR GE832014about 20 fps at 1.6×; the inventory background is fixed in 1.1Beta 13
vivo V2149Helio P22 / PowerVR GE832011about 24 fps at 0.5× to 1×Beta 14
Infinix X656Helio (MT6765) / PowerVR GE832010black screen with sound after the start (open)1.1

Your phone is not here, or runs differently? Send a Share Log (see Reporting a problem), working or not: these reports are what fills this list.

Features

AreaWhat it has
In-game menuEvery setting is in the game's menu (Back, or the gear): Display, Graphics, Performance, Controls, Save Data, Cheats, Textures and System, with Restart for the settings that need it. English and Indonesian.
DisplayFill Screen without black bars, Aspect Ratio (4:3 Full Screen too), Camera Distance, Crosshair, Laser Color, Minimap, Speedrun Mode (IGT, RTA and chapter times).
Performance60 FPS (Off, Lite, Adaptive or Full), Even Frame Pacing, Frameskip, Low-End and Ultra Low presets, Display Resolution, Dynamic Resolution, Draw Distance, Disable Effects / Screen Filters / Shadows / Fog, GX Thread, Sustained Performance and Thermal Control, Skip Boot. Shaders are prepared before play (on PowerVR while you play, each room's own first), so new areas stutter less. A device profile picks the settings on first start.
GraphicsRenderer choice (Vulkan, WebGPU, OpenGL ES experimental), Render Resolution 0.5× to 4×, upscaling, custom GPU drivers.
ControlsTouch controls in the Classic Controller layout (aims with the laser) with a layout editor that moves, resizes or hides each control, Tap for QTE, Knife by Swipe, touch camera (Locked or the game's own), Aim Sensitivity apart from Camera Sensitivity, Toggle Aim, Toggle Run, Auto Run, gyro aim, scope and binocular zoom on the D-pad. Gamepads with remappable buttons, Alternate Controls, Swap Sticks, Invert Camera Y and Check Gamepad. Mouse and keyboard on Android and Windows: mouse aim, rebindable Keyboard Keys (mouse buttons too), a Reload key, wheel zoom for the scope and binoculars, and Controller Settings (F10).
CheatsUnlocks, Player, Weapons and Items, and Assist: Infinite Health, Infinite Ammo, Item Stack, Largest Attache Case, One-Shot Kills, Auto Aim, Steady Aim, Auto QTE, Special Weapons at the merchant, and Play As (Ada, HUNK, Krauser or Wesker in Leon's story, in cutscenes and radio calls too, experimental; Replay Cutscene).
TexturesTexture mods (.png or .dds, Dolphin names), texture dumping.
ToolsPerformance overlay, Auto Save of each room (off by default), save backup and import, Share Log, Share Shader Cache, What's New, updates from this repository's Releases (Settings > System > Auto Update).

Getting started

Requirements: Android 10 or newer, arm64, Vulkan recommended.

  1. Download re4wii-<version>-android-arm64.apk from Releases and install it. Do not use APKs from anywhere else.
  2. Open the app and allow file access when asked.
  3. Pick your own dump of the game (.iso or .rvz, Wii NTSC-U RB4E08). Unpack it once (about 4 GB), or play it straight from the file. After that the icon goes straight into the game.
  4. The first start prepares the game and its shaders, which takes a little while. Later starts are quick.
  5. Change the settings any time from the game's menu (Back, or the gear).

When a newer release is out, the app offers it at start (or turn on Auto Update). Installing a new version over the old one keeps your save and settings.

Coming from the Beta

The Beta no longer opens. The release is its own app (Resident Evil 4 Wii), next to RE4 Beta:

  1. Install the release and choose your game file again.
  2. Bring your save: Settings > Save Data > Import, and pick RE4Wii-Beta/Saves/Auto/latest.zip. The Beta copied your latest save there by itself each time you played. Made a Back Up yourself? Pick that file from RE4Wii-Beta/Saves instead.
  3. Then uninstall RE4 Beta. The RE4Wii-Beta folder stays after the uninstall; delete it once your save is imported.

Saves

The save lives in the app's own storage. With Auto Save on (Settings > Save Data, off by default), each room is also saved to RE4Wii/Saves/Auto, and a new install or Clear Data brings the save back from there. In Settings > Save Data:

  • Back Up writes re4-save-DATE.zip to RE4Wii/Saves. Copy it to a PC or a cloud drive to keep it safe.
  • Import replaces the save on the phone. It accepts:
    • a .zip made by Back Up,
    • a bare save file,
    • a data.bin copied to SD from a Wii (Data Management) or exported by Dolphin (Export Wii Save).
  • Undo Last Import brings back the save from before the last import.

Reporting a problem

In the app, open Settings > System > Share Log. It puts the logs of the runs you pick (the crashed one first) and your device info in one zip. Send it with what you were doing to either:

A screen recording helps with anything you can see on screen. The logs are also on the phone, one folder per game start: RE4Wii/Logs/<date and time>/.

Building

For developers. Requires Windows, .NET 8, llvm-mingw in third_party/llvm-mingw (Windows build) and Android NDK 28.2 (fetched by tools/setup-android.ps1).

# Extract your disc so that assets/re4/sys/main.dol exists, then:
tools\setup-android.ps1               # toolchain and dependencies (third_party/)
dotnet build translator\src\Translator.Cli -c Release
tools\b-translate.ps1                 # PowerPC -> C++ (generated/)
tools\b-win.ps1 -Mode configure       # once
tools\b-win.ps1 -Mode cycle           # Windows build and run
tools\b-android.ps1 -Mode configure   # once
tools\b-android.ps1 -Mode build       # libmain.so
tools\b-android.ps1 -Mode stage
cd app
..\third_party\gradle\bin\gradle.bat assembleRelease "-Pre4VersionName=1.2" "-Pre4VersionCode=21" --offline
# a Beta: -Pre4Beta "-Pre4BetaNumber=N" ["-Pre4BetaLabel=Final Beta"] [-Pre4BetaTrack=test2]
# In PowerShell quote each -P...=x.y, or the value splits.

Optional: tools\b-pgo.ps1 for a profile-guided (PGO + ThinLTO) Android build. On Windows, guest memory is at 0x100000000000 plus the Wii address.

PathContents
app/Android app (Gradle module): launcher, in-game menu, settings, touch controls
runtime/Host runtime and Wii SDK HLE (OS, GX, AX, NAND/DVD, VI), cheats and game tweaks, performance overlay
aurora/GX renderer on WebGPU (Dawn), native Vulkan and OpenGL ES
translator/PowerPC-to-C++ translator (C#/.NET 8)
config/re4/Game configuration: recomp.yml
tools/Build, run and analysis scripts

How the pieces fit together: docs/architecture.md.

Credits

This project is built on WiiCompiled. It came here through our Sengoku Basara 2 Heroes port and was changed from November 2026 to run Resident Evil 4 Wii edition.

  • WiiCompiled by patchzyy and contributors: the static recompiler and runtime underneath this port.
  • b2hwii-android: our Sengoku Basara 2 Heroes port, the direct base of this code.
  • WitherBlitz: parts of the runtime and the Android app (GPLv3).
  • datfooldive: the touch button design.
  • Jude (@YlPorts): the Android draw-count and Mali GPU changes.
  • KartPad: WiiCompiled on Android, whose approach and game-file import steps this port follows.
  • aurora by Luke Street: the GX rendering and windowing backend.
  • Dawn: Google's WebGPU implementation, used by aurora for Vulkan and Direct3D.
  • CubeEvil4-Android by Andiweli (EvilCube): methods and ideas this port follows: the minimap above all, and Play As, the 60 FPS frame blending and the controls. Our code is written separately.
  • adonis-singh/re4 (GameCube decompilation) and emoose/re4-research: function and structure names, used as reference only. No code was copied.
  • Dolphin Emulator wiki: notes on how the game uses the GPU.
  • The testers, whose logs, videos and shader caches made 1.0, 1.1 and 1.2 what they are.

Full third-party license details: THIRD-PARTY-NOTICES.md.

License

GNU General Public License v3.0, see LICENSE. This covers the port's own code only. The game, its code and its assets belong to Capcom and are not part of this repository.