0xreversed/with.ai
Games and modsPartialSource available
Target: Kirikae

Kirikae Static Recompiler

by Cor3Duo Repository0 views
Platform
Windows x64, Linux x64
Outcome
Partial

Evidence at a glance

Based on the linked sources. The author's reported result and independent confirmation are separate checks.

AI involvement
Model not reported. Tools: Rust, Cranelift, Vulkan, MSVC linker. The writeup below describes the work attributed to AI.
Reported result
Partial. This is the directory's source-based outcome classification.
Independent confirmation
Not reported.
Human work and limitations
Not reported in this entry. Missing information does not imply that no human work or limitations were involved.

Original sources

What was done

Kirikae is a Rust-based static recompiler that translates Nintendo Switch executables into native Windows or Linux programs. It is currently in an early preview stage, supporting base game execution with known limitations regarding stability and feature coverage.

Kirikae is a static recompiler designed to translate Nintendo Switch executables into native PC programs. The project is written in Rust, utilizing the Cranelift backend for code generation. The recompiler functions by lifting ARM64 instructions into an intermediate representation, which is then compiled into native code. At runtime, a custom runtime environment (kirikae-rt) manages the guest address space, kernel services, and GPU operations via Vulkan. The project includes a profile-guided mechanism where code not identified by static analysis is executed via an interpreter and subsequently compiled in future builds. The README documents that while Kirikae can play complete commercial games, it is in an early preview state and has only been tested on a limited number of titles. Users should expect crashes, missing services, and rendering bugs. Updates and DLC are not currently supported. Development activity is ongoing, with recent commits focusing on NVN command buffer modeling and register prediction for graphics drivers. Documentation is available at https://raw.githubusercontent.com/cor3duo/kirikae/HEAD/README.md.

Reproduce it

setup
kirikae build game.dnsp -o out