Files
thomasasfk_drs2dd/README.md
T
2023-09-16 20:49:54 +01:00

1.8 KiB

DANCERUSH STARDOM to Dance Dash

Convert videos of DANCERUSH STARDOM tracks into Dance Dash beat maps

Stuff

Completed:

  • Video converter:

    • Detect right & left notes, including position & timing
    • Define models based on dd & drs schemas
    • Fetch metadata from data store (https://arcade-songs.zetaraku.dev/drs/)
    • Simple BepinEx plugin to launch Dance Dash w/o VR
  • Parser

    • Parse XML files into JSON files
    • Parse JSON files into DD info metadata
    • Create DD beat map folder structure with song & cover

To-Do:

  • Video converter:

    • Detect down and jump notes (?)
    • Detect hold notes (? hard)
    • Write tests based on total note count (?) (https://remywiki.com/AC_DRS)
    • Generate other metadata json file
  • Parser

    • Actually parse notes & lines into DD beat map
    • Parse down and jump notes into DD beat map
    • Test folder structure, sort bmp, note speed, order, etc.

Setup:

  • Install Python 3.10 (pyenv recommended)

  • Install the required Python packages

python -m venv .venv
. .venv/bin/activate # or .venv\Scripts\activate.bat on Windows
python -m pip install -r requirements.txt
  • Install pre-commit hooks
pre-commit install

Usage:

Convert a DRS track video to a DD beat map

# grab video of DRS track from youtube
yt-dlp -f bv[ext=webm] https://youtu.be/o7I0scmptmo -o "drs_video.webm"

# grab song-id from "resources\data.json" or https://arcade-songs.zetaraku.dev/drs/
.venv/Scripts/python drsvideo2dd.py "drs_video.webm" --song-id "BOOMBAYAH-JP Ver.-"

Generate json files from xml files (needs xml files and a brave soul)

HAS_XML=1 .venv/Scripts/python drsxml2drsjson.py

Generate full DD Beat Map from json files in repository (does not map notes atm, todo)

.venv/Scripts/python drs2dd.py --song-id 187