World Cup 98 — Native Linux Preservation Project

World Cup 98 — Native Linux Preservation Project is a native Linux reimplementation of World Cup 98 that runs on your own copy of the original game files.

README

World Cup 98 — Native Linux Preservation Project

A native Linux reimplementation of EA Sports World Cup 98 (1998 PC release) that runs on your own copy of the original game files, with no Wine, Proton or Windows runtime.

Status

Playable pre-release. The front-end menu flow (hub, match setup, league list, team-select grid, world-cup screens), the live match, music/commentary/crowd audio and startup .DCT video all run from your original game files. The in-match presentation is the retail one: scoreboard strip and radar, minute chip, pause menu (Esc, arrows, Enter), options popups, statistics/half-time/full-time boards, confirm boxes, and keyboard/mouse/gamepad input.

Controls — match: arrow keys move, S pass, D shoot, W sprint, C camera, P practise page, Esc pause menu (arrows select, Enter dispatches, Esc resumes); menus: arrows/WASD + mouse + gamepad stick and Enter/Esc, mouse clicks map through the 4:3 UI content rect at any window aspect.

Known limitations (documented, not placeholders): no netplay/modem or classics-only screens (the port has no such simulation — those hub entries are documented no-ops); .SQF EULZ art is still blocked on the expander mechanism (docs/asset-formats/SQF_FOOTIX.md); the penalty-shootout and replay lanes are works in progress; full World Cup tournament completion is the v1.0 milestone. There is no Windows pixel oracle (WINE_ORACLE_WC98.md), so no gate claims byte-for-byte pixel parity with the original output.

  • Parsers and tools for the original asset formats (BIGF archives, RefPack, FSH textures, FFN fonts, FCDB team/player database, BNK/SCHl/CRD audio, .LAY front-end layouts, .MDL models, animations).
  • An engine foundation: SDL3 window, Vulkan renderer, INI settings and an OpenAL mixer.
  • wc98-native --fe: the interactive front-end; offscreen demos render real front-end screens, the trophy and the stadium from the original data.

Features are only marked done when a test has exercised them. See docs/STATUS.md for confirmed findings and open questions, and CHANGELOG.md for what changed. Menu-parity evidence: docs/reverse-engineering/MENU_PARITY.md (registry + per-round log), docs/reverse-engineering/UI_VALIDATION_WC98.md (verification matrix), docs/reverse-engineering/MENU_NAV_WC98.md.

You need the original game

This repository contains no game data: no executables, assets, music, commentary, textures or ISO images. You need your own legally obtained copy of the original game. The original files are read only; they are never modified, redistributed or needed at build time. World Cup 98 and its content are © their respective owners. This project is not affiliated with or endorsed by EA.

Reverse-engineering findings in docs/ are our own analysis, documented with evidence (offsets, strings, captures). Format knowledge from community sources is cited.

Download

The current pre-release is v0.5.1: a self-contained x86_64 AppImage wc98-native-linux-x86_64-<version>.AppImage with a .sha256 sidecar, shipping the game and the Qt6 launcher (the launcher is the default entry; unknown flags pass through to the game). It needs only a Vulkan-capable driver on the host — the loader and GPU drivers are deliberately never bundled.

Pointer input is mapped through the 4:3 UI content rect, so mouse clicks land on the art they cover at any window aspect or scaling factor (docs/architecture/RENDERER.md).

chmod +x wc98-native-linux-x86_64-*.AppImage
./wc98-native-linux-x86_64-*.AppImage              # launcher GUI (set up game files first)
./wc98-native-linux-x86_64-*.AppImage --smoke 3   # windowed self-check of the game binary

Self-update checks this repository's GitHub releases, verifies SHA-256 against the sidecar, smoke-tests the new build, swaps it in atomically and keeps the previous file as .prev for rollback; it never touches game files, saves or ~/.config/wc98-native:

packaging/update.sh --check ~/apps/wc98-native-linux-x86_64-0.5.1.AppImage
packaging/update.sh         ~/apps/wc98-native-linux-x86_64-0.5.1.AppImage

Repackage locally after a build with packaging/linux/build-appimage.sh (downloads pinned appimagetool 1.9.1 and verifies its SHA-256; release AppImages are built on Ubuntu 24.04 for distribution reach). Build from source as described below.

Requirements

  • Linux on x86_64.
  • A Vulkan 1.3 capable GPU and driver.
  • To build: CMake ≥ 3.28, Ninja, a C++26 compiler (GCC 16 or Clang 23; a C++23 preset exists for older toolchains), SDL3, Vulkan headers and loader with glslc, GLM, OpenAL, libpng and OpenSSL.

Usage

build/debug/app/wc98-native --help
build/debug/app/wc98-native --windowed --width 1280 --height 960

Options: --width N, --height N, --fullscreen, --windowed, --smoke N (present N frames and exit), --version. Settings are read from $XDG_CONFIG_HOME/wc98-native/settings.ini (default ~/.config; override the file with WC98_CONFIG).

Asset tools (each prints its usage when run without arguments):

ToolPurpose
wc98-inventory <game-dir> [report.json]Inventory the game files
wc98-extract <game-dir-or-file> <output-dir>Unpack archives; convert textures, fonts and databases to PNG/JSON
wc98-audio-extract <wc98-dir> [out-dir]Decode music, speech and sound banks
wc98-dbexplorer <FE-dir> --teamsBrowse the team and player database
wc98-exeinfo info <file>Inspect the original PE executables
wc98-render-demo <png> [tree]Render a front-end screen offscreen to PNG
wc98-model-view out.png <mdl-file>Render an .MDL model offscreen to PNG
wc98-model-export MODEL --out DIRExport a model (with animation) to glTF
wc98-anim-inspect list ARCHIVEList animation clips

Build from source

cmake --preset debug
cmake --build --preset debug
ctest --preset default

Unit tests need no game data. To also run the data-driven checks, configure with -DWC98_TREE=<path to your extracted game>. The CI recipe, including how SDL3 is built on Ubuntu 24.04, is in .github/workflows/build.yml.

Documentation

Layout

core/       foundation library (byte I/O, logging)
formats/    asset format parsers
platform/   SDL3 window, XDG paths
renderer/   Vulkan renderer and shaders
config/     INI settings
audio/      OpenAL mixer
app/        wc98-native executable
tools/      standalone inspectors and extractors
tests/      unit, Vulkan and data-driven tests
docs/       research, reverse engineering, formats, architecture

Contributing

Changes are accepted only as pull requests to this repository, reviewed and merged by the maintainer. See CONTRIBUTING.md.

License

Source-available, all rights reserved (code only — see LICENSE). Original game data remains under its own copyright and is never redistributed here. Third-party components keep their own licenses (see THIRD_PARTY_NOTICES.md).