Skip to content

0.5.0 — third-pass UI reconstruction (pointer mapping, IG boards, HUD, credits roll)

Choose a tag to compare

@sergen213 sergen213 released this 19 Nov 00:44
· 149 commits to main since this release

World Cup 98 native 0.5.0 — third-pass UI reconstruction

Pointer mapping through the UI content rect, IG bar/header/slider art, pause-menu row tables, HUD
scoreboard + minute chip, FEFLOW94 credits roll. The original Windows release is the specification:
every UI claim is backed by decoded handler/registry evidence from FIFAWC.EXE plus byte-level
capture gates.

What changed since 0.4.0

  • Pointer input un-projects through the UI rect (presentation::uiPointerFromWindow /
    uiWindowFromPointer): the old code scaled the whole window into the virtual 640x480 canvas while
    the UI draws through render::fit4x3(window), so on 16:9 (and any non-4:3) window every widget hit
    box sat 160 px inboard of the art it covers. Hub wedge hover, view-screen buttons, pause-menu rows
    and confirm-box buttons now respond where the art is; HiDPI is handled because both directions use
    Window::pointSize() (SDL reports window points, not swapchain pixels).
  • Pause-menu row tables armed byte-exact from the executable (friendly 1p 0x57c7d8), with the
    scene-driven title caption (titl) and the retail string-id lane.
  • In-game boards: bottom bar captions repaint through the box-plate overlay order, summary
    headers (Time / Player / Team) left-aligned like the engine, scroll-slot groove/thumb art
    from the widget's own archive (IGSROLBR.FSH), composite BOX-size fill rule.
  • HUD: byte-exact scoreboard strip from FUN_00438670 plus the minute chip.
  • FEFLOW94 credits roll parsed from CRED.BIN cell stream (305 rows), drawn as the retail
    3-row window scroller.
  • In-game popups (IGMSG / IGFLOW86 eligibility boxes) and confirm-box captions.

Verification on this build

  • Unit/gate suite on the released commit (v0.5.0, measured in a clean worktree of the tag): 151
    tests, 150 passing — the only failure is fe_replay57_enter, whose replay round-trip hash
    tracks the in-flight simulation (kick-seam) lane. No UI gate fails.
  • Layout sweep gate (fe_screen_sweep): 156 shipped layouts, 0 failures.
  • Navigation smoke subset: 10/10 — exhibition, league, tournament, tournament-load, practise flows.
  • Self-test (self_test_gameplay): 28/28 steps pass on the released commit.
  • --fe-pointer capture lane: hovered-wedge band and cursor sprite differ from the plain capture,
    i.e. pointer mapping is proven on the rendered frame, not only in code.
  • Packaged AppImage tested standalone: extracted game binary renders the FE composite on an
    AMD RX 7900 XTX, Qt launcher --self-test passes.

Requirements

  • x86_64 Linux, glibc ≥ 2.38 (built on Ubuntu 24.04), Vulkan loader + ICD, SDL3 and Qt6 libraries
    bundled inside the AppImage.
  • The original CD content is required and is not distributed here: extract the discs and point
    the launcher at that tree (settings file: ~/.config/wc98-native/settings.ini, or
    --tree DIR on the game binary).

Download

wc98-native-linux-x86_64-0.5.0.AppImage, chmod +x, run. --appimage-extract for a portable tree
and usr/bin/wc98-native --help for the lane flags. Sidecar sha256 and version files are
attached next to the AppImage.