Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

799 stars

Watchers

17 watching

Forks

Repository files navigation

Peanuts Native

Nintendo Switch games running natively on Android dual-screen handhelds, with a live companion on the second screen.

status license platform

Discord Ko-fi

Note

Peanuts Native is in development. The current release is on the releases page. It is not affiliated with Nintendo.

What it is

Peanuts Native turns a dump of a Switch 1 game you own into an Android app on your phone. It is not an emulator. The game's own ARM64 code is rewritten to run directly on the phone's CPU, its graphics are replayed on Vulkan, and its shaders are translated on the device. Everything happens on the phone: you pick the game file, tap Build, and play.

On a dual-screen handheld such as the AYN Thor, the game plays on the top screen and the bottom screen shows a companion for that game: a map, your party, items or quests, read live from the running game and touchable. Companions use the same package format as Eden Duo, so every Eden Duo companion works here too.

Supported games

Peanuts Native 0.1.7 includes 59 games. The Companion column shows whether a game appears in the Eden Duo Companions catalog, and the Contributor column the community members who brought a game to Peanuts Native. Updates are shown as version numbers or numeric update IDs.

Game Title ID Game update Companion Contributor
The Legend of Zelda: Link's Awakening 01006BB00C6F0000 1.1.0 Yes
The Legend of Zelda: Echoes of Wisdom 01008CF01BAAC000 1.1.0 Yes
Fire Emblem: Three Houses 010055D009F78000 1.2.0 Yes
Fire Emblem Engage 0100A6301214E000 2.0.0 Yes
Metroid Dread 010093801237C000 2.1.0 Yes
Super Mario Odyssey 0100000000010000 1.4.1 Yes
Mario Kart 8 Deluxe 0100152000022000 4.0.0, 4.0.1 Yes ⭐
intermission88
Animal Crossing: New Horizons 01006F8002326000 3.0.3 Yes
Persona 5 Royal 01005CA01580E000 1.0.2 Yes
Castlevania: Belmont's Curse 0100BA4026E94000 1.1.0 Yes
OCTOPATH TRAVELER 0 01005270232F2000 1.0.5 Yes
Pokémon Brilliant Diamond 0100000011D90000 1.3.0 Yes
Pokémon Shining Pearl 010018E011D92000 1.3.0 Yes
Pokémon Sword 0100ABF008968000 1.3.2 Yes
Pokémon Shield 01008DB008C2C000 1.3.2 Yes
The Legend of Zelda: Breath of the Wild 01007EF00011E000 1.6.0, 1.9.0 Yes
The Legend of Zelda: Tears of the Kingdom 0100F2C0115B6000 1.4.3 No
FINAL FANTASY RESONANCE 0100606026F12000 1.0.1 No
The Legend of Zelda: Skyward Sword HD 01002DA013484000 1.0.1 Yes
Pokémon Legends: Arceus 01001F5010DFA000 1.1.1 No
Resident Evil 4 010099A00BC1E000 131072 Yes
Kirby and the Forgotten Land 01004D300C5AE000 1.1.0 No ⭐
intermission88
Kirby's Return to Dream Land Deluxe 01006B601380E000 1.0.0 Yes ⭐
intermission88
Super Mario 3D World + Bowser's Fury 010028600EBDA000 1.2.2 No ⭐
intermission88
Super Mario Bros. Wonder 010015100B514000 1.2.1 Yes
DRAGON QUEST III HD-2D Remake 01003E601E324000 1.1.2 Yes
Chained Echoes 0100C510166F0000 1.41 Yes
Yoru, Tomosu 0100C2901153C000 Base game (v0) Yes
Crash Team Racing Nitro-Fueled 0100F9F00C696000 1.0.15 Yes
Captain Tsubasa 2: World Fighters 01009720213B0000 1.0.6 No
DAVE THE DIVER 010097F018538000 1.0.6.1267 Yes
Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles 2 0100AD80208A8000 1.80 No
Xenoblade Chronicles X: Definitive Edition 0100453019AA8000 1.0.2 No
My Time at Sandrock 0100B63016916000 1.4.2.0 Yes
Monster Sanctuary 0100A0F00DA68000 2.1.0 Yes
Astral Chain 01007300020FA000 1.0.1 No
Diablo III: Eternal Collection 01001B300B9BE000 2.7.7.92380 Yes
EA Sports FC 27 0100C49025D3E000 1.8d.6523, 1.8d.f570 No ⭐
intermission88
Tomodachi Life: Living the Dream 010051F0207B2000 1.0.4 No ⭐
intermission88
davdxpx
Unicorn Overlord 010069401ADB8000 1.05 No
Luigi's Mansion 3 0100DCA0064A6000 1.4.0 No
Pokémon Legends: Z-A 0100F43008C44000 2.0.2 No
STORY OF SEASONS: Grand Bazaar 0100DAE01E4C8000 v655360 No ⭐
intermission88
Double Dragon Revive 01006AE02236C000 1.0.0, N1.10 No ⭐
tapionallanaire
Trails in the Sky 2nd Chapter 01007A2027548000 1.0.3 No ⭐
tapionallanaire
DRAGON BALL: Sparking! ZERO 010035F022078000 1.0.0 No ⭐
dnyan007
Pokémon Scarlet 0100A3D008C5C000 4.0.0 No
Pokémon Violet 01008F6008C5E000 4.0.0 No
DRAGON BALL Z: KAKAROT + A NEW POWER AWAKENS SET 010051C0134F8000 1.70 No
STEINS;GATE RE:BOOT 01008BC024FDE000 1.0.3, 1.0.4 No ⭐
skyhong2002
NieR:Automata The End of YoRHa Edition (Asian release) 0100B8E016F76000 1.0.3 No
Hyrule Warriors: Age of Calamity 01002B00111A2000 1.3.0 No
Trails in the Sky 1st Chapter 01002C9022770000 1.0.7 No ⭐
tapionallanaire
Yoshi's Crafted World 01006000040C2000 1.0.1 No ⭐
999sian
Tetris Effect: Connected 0100DE501433A000 2.0.2.2 No ⭐
intermission88
New Pokémon Snap 0100F4300BF2C000 v0 No ⭐
ssv0225
Digimon Story Time Stranger 010062E01FE0C000 1.2.2 No ⭐
intermission88
Hogwarts Legacy 0100F7E00C70E000 1.0.5 No ⭐
tapionallanaire
Star Ocean The Second Story R 010065301A2E0000 1.1.0 No

