1 unstable release

0.9.0 Jul 12, 2023

#724 in Audio

MIT license

4KB
55 lines

smash-csb

A Rust library for reading and writing commonsoundtable.csb files from Super Smash Bros. Ultimate.

cargo add smash-csb

csb_yaml

A command-line program for creating and editing commonsoundtable.csb files using YAML. Drag and drop a commonsoundtable.csb file onto the executable to create a YAML file. Drag and drop a properly structured YAML file onto the executable to create a commonsoundtable.csb file. YAML files are text files, so they can be viewed and edited in any text editor.

Sample output from a commonsoundtable.csb file:

entries:
- fighter_kind: mario
  sound_table:
  - vc_mario_missfoot01
  - vc_mario_missfoot02
  - vc_mario_damage_twinkle
  - vc_mario_cheer
- fighter_kind: donkey
  sound_table:
  - vc_donkey_missfoot01
  - vc_donkey_missfoot02
  - vc_donkey_damage_twinkle
  - vc_donkey_cheer

Usage

The latest prebuilt binary for Windows is available in Releases.

Download the latest set of labels and have them placed beside the executable when dragging and dropping or include them in the command when converting to YAML. Missing labels will result in all sound labels appearing as hashes.

csb_yaml <input> [output]
csb_yaml <input> [output] [label]
csb_yaml commonsoundtable.csb commonsoundtable.yaml
csb_yaml commonsoundtable.csb commonsoundtable.yaml -l Labels.txt
csb_yaml commonsoundtable.yaml commonsoundtable.csb


lib.rs:

csb_lib

csb_lib is a library for reading and writing commonsoundtable.csb files from Super Smash Bros. Ultimate.

Dependencies

~2.5MB
~54K SLoC