# New static recompiler tg16kit turns the entire PC Engine and TurboGrafx-16 library into native C++

> tg16kit is a new static recompiler for PC Engine and TurboGrafx-16 that compiles the whole library into native C++ code running frame-identical.

- Published: 2026-11-01T10:20:28Z
- Score: 7/10
- Tags: recomp, tool, pc
- Port / platforms: - -> PC (Windows), Linux / Steam Deck (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/tg16kit-static-recompilation-pc-engine/
- Sources: https://github.com/vs-sr-dev/tg16kit

Developers released **tg16kit**, a new static recompiler for the **PC Engine** and **TurboGrafx-16** (1987) consoles. The toolkit converts games into native C++ using a HuC6280-to-C++ recompiler, and a runtime that replaces the console's VDC, VCE, and PSG chips runs under the recompiled code.

According to the repository, all 423 cards from MAME's software lists recompile, build, and run frame-for-frame identical to the interpreter over 6,000 test frames. The ROM set is not distributed, so you need your own dumps. 140 of the 423 never touch the interpreter, and 402 interpret fewer than 100 instructions a frame. Sound support includes all six PSG channels alongside DDA and noise.

To try it out:

1. Run `python -m tg16kit.play "genjin"` to find, recompile, and play a game in a window.
2. Execute `python -m tg16kit.cart --collect SETDIR tg16kit/TurboGrafx-16` to collect listed dumps by CRC.
3. Recompile and build a game with `python -m tg16kit.recomp ROM.pce --trace build/trace/GAME --out build/recomp/GAME --build`.
