Rename Slippi (.slp) game files to include characters, tags, colors, and stage.
Singles:
Game_20190530T222709.slp -> 20190530T222709 - Marth (BRY) vs Fox (Default) - Battlefield.slp
Doubles:
Game_20190521T212659.slp -> 20190521T212659 - Falco (Red) & Marth (Default) vs Fox (DJ) & Fox (SWRV) - Yoshi's Story.slp
- Install Node.js.
- Download slippi-renamer.
- Navigate to where slippi-renamer is downloaded in the terminal or Node.js console to using
cd
. - Run
npm install
.
FOLDER
is the path to a directory with *.slp
files.
node slp_rename.js "FOLDER"
Usage slp_rename.js [options] <directories>
Options:
--version Show version number [boolean]
-n perform a trial run without renaming [boolean]
-r rename in subdirectories too [boolean]
-h Show help [boolean]
You must provide directories to rename.
- Added
-r
flag to rename folders recursively.
- Show netplay name, if applicable.
- Handle non-standard teams.
- Better error handling.
- Takes directories as arguments instead of files to better work on Windows.
- Show character colors for players without tags.
- Don't rename files that we have trouble parsing.
- Better command line parsing
-n
flag to run the script without performing any renaming.
- Max "DJSwerve" Timkovich
- IvantheTricourne - additional bug fixes and enhancements.