# Tooie3D Banjo-Tooie for the Nintendo 3DS family, with stereoscopic 3D. It is a static recompilation of the N64 game ([N64: Recompiled](https://github.com/N64Recomp/N64Recomp)), not an emulator, with [rt64-3ds](https://github.com/oneup03/rt64-3ds) (`lib/rt64-3ds`) as its renderer and platform layer. A New 3DS or New 2DS XL is the target; an Old 3DS or 2DS runs it at about 15-25 fps. **This repository and its releases do not contain game assets. You need your own copy of the game to play or build it.** This is a work in progress, tested in the Azahar emulator and on New 3DS and Old 3DS consoles. Changes are listed in [changelog.md](changelog.md). ## Installing Download the latest build from the [releases page](https://github.com/oneup03/Tooie3D/releases/tag/rolling): - **CIA** (`Tooie3D-3ds.cia`): install it with FBI or another CIA installer, or scan the QR code below in FBI (Remote Install > Scan QR Code; the code stays the same from build to build). It shows on the HOME Menu as "Banjo Tooie 3D". On an Old 3DS or 2DS, use the CIA (see Performance). - **Zip** (`Tooie3D-3ds-.zip`): extract it to the root of the SD card and start `3ds/Tooie3D/Tooie3D.3dsx` from the Homebrew Launcher. - **.3dsx alone** (`Tooie3D.3dsx`): put it in `sdmc:/3ds/Tooie3D/` or `sdmc:/3ds/`. Either way the game keeps its files in `sdmc:/3ds/Tooie3D/`. Keep only one copy, or the Homebrew Launcher lists the game twice. ![QR code for FBI: the latest CIA](https://github.com/oneup03/Tooie3D/releases/download/rolling/Tooie3D-3ds-QR.png) You also need your own ROM: the US version (NTSC-U 1.0) of Banjo-Tooie for the N64, as a big-endian `.z64`, at `sdmc:/3ds/Tooie3D/BanjoTooie.z64`. The game checks it at start and tells you if it is another version or damaged. Sound works out of the box: the game brings its own DSP firmware, [OpenDSP](https://github.com/Cellenseres/OpenDSP) (BSD 2-Clause, Copyright (c) 2026 Cellenseres; its licence is `OpenDSP-LICENSE.txt` in the release zip), which also plays the game's reverb. If it fails to start, the game falls back to the console's own firmware at `sdmc:/3ds/dspfirm.cdc`, without reverb. Dump that once with Luma3DS (the Rosalina menu, L + D-pad down + SELECT, then Miscellaneous options > Dump DSP firmware). On the SD card: ``` sdmc:/3ds/ Tooie3D/ Tooie3D.3dsx the program (not needed with the CIA installed) BanjoTooie.z64 your ROM BanjoTooie-EU.z64 your European ROM, for the translations (optional, see Language) README.md this file (from the release zip) OpenDSP-LICENSE.txt OpenDSP's licence (from the release zip) settings.ini the settings, written by the game log.txt the game's log saves/ the save (BanjoTooie.bin) and its backup screenshots/ SELECT-hold screenshots ``` The save is the game's 2 KB EEPROM. An emulator's `.eep` save of the US game works too: copy it to `saves/BanjoTooie.bin`. ## Controls | 3DS | N64 | |---|---| | A / B | A / B | | L | Z | | R | R | | START | START | | X, D-pad up | C-Up | | Y, D-pad down | C-Down | | ZL, D-pad left | C-Left | | ZR, D-pad right | C-Right | | Circle Pad | analog stick | | C-Stick (New 3DS) | the analog camera, and aiming in first person | These are the Banjo-Kazooie port's controls, as the two games share theirs. START during the boot logos skips to the file select. SELECT opens the settings on the touch screen: the D-pad or a tap chooses and changes, SELECT closes them, and changes are saved to `settings.ini`. The Controls page maps each button (A, B, X, Y, L, R, ZL, ZR and the D-pad) to any N64 button, adds up to two N64 buttons on the touch screen, sets the Circle Pad's and C-Stick's deadzones, and has Reset controls. An Old 3DS has no C-Stick, ZL or ZR, so their rows are left out there. ### The camera On a New 3DS, the Controls page's **Analog camera** sets what the C-Stick does: - **Free** (the default) orbits the camera around Banjo and tilts it, keeping it in front of walls and fading Banjo when it comes close (after Banjo Re-Tooie). Holding R, or first person, brings the game's camera back behind Banjo. - **Turn** turns the camera as far as the stick is pushed, in place of C-Left and C-Right (after the Scurvy Dog port). - **Off** leaves the C-Stick to the C buttons. With Free or Turn the C-Stick also aims in first person. **C-Stick up** (off by default) and **C-Stick down** (on) set whether the stick's up and down press C-Up and C-Down where the camera doesn't use them; with C-Stick up off, the stick never enters first person (X and D-pad up still do). **Invert 3rd-person camera** turns the camera the other way: left and right (the C buttons' turns too), up and down, or both. An Old 3DS has left and right only. **Invert 1st-person aim** does the same for aiming in first person, from either stick (up and down by default). ### Aiming Egg Aim's crosshair doesn't spring back to the middle when you let go of the stick, as the game's does: - On the ground the crosshair stays in the middle and the stick turns the view, as first person's look does. - Where the camera holds still (the Saucer of Peril, the Code Chamber) the stick moves the crosshair, which stays where you leave it. - Where the view follows you (flying, swimming, the submarine, Balloon Burst) the stick steers and the gyro moves the crosshair; steering brings it back to the middle. A shot leaves the crosshair where it is. **Gyro aim** (200% by default, Off at 0) aims by turning the console: first person's look, Egg Aim's view on the ground, and the crosshair elsewhere. The gyro ignores the invert rows. **Breegull Blaster:** **Strafe** (the default) walks and strafes with the Circle Pad and turns and looks with the C-Stick (or the C buttons). On an Old 3DS the face buttons turn (Y, A) and look (X, B), and A and B move to D-pad up and down and to two buttons on the touch screen. **Original** is the game's: the stick turns, and C-Left and C-Right strafe. Holding R to aim works either way. ### The HUD The HUD is on the touch screen by default, over the Banjo-Kazooie port's gold jiggy-puzzle background, leaving the top screen to the game; the Game page's **HUD** row moves it back. The honeycombs and air are along the top, the notes, jiggies, feathers and eggs in two columns on the left, and the right half is left to the touch buttons. The pause screen's counters stay up through play instead of sliding away, and counters that pop up (a Jinjo, a Glowbo) show below them. Timers, the pause menu, dialogue, Egg Aim's crosshair and the transitions stay on the top screen. ### The Game page | Setting | What it does | |---|---| | Text speed | How fast the dialogue appears: Normal (the default), Twice, 4 times or Page at once. | | Draw distance | How far away models and objects are drawn, in percent of the game's (Game, the game's own, on a New 3DS; 60% on an Old 3DS). | | Level cut-off | How far ahead the level's own scenery is drawn, fading into the sky before the edge; the game draws it at any distance (Off on a New 3DS; 6000 on an Old 3DS). | | Frame rate | Game (the default), 30 fps (at most 30), or 60 interp. (frames drawn in between; see Performance). | | Audio | How the sound shares the processor with the game, or Off (see Performance). | | Top screen brightness, Bottom screen brightness | Each screen's brightness (System, the HOME Menu's, by default). | | Performance monitor | The frame rate and the cores' load on the touch screen (off by default). | | HUD | Touch screen (the default) or Top screen. | | Log level | How much goes in `log.txt`: Warnings (the Old 3DS's default), Summary (the New 3DS's) or Full. Set Full when reporting a problem. | | Hold SELECT | What holding SELECT saves: a screenshot (the default) or a frame capture for reporting a glitch. | Holding SELECT for a second saves BMP screenshots of both eyes (with 3D on) and the touch screen to `sdmc:/3ds/Tooie3D/screenshots/`, never replacing older ones. HOME doesn't leave for the HOME Menu right away: it pauses the game and asks on the touch screen, X to quit and B to go back to the game. ## Stereo 3D The 3D slider turns the 3D on and sets its strength; with the slider down the game draws one image. The world sits behind the screen, the sky at infinity, and the HUD, text and menus on the screen's plane. The game fills the 3DS's wider 5:3 screen. The settings' 3D page: | Setting | What it does | |---|---| | 3D depth | The separation between the eyes with the slider at the top (default 50). Raise it for more depth, lower it if the image is hard to focus. | | Convergence | How far into the scene the screen's plane sits (default 10.0): nearer things come out of the screen, farther ones go in. | | HUD depth | Where the HUD, menus and text sit (50, the default, is the screen's plane; higher brings them out, lower pushes them in). | | Crosshair | Egg Aim's crosshair at the depth of what it is aimed at (Dynamic, the default) or at the HUD's depth. | | Gun convergence | Where the Breegull Blaster's gun (Kazooie) sits in depth (default 1.1; higher brings it further out). | | Aiming eye | Both (the default), Left or Right. While aiming, Left or Right shows that eye the picture as the N64 drew it, so the crosshair, Kazooie and her eggs line up there as in the game. The Breegull Blaster fires from the camera, so with Both its eggs line up in neither eye. | | Auto convergence | On by default: when something comes close to the camera (a wall, a close-up), the screen's plane moves nearer so it doesn't pop out too far. It never goes beyond Convergence. | | Comfort target | How far out of the screen Auto convergence lets near things come (default 0; higher for more pop-out, lower to keep everything behind the screen). | | Ghost reduction: contrast, Ghost black floor | Ease ghosting (a faint double image of high-contrast edges on some screens) by softening contrast and lifting blacks. Off by default (100% and 0%). | ## Performance **New 3DS / New 2DS XL:** a locked 30 fps by default (Frame rate at Game). **60 interp.** draws interpolated frames between the game's own: one at 30 fps, and two in the scenes where the game runs at 20 (camera cuts are not blended). To hold 60 consistently, lower Draw distance and Level cut-off: at the game's own distances the heaviest scenes drop back toward 30. The whole 32 MB ROM is held in memory. **Old 3DS / 2DS:** about 15-25 fps with the shorter distances an Old 3DS starts at (Draw distance 60%, Level cut-off 6000); a shorter cut-off is faster. Leave Frame rate at Game. Install the CIA: it asks for 80 MB, enough to hold the ROM in memory, and the console restarts when you quit. The .3dsx gets only the Homebrew Launcher's 64 MB, so it reads the ROM from the SD card as it goes and loads take longer. While the game runs, the wireless and the background network services (StreetPass, SpotPass, eShop, friends) are paused; they come back when you quit. **Audio:** High priority (the New 3DS's default) interrupts the game whenever the sound is about to run short. Low priority (the Old 3DS's default) never does, which leaves the game a little more time, but in busy scenes the music can run a little slow or crackle. The game's own culling stays on, widened to the wider screen. The HUD on the top screen may run a little faster than on the touch screen. ## Mods The settings' Mods page holds options and cheats. Each starts as the game has it: | Setting | What it does | |---|---| | Language | English, French, German or Spanish (see Language). | | Warp to | Spiral Mountain, the Isle o' Hags' areas or a world's entrance, once the menu is closed and Banjo is in a level. | | Talon Trot | Toggle keeps the trot going after Z (L) is let go, until Z is pressed again. Hold (the default) is the game's. | | Quiet Talon Trot | Leaves out Kazooie's squawk at every step of the trot and of the Wading Boots. | | Infinite eggs, feathers, Glowbos, ice keys | Each stays full. | | All moves learned | Every move, while the row is on; the save keeps the moves it had. | | Stop 'n' Swop eggs | The blue and pink eggs from Banjo-Kazooie's Stop 'n' Swop, as if collected. Turning it off takes back only what it gave. | | Cheato: (each code) | Each of the Code Chamber's Cheato codes, as if typed there. Turning a row off undoes only what it turned on. | The cheats and quality-of-life options follow Banjo Re-Tooie's, the Talon Trot toggle the Scurvy Dog port's, and Quiet Talon Trot PunishedBigs' mod for Banjo-Kazooie. ### Language **Language** shows the game's text (dialogue, menus, signs, level names) in Rare's own French, German or Spanish, read from your own European (PAL) Banjo-Tooie. Put it in the same folder as the US ROM under any name ending in `.z64`, `.v64` or `.n64`, for example `sdmc:/3ds/Tooie3D/BanjoTooie-EU.z64`. The US ROM still runs the game: only the European text and its big gold lettering (which has the accented capitals) are read. Without a European ROM, the row's languages say *No EU ROM*. A new language shows the next time the game loads text: the next conversation, menu or area. Chosen during a game, the big lettering can keep plain capitals until the game is restarted. ## AI use The 3DS port, including this repository's code and documentation and the rt64-3ds renderer it uses, was written with the help of AI tools (Claude), under the developer's direction and with their testing on real consoles. ## Building Building is not needed to play. [BUILDING.md](BUILDING.md) has the steps. In short, with devkitPro's `3ds-dev`, clang with the MIPS target and `ld.lld`, CMake and Ninja, and your ROM at `baserom.us.z64` in the repository's root: ```sh make -C platform/3ds nmr-patch host-tools # once: runtime patch series, recompiler make -C platform/3ds codegen # recompile the ROM and the patches make -C platform/3ds cia # build-3ds/Tooie3D.3dsx and .cia ``` The `build-3ds` job in `.github/workflows/release.yml` runs the same steps in devkitPro's container. ## Projects used and referenced - [N64: Recompiled](https://github.com/N64Recomp/N64Recomp) and [N64ModernRuntime](https://github.com/N64Recomp/N64ModernRuntime) for the static recompilation and the runtime - [rt64-3ds](https://github.com/oneup03/rt64-3ds) for the 3DS renderer, stereo 3D, sound and platform layer, and [RT64](https://github.com/rt64/rt64) for its extended GBI - The [Banjo-Tooie decompilation](https://github.com/Mr-Wiseguy/banjo-tooie) for the game's symbols and headers, used to write the patches - [Banjo Re-Tooie](https://github.com/Locme/Banjo-ReTooie) for the free camera, the cheats and quality-of-life options, and the icon - [Banjo-Tooie: Scurvy Dog Port](https://github.com/some-scurvy-dog/banjo-tooie-scurvy-dog-port) for the Turn camera, the Talon Trot toggle and the frame interpolation's approach - [BanjoTooieRecompiled](https://github.com/Vidanox/BanjoTooieRecompiled) (Vidanox), with Banjo Re-Tooie, for the hooks and host functions the game needs to run, and the way the player's bones are told apart for the frame interpolation - [BanjoRecomp3D](https://github.com/oneup03/BanjoRecomp3D), the Banjo-Kazooie port, for the controls, the HUD's background and the banner's jiggy - [Donkey-Kong-64-3D](https://github.com/oneup03/Donkey-Kong-64-3D) for gyro aiming - [OpenDSP](https://github.com/Cellenseres/OpenDSP) (Cellenseres) for the DSP firmware