Each version (prop, Qubell, clan, festo) is now a module under versions/
with its own route table and model date range. All jubeat versions call
the same method names, so versions/index.ts registers one route per
method and picks the version from the model date.
- handlers/player.ts: one jubeat ID and name per card, in the existing
festo `profile` document
- handlers/scores.ts: one score store for every version; prop, Qubell
and clan only see normal-mode charts of songs up to their own
- handlers/version_data.ts: per-version fields, course and league
results, keyed by version id (7 prop, 8 Qubell, 9 clan, 10 festo)
- V2.1.0 Qubell saves move to the shared profile and scores on first
login; the old documents are kept and marked `migrated`
- festo moves to versions/festo with the same requests and responses;
records without a ghost now get an empty one instead of a broken node
- builds older than prop are refused instead of answered as Qubell
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Route jubeat prop builds (model date 2015022000 - 2016032999) to new
handlers in prop/. The layout follows bemaniutils' Prop backend and was
checked against the property paths in prop's jubeat.dll, course_db.dll
and league_db.dll.
- profile load/save (career, league class, jbox, items, navi, events)
- score list over the 3 get_mdata requests, score save with ghosts
- course mode with the Saucer Fulfill base courses and 5th KAC courses
- weekly league with promotion/demotion applied when players log in
- daily FC challenge songs and a hit chart from local plays
Qubell/clan and festo routing is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The existing handlers produce festo-format responses, which Qubell rejects
(gametop.regist / get_pdata fail with r=7 in the game log and the card login
falls back to guest). This adds a Qubell handler set and routes requests by
the model date: builds older than 2018090000 (prop / Qubell / clan) use the
new handlers, festo is untouched.
Qubell layout follows bemaniutils' bemani/backend/jubeat/qubell.py:
- shopinfo.regist / gametop.get_info: shared info block wrapped in data/info
- gametop.get_pdata / regist: full profile (info, last, item lists, jbox,
digdig, unlock stage list, born, ...). get_pdata creates the profile when
the card is already bound on the CORE side, since Qubell then never calls
gametop.regist and treats status 109 as a login failure.
- gametop.get_mdata: musicdata list with play/clear/fc/ex counts, score,
clear flags and ghost bars; all scores returned on partition 1.
- gameend.regist: parses info counters, last settings, item lists, jbox,
events, digdig/unlock state and result tunes into qubell_profile /
qubell_score collections.
- gameend.final, lobby.check, demodata.get_news / get_hitchart,
recommend.get_recommend: minimal valid responses.
Tested with jubeat Qubell L44:J:B:A:2017062001 on bemanitools: boot, card
registration, login, three-song credit, save and re-login all work.