Skip to content

Project template to develop DS hombrew using Rust

Notifications You must be signed in to change notification settings

BlueTheDuck/rust-nds-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-nds-template

Project template to develop DS hombrew using Rust

Setup

Make sure you have installed the devkitPro toolchain Getting Started, just Rust is not enough.

Copy this template to its own place, either using the "Use this template" button on GitHub or downloading it as Zip. (Just make sure the Git repo doesn't point to this repo)

After that just update the Cargo.toml and start editing the template!

Usage

The Makefile contains the commands (and wrappers) you need to build the project:

  • make build: Calls cargo build and creates the .nds
  • make clean: Calls cargo clean and deletes all .nds
  • make update: Calls cargo update with some configuration
  • make run: Calls make build and runs the ROM in melonDS (configurable, change runner in Makefile) By default a release version is built. Use DEBUG=1 (e. g.: make DEBUG=1 run) to build debug versions

You shouldn't call Cargo directly, since it will only build the .elf (the code of your ROM)

About

Project template to develop DS hombrew using Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published