# New Rust Project Targets Pokémon Gen V Static Recompilation

> An early Rust foundation named gen5-recomp aims to bring Pokémon Generation V to PC via static recompilation, starting with Black 2 and White 2.

- Published: 2026-10-31T18:20:38Z
- Score: 7/10
- Tags: recomp, tool
- Port / platforms: DS -> PC (Windows) (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/gen5-recomp-rust-ds-engine/
- Sources: https://github.com/danicenador/gen5-recomp

A new project brings static recompilation to the Nintendo DS era. Developer [gen5-recomp](https://github.com/danicenador/gen5-recomp) has published an early Rust-based engine targeting Pokémon Generation V, starting with *Pokémon Black 2* and *White 2*.

The project features a CLI ROM explorer that validates NDS headers, parses NitroFS tables, and caches game assets locally without emulation. It also extracts ARM9 and ARM7 binaries, decompresses overlays, and runs recursive function analysis.

Initial analysis decodes roughly 39,950 functions for *Black 2* and *White 2* with over 79% code coverage across overlays. *Black* and *White* hit roughly 34,680 functions with over 82% coverage.

### How to try it

You need your own ROM dump.

1. Clone the repository from GitHub.
2. Run `cargo run -- inspect` with your ROM path to verify headers.
3. Use `cargo run -- import` to extract assets and binaries into the local cache.
4. Run `cargo run --release -- analyze` to generate function maps.

It is an early foundation, and the game logic is not recompiled yet. The pipeline from raw ROM to decoded ARM code is working.
