Halo 3 on Anbernic H700 handhelds (RG CubeXX, RG35XX, RG40XX, RG34XX, RG28XX) — native ARM64 port for PortMaster
Can an Allwinner H700 handheld run Halo 3? This project is finding out. It is a native ARM64 (AArch64) port of the Halo 3 decompilation to the Allwinner H700 and its Mali-G31 GPU, the chip inside the Anbernic RG CubeXX, RG35XX Plus / H / SP / 2024, RG40XX H / V, RG34XX and RG28XX. There is no emulation: no Xenia, no Box64, no Wine. The game is compiled for the handheld’s Cortex-A53 cores and draws through a new OpenGL ES 3.2 renderer written for the Mali-G31.
It is the sequel project to Halo: Combat Evolved on the Anbernic RG35XX H, which runs at 40-60 fps on the same chip and ships as a Knulli zip and a PortMaster zip. Halo 3 will be packaged the same way.
- Status (2026-12-05): in development, not playable yet. On the handheld at 480x270: the Sierra 117 jungle at 11.0 fps (91 ms per frame), and the opening battle of The Covenant, the new and harder benchmark, at 8.2 fps (123 ms). That is up from 0.6 fps on the first day of tuning. The goal is 30 fps including the lows.
- Test device: Anbernic RG CubeXX (Allwinner H700, 720x720 screen, 1 GB RAM) running Knulli.
- Distribution plan: a PortMaster-format zip for any H700 firmware (Knulli, muOS, ROCKNIX, …), like the Halo CE port. No release yet.
- You need your own copy of the game. This repository holds source code, build tools and documentation only: no game files, no shaders translated from the game, no Mali driver.
- Licence: CC0 1.0 for this project’s own work; parts that modify the upstream decompilation carry its licence (see NOTICE).
Contents
- Latest progress
- Screenshots
- Performance
- Supported devices
- How it works
- Roadmap
- FAQ
- Documentation
- Legal notice
- Credits
Latest progress
The full log with numbers for every step is in docs/DEVLOG.md.
2026-12-05 (evening): 11 fps in the jungle; The Covenant is the new benchmark (8.2 fps). A CPU profile found the renderer reading uncached GPU memory for every draw (fixed, -5%). Mali counters show the GPU busy 78% of the frame. The Covenant’s open battle surfaced the next walls: memory (1 GB shared with the GPU) and white water from half-precision overflow. Both are being worked on.
2026-12-05: 0.6 → 10.5 fps in one day of GPU work. Highlights:
- The H700’s GPU turned out to be a single-core Mali-G31 (the driver reports one shader core), so every cycle counts.
- Vertex shaders specialised per vertex layout: about 3x cheaper vertex work.
- Half-precision (mediump) fragment math: +12% on the real hardware, with no visible artifacts.
- The Xbox 360’s “zero times anything is zero” rule kept only where the picture needs it: +15%.
- A Mali driver stall found and avoided: copying into a texture the GPU is still reading made the CPU wait 5 ms per copy, 18 times a frame.
- Distant detail fades earlier (the game’s own split-screen tuning): +17%, invisible at close range.
Screenshots
Captured on the Anbernic RG CubeXX by the game itself (frame dumps of the 480x270 render, shown 2x).
| Sierra 117 jungle, 10.5 fps (2026-12-05) |
|---|
![]() |
| The Covenant, opening battle, 8.2 fps (2026-12-05; the white patch is a water bug being fixed) |
|---|
![]() |
| A bug found on the way: NaN garbage at the screen edges | The same view after the fix |
|---|---|
![]() |
![]() |
Performance
Measured on the RG CubeXX at fixed spots in Sierra 117 (the jungle) and The Covenant (from 2026-12-05 evening), with the firmware’s frontend stopped and the CPU and GPU clocks pinned, as a game launcher does. Frame rates are averages over 10-frame windows after warm-up. “Worst” is the slowest frame in the window.
| Date | Change | fps | Frame time (worst) |
|---|---|---|---|
| 2026-12-05 | First GLES renderer, PC settings | 0.6 | ~1.7 s |
| 2026-12-05 | Handheld detail tier, 480x270 | 1.2 | ~830 ms |
| 2026-12-05 | Leaner translated shaders | 2.3 | 440 ms |
| 2026-12-05 | Vertex shader specialisation | 4.8 | 210 ms |
| 2026-12-05 | Exposure readback without a stall, detail 0.5 | 5.8 | 172 ms (178) |
| 2026-12-05 | Resolve copies without a CPU stall | 6.4 | 157 ms (160) |
| 2026-12-05 | Half-precision fragment math | 7.2 | 139 ms (145) |
| 2026-12-05 | Xbox zero rule only in post-processing, NaN guard | 8.8 | 114 ms (118) |
| 2026-12-05 | Distant detail fades earlier (detail 0.25) | 10.5 | 95 ms (98) |
| 2026-12-05 | No uncached reads of GPU memory per draw | 11.0 | 91 ms (93) |
| 2026-12-05 | The Covenant, opening battle (new benchmark) | 8.2 | 123 ms (126) |
The first three rows were measured with a profiler that slowed the game somewhat. Where the frame goes now, and how it is measured: docs/PERFORMANCE.md.
Supported devices
The port targets every handheld built on the Allwinner H700 (4x Cortex-A53, Mali-G31, 1 GB RAM):
| Device | Screen | Status |
|---|---|---|
| Anbernic RG CubeXX | 720x720 | Test device |
| Anbernic RG35XX Plus, RG35XX H, RG35XX SP, RG35XX 2024 | 640x480 | Expected to work (same chip) |
| Anbernic RG40XX H, RG40XX V | 640x480 | Expected to work |
| Anbernic RG34XX, RG34XX SP | 720x480 | Expected to work |
| Anbernic RG28XX | 640x480 | Expected to work |
Firmware: tested on Knulli. The PortMaster package is meant for Knulli, muOS, ROCKNIX and other firmware that runs PortMaster on these devices. Other Mali handhelds (RK3326, RK3566) may run it later; they are not a target yet.
How it works
- The game: summers-aaron/halo-3 decompiles Halo 3 (Xbox 360) into C++ and runs it on PCs with Vulkan or Direct3D 12. This project builds it for 64-bit ARM Linux (glibc 2.31, so it runs on every H700 firmware) and fixes what x86 and Windows assumed (memory ordering, calling conventions, the low-4 GB allocator).
- The renderer: the H700’s Mali driver has no Vulkan, so the port adds a third rendering backend, OpenGL ES 3.2, behind the upstream renderer’s backend interface. The game’s Xbox 360 (Xenos) shaders are translated to GLSL ES at build time and compiled by the Mali driver on the handheld, with a program binary cache so it happens once.
- The tuning: the Mali-G31 has a single shader core, so the work is in doing less: cheaper translated shaders, the game’s own split-screen detail settings, a 480x270 internal resolution scaled to the screen, and avoiding the driver’s CPU stalls.
More: docs/HOW-IT-WORKS.md and the Mali-G31 notes.
Roadmap
- Performance, the main work now: cheaper lighting and foliage shaders, less driver work per draw, memory headroom for the heavier levels (target 33 ms per frame, the lows included).
- More of the game checked: other levels, menus, cutscenes, audio, controls on the handheld.
- A PortMaster-format zip and install guide (bring your own game files), as with the Halo CE port.
- Testing on the other H700 devices and firmware.
Details: docs/ROADMAP.md.
FAQ
Can the Anbernic RG35XX, RG40XX or RG CubeXX run Halo 3? The game runs natively on the RG CubeXX’s H700 chip today, at about 11 fps in the jungle and 8 fps in The Covenant’s opening battle. It is not playable yet. The goal is a steady 30 fps on all H700 devices.
Is this Xbox 360 emulation (Xenia)? No. Xenia needs a desktop GPU and an x86 PC. This is the decompiled game, compiled natively for ARM64.
Is it on PortMaster? Not yet. It will ship as a PortMaster-format zip once it is playable, the way the Halo CE port does.
Do I need the game? Yes. You will need your own copy of Halo 3 for the Xbox 360. This project contains no game data.
Why is it slow? The H700’s Mali-G31 has one shader core at 696 MHz, and Halo 3 was made for the Xbox 360’s 240-GFLOP Xenos. Every frame draws the world twice, once for the surfaces’ colours and once for lighting, plus HDR post-processing. The devlog follows the work of fitting that into 33 ms.
What about Halo: Combat Evolved? It is already playable on these handhelds: halo-ce-anbernic-rg35xx.
When will it be released? When it is playable. Follow the devlog or watch this repository for updates.
Documentation
- docs/DEVLOG.md: dated progress updates with numbers and screenshots.
- docs/PERFORMANCE.md: how frames are measured, where the time goes.
- docs/HOW-IT-WORKS.md: the port’s architecture.
- docs/MALI-G31-NOTES.md: what the Mali-G31 and its driver do, measured.
- docs/GLES-RENDERER.md: the OpenGL ES 3.2 backend’s design.
- docs/ROADMAP.md: what comes next.
- docs/LEGAL.md: what is and is not in this repository.
Legal notice
This is a fan project with no affiliation to Microsoft, Xbox Game Studios, Bungie, 343 Industries or Halo Studios. Halo is a trademark of Microsoft. The repository contains no game data and no files derived from it. You need your own legally obtained copy of the game. See docs/LEGAL.md.
Credits
- Aaron Summers and contributors: the Halo 3 decompilation this port builds on.
- The Knulli, PortMaster, muOS and ROCKNIX communities, who keep these handhelds alive.
- Arm, for the Mali GPU Best Practices guide and the Mali Offline Compiler.



