Skip to content

Releases

KRTDLRecomp v0.2.0 - Complete Windows Distribution

Choose a tag to compare

@star-recomp-switch star-recomp-switch released this 30 Nov 21:00

KRTDLRecomp v0.2.0 - Complete Windows Distribution

🎉 Major Release: Complete Ready-to-Use Distribution

This release includes a complete Windows distribution package with everything needed to recompile Kirby's Return to Dream Land Deluxe to native Windows. No compilation of runtime libraries required!

📦 Distribution Package: krdtlrecomp-windows-v0.1.0-full.zip (3.3 MB)

✅ What's Included

Generator Tool

  • bin/krdtl_gen.exe - NSO → C code generator

Pre-built Static Libraries (20+)

  • KRTDL Runtime: krdtl_rt.a, krdtl_nvn.a, krdtl_shader.a, krdtl_bfres.a, krdtl_kfl.a, krdtl_hle.a, krdtl_nso.a, krdtl_codegen.a, krdtl_translator.a
  • SwitchRecomp Core: sr_runtime.a, sr_ir.a, sr_translator.a, sr_codegen.a, sr_platform.a, sr_gpu.a, sr_common.a
  • Dependencies: opus.a, imgui.a, gtest.a, gmock.a

Public Headers (include/krdtl/)

  • Runtime, NVN, Shader, BFRES, KFL, HLE, NSO, Codegen, Translator modules

Pre-translated Shaders (30 SPIR-V files)

  • shaders/main_shader_0.spv through main_shader_29.spv
  • pipeline_cache.bin

Build System

  • CMakeLists.txt template for building generated code
  • Comprehensive README.md with full usage instructions

🚀 Quick Start

# 1. Extract the distribution
unzip krdtlrecomp-windows-v0.1.0-full.zip

# 2. Generate native code from your legal game dump
bin\krdtl_gen.exe --exefs "C:\ExeFS" --romfs "C:\RomFS" --keys "C:\prod.keys" --out "C:\output\krdtl"

# 3. Build the native game
cd C:\output\krdtl
mkdir build && cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DKRTDL_RUNTIME_DIR=..\..\krdtlrecomp-windows ..
ninja

# 4. Play!
.\bin\krdtl_game.exe

📋 Requirements

  • Windows 10/11 x64
  • Vulkan 1.3 compatible GPU
  • AVX2/FMA capable CPU
  • 8GB+ RAM

⚖️ Legal

This tool contains ZERO Nintendo copyrighted material. You must provide your own legally obtained game files:

  • ExeFS directory from your game cartridge/eShop download
  • RomFS directory from your game cartridge/eShop download
  • prod.keys dumped from your own Switch console

We provide NO tools or instructions for obtaining game files or keys.

🔧 Changelog v0.2.0

  • Complete Windows distribution package (no runtime compilation needed)
  • Cross-platform mkdir fix (Windows _mkdir, Linux mkdir with mode)
  • Cross-platform popen/pclose support
  • Zstd detection fix (FindZstd.cmake with CONFIG mode)
  • All class exports fixed (KRTDL_API for SaveDataManager, ShaderTranslator, Decoder, SpvBuilder)
  • Generator API updated to use kr::SrCpuState
  • CI fixes: Zstd detection, test skipping, verify generator step

KRTDLRecomp v0.1.0 (Windows)

Choose a tag to compare

@star-recomp-switch star-recomp-switch released this 30 Nov 20:35

Windows build of KRTDLRecomp Generator and Runtime

What's Included

  • krdtl_game.exe - Main game executable (Windows x64)
  • Generator: krdtl_gen.exe (in the main repo build)
  • Runtime libraries: krdtl_rt, krdtl_nvn, krdtl_shader, krdtl_bfres, krdtl_kfl, krdtl_hle, krdtl_nso, krdtl_codegen, krdtl_translator

Requirements

  • Windows 10/11 x64
  • Vulkan 1.3 compatible GPU
  • AVX2/FMA capable CPU

Usage

  1. Run the generator to create native C code from your game dump:
    krdtl_gen.exe --exefs <path> --romfs <path> --keys <path> --out <output_dir>
    
  2. Build the generated code:
    cd <output_dir>
    mkdir build && cd build
    cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DKRTDL_RUNTIME_DIR=../../..
    ninja
    

Source

Built from commit: