Repository navigation
Conversation
songs.schema.json now matches the hosted data.ddr.tools/schema/v2.json: song.id (required, unique within a file) replaces saHash and saIndex, and the hosted schema's i18n rules come over. validate.mjs rejects duplicate song ids. Every catalog is backfilled: - the source's own id where there is one: 3icecream hash (DDR), textage tag (IIDX), jubeat/SDVX/Donkey Konga ids, Pump/SMX/EZ2AC/DRS ids, and SEGA's music id for ongeki (matched by jacket) - septa2-iidx's saIndex was only a list position, so its songs take iidx.json's textage ids instead - DDR songs missing a hash borrow one from another DDR file when that's unambiguous; DDR's own saIndex (unused) is dropped - everything else gets an id derived from name + artist, so the same song lines up across files; ddr_x3's X2 IF YOU WERE HERE gets "-x2" - songs listed more than once are merged: bite7 (22 entries) and maimai's utage songs (5) Files keep their existing layout; only the id lines change, apart from bite7 and maimai, which are rewritten. The 3icecream share link now recognizes 3icecream ids by their alphabet, since DRS ids are also 32 characters long. Dropped ITG packs use each song's folder name as its id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Importers match existing songs by `id` and write it on new ones, in place of saHash/saIndex. Sources without ids of their own (maimai, ITG packs, DDR GRAND PRIX additions) use deriveSongId(name, artist), so re-imports keep the ids the backfill gave them. maimai's utage entries are merged into one song each (mergeSongsById), and ongeki now matches existing songs by SEGA id rather than title. 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
ddr_world.json and ddr_grand_prix.json are taken from main and given their song ids the same way as the original backfill. Every song kept its id; the two new DDR WORLD songs (Good Life, One Kiss) take their 3icecream ids. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # src/songs/dia_del_ritmo_26.json
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
Step 3 of the M3 rollout (schema revision), part 2 of 3. Part 1 is RhythmGameTools/rgt-data#5 (hosts
v2.jsonand lets the publish API accept it). This PR movesmain's data to v2.maindoesn't publish anything, so it doesn't depend on rgt-data#5. But rgt-data#5 must be deployed before this reachespartykit, becausepartykit's custom-data publishing will start sending v2 bundles.Schema
songs.schema.jsonis now identical to the hosteddata.ddr.tools/schema/v2.json:song.id: required, unique within a file. ReplacessaHashandsaIndex.encomplete, other locales partial).validate.mjsrejects duplicate song ids.Backfill (every file in
src/songs)idsaHash)saHashsaIndexsong_id), ez2ac, drs (e-amusement id)saIndexwas only a list position)deriveSongId)saIndex(sanbai's numeric index, unused) is dropped.-x2.idlines change, except bite7 and maimai, which are rewritten. DatalastUpdatedvalues are untouched.Importers
idand writesidon new songs.deriveSongId, so re-imports keep the backfilled ids.mergeSongsById).import:drsreproducesdrs.jsonexactly, apart fromlastUpdated. Re-runningimport:ongekikept all 919 ids, and new songs got SEGA ids. Both results were discarded, not committed.scripts/utils.mtsgainsderiveSongId,isSanbaiIdandmergeSongsById.App
01689DIOPQbdiloq), since DRS ids are also 32 characters.song.id.Heads-up
partykit:partykitbuilds chart keys fromsaHash || name|artist. The follow-uppartykitPR switches those keys tosong.idand keeps recognizing old keys already stored in rooms. Songs whose id was already theirsaHashkeep the same keys.maindoesn't build chart keys, so nothing changes here.tsc -p scriptsreports the same pre-existing errors asmain, and no new ones.Test plan
yarn validate(data + schema codegen, tsc, oxfmt, oxlint)🤖 Generated with Claude Code