Getting started
TASauria is a plugin and library for remotely controlling the BizHawk emulator.
To get started, let's first get the BizHawk emulator up and running.
Step 1. Install BizHawk
You can install BizHawk by getting one of the releases from the BizHawk GitHub.
You will need to make a note of which version you have downloaded, as each version of BizHawk has its own respective plugin version.
Extract the archive, and then you can run the BizHawk emulator by using the EmuHawk executable. BizHawk supports many different platforms and cores, you can read more information about this on its wiki page.
You should test that the emulator works and configure it before advancing to the next step.
Step 2. Install the TASauria plugin
You can download a build of the TASauria plugin from the releases page on the TASauria GitHub.
In order to use the plugin in BizHawk, you must place the .dll file in the ExternalTools folder alongside EmuHawk. If you don't use any other external tools or have only just started using BizHawk, you may not have this folder and you will have to create it yourself.
The folder structure should look something like this:
📁 BizHawk
├─ 📁 dll
├─ 📁 ExternalTools
│ └─ TASAuriaPlugin.dll
├─ ... (other folders)
├─ DiscoHawk.exe
├─ EmuHawk.exe
└─ ... (other files)You can then start EmuHawk. If the plugin is functioning correctly, you will be able to find the TASauria entry in the Tools > External Tool menu.
You can adjust various settings from the window that appears.
Once you have confirmed that the plugin is functioning, you can move onto the next step.
INFO
It is always recommended to use a release build of the plugin when possible. However, in certain cases, such as experimental bugfixes, you may want to install a developmental build instead.
Plugin builds are automatically compiled as part of a GitHub Actions workflow. You can download the appropriate plugin version as an artifact from any recently built commit.
In general, you should not rely on these builds to be stable, and you should avoid using them long term. Please report any bugs or problems you experience with the plugin to the issue tracker.
Step 3. Installing Python
If you don't already have a copy of Python installed, you will need to install one.
On Windows and macOS, the easiest method of installing Python is to download the installer from the official website.
On Linux, you will most likely be able to install a version of CPython from your package manager, or, alternatively, you can install a Python version management tool like pyenv which can set up a desired version for you.
The TASauria Python package supports Python 3.8 and newer.
You should test that your Python installation works, and that the package manager pip is available. On some Linux distros, it may be necessary to install a separate system package to use pip.
You can check your Python and pip version with the following command:
py -3 -m pip -Vpython3 -m pip -VStep 4. Install the tasauria Python package
Once your Python environment is set up, you can install the tasauria package from PyPI using the following command:
py -3 -m pip install -U tasauriapython3 -m pip install -U tasauriaWARNING
You may get permission errors when trying to install the tasauria package, especially if you installed Python as an administrator on Windows, or you installed it from your system package manager on Linux.
The easiest way to work around this problem is to create a virtual environment. This allows packages to be installed into a custom folder, instead of to the location where Python is installed.
You can read more information about virtual environments in the Python documentation. However, here is a brief overview:
Creating a virtual environment
This will create the environment in a folder called tasauria_environment:
py -3 -m venv tasauria_environmentpython3 -m pip install -U tasauriaActivating the virtual environment
.\tasauria_environment\Scripts\Activate.ps1.\tasauria_environment\Scripts\activate.batsource tasauria_environment/bin/activateInstalling the package
python -m pip install -U tasauriaFrom then on, you can then simply activate the virtual environment from the same directory to run scripts that use TASauria.
pip will automatically handle installing the package and any dependencies. Once the installation has finished, you can run any script that uses TASauria.