Every game new in 0.1.7 reached gameplay on an AYN Thor with Turnip. Trails in the Sky 1st Chapter, Yoshi's Crafted World, Star Ocean The Second Story R and Hogwarts Legacy were checked for this release, among them Rail-Yard Run in Yoshi's Crafted World at 60 fps and the London intro in Hogwarts Legacy. Tetris Effect: Connected, Digimon Story Time Stranger and New Pokémon Snap were checked by their contributors on their own AYN Thor.

What you need

  • A dual-screen Android handheld. Peanuts Native is developed and tested on the AYN Thor. On a single-screen phone the game still runs, without the companion.
  • Android 13 or later, a Snapdragon GPU with Vulkan 1.3, and 12 GB of RAM or more. A Turnip Vulkan driver is recommended; the app can download one.
  • Free storage for the game and its build. Plan for the size of the game plus a few GB.
  • Your own prod.keys, your own firmware dump (a folder or a .zip) and your own game dump (NSP, XCI, either compressed as NSZ or XCZ, or a dump folder), with its update.

Your keys and games

Peanuts Native only runs games you dumped from your own console, with keys from that console. It contains no Nintendo code, firmware or keys, never downloads any, and does not link to places that offer them. Nobody from this project will ever ask you for money, keys or game files.

Getting started

  1. Install the APK and allow All files access when asked.
  2. On the first screen, add your Keys (prod.keys), pick your Game folder, and add your Firmware. Both keys and firmware are needed before the first build. A build folder is optional (Settings, Library, Build folder): pick one, on the phone or the microSD card, to keep every build there, organized by title ID.
  3. Open a game from the library and tap Build. The app imports the game, rewrites its code, translates its shaders and installs its companion. Most games take 5 to 40 minutes on the Thor.
  4. Tap the game to play. The companion starts on the bottom screen.

Hold a game's cover to open its own page: picture and speed settings, mods, the companion, saves and storage. After an app update, rebuilding every game is strongly recommended: hold the cover, open Storage, tap Build again, then Rebuild.

Settings worth knowing

  • Console mode: Docked or Handheld, for all games in Settings and per game on its page. It can also be changed while the game runs, from the in-game panel.
  • Resolution scale (first version): 0.5x to 2x of the size the game draws at. Not every effect follows it.
  • Mods (first version): hold the cover, Game tab, Mods. Install a mod from a folder or a zip. It is on from the game's next start, and each mod has a switch and a delete button. A mod that changes the game's code gets a build with mods, which starts by itself (it waits while another build runs). Until that build is ready, the game starts without that mod. After a failed build, tap Build with mods to try again.
  • Saves: back up, restore, import and Delete save data on the game's Saves tab.

A game can also be built on a computer and pushed to the device: see BUILDER.md. The builder is tested on macOS and Linux. Windows is written but not tested yet. On Linux it also builds four games whose shaders are Oodle-compressed or in Unreal archives; for the Oodle ones it compiles a separate open-source decoder (ooz, GPL-3.0-or-later), which is used on the computer only and is not part of the app.

