Skip to content

Emerald NX v0.5.0 — Initial Nintendo Switch Port

Latest

Choose a tag to compare

@eonlynx eonlynx released this 26 Nov 15:39

First public test release of Emerald NX, a native Nintendo Switch homebrew port (.nro) of Pokémon Emerald built on top of Emerald 3DS and Emerald Android.

Hardware testing note: The Switch build, single-file data pack (emerald3ds.pak), and static memory/save audits are complete, but the complete real-console gameplay is still pending. Back up your SD card and saves before testing, and expect rough edges.


What's included

  • Native AArch64 execution & low-address loader (emerald-nx.nro + emerald-game.nro):
    • Runs directly on the Switch's CPU using libnx, EGL/GLES3 (switch-mesa), and audout—no emulator.
    • Uses a two-stage NRO loader (svcMapProcessCodeMemory) to map the game image, heap, and stack below 4 GiB so the engine's 32-bit pointers stay valid and existing .sav files from 3DS/Android remain compatible.
  • Single-screen layout (720p Handheld / 1080p Docked):
    • Adapted from Emerald Android's single-screen mode. Automatically handles switching between handheld (1280×720) and docked (1920×1080) without restarting.
    • The bottom-screen touch interface opens as an overlay panel over the game (toggle anytime with X or +).
  • Optional 3D Voxel Overworld:
    • Press Y anywhere (or toggle in Options) to switch between classic 2D and the 3D voxel overworld with adjustable camera angle/zoom and 3D battles (still a WIP across some maps/interiors, matching Emerald 3DS).
  • Single-file game data (emerald3ds.pak):
    • Packs all 6,425+ graphics, maps, scripts, songs, and voxel assets into one emerald3ds.pak container alongside 15 small engine files for fast SD card transfers.
  • Enhancements & Quality of Life:
    • Optional Day/Night lighting (starts in AUTO on Switch; click Right Stick to toggle) and accelerated clock.
    • HGSS Follower Pokémon, physical/special split, IVs/EVs on the summary screen, infinite TMs, running indoors, Repel prompt, visible wild Pokémon, Nuzlocke tracker, and progressive/classic map markers.
    • Speed controls: Hold ZL/ZR for Max Speed (or press both together to lock Max Speed), plus configurable Battle Speed (AUTO or explicit).
  • Multi-language support:
    • Supports building game data from clean English (BPEE), Spanish (BPES), French (BPEF), Italian (BPEI), German (BPED), and experimental Japanese (BPEJ) dumps (English is the default).

How to install

  1. Extract the generated switch_port/dist/emerald-nx.zip to the root of your SD card so the layout is:
    sdmc:/switch/emerald-nx/
        emerald-nx.nro
        emerald-game.nro
        emerald3ds.pak
        data/
        README.txt
        licences/
    
  2. Launch emerald-nx.nro via Title Takeover (hold R while opening an installed game on the HOME menu to open hbmenu). Do not launch from Album/Applet mode, as the loader requires code-memory syscalls.

Known limitations & pending hardware checks

  • Complete hardware boot: Static audits (SaveBlock layout across ARM32/AArch64 and overlay bounds) pass with 0 disallowed findings, but complete console testing is pending.
  • Local wireless: Stubbed on Switch (switch_local_stubs.c); RFU link features are disabled.
  • Emulators: Emulators that do not expose svcMapProcessCodeMemory / svcSetProcessMemoryPermission for NRO staging will not boot the two-stage loader; test on real hardware.

Feedback & bug reports

If you hit a black screen, crash, or bug on your Switch, please open an issue with your console model/firmware and attach the logs from sdmc:/switch/emerald-nx/:

  • loader.log (image base, low heap range, and code-memory syscalls)
  • emerald-nx.log (engine runtime log)
  • boot.log (early startup breadcrumbs)

(Tip: Create an empty debug.txt file in sdmc:/switch/emerald-nx/ before launching to enable verbose per-frame and asset diagnostics).

Credits

Built on the work of ZallaxDev (Emerald 3DS), Cer0-D (Emerald Android), toniisound, Alexgg1014, switchbrew (nx-hbloader), devkitPro, and pret/pokeemerald.