DDRCardDraw
DDRCardDraw copied to clipboard
refactor(script): remove old DDR importer & merge into one script
Song data
- Update
name_translation,artist_translationandgenrevia zenius-i-vanisher - Re-order charts by
styleanddiffClass
Scripting
- Use TypeScript
- Use constructor fields
- Change Song & Chart order on
sortSongs()- Prevent diff by same name songs (ex. リメンバーリメンバー)
- charts now sorted by
styleanddiffClass(depend onmetaproperty)
Add new Importer class
ZivSongImporter
Update ddr-sources meta
sortSongs: Useutils/sortSongs(order by song name) or noteagate: UseEAGateSongImporterand define source URL (use on A20 or higher)ziv: UseZivSongImporterand define song DB URLsanbai: UseSanbaiSongImporteror not (DDR WORLD only)remy: RemyWiki page (unused nowadays)
Define Importer merge strategy
EAGateSongImporter(official KONAMI e-amusement GATE site, only unlocked songs/charts)name,artist(except some songs)jacketfolder("DanceDanceRevolution World"when new song)saHashcharts.lvl
- Remy wiki
remyLinkjacketbpmartist
SanbaiSongImporter(3bai icecream songdata)nameflags,charts.flagsfolderjacketname_translationsearch_hintsaHashcharts.lvlcharts.sanbaiTier
ZivSongImporter(zenius-i-vanisher, only update)name_translationartist_translationgenre
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Preview | Updated (UTC) |
|---|---|---|---|
| ddr-tools | Preview | Sep 26, 2025 0:55am |
#483 changes are intentionally not included.
Due to the large list of corrections[^1] required, ZivSongImporter might be discontinued in the future.
[^1]: About 300 lines (excluding levels, double if included)
@nogic1008 is attempting to deploy a commit to the noahm's projects Team on Vercel.
A member of the Team first needs to authorize it.
This all looks good so far! I'm mostly just skimming through the diff rather than looking at the final form of all this, but I'm happy to see it all being updated this thoroughly.
A couple of notes:
- Based on your list of scraping sources and the fields they populate (thank you for doing this, it's very helpful!) I'm tempted to say we don't have any reason to use Skill Attack at all anymore. The official e-gate and sanbai sources are better, and I just didn't know about them at the time I started using SA as a source.
- Now that recent versions of node can easily run typescript source without any issues, I'll be looking to convert all the scripts in the project to use true typescript instead of plain js with types in comments. If you're interested in doing that yourself, you're welcome to take it on, but don't feel the need to do so otherwise.
@noahm Thanks for reviews!
Remove Skill Attack from sources
I think so too.
Skill Attack stopped updating midway through DDR A3. And, it is also possible to collect song data for DDR A, 2013-2014 from previous versions, but since there is no way to play these on arcade, it is unlikely that this will be used.
Use pure TypeScript
That's what I was going to suggest after this task. I'll be happy to get started.
Thanks for taking on such a big upgrade to the data import process!