A modern, cross-platform **SDL2 + OpenGL 3.3 Core** C++20 source port of Bullfrog's 1995 vehicular combat racer ***Hi-Octane***, designed to load essential game assets read-only from `data/` while fixing DOS/DOSBox CPU-cycle speed bugs, display scaling/pop-in, gameport controls, and sound/General MIDI crashes.
- **Controls:** Scancode-based remappable keyboard, hot-plugged `SDL_GameController` analog steering/triggers with deadzone/curve calibration and rumble haptics, optional mouse steering, and 2-player local split-screen.
- **Audio & music:** Low-latency SDL2 float32 stereo mixer with 3D spatial panning/attenuation, bank 3 & bank 9 WAV SFX extraction from `SOUND.DAT`, and native Miles XMIDI (`MUSIC.DAT`) playback via **OPL3 FM (`SAMPLE.OPL`)**, **SoundFont (`BULLFROG.SBK` / `.sf2`)**, or custom `.wav` tracks — completely bypassing the DOS `MPU401.MDI` crash.
- Essential game assets in `./data` (default lookup; also searches relocatable `../share/top-octane/data` and XDG `XDG_DATA_HOME`/`XDG_DATA_DIRS` directories when installed, or can be overridden via `--data-dir` or `HIOCTANE_DATA`, with `./HiOctane` supported as a legacy fallback). Optional `DATA/INTRO.DAT` is excluded by default so the game boots cleanly to the title screen.
-`make install` / `make uninstall`: installs/removes `top-octane`, game assets (`$(PREFIX)/share/top-octane/data`), XDG desktop shortcut (`$(PREFIX)/share/applications/top-octane.desktop`, **Games** menu group), and hicolor icons (`scalable`, `48x48`–`256x256`) into `$(DESTDIR)$(PREFIX)` (default `PREFIX=/usr/local`).
-`make install-user` / `make uninstall-user`: installs/removes per-user (rootless) into `~/.local/bin` and `${XDG_DATA_HOME:-~/.local/share}` (adds **Top-Octane** to the desktop **Games** menu for the current user).
User configuration, highscores, clone ghosts, and championship saves are stored in your OS user preferences directory (`SDL_GetPrefPath`). Original files in `data/` are never modified.