#nintendo-switch #game-modification #modify #patch #game-modding

nightly no-std skyline

A library for helping patch and modify Nintendo Switch games

5 releases (breaking)

0.5.1 Aug 16, 2025
0.5.0 Aug 15, 2025
0.4.0 Aug 7, 2025
0.3.0 Jul 26, 2025
0.1.0 Sep 8, 2020

#116 in Games

Download history 222/week @ 2025-08-27 268/week @ 2025-09-03 373/week @ 2025-09-10 248/week @ 2025-09-17 235/week @ 2025-09-24 260/week @ 2025-10-01 197/week @ 2025-10-08 241/week @ 2025-10-15 242/week @ 2025-10-22 210/week @ 2025-10-29 251/week @ 2025-11-05 214/week @ 2025-11-12 214/week @ 2025-11-19 216/week @ 2025-11-26 209/week @ 2025-12-03 166/week @ 2025-12-10

834 downloads per month
Used in 3 crates

MIT license

57KB
1.5K SLoC

skyline-rs

A Rust library for working with Skyline to allow you to write game code modification for Nintendo Switch games using Rust.

For no_std use, disable the std feature (enabled by default).

Suggested for use with cargo-skyline.

Example:

extern "C" fn test() -> u32 {
    2
}

#[skyline::hook(replace = test)]
fn test_replacement() -> u32 {

    let original_test = original!();

    let val = original_test();

    println!("[override] original value: {}", val); // 2

    val + 1
}

#[skyline::main(name = "skyline_rs_template")]
pub fn main() {
    println!("Hello from Skyline Rust Plugin!");

    skyline::install_hook!(test_replacement);

    let x = test();

    println!("[main] test returned: {}", x); // 3
}

Dependencies

~2MB
~46K SLoC