Certainly! Adding a new fighter "newcomer" to Super Smash Bros. Ultimate using Arcropolis and Smashline 2 involves cloning an existing fighter, assigning it a unique fighter kind ID, and then properly replacing references from the base fighter to your new fighter (e.g., Waluigi cloned from Terry). Below is a step-by-step guide on how to do this, focusing on the specifics you requested — cloning with a unique Fighter Kind ID and renaming it in the .NRO file.
Prerequisites
- A working setup of smashline and Arcropolis (from the HDR-Development/smashline GitHub)
- Basic knowledge of fighter kinds,
.NRO files, and modding Smash Ultimate.
- A clean workspace for your mod files.
Step 1: Understand Fighter Kind IDs
- Each fighter in Smash has a unique Fighter Kind ID (type:
smashline::FIGHTER_KIND_*).
- To add a new fighter, use an unused Fighter Kind ID.
- Example:
FIGHTER_KIND_DOLLY might be 104 for an example modded fighter. Your new fighter (Waluigi) will have a unique new ID — e.g. FIGHTER_KIND_WALUIGI = 123 (ensure no conflict).
Step 2: Clone Fighter with smashline::clone_fighter()
In your smashline mod Rust project, you define your new fighter by cloning a base fighter:
use smashline::*;
// Clone from Terry
#[smashline::clone_fighter(
base = "terry", // clone from Terry Prime
fighter = "waluigi", // name your new fighter "waluigi"
fighter_id = 123 // unique fighter kind ID, e.g. 123
)]
pub fn install() {
// You can add additional installation logic here if needed
}
Explanation:
base = "terry" tells the launcher to clone Terry's fighter data.
fighter = "waluigi" is your new fighter's folder and identifier.
fighter_id = 123 assigns the unique fighter kind ID, must be unique and not conflict with existing IDs.
Step 3: Edit your New Fighter's Folder
After cloning, smashline will create a new fighter folder, waluigi.
Copy or create:
- Fighter files (model, animation, script)
- Effects
- Motion scripts (e.g.,
motion_common.js)
Make sure you replace or edit all fighter-specific data (model names, animation files, etc.) to correspond to Waluigi instead of Terry.
Step 4: Rename Fighter Kind ID inside .NRO File
Each fighter's executable .NRO file (usually fighter.waluigi.nro) contains the Fighter Kind ID internally.
You need to:
- Extract the
.NRO file for the new fighter (usually generated by smashline)
- Make sure it is not referencing the old Fighter Kind ID (Terry's ID, e.g.,
110)
- Use tools like
hactool, smashline extract, or binary editor to patch/rename the Fighter Kind ID from the base to the new unique ID 123.
How to check/patch Fighter Kind ID in .NRO:
- Open the
.NRO file in a hex editor.
- Search for Terry's Fighter Kind ID (decimal
FIGHTER_KIND_TERRY = e.g., 110) as 4-byte integer in little endian (6E 00 00 00).
- Replace with your new Fighter Kind ID
123 (7B 00 00 00).
- Save the patch.
Alternatively, smashline may handle this automatically when building your project if you specify fighter_id properly.
Step 5: Include Your New Fighter ID in fighter_kind_hashes.bin
Smash Ultimate uses a hash list of fighter kinds:
- Add your new Fighter Kind (123) somewhere in your mod files (depending on your mod loader setup).
- Typically include your unique Fighter Kind ID and name in
fighter_kind_hashes.bin so the game can load it.
Step 6: Build and Deploy
- Build your mod with
cargo build or smashline's build commands.
- Use
arcropolis to deploy the mod to your Switch or emulator.
- Test if your new Waluigi fighter appears in training mode or character select (depending on your mod implementation).
Summary Example
use smashline::*;
// Clones Terry and creates Waluigi with a unique fighter kind ID 123
#[smashline::clone_fighter(
base = "terry",
fighter = "waluigi",
fighter_id = 123
)]
pub fn install() {
// Additional install commands if needed
}
- Edit fighter data in
fighter/waluigi folder
- Patch
.nro inside this folder to fix fighter kind ID (if smashline doesn't do it automatically)
- Add hash to
fighter_kind_hashes.bin
- Deploy with Arcropolis
If you want, I can help you with snippets for .NRO patching, hash generation, or fighter folder setup, just ask!