This repository has been archived on 2024-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Simon Bruder 6e77c957cc
Revert "Use caret requirements for dependencies"
This reverts commit 5d3138ed2d.

Version numbers without operators are treated like caret requirements.
2020-06-26 14:45:06 +02:00
src Add context to errors 2020-06-26 13:44:11 +02:00
.gitignore Initial commit 2020-06-22 20:39:20 +02:00
batch_convert.sh Initial commit 2020-06-22 20:39:20 +02:00
Cargo.lock Switch from nom to custom parser 2020-06-26 13:25:21 +02:00
Cargo.toml Revert "Use caret requirements for dependencies" 2020-06-26 14:45:06 +02:00
LICENSE Initial commit 2020-06-22 20:39:20 +02:00
README.md Document handling of anonymous wave banks 2020-06-23 20:24:34 +02:00

BRD

BRD is a tool for working with Dance Dance Revolution step charts and wave banks. It currently supports conversion to osu!mania beatmaps and extraction of sounds from wave banks.

Installation

Currently this is not published as a crate so you either have to clone the repository manually and run cargo build --release or you can use cargo install --git https://github.com/sbruder/brd to install the binary without cloning.

Modes

ddr2osu

This converts DDR step charts (.ssq files) and the corresponding audio (from .xwb files) to osu beatmaps (in an .osz container).

Basic usage:

brd ddr2osu -s file.ssq -x file.xwb -o file.osz --title "Song Title" --artist "Song Artist"

To learn more about supported options run brd ddr2osu --help

Batch conversion is possible with the included shell script batch_convert.sh (usage guide at the top of the script).

Known Problems

  • Since osu!mania does not support shock arrows, it either ignores them or (by default) replaces them with a two-key combination (↑↓ or ←→); you can change this with the (--shock-action option)
  • Freezes do not work (I do not know how to get the start time yet) and therefore are disabled in code (ddr::ssq::FREEZE)
  • Known problems listed for unxwb (for wave banks without entry names having 2 entries, which often are preview and full song, the longest one is used by default).

unxwb

This can list and extract sounds from XWB wave banks.

Basic Usage:

brd unxwb file.xwb
brd unxwb -l file.xwb

Known Problems

  • It only supports sounds in ADPCM format. If you want to extract sounds that are stored in other formats, you can use Luigi Auriemmas unxwb (Ctrl+F unxwb).
  • For wave banks without name entries it does not yet offer the option to read the names from XSB files and currently generates the names from the index in the file (starting from 0).

About this project

This is my first rust project. Dont expect too much from the code in terms of quality, robustness or idiomacity (especially regarding error handling). There currently are no tests.

Large portions of this tool would not have been possible without the following resources:

License

ISC License

This project is not affiliated with ppy or Konami.