Skip to content

Getting Started

Tom Sherman edited this page Feb 20, 2017 · 19 revisions

There are a couple steps that need to be done before we can start writing code.

Dependencies

In order to run code from this tutorial it is necessary to have WiiMake installed. This program compiles, allocates, links, and injects C source code into an .iso file. The README on the front page on the repository (previous link) explains how to install wiimake on your computer. Setting up a config file for wiimake is covered in each of the examples contained in this tutorial.

Creating a backup ISO

First, you should acquire a Super Smash Bros. Melee (v1.02) iso. The PAL version of the game will eventually be supported, but for now NTSC 1.02 is the required version of the game. We are going to be heavily modifying this .iso file so it is useful to create a backup of the vanilla version of the game. WiiMake provides a tool for doing exactly this. Run the following command to create the backup.

wiimake-isotool [MELEE.ISO] --save vanilla_melee.data

and replace [MELEE.ISO] with the path to your iso file. Whenever you want to restore your iso to its vanilla state, simply run:

wiimake-isotool [MELEE.ISO] --load vanilla_melee.data

If you ever encounter run time errors with your code, the first thing to try is to restore the .iso to its vanilla state and re-run wiimake.

Next Section

Now that you have wiimake installed and your backup iso, it's time to start with a simple example.

[Next Section: Simple Test Program](https://github.com/sherman5/MeleeModdingLibrary/wiki/Simple Test Program)

Clone this wiki locally