BizHawk/README.md

13 KiB

BizHawk

GitHub latest release Unique systems emulated | 22

A multi-system emulator written in C#. As well as quality-of-life features for casual players, it also has recording/playback and debugging tools, making it the first choice for TASers (Tool-Assisted Speedrunners).

Core feature matrix

Most games for every system in the table will run perfectly, and every system supports fast-forward, frame advance, and rewind.

System Play+FF/ADV/RW Debugging (Input) Recording
Apple II ? ?
Atari 2600 ? ?
Atari 7800 ? ?
Atari Lynx ? ?
ColecoVision ? ?
Commodore 64 ? ?
Game Boy / GBC ? ?
GBA ? ?
Genesis ? ?
IntelliVision ? ?
Master System ? ?
N64 ? ?
Neo Geo Pocket ? ?
NES ? ?
PSX ? ?
Saturn ? ?
SNES ? ?
TI-83 ? ?
TurboGrafx-16 ? ?
Virtual Boy ? ?
WonderSwan ? ?
ZX Spectrum ? ?

EmuHawk's frontend also has a comprehensive input mapper, with keyboard and controller support (even simultaneously), hotkeys, and turbo/rapid fire.

In addition to input recording (with TAStudio), you can also record the emulated system's audio and video, either of your own gameplay or of a prerecorded movie (TAS). See the Usage (advanced) section below for more info about the many debugging and recording features.

Most of the frontend can be controlled with Lua scripts (only on Windows for now). These scripts can draw overlays for casual play or for RTA speedruns, change the running game to add complex cheats, assist TASers and romhackers in debugging a game, and more.

Installing — Windows 7/8.1/10

Released binaries can be found right here on GitHub:

Windows | binaries

Click BizHawk-<version>.zip to download it. Also note the changelog, the full version of which is on tasvideos.org. Don't mix different versions of BizHawk, keep each version in its own folder.

Before you start (by running EmuHawk.exe), make sure you have the Windows-only prerequisites installed: .NET Framework 4.6.1; Visual C++ 2010 SP1, 2012, and 2015; and Direct3D 9. If you have a few Steam games, chances are these are already installed, otherwise you can get them all at once with this program.

BizHawk functions like a "portable" program, you may move or rename the folder containing EmuHawk.exe, even to another drive, as long as you keep all the files together and the prerequisites are installed when you go to run it.

Win7 is supported from SP1, Win8 is supported from 8.1, and Win10 is supported from 1709 "Redstone 3", following Microsoft's support lifecycle.

Installing — GNU+Linux and macOS

Install BizHawk with your distro's package manager. The package name is given on each button below, and some buttons are links. For the changelog, see tasvideos.org.

Arch Linux (AUR) | bizhawk Debian (Launchpad) | bizhawk Linux Mint (Launchpad) | bizhawk macOS (Homebrew) | bizhawk Manjaro (AUR) | bizhawk Ubuntu (Launchpad) | bizhawk

If you run EmuHawkMono.sh from a terminal, note that File > Exit (Alt+F4) doesn't terminate the process correctly, you'll need to send SIGINT (^C).

Is your distro not there? Released binaries can be found right here on GitHub (same download as for Windows):

Misc. Linux | binaries

If you download BizHawk this way, don't mix different versions, keep each version in its own folder. Run EmuHawkMono.sh to give Mono the library and executable paths — you can run it from anywhere, so putting it in a .desktop file is fine. If running the script doesn't start EmuHawk, you may need to edit it (if you use a terminal, it will say so in the output).

Linux distros are supported if the distributor is still supporting your version, you're using Linux 4.4/4.9/4.14/4.19 LTS or 4.20, and there are no updates available in your package manager. Please update and reboot.

macOS is supported from 10.11 "El Capitan" (Darwin 15.6). Apple doesn't seem to care about lifecycles, so we'll go with 6 months from the last security update.

Building

If you want to test the latest changes without building BizHawk yourself, grab the developer build from AppVeyor. Pick the topmost one that doesn't say "Pull request", then click "Artifacts" and download BizHawk_Developer-<datetime>-#<long hexadecimal>.zip.

If you use GNU+Linux, there might be a bizhawk-git package or similar in the same repo as the main package. If it's available, installing it will automate the build process.

GNU+Linux and macOS

Compiling requires MSBuild and running requires Mono and WINE, but BizHawk does not run under WINE — only the bundled libraries are required.

Building is as easy as:

git clone https://github.com/TASVideos/BizHawk.git BizHawk_master && cd BizHawk_master
# or ssh: git clone git@github.com:TASVideos/BizHawk.git BizHawk_master && cd BizHawk_master
msbuild /p:Configuration=Release BizHawk.sln

Remove the /p:... flag from MSBuild if you want debugging symbols.

If your distro isn't listed under Installing above, libblip_buf probably isn't in your package repos. You can easily build it yourself.

Once built, see the Installing section, substituting the repo's output folder for the download.

Again, if your distro isn't listed there, you might get an "Unknown distro" warning in the terminal, and BizHawk may not open or may show the missing dependencies dialog. You may need to add your distro to the case statement in the script, setting libpath to the location of d3dx9_43.dll.so (please do share if you get it working).

Windows 7/8.1/10

TODO

Compiling

Usage (casual)

TODO

Usage (advanced)

TODO

Commandline

CompactDiscInfoDump

Rerecording

TAS movie file format

Support and troubleshooting

A short FAQ is provided on the BizHawk wiki. If your problem is one of the many not answered there, and you can't find it in the issue tracker search, check the BizHawk forum at tasvideos.org, or ask on IRC:

IRC | chat.freenode.net #bizhawk Matrix (IRC bridge) | #freenode_#bizhawk:matrix.org freenode webchat | #bizhawk

Contributing

BizHawk is Open Source Software, so you're free to modify it however you please, and if you do, we invite you to share! Under the MIT license, this is optional, just be careful with reusing cores as some have copyleft licenses.

If you've already made changes, the best way to contribute is with a Pull Request here on GitHub. If you're looking for something to do, check the issue tracker here on GitHub:

GitHub open issues counter

It's a good idea to check if anyone is already working on an issue by asking on IRC (see Support above). And of course, open a "feature request" issue before adding features. No point making something that no-one's going to use.

License

From the full text:

This repository contains original work chiefly in c# by the BizHawk team (which is all provided under the MIT License), embedded submodules from other authors with their own licenses clearly provided, other embedded submodules from other authors WITHOUT their own licenses clearly provided, customizations by the BizHawk team to many of those submodules (which is provided under the MIT license), and compiled binary executable modules from other authors without their licenses OR their origins clearly indicated.

In short, the frontend is MIT (Expat), beyond that you're on your own.