Companions

Open Settings, then Companions, to see every companion and every release of it. You can install, update, remove or roll back to an earlier release, and each download is checked against its published checksum before it is used. A game without a companion leaves the bottom screen free for Android. Companion screens give haptic feedback when you tap them.

The companions themselves are published in eden-duo-companions, with screenshots and what each one shows.

FAQ

Is this piracy? No. It runs only a dump of a game you own, made from your own console, and ships no game code, firmware or keys.

My game update is different from the table. Will it work? The game's page tells you. Some games support more than one update; others need the exact one listed. For an unsupported update the app asks before building, and the result may not start.

Can I share my built game or its shaders? No. Both are made from your own game's files. Share nothing derived from a game, and point other players to their own dump instead.

Does the companion slow the game down? Very little. The games above hold their frame rate with the companion running.

More questions and troubleshooting: FAQ.md.

Contributing

See CONTRIBUTING.md for adding a game, fixing a bug and testing on a device. Run sh peanuts/scripts/install-hooks.sh once after cloning.

Credits and license

Peanuts Native is a fork of Banana Native by moceure, which does the real work of running Switch games natively on Android and is built on nxnative by seedds (MIT). Some fixes are adapted from nx2android (MIT). The Miis are drawn with the colour tables and face layout of vee (MIT) and their textures decoded with bcdec (MIT).

The companion runtime and package format come from Eden Duo.

Contributors:

  • intermission88: the builder for PC, Mac and Linux (peanuts/docs/BUILDER.md, pull request #13), the profiles of Kirby's Return to Dream Land Deluxe, Kirby and the Forgotten Land, Super Mario 3D World + Bowser's Fury, Tetris Effect: Connected and Digimon Story Time Stranger (pull requests #34, #84, #83, #330 and #269), the guide for adding a game (peanuts/docs/NEW-GAME.md, pull request #34), total play time and the stats page on the bottom screen (pull requests #282 and #289), names in STORY OF SEASONS: Grand Bazaar, EA SPORTS FC 27's second controller and the NVN sampler builder's getters (pull requests #354, #284 and #268), the PC tools on Windows (pull request #328), and fixes to the on-device packer, the release notes popup and the Unreal shader step (pull requests #37, #35 and #71).
  • davdxpx: the issue and discussion forms rebuilt from the ground up, with a game catalog that also keeps the Supported games table up to date (pull request #175), building from .nsz and .xcz files, the launcher and companion on the second screen, Swap screens, the GPU driver page, Share build log, game icons that outlive their NSP, companion release notes, mod folders left out of the library and Import pack (pull requests #249 and #260), Settings in ten sections with one search (pull requests #315 and #312), users with pictures, Miis and Who's playing? (pull request #321), the Mali PanVK pointer (pull request #296), Tomodachi Life's clock and boot crash fixes (pull requests #336 and #345), and many smaller fixes across the app.
  • elliott-groves: development builds that install beside the Peanuts Native app (pull request #60).
  • tapionallanaire: building the APK on Windows (pull request #54), the Hogwarts Legacy, Trails in the Sky 1st Chapter, Trails in the Sky 2nd Chapter and Double Dragon Revive profiles (pull requests #95, #221, #164 and #197), the shader readers for Level-5 archives (pull requests #230 and #243), the Unreal 4.27 allocator's page alignment (pull request #236), and the Advance Wars 1+2: Re-Boot Camp memory pool and FINAL FANTASY TACTICS update 1.2.0 (pull requests #231 and #228).
  • dnyan007: the DRAGON BALL: Sparking! ZERO profile, its allocator start-up fix and 60 fps, and the sync of GPU-written terrain into block-compressed textures (pull requests #168, #167, #290 and #302).
  • skyhong2002: STEINS;GATE RE:BOOT 1.0.4, standalone NUP updates in the library, and Prepare surviving a missed job status read (pull requests #192, #185 and #181).
  • ssv0225: the New Pokémon Snap profile with its DRPF archive reader for the shader split and the NVN memory pool builder's getters, and the shader tools running on Linux (pull requests #307, #308, #309 and #310).
  • 999sian: Yoshi's Crafted World on Android, with samplers chosen by the view's format, streamed mip levels, bounded draw ranges and buffer-texture classes (pull request #140).
  • ts-miller: the encoder opcodes for occlusion queries (pull request #263).
  • ArchOwlen: the first issue and discussion forms (pull request #5).

The project as a whole is licensed GPL-3.0-or-later. Frame generation (ported from Eden and lsfg-vk) and other components carry their own licenses; see android/NOTICE.md and dm/third_party/README.md.

About

No description, website, or topics provided.

Resources

Contributing

Stars

799 stars

Watchers

17 watching

Forks

Releases

Packages

Contributors

Languages