Hyperbolic

Hyperbolic is a PC port and recompilation of Dragon Ball Z: The Legacy of Goku II, Dragon Ball Z: Buu's Fury, and Dragon Ball Z: The Legacy of Goku with enhanced audio and widescreen support.

README

Hyperbolic

Hyperbolic

Website · Releases · Frame times

Hyperbolic brings Dragon Ball Z: The Legacy of Goku, The Legacy of Goku II and Buu's Fury to PC from one launcher, as static recompilations with enhanced audio, HQx upscaling, widescreen, save states, rewind and controller support. Each game's code is translated ahead of time into a native program with gbarecomp, built on your PC from your own ROM. Bring your own ROMs and BIOS.

GameYearGame codeStatus in Hyperbolic
Dragon Ball Z: The Legacy of Goku (USA)2002ALGEboots and plays; early
Dragon Ball Z: The Legacy of Goku II (USA)2003ALFEboots and plays; early
Dragon Ball Z: Buu's Fury (USA)2004BG3Eboots and plays; early

Important

Hyperbolic stands on Matthew Stanley's work. mstan wrote gbarecomp and recomp-ui, and made the working ports of all three games that Hyperbolic starts from: Buu's Fury, The Legacy of Goku II and The Legacy of Goku. Each game's function map, fixes, view code and cheats here come from those ports. If you want one game, well tested and updated often, use his port. Hyperbolic adds one launcher for the three, and builds the game code from your ROM instead of shipping it.

Caution

No game files are included, and none ever will be: not in the code, the releases, the issues or the wiki. You supply each ROM from a cartridge you own, and the BIOS from your own console. Hyperbolic's downloads hold no code or data made from any game: the code is made from your ROM on your PC, the first time you start that game. Please don't post ROMs, BIOS files or anything taken from them here.

Important

Made with AI. Hyperbolic's own code, its changes to gbarecomp and recomp-ui, its art and this page were written by Claude, Anthropic's AI, through Claude Code. The icon's artwork was generated with Google's Gemini to devall96's brief (art/icon/source). A human, devall96, directs it and tests the builds, but no human reviews the code line by line. If you don't want to run code written that way, don't run this.

Warning

Early. All three games start and reach play, but only each game's opening minutes have been run, mostly by scripted tests on one Windows 11 PC. None has been played through on Hyperbolic. Saves, save states and controllers are built in and barely tested. Windows only.

Note

Not official. Hyperbolic is a fan project. It isn't made by, affiliated with or endorsed by the games' owners or publishers, by Nintendo, or by the authors of gbarecomp.

With RecompLauncher or Quiver

With RecompLauncher (Windows): install Hyperbolic there and it shows the three games as three tiles. On each game's setup screen pick your ROM (the .gba, or a .zip with it inside); the launcher checks it, Hyperbolic builds that game from it (once, a minute or two), and Play starts the game straight away, with Hyperbolic's settings on the game's page. Put your Game Boy Advance BIOS in the bios folder as gba_bios.bin first (the game page's Game folder button opens Hyperbolic's folder): all three games need it. Quiver Launcher lists Hyperbolic too. Scripts and shortcuts can start straight into a game with Hyperbolic.exe --game <your ROM>.

How it works

  • One program, three games. Hyperbolic.exe opens a picker. Choosing a game starts it as its own process, and the picker comes back when you close the game. Settings, controls and the BIOS are shared; each game has its own ROM, saves and save states.
  • Your files are identified by their SHA-1. Drop a .gba file or the BIOS on the picker, or put ROMs in the roms folder; Hyperbolic works out which game each one is. Only the USA releases listed below are supported.
  • The game is built on your PC. The first time you start a game, Hyperbolic recompiles your ROM and compiles the result into a module (native\<game>-cart.dll) with the game kit that comes with it (the recompiler and the Zig C++ compiler). This takes a few minutes, once per game. It is built again only when an update changes the recompiler or the game's function map.
  • The three games are never linked into one program. Each is its own module, loaded by its own process.
  • Your Game Boy Advance BIOS is required, once. All three games run on the real BIOS, from a dump of your own console (gba_bios.bin). Drop it on the picker, or put it in the bios folder; Hyperbolic recompiles it once into native\gba-bios.dll, which the three games share. Without it no game starts.
