PyotrLuzhin
Smash Journeyman
Yes, it's finally here, everyone. We've finally managed to enable PM+BrawlEX compatibility.
DOWNLOAD (current version: V.0.3)
How to add clones:
STEP 1 - Background:
In BrawlEX, clones consist of a module, a fighter folder, and four config .dat files. You've probably seen the first two types of files before. The module (ft_fighter.pac) tells the game how to build the fighter, the fighter folder contains the fighter's moveset (FitFighter.pac, FitFighterMotionEtc.pac), costumes (FitFighterXX.pac/pcs), and Final smash/Spy files.
Before you do anything, visit PhantomWing's BrawlEX release thread to download the BrawlEX character CosmeticConfig and SlotConfig templates, which are included in the BrawlEX 2.0.0.0 download.
Then, download HxD - you'll be using it to edit CSSSlot configs and Cosmetic configs
HERE is a mirror for BrawlEX 2.0.0.0, in case you can't access KC:MM due to server problems.
However, DO NOT USE THE EXMODULES IN THE BRAWLEX 2.0.0.0 DOWNLOAD! They are NOT compatible with BrawlEX+PM. Instead, use the EXModules included in my template download when you add characters to your game. They have been properly configured to access PM variables.
The other four files may seem unfamiliar to a BrawlEX newcomer. The first type of config I'll review is the FighterConfig. PhantomWing's BrawlEX master post defines the following parameters in FighterConfig:
As you can see, the FighterConfig contains much of the internal character data used by the game. For those familiar with PM's clone engine, it's kind of like an instance slot. You can edit this file with the BrawlEX Config Utility. Do NOT use the "Clone Tool" application for this purpose, as it's outdated. However, it does do an excellent job of renaming fighter folder files (the movesets and costumes in the fighter folder), so I'd recommend using it for that only.
Then, we have the Slot config files. These allow transforming characters to behave properly, and contain miscellaneous fighter info like victory themes.
You generally won't have to mess with these very much.
Now, we have the CSSSlotConfig, which you'll need to edit to enable extra costumes in your character
When changing a character's costumes, which start at 0x20 as stated in the above spoiler, refer to THIS GUIDE. It's by far the best I've found online. Open your CSSSlot config in HxD (which you should have downloaded if you're this far in the guide; if not, go back and download it lol), go to offset 20, and add in your slot colors in hex.
Finally, we have Cosmetic configs, which you'll need to edit to give your characters custom portraits for the CSS, their victory text name, and more.
Before you start editing this file, read THIS GUIDE by CommittedHail on how to give your character custom cosmetics in sc_selcharacter.pac, info.pac, and all of the other UI files - I won't be covering that here. Add all of your cosmetics before you try to edit the config file so that you don't interfere with anything already in the template.
Open your Cosmetic config in HxD, and go to offset 10. Change the first two bytes to match the hex ID of the Cosmetic ID you chose for your textures. For example, if you picked 121 for your character's portraits (so you named them .1211,.1212, etc), then your cosmetic ID would be 79.
STEP 2 - SETTING UP YOUR CLONE:
As an example, I'll walk you through how to make a clone with an ID of 41
First, grab the SlotConfig and CosmeticConfig templates MATCHING THE CHARACTER YOU WANT TO CLONE from the BrawlEX 2.0.0.0 download, and name them Slot41.dat and Cosmetic41.dat.
Then, go to private\wii\app\RSBE\pf\BrawlEx on your SD card and copy the CSSSlot.dat and the Fighter.dat of the character you wanted to clone (for mario, it would be CSSSlot00.dat, for instance), and name them CSSSlot41.dat and Fighter41.dat.
Refer to the subsections in Step 1 for more detailed editing procedures for individual files.
MISCELLANEOUS
Report any bugs you find here!
Thanks, and I hope you all enjoy this!
DOWNLOAD (current version: V.0.3)
How to add clones:
STEP 1 - Background:
In BrawlEX, clones consist of a module, a fighter folder, and four config .dat files. You've probably seen the first two types of files before. The module (ft_fighter.pac) tells the game how to build the fighter, the fighter folder contains the fighter's moveset (FitFighter.pac, FitFighterMotionEtc.pac), costumes (FitFighterXX.pac/pcs), and Final smash/Spy files.
Before you do anything, visit PhantomWing's BrawlEX release thread to download the BrawlEX character CosmeticConfig and SlotConfig templates, which are included in the BrawlEX 2.0.0.0 download.
Then, download HxD - you'll be using it to edit CSSSlot configs and Cosmetic configs
HERE is a mirror for BrawlEX 2.0.0.0, in case you can't access KC:MM due to server problems.
However, DO NOT USE THE EXMODULES IN THE BRAWLEX 2.0.0.0 DOWNLOAD! They are NOT compatible with BrawlEX+PM. Instead, use the EXModules included in my template download when you add characters to your game. They have been properly configured to access PM variables.
The other four files may seem unfamiliar to a BrawlEX newcomer. The first type of config I'll review is the FighterConfig. PhantomWing's BrawlEX master post defines the following parameters in FighterConfig:
0x00 Tag ("FITC" or "FCFG")
0x04 File Size (0x100)
0x08 Version (2)
0x0C Edit Flags
0x10 Entry .Pac Color Flag
0x11 Result .Pac Color Flag
0x12 KirbyCopy .Pac Color Flag
0x13 Character Load Flags
0x14 **Final .Pac Color Flag
0x16 Color .Pac Flags
0x18 Entry Article Flag
0x1C Sound Bank
0x20 Kirby Sound Bank
0x30 .Pac Resource String (0x30 chars)
0x60 KirbyCopy .Pac Resource String (0x30 chars)
0x90 Module Resource String (0x20 chars)
0xB0 Internal Name (0x10 chars)
0xC0 IC-Constants
0xF8 Texture Load Function (0, 1, 2, 3, 4, or 5)
0xFC AI Controller (fighter Id)
Edit Flags: None
0x04 File Size (0x100)
0x08 Version (2)
0x0C Edit Flags
0x10 Entry .Pac Color Flag
0x11 Result .Pac Color Flag
0x12 KirbyCopy .Pac Color Flag
0x13 Character Load Flags
0x14 **Final .Pac Color Flag
0x16 Color .Pac Flags
0x18 Entry Article Flag
0x1C Sound Bank
0x20 Kirby Sound Bank
0x30 .Pac Resource String (0x30 chars)
0x60 KirbyCopy .Pac Resource String (0x30 chars)
0x90 Module Resource String (0x20 chars)
0xB0 Internal Name (0x10 chars)
0xC0 IC-Constants
0xF8 Texture Load Function (0, 1, 2, 3, 4, or 5)
0xFC AI Controller (fighter Id)
Edit Flags: None
Then, we have the Slot config files. These allow transforming characters to behave properly, and contain miscellaneous fighter info like victory themes.
Slot Config0x00 Tag ("SLTC")
0x04 File Size (0x40)
0x08 Version (2)
0x0C Edit Flags
0x10 *Slot Characters (0x10 bytes)
0x20 Victory Fanfare
0x24 Record ID (0x1 byte)
0x28 **Victory AnnouncerCall
0x30 **Victory Camera Distances (0x10 bytes)
Edit Flags:
0x01: Set Slot Characters
* Not set unless specified in Edit Flags.
** Version 2 Only.
0x04 File Size (0x40)
0x08 Version (2)
0x0C Edit Flags
0x10 *Slot Characters (0x10 bytes)
0x20 Victory Fanfare
0x24 Record ID (0x1 byte)
0x28 **Victory AnnouncerCall
0x30 **Victory Camera Distances (0x10 bytes)
Edit Flags:
0x01: Set Slot Characters
* Not set unless specified in Edit Flags.
** Version 2 Only.
Now, we have the CSSSlotConfig, which you'll need to edit to enable extra costumes in your character
CSS Slot Config
0x00 Tag ("CSSC")
0x04 File Size (0x40)
0x08 Version (2)
0x0C Edit Flags
0x10 *Primary Character (Slot)
0x11 *Secondary Character (Slot)
0x12 Record Slot
0x13 *Cosmetic Slot
0x14 Wiimote SFX
0x18 Blank
0x1C Status
0x20 Slot Colors (0x20 bytes)
Edit Flags:
0x01: Set Primary Character, Secondary Character
0x02: Set Cosmetic Slot
* Not set unless specified in Edit Flags.
0x00 Tag ("CSSC")
0x04 File Size (0x40)
0x08 Version (2)
0x0C Edit Flags
0x10 *Primary Character (Slot)
0x11 *Secondary Character (Slot)
0x12 Record Slot
0x13 *Cosmetic Slot
0x14 Wiimote SFX
0x18 Blank
0x1C Status
0x20 Slot Colors (0x20 bytes)
Edit Flags:
0x01: Set Primary Character, Secondary Character
0x02: Set Cosmetic Slot
* Not set unless specified in Edit Flags.
Finally, we have Cosmetic configs, which you'll need to edit to give your characters custom portraits for the CSS, their victory text name, and more.
Cosmetic Config0x00 Tag ("COSC")
0x04 File Size (0x40)
0x08 Version (2)
0x0C Edit Flags
0x10 Cosmetic ID
0x11 Unknown
0x12 *Primary Character (Slot)
0x13 *Secondary Character (Slot)
0x14 Franchise
0x15 Unknown3
0x16 Unknown4
0x17 Unknown5
0x18 Announcer SFX
0x1C Unknown6
0x1D Unknown7
0x1E Unknown8
0x1F Unknown9
0x20 Victory Name (0x20 chars)
Edit Flags:
0x01 Set Primary Character, Secondary Character
* Not set unless specified in Edit Flags.
0x04 File Size (0x40)
0x08 Version (2)
0x0C Edit Flags
0x10 Cosmetic ID
0x11 Unknown
0x12 *Primary Character (Slot)
0x13 *Secondary Character (Slot)
0x14 Franchise
0x15 Unknown3
0x16 Unknown4
0x17 Unknown5
0x18 Announcer SFX
0x1C Unknown6
0x1D Unknown7
0x1E Unknown8
0x1F Unknown9
0x20 Victory Name (0x20 chars)
Edit Flags:
0x01 Set Primary Character, Secondary Character
* Not set unless specified in Edit Flags.
Open your Cosmetic config in HxD, and go to offset 10. Change the first two bytes to match the hex ID of the Cosmetic ID you chose for your textures. For example, if you picked 121 for your character's portraits (so you named them .1211,.1212, etc), then your cosmetic ID would be 79.
STEP 2 - SETTING UP YOUR CLONE:
As an example, I'll walk you through how to make a clone with an ID of 41
First, grab the SlotConfig and CosmeticConfig templates MATCHING THE CHARACTER YOU WANT TO CLONE from the BrawlEX 2.0.0.0 download, and name them Slot41.dat and Cosmetic41.dat.
Then, go to private\wii\app\RSBE\pf\BrawlEx on your SD card and copy the CSSSlot.dat and the Fighter.dat of the character you wanted to clone (for mario, it would be CSSSlot00.dat, for instance), and name them CSSSlot41.dat and Fighter41.dat.
Refer to the subsections in Step 1 for more detailed editing procedures for individual files.
MISCELLANEOUS
Report any bugs you find here!
Thanks, and I hope you all enjoy this!
Last edited: