Skip to content

v0.3.0 - playable live matches

Choose a tag to compare

@sergen213 sergen213 released this 08 Nov 20:32

[0.3.0] - 2026-11-06 — playable live match + authentic FE fonts, team-select grid, measured scene defaults

Added

  • Interactive playable match (app/livematch.{hpp,cpp}, gate interactive_match via
    wc98-native --live-match-smoke N): FE Enter on Exhibition launches a live on-screen match - sim
    ticked from the wall clock in fixed 1/50 s engine steps, MatchScene + tele camera follow + HUD strip
    drawn every frame, commentary pumped every 2 frames off the World::events trigger seam (SpeechQueue
    -> PHRS decode; null mixer headless), Esc/window-close quits. Keyboard + gamepad drive controller 0
    through the ported input layer's pad word (bindings: pass S/pad A = bit 0x20, shoot D/B, sprint W/Y,
    lob A/X, evade Q/LB, through-ball E/RB, arrows/stick move; settings.ini overrides), proving the
    input->sim command path in-gate. Evidence: shapes=340 uiVerts=264, "pass bit 0x20 reached controller
    0", clock advanced 0 -> 1, events=3, commentary phrase 0 started. Shared MatchBoot bootstrap +
    snapshotFromWorld now live in livematch.{hpp,cpp} and are reused by wc98-match-demo (duplicated
    M6 preflight/palette/FCDB/sheet code deleted).
  • Team-select is the authentic FEFLOW11.LAY pick grid (app/fe_flow.cpp drawTeamsGrid):
    compositor composite of map background, flags, group cells + dynamic ZWCUP pool rows
    (F.FSH shape f000, FCDB names, scrollbar thumb in the LAY's sbar track); scene registry
    evidence analysis/pass7/grid{5,6,7}.txt, doc LAY_COMPOSITOR_NOTES.md; gate
    fe_render_tournament (--fe-team) + existing fe_nav/teamselect gates unchanged.
  • FE text draws authentic fonts + language knob (presentation/fe_screen.cpp FeText): fontID -> face
    CONFIRMED from the exe font pointer table DAT_0057d2c0 (raw 0x17b8c0, loader loop code VA
    0x46933a opens "%s.ffn"): eras10/eras12/eras20/eras36/eras11i/eras8i from FE/PACK/FEFONTS.BIG,
    BI faces (eras11bi/eras14bi/eras9bi/eras20bi) from IGFONTS.BIG; labels take their TEXTID "id,font"
    face at native line height (measured header lineHeights eras8i=18 … eras36=79 px). --lang CODE
    selects the FC{DAN,DUT,ENG,FRE,GER,ITA,JAP,SPA,SWE}.BIN UI-string bank (registry Language key);
    German FEFLOW05 visually verified (umlaut glyphs, EA's own "wirlich" string kept verbatim).
    Gates fe_text_fonts (faces=10), fe_text_lang_ger; doc LAY_COMPOSITOR_NOTES.md.
  • Commentary scene defaults are measured, not inferred (app/commentary.hpp): live winedbg launch-under-
    debugger capture pass 7e recorded setter triples (FUN_0046b074 idx4=65 @0x46b095 + idx3=80 @0x46b0f8;
    FUN_0046b130 quintet loop idx{0,2,1,5}=80) and the post-boot table DAT_00632778 = {80,80,80,80,65,80,1};
    port encodes kScenePct/kSceneSpeechPct (speech scene level 65 % via getter FUN_0048ed9c). Evidence
    analysis/pass7/percent1.txt, COMMENTARY_WC98.md §"Scene defaults measured"; gate duckModel.

Changed

  • Commentary pick model is now the faithful consume-on-use predicate, not round-robin
    (app/commentary.cpp): pass-7c RE closed FUN_0048d0dc = qfind over the class-keyed ready list
    with slot-tag predicate FUN_0048cf10, activation FUN_0048d1f8 removes each picked record;
    null pick -> event silent. Port pool consumed in storage order (per-event tag table unmeasured,
    marked in code). Evidence analysis/pass7/pick{,.2,.3,.4}.txt, doc COMMENTARY_WC98.md §pick;
    gate: test_commentary consumption asserts (pool exhausted -> silent).