A BizHawk external tool + python library for python scripts to communicate with the BizHawk emulator.
Project description
birds-eye
A BizHawk external tool + python library, giving a (hopefully) convenient interface for python scripts to communicate with the BizHawk emulator.
This is the first project I've made with the intent of others using it, so any kind of suggestion would be incredibly helpful.
Thank you :]
This library is VERY bares bones at the moment, with only the current features available:
-
Connecting to the external tool
-
Retrieving memory data from the external tool
-
Sending controller inputs to be executed in the emulator
-
Retrieving the current framecount
I plan on adding a lot more as I continue to use this library myself.
Tested using BizHawk version 2.6.2, however other versions might work.
Setup
External Tool
The external tool can be found and downloaded in the birds-eye github repository. (check releases)
Move BirdsEye.dll to the ExternalTools directory in your BizHawk folder.
It should look like this afterwords:
BizHawk
+--ExternalTools
| +--BirdsEye.dll
| +--...
+--EmuHawk.exe
+--...
If everything is correct, then you should be able to open up the external tool by running the emulator, then going to:
Tools -> External Tools -> BirdsEye
Installing the library
pip install birds-eye-lib
Communication Modes
Determines how the external tool communicates with the emulator and a connected python client.
Manual
The external tool will not execute input states sent from a connected python client. User will still have
full control over the emulator using the external tool or the emulator itself. Things that do not interfere with
play, such as reading from memory, will still be functional.
Commandeer
This mode will allow a connected python client to begin interacting with the emulator by sending and receiving
messages to and from the external tool.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file birds-eye-lib-0.3.2.tar.gz
.
File metadata
- Download URL: birds-eye-lib-0.3.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0a58e094f870d76aa4adce37d4f1deac8765efc4d5aaba2a50f929c7ccb194d |
|
MD5 | 36baa2f38ea330695389da5b25eab2d7 |
|
BLAKE2b-256 | 245623eff29c528e04315f1a483d537c6503b1c160b68f7b939c3b9195546000 |
File details
Details for the file birds_eye_lib-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: birds_eye_lib-0.3.2-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4989cddc019ce0d01aca20ab6727d8b11e1f203925bb2dfe3df1ca4afe13a27 |
|
MD5 | eac192d848ead9e39a4b1481b5a6c65d |
|
BLAKE2b-256 | da9a030a634049cbf245b3b3ad0ba99b5874d66e19c92d73777b84ac9b9b735c |