ROMSHA-1
Dragon Ball Z - The Legacy of Goku (USA)a3c8c76742f11fc6a3f6e3fcca20992458cac0b5
Dragon Ball Z - The Legacy of Goku II (USA)18e0715dec419f3501c301511530d2edcd590f8b
Dragon Ball Z - Buu's Fury (USA)f1c4b07554d2a3b1ad2f325307051e775ce68087
Game Boy Advance BIOS300c20df6731a33952ded8c436f7f186d25d3492

What you get

  • Enhanced audio for all three games, music and effects: a new floating-point mixer for the games' own sound engine, with clean resampling and cleaned-up samples, in place of the console's 16 kHz 8-bit mix. One switch.
  • Display: window scale, HQ2x, HQ3x and HQ4x upscaling, integer scaling, sharp bilinear, scanlines, LCD grid and ghosting, and blurred or black side bars.
  • Save states, rewind and fast-forward, and keyboard or controller with rebinding.
  • Widescreen (experimental): Display > View mode in the in-game menu or the settings page, off by default (mstan's adaptive view for all three games).
  • Cheats on each game's CHEATS page, from mstan's ports plus new cheats for the first two games. All off by default, and they change your save permanently (see the warning on that page).
  • Each game in its own colours in the picker, the settings page and the in-game menu. The picture on each card is made from your ROM on your PC.
  • Frame times measured, not guessed: every presented frame of each game's opening route is timed, and changes that make the lows or hitches worse fail. See docs/PERFORMANCE.md.

Your data

  • Nothing is sent anywhere: no accounts, no telemetry, no update checks.
  • Saves are in saves\<game>, settings in config.ini and keybinds.ini, the game built from your ROM in native. All of it stays next to Hyperbolic.exe.

Building it

Hyperbolic builds without any ROM. On Windows with MSYS2 MINGW64 (mingw-w64-x86_64-toolchain cmake ninja SDL2) and Python 3:

git clone --recurse-submodules <this repository>
cd Hyperbolic
$env:PATH = "C:\msys64\mingw64\bin;$env:PATH"
python tools\zig_toolchain.py --platform windows --dest tools\toolchain-cache\zig-windows
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build
build\Hyperbolic.exe

tools\zig_toolchain.py downloads Zig 0.17.1 from ziglang.org (100 MB), checks its SHA-256 and trims it to what the game kit needs. Hyperbolic.exe --kit-selftest checks the kit without a ROM, --list-games prints the supported ROMs, --play buu (or log, log2) starts one game, and --game <rom> starts straight into the game a ROM belongs to. python tools\smoke_run.py --rom <rom> runs a game with scripted button presses and saves a contact sheet of what it showed.

Layout

  • src/ Hyperbolic's own code: the picker, the per-game start, and building a game from a ROM.
  • src/games/<game>/ and games/<game>/game.toml: each game's view code and function map, from mstan's ports.
  • src/games/webfoot_audio.cpp the enhanced-audio mixer.
  • mods/preloaded/ cheats and view features (all off by default), from mstan's ports and Hyperbolic's own.
  • docs/ the website (index.html, own art only), release notes and the frame-time report.
  • tools/audit_package.py, tools/package_release.ps1: the release package and its check for game data.
  • gbarecomp/, recomp-ui/ submodules: devall96/gbarecomp and devall96/recomp-ui, forks of mstan's repositories.

Credits

  • Matthew Stanley (mstan): gbarecomp, recomp-ui and the three ports Hyperbolic starts from. See THIRD_PARTY_NOTICES.md for exactly which files are his.
  • devall96: the idea, the direction and the testing.
  • Claude (Anthropic), through Claude Code: Hyperbolic's own code, art and documentation.
  • Fonts: Kanit and Bangers (SIL OFL 1.1).

Dragon Ball Z and the three games are the property of their respective owners. Game Boy Advance is a trademark of Nintendo. Hyperbolic is not affiliated with any of them.

License

Hyperbolic's own code is MIT. It is built on gbarecomp, and includes files from mstan's ports, which are under the PolyForm Noncommercial License 1.0.0, so Hyperbolic as a whole is for non-commercial use only.