Native ARM Execution of the GameCube Resident Evil 4 Decompilation
Capcom Production Studio 4 redefined third-person action gaming with Resident Evil 4, and developer Andiweli (creator of OpenMW-Android) brought that GameCube codebase natively to Android with CubeEvil4-Android. Built directly upon adonis-singh’s clean-room C and C++ decompilation of the November 25, 2004 GameCube debug build (G4BE08), the project initially required that specific preview build because its symbol table (Bio4.sym) mapped the engine’s internal functions. With the 0.92.0 through 0.95.2 golden-master milestone updates, CubeEvil4-Android expanded compatibility to support standard retail European (G4BP08) and Japanese (G4BJ08, biohazard 4) two-disc GameCube releases alongside G4BE08. Rather than interpreting PowerPC instructions or emulating the Dolphin OS kernel, CubeEvil4-Android compiles the game logic directly into native ARM machine code, delivering deterministic physics, responsive input handling, and native memory management across the full campaign from the Pueblo village to the final Island showdown.
Preparing Two-Disc GameCube Images for Retail or Preview Releases
Because the engine contains zero copyrighted Capcom assets, players supply disc images from their own GameCube discs. Following the v0.95.2 update, the asset loader applies targeted retail binary offset adjustments so standard European and Japanese retail discs work seamlessly alongside the original North American preview build:
- Create
.isoor.gcmdisc images of both Disc 1 and Disc 2 from your own supported GameCube copy: European retail (G4BP08, supporting English, German, French, Spanish, and Italian), Japanese retail (G4BJ08), or theG4BE08two-disc build. - Download and install the latest
CubeEvil4-<version>.apkfrom the official GitHub releases page. - Ensure your device has at least 3 GB of free internal storage for asset indexing and shader caching.
- Launch the application and use the built-in file picker to import both Disc 1 and Disc 2 images sequentially.
Once indexed, the engine handles disc transitions automatically between chapters. Save data is stored on a virtual memory card with full import and export support for standard GameCube .gci save files.
Translating Flipper GX to OpenGL ES 3.0 and Virtual Memory Limits
The graphics pipeline in CubeEvil4-Android maps the GameCube Flipper graphics processor’s GX rendering commands directly to modern OpenGL ES 3.0 surfaces, with options for dynamic resolution scaling, 60 FPS frame-rate adjustments, and optional retro CRT/pixel filters. While the release package includes both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) binaries, running the port on 64-bit hardware is strongly recommended. Certain 32-bit Android device kernels reserve portions of the lower virtual address space that collide with the GameCube’s fixed 24 MB 1T-SRAM memory map, causing startup crashes. On 64-bit silicon such as the Qualcomm Snapdragon 865, Snapdragon 8 Gen 2, or modern Dimensity chipsets, the port maintains smooth framerates across crowded village firefights without thermal throttling.
Right-Stick Aiming, Gyroscope Targeting, and Attaché Case Touch Controls
Input handling is tailored for both touchscreens and physical controllers. When playing on a touchscreen, the interface provides auto-hiding virtual buttons, swipe-to-knife gestures for close-quarters defense, gyroscope motion aiming for fine laser-sight adjustments, and direct touch dragging to organize weapons and recovery items inside the attaché case. Physical Bluetooth and USB-C controllers are detected automatically with rumble support, letting players choose between the classic 2005 single-stick GameCube control scheme and a modernized dual-stick layout that assigns camera and aiming adjustments to the right analog stick.
Other RE4 ports
Nightjar is a second native port built on the same GameCube decompilation, with builds for 32-bit phones too. It’s at an earlier stage.