BTRecomp

BTRecomp is a native PC port of BattleTanx for Windows and Linux that supports widescreen and high framerates.

README

BattleTanx (1998 N64) Recompiled and Port

You will need the game file from a licensed copy in order to play it.

A native PC port of BattleTanx, made by statically recompiling the N64 game with N64Recomp and running it on N64ModernRuntime with RT64 for rendering. It uses the same engine as the sequel, so it's built the same way as BattleTanx: Global Assault Recompiled.

Unofficial, and not affiliated with the rights holders. No game data is included. You need your own dump of the game to build or play this.

Features

  • Runs natively on Windows and Linux, including the Steam Deck.
  • Widescreen. The HUD moves out to the edges of the screen.
  • High framerate. Set Framerate to Display in the graphics settings to match your monitor.
  • Controller Pak saves.
  • Cheats and GameShark codes as toggles in the menu.
  • Optional CRT, Scanlines and LCD screen filters, and bloom.
  • Experimental Fog and Draw Distance options to see farther.
  • Portable by default, and command-line options for nearly every setting.
  • Keyboard, mouse and controller support, all remappable. Fire (Z) is on the right trigger and left mouse button by default. Mouse Stick (General tab) turns the tank with the mouse.

Game Files

You need your own data file, BattleTanx (USA). SHA-1 of the .z64: 535860D941738AC1210C20A9B80114FEA0E0FF17 .n64 and .v64 files work too.

Start the game, pick Load ROM and select your file. It only has to be done once.

Where settings and saves go

New installs are portable: settings, saves and your ROM copy are kept next to the game, in the same folder, with a portable.txt file that marks it. If you already played an earlier version, nothing changes: your files stay in your user folder (%LOCALAPPDATA%\btrecomp on Windows, ~/.config/btrecomp on Linux). If the game's folder can't be written to, the user folder is used.

To switch, add or delete portable.txt next to the game, or start it once with --portable or --no-portable. Switching doesn't move your files, so copy them over if you want to keep them.

Command Line

Run the game with --help to see every option. Some examples:

BattleTanxRecompiled --rom "BattleTanx (USA).z64" --play
BattleTanxRecompiled --fullscreen --draw-distance far --fog off
BattleTanxRecompiled --unlimited-ammo on --volume 60 --play
  • --rom <file> selects your ROM, like Load ROM.
  • --play skips the launcher and starts the game.
  • --portable, --no-portable and --data-dir <folder> choose where settings and saves go.
  • Any setting on the General, Graphics, Sound, Cheats and Hacks tabs can be set too, saved as if you changed it in the menu. --list-options lists them all with their values.

On the Steam Deck, put options in the game's Launch Options in Steam.

Download

Get the latest build from the Releases page.

  • Windows: unzip it anywhere and run BattleTanxRecompiled.exe.
  • Linux / Steam Deck: extract it and run BattleTanxRecompiled. On the Deck you can add it to Steam as a non-Steam game to play in Game Mode.

Building

See BUILDING.md.

Issues and Limitations

Known:

  • Beta. Tested on Windows.

Else:

  • Please see the "Issues" section in GitHub. Screenshots or a short video help a lot.
  • If the game crashes, attach crash_log.txt from the game's folder.

Changes

See CHANGELOG.md.

Credits

  • N64Recomp and N64ModernRuntime by Mr-Wiseguy and contributors, which this port is built with
  • RT64 by Dario and contributors, the renderer
  • RecompFrontend by the N64Recomp contributors, the launcher and input layer
  • n64sym by shygoo, used to name the library functions
  • The CRT screen filter is based on Timothy Lottes' CRT shader and the LCD filter on LCD3x by Gigaherz, both public domain
  • rabbitizer, the MIPS decoder used by the scripts in tools/

License

The project's own code is GPL-3.0; see COPYING. Third-party licenses ship in the licenses folder of each release. The game itself remains the property of its rights holders.