You're looking to add a new Fighter mod for Super Smash Bros. Ultimate by using Smashline 2 with Arcropolis, based on the smashline repository (https://github.com/HDR-Development/smashline), with steps focused on:
Adding a new Fighter (e.g., Waluigi) based on an existing Fighter (e.g., Dolly).
Assigning a unique Fighter Kind ID.
Modifying source code in fighters.rs with something like smashline::clone_fighter(...).
Editing and renaming the .nro or .nus3audio (I assume .nro is the main executable file for either Switch homebrew or somehow tied into the build).
High-Level Workflow for Adding a New Fighter (Waluigi) based on Dolly in Smashline + Arcropolis:
Prerequisites
Knowledge of Rust since Smashline is written in Rust (fighters.rs).
Have Smashline 2 and Arcropolis set up in your environment.
Have the original Dolly files extracted.
Familiarity with .bfres, .pac, or other Smash Ultimate fighter assets.
Proper tools to repack the mod .nro executable/nro or other packaged files.
Backup your game files and work legally.
Step 1: Clone the Fighter in fighters.rs
Open src/cloning/fighters.rs
Add a unique Fighter Kind ID:
Smash Ultimate has a list of Fighter Kind enums for each fighter. You'll want to add a new Fighter Kind (something like WALUIGI) in the appropriate enum list, and reserve a unique ID that doesn’t conflict with the base game or known mods.
To do this:
Look at how DOLLY is declared or used.
Add an entry for WALUIGI in the fighter kind enum (if present).
Example (pseudo-code):
rust
#[derive(Clone, Copy, PartialEq, Eq)]
pub enum FighterKind {
// existing fighters ...
Dolly = 154, // Example Dolly ID
Waluigi = 155, // New unique ID for Waluigi
}
Ensure that the ID (155 here) doesn't conflict with the existing Fighters or mod Fighters.
Clone Dolly to Waluigi:
In fighters.rs, find the clone function usage like: