Repository navigation
Add DANCERUSH STARDOM importer from the official e-amusement music list - #672
Merged
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
2 of 3 tasks
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 refreshessrc/songs/drs.jsonwith it.POST https://p.eagate.573.jp/game/dan/1st/json/musiclist_getdata.html(service_kind=music_list). Official 32-charmusic_idis stored insaIndex; jackets (314) are downloaded tosrc/assets/jackets/drs/.saIndex, falling back to title + artist.saIndex,bpmandjacket.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, soTEMP_UNLOCKSin the script curates the exceptions from RemyWiki (currently just Stay Alone). Many oldunlock/tempUnlockflags were stale: Konami has made most of those songs default since 2020.Shared helper change
scripts/utils.mtswriteJsonDatanow passesprintWidthfrom.oxfmtrc.jsonto oxfmt'sformat(). Previously written JSON failedoxfmt --check. This affects the output of every importer.Heads-up
name|artistidentity). Rooms that already drew them fall back to the looser legacy key. This goes away once the schema revision keys onsong.id.drs.jsonand aren't on the official list; they'd need adding by hand.Test plan
yarn validatepasses (format, lint, tsc, data validation)🤖 Generated with Claude Code