This tool is to automate the process of setting all the trainers within Pokemon Black 1, White 1, Black 2, and White 2 to triple battles. It doesn't do anything more than just setting the Battle Type flag in the usable trainers from whatever it is prior, to a triple battle.
These instructions are made for solely the Gen 5 Pokemon games. While support for gen 6 is there, it's a bit of a different process.
This program modifies files within a folder at the binary level. Incorrect usage of this tool can lead to potential data corruption. There are a number of checks in place to mitigate the chances of this occurring, but use this tool at your own risk.
For All Versions
Universal Pokemon Randomizer - Used to randomize the game and set some of the flags that this tool doesn't set. (This tool does require Java to run)
.NET 8 - This tool is written in C#, which requires the .Net Runtime to be installed on your machine. This link should provide the download that fits your OS and processor.
For Generation 5
Nitro Explorer 2 - Used to extract compressed files from the game.
NDS Editor (kiwi.ds) - Used to decompressed the extracted files from the game.
For Generation 6
DotNet 3DS Toolkit - Used to extract compressed files from the game.
GARCTool - Used to decompress the extracted files from the game.
Kazo's B/W Tools - Not required to make everything triple battles, but the included trainer editor can be useful to ensure the tool worked for the generation 5 games.
pk3DS - Not required, but will allow you to view the game's information to ensure the tool worked for the generation 6 games.
It's recommended the watch the following youtube video for clear instructions, but a written guide is provided below:
Youtube Video - For Generation 5 Games
Youtube Video - For Generation 6 Games
Open the Universal Pokemon Randomizer
and load your game into the tool. Most of the settings within here are fair game. Though there are two required settings to set.
Foe Pokemon
, randomize the trainer's pokemon and check Double Battle Mode
. This ensures that the trainer's AI is set to the multi-battle AI, so they won't attack their own pokemon.Foe Pokemon
, check Boss Trainers
, Important Trainers
, and Regular Trainers
under Additional Pokemon for...
. Set the amount of pokemon to add to each group to a minimum of 2
. This will ensure that all trainers have at least 3 pokemon, which is required for the triple battles to activate.Percentage Level Modifier
to around +20%
, since you'll be getting a lot more experience with all the added pokemon, it should even out the level curve.Once all your randomizer settings are set, hit Randomize (Save)
to create your randomized game.
Now open Nitro Explorer 2
and load your randomized game. Within here, you're going to extract the following file depending on which game you're modifying:
a/0/9/2
, name the file trdata.narc
.a/0/9/1
, name the file trdata.narc
.Now open NDS Editor (kiwi.ds)
and drag your trdata.narc
file into the window. Double click on the added entry to the list, check all files within the archive, and extract all files. This should create a folder named trdata
within the same folder as NDS Editor
with the specified number of files within it:
trdata.narc
is in a different directory than the kiwi.ds
executable. Otherwise, you might get an error about overwriting files when trying to extract the files.kiwi.ds
has a bug where if you have a non-english character within the filepath to your trdata.narc
file, it'll throw an Unsupported File Type error. An easy way around this issue is to put the trdata.narc
file onto a flashdrive and drag it into kiwi from there.Now in the Triple Battle Converter folder, double-click on TripleBattleConverter2.exe
and a small window should pop-up.
Within the window, click on the Browse...
button and navigate to the newly created trdata
folder. Select it and click Select Folder
.
Select which game you're converting below, and then click the Convert
button.
If all went well, you should see a window pop-up with Modified 616/814 Trainers inside. That means all the trainers are now triple battles!
Now reopen NDS Editor (kiwi.ds)
, and in the toolbar, go Tools > Make Narc File...
. In the upper field, select the path to the trdata
folder that we just modified and click OK
. You should now have a new trdata.narc
file within the same folder as the NDS Editor (kiwi.ds)
.
Now reopen Nitro Explorer 2
, load your randomized game, and navigate to the same file that you extracted. Instead of extracting, you're now going to select Reinsert
. Navigate to the trdata.narc
file you've created and select it. The status bar at the bottom should now say Reinserted 1/2 successfully
. Your game is now ready to play!
Now open DotNet 3DS Toolkit
, which is with ToolkitForm.exe
. Under the Extract
tab, set the following fields:
Source ROM
, browse for your randomized generation 6 game.Output Directory
, create a new folder on your desktop for ease of access and select that as the destination.Options
, leave Auto
selected.Now click the Extract
button. It might take a while, but it'll eventually say Ready
in the bottom-left corner for once it's completed.
Now open GARCTool
and select Open File
. Browse within your new folder into the RomFS
folder and navigate to the file of your game:
a/0/3/8
.a/0/3/6
.Extract the selected file. It should say that it unpacked X amount of files from the GARC:
Navigate to that directory you just extracted the files out of and you should see a folder named #_
, rename this folder to trdata
.
Now in the Triple Battle Converter folder, double-click on the Triple Battle Converter tool pertaining to your OS and a small window should pop-up.
Within the window, click on the Browse...
button and navigate to the newly renamed trdata
folder. Select it and click Select Folder
.
Select which game you're converting below, select what type of battle you'd like, then click the Convert
button.
If all went well, you should see a window pop-up with Modified 785/950 Trainers inside. That means all the trainers are now converted!
Now go back to the GARCTool
and select Open Folder
. Browse to your modified trdata
folder, select it, and click process.
Navigate back to the directory with your newly created trdata.garc
file. Delete your trdata
folder and the original garc file (either 6
or 8
, depending on which game your modifying). Rename your newly created trdata.garc
file to the file you just deleted.
Now go back to the DotNet 3DS Toolkit
and go to the Build
tab. The settings within this tab should be as followed:
Source Directory
, browse to the new folder that you created on your desktop.Output ROM
, browse to where you'd like the finished ROM to go and give it a name.Output ROM Format
, select 0-Key Encrypted CCI (for Gateway)
.Now click the Build
button and a new window should pop-up showing the rebuilding process. Once that's complete, you're done building your game!
There are a handful of trainers in each game that aren't triple battles. This seemed by design from the Universal Randomizer, so I followed their example. They are the following:
Also, it appears that most route trainer battles don't initiate if you don't have enough pokemon in your team to start the battle. Some scripted battles, like rival battles and gym battles still seem to work. Just ensure you have 3 non-fainted pokemon in your team at all times for full functionality.