Help & Tutorials => Programming Tutorials => Topic started by: Kabutomaru on July 17, 2013, 02:50:15 AM
Title: Riivolution Tutorial: How to write and use patches for Brawl (For N00BS)
Post by: Kabutomaru on July 17, 2013, 02:50:15 AM
(http://www.nintendoworldreport.com/media/0/1/776.jpg) Riivolution - Super Smash Bros. Brawl Texture Hacks (http://www.youtube.com/watch?v=ZodeoqCuX0A#)
If you have been wanting to learn how to use Riivolution, and how to write your own patches for it, you've come to the right place. Riivolution is a loader that loads various modifications on your SD Card, and patches it in to the game. However, Riivolution needs an XML telling it to load those files and which path on your SD Card it should take to load the files.
Riivolution 1.05 does not load Brawl properly. It will freeze at the strap loader and you won't be able to load ANY mods with it. Use 1.04 if you want to load mods. (Or use Gecko OS to load the File Patch Code)
Quote
This will allow you to load codes for most any Wii game. It is definitely needed if you plan on using the File Patch Code, a popular method of loading Brawl hacks. You can either use this or Riivolution to load files.
1. Download Gecko OS here: [url]http://wiird.l0nk.org/projectfiles/Gecko1931.zip.[/url] ([url]http://wiird.l0nk.org/projectfiles/Gecko1931.zip.[/url]) 2. Extract the file to your computer. 3. Go to Gecko1931 > Gecko1931 > HBC > Gecko1931. 4A. If you are using the Homebrew Channel, copy the last "Gecko1931" folder and paste it into your "apps" folder. 4B. If you are using any other method, copy the "boot.elf" file out of the "Gecko1931" folder and paste it into the root of your SD Card. 5. Create a folder on the root of your SD Card called "codes". 6. Download the Code Manager here: [url]http://www.mediafire.com/?e2dzz7zdmcds252.[/url] ([url]http://www.mediafire.com/?e2dzz7zdmcds252.[/url]) 7. Extract it somewhere on your computer. I've included a basic .txt file for using the File Patch code. (NTSC-U only though. PAL and NTSC-J users will have to create their own, sorry.) 8. Open the Code Manager. Look to where it says "Game ID". Fill this in with the ID of the game you are making the codes list for. (Ex. Brawl's ID is RSBE01 for NTSC-U, RSBP01 for PAL, and RSBJ01 for NTSC-J) Go to where it says "Game Name" and type in the name of the game. 9. Find the codes that you want to use. A couple of good sites to check out are [url]http://geckocodes.org/[/url] ([url]http://geckocodes.org/[/url]) and [url]http://board.gscentral.org/forum.php.[/url] ([url]http://board.gscentral.org/forum.php.[/url]) 10. To add a code, click on "Add a code/comment/category" and type in a name for the code. It should appear in bold. Click on it, then copy and paste the code into where it says "Code contents". Make sure to click "Store modifications" after you paste in the code. 11. When you are done adding codes, go to File > Save as TXT File. Then, make sure your SD Card is in the computer and click "Export to GCT". Select the drive for your SD Card and click on "Store".
However, if you do not want to write an XML, and just want to load some modifications, download this XML. (http://www.dropbox.com/s/zyaxpxz5sz23usy/Mods%20for%20Brawl.zip)You create a "riivolution" folder on the SD Card, extract the zip file (that you downloaded), place the XML in the "riivolution" folder and place the "Super Smash Bros Brawl" folder on the root of the SD Card. Place the hacks in their respective folders.
Textures: Menus, Textures Music: Music xD
For tutorials on how to make your own mods, visit the respective links below.
Super Noob Guide To Texture Hacking (with Brawlbox) (http://forums.kc-mm.com/index.php?topic=9241.0) Guide To Stages (http://forums.kc-mm.com/index.php?topic=13377.0) Music Guide and FAQ (http://forums.kc-mm.com/index.php?topic=9.0) DAE Model Importing for Dummies (http://forums.kc-mm.com/index.php?topic=41996.0) SFX in your game (http://forums.kc-mm.com/index.php?topic=31609.0)
The guides above are relatively easy to follow, and should not give too much trouble.
Now, where can you find hacks you want? Right here at KC-MM. Brawl Vault (http://forums.kc-mm.com/Gallery/BrawlView.php) is a great place to start finding hacks.
But first, to use Riivolution, we need to first install it onto our Wii system. There are a handful of ways to do this, but are pretty simple.
First Method: SmashStack (Works with ALL system Menus) (http://wiibrew.org/w/images/4/4e/Smashstack.zip)
Note: An SDHC card will not work with Super Smash Brothers Brawl. You must have an SD card that is 2GB or less. Go to the stage builder, move any existing custom stages on Brawl to your SD card, and exit the stage builder. Smash Stack will not work if the console has any custom stages on it, even the three samples that come with a new file or the stages from the Smash Service. You will need to wait at least 24 hours for the stage from the Smash Service to be automatically deleted before trying to run this exploit. DO NOT go on Wi-Fi once the Smash Service stage is deleted. Connect the SD card to your computer and rename the "private" folder to "privateold" in the root of the SD card. Copy the "private" folder from the Smash Stack download to the root of the SD card. Grab a Riivolution .elf file (download is above) and put that in the root of the SD card. Insert the SD card into the Wii. Go back to the stage builder and the .elf file will load. Press "Install" on the right of the application. (However , if you don't want to install it, you will have to load it through that method every time you load a hack.
Method 2: Bannerbomb (Only for Wii System Menu's 4.1 and Below) (http://bannerbomb.qoid.us/index.old.php) Method 2: Bannerbomb (Only for Wii System Menu 4.2 ) (http://bannerbomb.qoid.us/index.new.php) Riivolution ELF File (http://www.dropbox.com/s/zyqcw91d1xa76ec/boot.elf)
Quote from: Wiibrew
If your SD card has a private directory with saved channels, rename it temporarily, e.g. to "privateold". Having other saved channels on the same card will screw it up. (You can skip this step if you don't have any channels on the SD card. Saves are fine.) Copy the Bannerbomb "private" folder to the root of your SD card. Take your Wii executable, name it "boot.dol" or "boot.elf" if it isn't already, and save it in the root directory of your SD card. Put your SD card in your Wii and turn it on. For Bannerbomb v1: Go into Wii Options --> Data Management --> Channels --> SD Card. For Bannerbomb v2: Go to the SD Card Menu on the main System Menu screen A message should appear asking to "load boot.dol/.elf". If it freezes or does not appear, download the next .zip file from the Bannerbomb website and start over. The homebrew on your SD card will load. Press the install button in Riivolution.
Method 3: LetterBomb (Only for Wii System Menu 4.3 and has internet) (http://please.hackmii.com/) Riivolution ELF File (http://www.dropbox.com/s/zyqcw91d1xa76ec/boot.elf)
Quote from: Wiibrew
Letterbomb Go to please.hackmii.com Select your region On the wii, go to Wii Options>Wii Settings>page 2>Internet>Console Information. Enter your MAC Address into the boxes on please.hackmii.com Make sure the HackMii installer isn't bundled with your download Cut the red wire to download the .zip file and unzip it Copy "private" folder and "boot.elf" to your SD Card (Can also be SDHC) Insert the SD card to your Wii and go to Wii Messageboard You should see a red envelope looks like the one on "please.hackmii.com". Click it, and it will load Riivolution. Press the "Install" button.
Writing Patches for Riivolution
Before you start the guide, you might want to have these tools to edit the XML's.
Notepad ++ (http://notepad-plus-plus.org/download/v6.4.2.html) This XML (http://www.dropbox.com/s/zyaxpxz5sz23usy/Mods%20for%20Brawl.zip) Look at this page. It helped me a lot and gave very nice details. (http://rvlution.net/wiki/Patch_Format) Some knowledge on typing. Some time. Patience.
OK, first open your XML in Notepad++. (Regular Notepad doesn't do it correctly, Formatting errors)
ID Game: The region of wii this works on. Section Name: The bar at the top showing the name of the pack. You can edit this to your liking. Option Name: The name of the option on the left side. Edit this to your liking. Choice Name: The name of the choice on the right side. Again, you can edit this to your liking. Patch ID: This is important. This is the folder that will contain your selected hacks. Folder External: The external folder on the root. You need to edit this to be the same as your Patch ID. False: This determines if you add extra files on the disc.
I will tell you what should be edited and what not to be edited.
Code:
<wiidisc version="1"> <id game="RSB" /> <options> <section name="EDIT ME"> <option name="EDIT ME"> <choice name="EDIT ME (CAREFULLY)"> <patch id="EDIT ME (CAREFULLY)" /> </choice> </option> <option name="EDIT ME "> <choice name="EDIT ME "> <patch id="EDIT ME (CAREFULLY)" /> </choice> </option> </section> </options> <patch id="EDIT ME (CAREFULLY)"> <folder external="/EDIT ME (CAREFULLY)" recursive="false" /> <folder external="/EDIT ME (CAREFULLY)" disc="/" /> </patch> <patch id="EDIT ME (CAREFULLY)"> <folder external="/EDIT ME (CAREFULLY)" recursive="false" /> <folder external="/EDIT ME (CAREFULLY)" disc="/" /> </patch> </wiidisc>
To add extra options, paste this into the XML between the </option> and </section> tags. Edit accordingly.
Code:
<option name="EDIT ME"> <choice name="EDIT ME (CAREFULLY)"> <patch id="EDIT ME (CAREFULLY)" /> </choice> </option>
Now paste this in between </patch> and </wiidisc> tags. Edit accordingly
Code:
<patch id="EDIT ME (CAREFULLY)"> <folder external="/EDIT ME (CAREFULLY)" recursive="false" /> <folder external="/EDIT ME (CAREFULLY)" disc="/" /> </patch>