Skip to content

About

Experimental Peanuts Native fork for ARM Mali GPUs using stock Vulkan drivers.

Topics

Resources

Contributing

Stars

42 stars

Watchers

5 watching

Forks

 
 

Repository files navigation

MaliPeanutGPT

🇻🇳 An experimental fork of Peanuts Native focused on improving compatibility, stability and performance on ARM Mali GPUs using stock Vulkan drivers.

v0.4 Preview restores the complete 87-game upstream Switch 1 catalog. Three games have been tested so far on Mali-G925; the remaining 84 games are untested.

About

Peanuts Native is a fork of Banana Native built on nxnative, enabling native ARM64 execution of supported Nintendo Switch games on Android, with graphics translation to Vulkan and on-device / ahead-of-time shader translation.

MaliPeanutGPT is an experimental fork of Peanuts Native focused on improving compatibility, stability and performance on ARM Mali GPUs using stock Android Vulkan drivers, without requiring root or custom GPU drivers.

The main purpose of this fork is to address Mali-specific graphics and memory synchronization issues and reduce unnecessary CPU/GPU overhead while preserving upstream game-specific settings and compatibility.

About the development

This is a personal experimental project from Vietnam.

I am not a professional programmer and have no formal programming background. Development of this fork is 100% vibe coding, with assistance from ChatGPT and Google Antigravity.

The project started as a personal attempt to make EA SPORTS FC 27 playable on my Mali-powered phone and gradually expanded to restore the full Peanuts Native game catalog for testing on Mali GPUs.

All major changes are based on testing, profiling, debugging and actual gameplay on my own device.

This project would not have been possible without the work of the original Peanuts Native, Banana Native and nxnative developers.

Tested device

Component Specification
Device Xiaomi 15T Pro
SoC MediaTek Dimensity 9400+
CPU Cortex-X925, Cortex-X4 and Cortex-A720
GPU ARM Immortalis-G925 MC12
Vulkan driver Stock MediaTek/ARM driver
Root Not required
Frame Generation Disabled

Other Mali GPUs (such as Mali-G720, Mali-G715, Mali-G615 and Mali-G610) and devices are unverified. Community compatibility reports from other Mali devices are very welcome!

Compatibility & Tested Games

Tested on Xiaomi 15T Pro (Dimensity 9400+, Mali-G925, stock Vulkan driver, without Frame Generation). FPS figures below are user-reported gameplay observations rather than formal synthetic benchmarks:

Game Title ID Supported Profile Version(s) Native FPS (User-Reported) Status
EA SPORTS FC 27 0100C49025D3E000 v458752 (1.8d.6523), v524288 (1.8d.f570) 55–60 Playable
Stray 010075101EF84000 v0 (1.0.0) 30 Playable
Mario Kart 8 Deluxe 0100152000022000 v1441792 (4.0.0), v1507328 (4.0.1) 50–60 Playable
Other games (84 titles) See COMPATIBILITY.md Upstream profiles — Untested

See COMPATIBILITY.md for the full 87-game catalog, exact Title IDs, and supported game versions.

Older and Low-End Mali GPUs

MaliPeanutGPT operates at the Vulkan API level without directly modifying GPU drivers or relying on CSF-specific mechanisms. Therefore, older and lower-end Mali GPUs, including the Mali-G57, G68, G78, G610 and G615, may also be compatible.

However, compatibility and performance depend on available Vulkan features, driver versions, shader compiler behavior, memory capacity and hardware capabilities.

These GPUs remain unverified, and community testing is highly appreciated.

Changes in this fork

  • Complete upstream 87-game Switch 1 catalog restored (dm/games/, shader split readers, launcher profile list).
  • Mali-specific Vulkan compatibility fixes (DM_VK_MALI_STAGING, DM_VK_MALI_ROBUST_ACCESS).
  • Fixes for GPU memory synchronization issues and persistent GPU memory authority tracking.
  • Reduced redundant GPU readback (DM_VK_MALI_READBACK_OPT) and unnecessary memory uploads (DM_VK_MALI_UPLOAD_OPT).
  • Mali-specific TBDR render-pass optimization (DM_VK_MALI_ARCH_OPT).
  • Selectable per-game Mali backend profiles in Game Settings (Basic Mali, FlowState, M6G).
  • Game-specific FPS targets and timing preserved (no global 60 FPS force; FC 27 FPS patches remain restricted to FC 27 Title ID / Build IDs).
  • Build Shader, NUP build/import, and compatible prebuilt shader support preserved.

