12 Commits

Author SHA1 Message Date
LatoWolf
e343d790dd jubeat: split versions into modules with shared player and scores
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>
2026-11-27 16:29:15 +08:00
LatoWolf
f934b00d07 jubeat: add prop support
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>
2026-11-27 16:06:20 +08:00
barbarburrito
2b21c3d8b5 jubeat: add Qubell (L44 2016-2017) support
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.
2026-09-14 18:48:09 +00:00
Kirito
09301ebada Fix compile error 2023-02-12 22:52:24 +09:00
Sean Chen
a4fef0a05b Festo Support finished 2022-08-14 18:14:01 +08:00
Kim Daesoo
5ae06b259a Initial Release 2022-05-26 15:02:13 +09:00
Kirito
105c9796bd saucer fulfill support 2021-05-25 13:07:44 +09:00
Kirito
c18baaedd6 saucer support 2021-05-22 13:57:07 +09:00
Kirito
397144a2a9 Matching Support (Experimental) 2021-05-20 10:51:49 +09:00
Kirito
256fe48701 copious support 2021-04-27 22:10:24 +09:00
Kirito
8d0f882822 Fix jubeat profile 2021-04-26 17:06:56 +09:00
Kirito
f96aecf53d jubeat knit support 2021-04-24 18:10:06 +09:00