8000 Add DANCERUSH STARDOM importer from the official e-amusement music list by noahm · Pull Request #672 · noahm/DDRCardDraw · GitHub
[go: up one dir, main page]

Skip to content

Add DANCERUSH STARDOM importer from the official e-amusement music list - #672

Merged
noahm merged 3 commits into
mainfrom
drs-import
Oct 19, 2026
Merged

noahm merged 3 commits into
mainfrom
drs-import

Conversation

@noahm
@noahm noahm commented Oct 19, 2026
Copy link
Copy Markdown
Owner

Summary

Adds yarn import:drs, an importer for DANCERUSH STARDOM that sources from the official e-amusement music list (the public JSON behind the music page, no login), and refreshes src/songs/drs.json with it.

  • Source: POST https://p.eagate.573.jp/game/dan/1st/json/musiclist_getdata.html (service_kind=music_list). Official 32-char music_id is stored in saIndex; jackets (314) are downloaded to src/assets/jackets/drs/.
  • Merge, not regenerate: the official list only covers songs currently playable in Japan, so existing songs absent from it (removed, region-exclusive, unobtainable event songs) are kept untouched. Matching is by saIndex, falling back to title + artist.
  • Data changes: 312 matched, 2 new songs, 3 duplicates merged (glacia, ランカーキラーガール, C'mon baby), 27 name/artist fixes, 4 level fixes. Every song gains saIndex, bpm and jacket.
  • Lock flags: unlock = locked but still unlockable (purchasable with ★); tempUnlock = event over, no longer unlockable. Locked/free comes from the official list; the official list doesn't distinguish the two, so TEMP_UNLOCKS in the script curates the exceptions from RemyWiki (currently just Stay Alone). Many old unlock/tempUnlock flags were stale: Konami has made most of those songs default since 2020.
  • Translations: existing translations are kept; 中島由貴 now uses her official romanization (Nakashima).

Shared helper change

scripts/utils.mts writeJsonData now passes printWidth from .oxfmtrc.json to oxfmt's format(). Previously written JSON failed oxfmt --check. This affects the output of every importer.

Heads-up

  • About 33 DRS songs get new chart keys (renames/level fixes change the name|artist identity). Rooms that already drew them fall back to the looser legacy key. This goes away once the schema revision keys on song.id.
  • A few recent Stamp Bonus songs (e.g. F4SH10N, Lo-Fi-M, 少女、摩天楼へ) aren't in drs.json and aren't on the official list; they'd need adding by hand.

Test plan

  • yarn validate passes (format, lint, tsc, data validation)
  • Spot-check DRS draws and jackets in a dev build

🤖 Generated with Claude Code

noahm and others added 3 commits October 16, 2026 11:16
Imports from the public e-amusement music list JSON and merges into the
existing drs.json: official ids (saIndex), titles, artists, BPMs, levels,
jackets and lock status, keeping hand-curated translations and flags.

Also makes writeJsonData format with the repo's oxfmt printWidth so
imported data passes oxfmt --check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds official ids, BPMs and jackets, two new songs, merges three
duplicate entries, fixes typos and four levels, and syncs unlock flags
with the official lock status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`unlock` now means a locked song can still be unlocked (purchasable
with stars); `tempUnlock` means its event is over and it can no longer
be unlocked. The official list only says whether a song is locked, so
the few unobtainable ones are curated in TEMP_UNLOCKS from RemyWiki.

Also use the official romanization for 中島由貴 (Yuki Nakashima).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel
vercel Bot commented Oct 19, 2026 •
Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ddr-tools Ready Ready Preview Oct 19, 2026 9:52pm UTC

@noahm
noahm merged commit 24dcb97 into main Oct 19, 2026
7 checks passed
@noahm
noahm deleted the drs-import branch October 19, 2026 22:39

This branch was successfully deployed

1 active deployment
Preview — f02f4393 Deployed Oct 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0