Shader & NUP

MaliPeanutGPT supports both locally built and compatible prebuilt shaders and NUP files.

Users can prepare their own files using the original Peanuts Native workflow.

Please ensure that the game version, shader ABI and NUP format are compatible with the launcher.

No game files, NUP packages or game-derived shaders are included in this repository or release.

Recommended settings

  • Stock Vulkan driver.
  • Frame Generation (LSFG): OFF (disabled by default).
  • Game-specific default FPS target (or 30 FPS fallback if a device cannot maintain acceptable performance).
  • Handheld mode and 0.75x resolution scaling can be used to reduce graphical workload and thermals.

Actual performance and temperature may vary by device, scene and ambient conditions.

Known issues

  • 84 of the 87 catalog titles and all non-G925 Mali GPUs remain untested/unverified.
  • EA SPORTS FC 27: occasional lighting/exposure flickering, cutscene lighting inaccuracies, missing visual elements in some Manager Mode news scenes, and increased temperature/power draw at 60 FPS.
  • General: occasional shader/gameplay stuttering on uncached scenes; unsupported game updates may fail to start.

This is an experimental preview release and is not completely bug-free.

Download

Download the latest release from:

https://github.com/Elphari97/peanuts-native-mali/releases

Installation

  1. Install MaliPeanutGPT-v0.4-Preview.apk on Android 13 or newer (no root or custom GPU drivers required).
  2. Prepare legally obtained game files (.nsp/.xci/.nsz/.xcz with your own prod.keys and firmware, a .nup file, or a console dump) matching a supported game profile version in COMPATIBILITY.md.
  3. Open the app, grant storage access, and add your Keys, Firmware, and Game folder in Settings › Library (or + Add game).
  4. Open a game entry and select a supported version.
  5. Import compatible prebuilt shaders/pack (Import pack…) and/or compatible .nup files, or tap Build (or Prepare / Prepare shaders) to rewrite the game and build shaders on your device.
  6. Wait until the status shows Ready, then tap Play to launch the game.
  7. If needed, open the in-game panel or Game settings to adjust Frame rate cap, Resolution scale, or Mali backend profile.

Building from source & Developer documentation

See docs/mali-port/BUILD_GUIDE.md, docs/mali-port/README.md, android/README.md, and docs/development.md for reproducible build instructions, profiling tools, and technical reports.

To build the full standalone APK with the on-device packer (Build Shader) and importer (libnximport.so), prepare the native packer stage (peanuts/scripts/ondevice-stage.sh <work-dir>) and run Gradle with:

./gradlew -PnxApp=peanuts -PnxPackEngine=native -PnxPackStage=<work-dir>/stage -PnxVersion=0.4-preview assembleDebug

Credits

Special thanks to the original developers and contributors:

Maintained by Elphari97.

License

This project retains the original upstream license (GPL-3.0-or-later for the Android APK, host, and shader translator, with individual MIT/BSD/OFL/MPL components retaining their respective licenses).

All third-party components remain subject to their respective licenses; see LICENSE, android/NOTICE.md, and dm/third_party/README.md.

Disclaimer

MaliPeanutGPT is an unofficial and independent experimental project. Game names and trademarks are used solely for identification and compatibility reporting. This project is not affiliated with or endorsed by any game developer, publisher or hardware manufacturer. No proprietary game files, console keys, firmware, or game-derived shader and NUP packages are distributed.

About

Experimental Peanuts Native fork for ARM Mali GPUs using stock Vulkan drivers.

Topics

Resources

Contributing

Stars

42 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages