Kitty Corp Meow Mix Forums

Help & Tutorials => Tutorials => Programming Tutorials => Topic started by: Kabutomaru on July 17, 2013, 08:50:15 AM

Title: Riivolution Tutorial: How to write and use patches for Brawl (For N00BS)
Post by: Kabutomaru on July 17, 2013, 08: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)
Sorry but you are not allowed to view spoiler contents.
[/quote][/spoiler]

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)

Riivolution ELF File (http://www.dropbox.com/s/zyqcw91d1xa76ec/boot.elf)

Sorry but you are not allowed to view spoiler contents.


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)
Sorry but you are not allowed to view spoiler contents.


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)

Sorry but you are not allowed to view spoiler contents.


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)

It should look like this:
Code (Brawl XML) Select
<wiidisc version="1">
<id game="RSB" />
<options>
<section name="Super Smash Bros Brawl">
<option name="Textures">
<choice name="Enabled">
<patch id="Textures" />
</choice>
</option>
<option name="Music">
<choice name="Enabled">
<patch id="Music" />
</choice>
</option>
</section>
</options>
<patch id="Music">
<folder external="/Super Smash Bros Brawl/Music" recursive="false" />
<folder external="/Super Smash Bros Brawl/Music" disc="/" />
</patch>
<patch id="Textures">
<folder external="/Super Smash Bros Brawl/Textures" recursive="false" />
<folder external="/Super Smash Bros Brawl/Textures" disc="/" />
</patch>
</wiidisc>


I'll explain each part of the XML.

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.

<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.
<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
<patch id="EDIT ME (CAREFULLY)">
<folder external="/EDIT ME (CAREFULLY)" recursive="false" />
<folder external="/EDIT ME (CAREFULLY)" disc="/" />
</patch>


To make it an interchangeable option like
<Example1><Example2>

Paste this:
<choice name="Example 2">
                    <patch id="example2" />
                </choice>


in between the next option like this:
<wiidisc version="1">
    <id game="RSB" />
    <options>
        <section name="Testing">
            <option name="BrawlMods">
                <choice name="Example">
                    <patch id="example" />
                </choice>
                <choice name="Example 2">
                    <patch id="example2" />
                </choice>
            </option>
        </section>
    </options>
    <patch id="example">
        <folder external="/example" recursive="false" />
        <folder external="/example" disc="/" />
    </patch>
    <patch id="example2">
        <folder external="/example2" recursive="false" />
        <folder external="/example2" disc="/" />
    </patch>
</wiidisc>

And edit accordingly.
Title: Re: Riivolution Tutorial: How to write and use patches for Brawl (For N00BS)
Post by: TeamSupreme216 on November 21, 2016, 01:55:58 AM
My gecko Os is code dumping everytime I try.. Help...