Skip to content

AmyE123/CT6TARPS

Repository files navigation

CT6TARPS

vlcsnap-2024-05-08-10h12m40s143 Exploring NDS development by creating a rhythm game, which has a tool to create custom rhythm ROMS.

Table of Contents

  1. Prerequisites
  2. How To Create Your Own NDS Rhythm Game
  3. Coding Standards

Prerequisites

These are prerequisites for if you would like to use this to create your own rhythm game for NDS.

Note: I'm unsure of whether all of these need to be installed, as I haven't had time to test this out from a fresh PC.

How To Create Your Own NDS Rhythm Game

  1. Find a copy of the music you would like to use for your rhythm game. This music needs to be a .wav, and it also needs to be very compressed, to around 3mb or so. I haven't tested any higher than this, but if it is too big you would get an error when building the ROM. Here is an online tool I've used for compressing my .wav files.

  2. Open Audacity and import the .wav file. Now we will be recording the timestamps. Whilst playing the music, you can use ctrl + m to make a label whilst the music is playing, make these labels to the beat of the song! If you spam the labels too fast, it may break the game though, so don't go too crazy.

image

  1. Once this is complete, go to File > Export > Export Labels... and locate the repository you just downloaded. Within the repository go to the Tools folder and find the timestamps.txt file. Overwrite this with your timestamps.

image

image

  1. Once this has saved, open the file explorer and go to the same Tools folder within the repository again. Double check the timestamps.txt file has been overwritten with your new timestamps, and if it looks good, open the ConvertTimestamps.exe executable. This will convert your timestamps into frames, and put this text within the framestamps.txt file within that same folder.

image

  1. Now you want to go back to the root of the repository and open the NDSRhythmMaker.exe executable. image

  2. Add your compressed .wav file, and your new framestamps file.

image

  1. Press the 'Export' button. You should see some text on the terminal, and you should see a new folder within the repository that has just been made. If you selected NDS, the folder would be [songname]_NDS and if you selected emulator, the folder would be [songname]_Emulator

image

  1. With this successfully made, press the 'Create NDS File` button, and check the terminal for text stating the file has been created successfully. If you get an error code, try compressing your wav file more, or reduce the amount of beats you're recording. image

Flashcart Info

If you're using a flashcart to test your rhythm game, create a folder in the root of your SD card called app_data, and within this folder, copy the contents of the app_data folder within the new generated project files. This should just be the framestamps text file. image

Coding Standards

C Style Guidelines

The C code within this project mainly follows Paul Krzyzanowski's C Programming Style guide, which was summarised in the University of Maryland Department of Computer Science's C Style Guidelines

Assembly Style Guidelines

The assembly-code within this project follows Ken Lambert's Assembly Language Style Guide

About

A tool to create your own NDS rhythm game. Created for my CT6TARPS module.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published