Skip to main content

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 (addresses are set in the ext. tool)

  • Sending inputs to be executed in the emulator

I plan on adding a lot more as I continue to use this library myself. (see TODO section below)

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 script.

Manual

The external tool will not send or receive messages to and from a connected python script. User will still have

full control over the emulator using the external tool or the emulator itself.

Commandeer

This mode will allow a connected python script to begin interacting with the emulator by sending and receiving

messages to and from the external tool.

TODO

This is a list of the current improvements that are currently being worked on, or plan to be.

Library

  • Functions to get the frame data was received on.

External Tool

  • Send the current frame with every sent message to the library

  • Decorate the tool GUI if I'm bored

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

birds-eye-lib-0.2.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

birds_eye_lib-0.2.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file birds-eye-lib-0.2.0.tar.gz.

File metadata

  • Download URL: birds-eye-lib-0.2.0.tar.gz
  • Upload date:
  • Size: 3.9 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.10

File hashes

Hashes for birds-eye-lib-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6051bfb9c597850d7fb5300b4aae7ec43b0fe34f1d30ca7d4a3421dd1c64009f
MD5 f92b7c270b0368f72cc44fb69f376f79
BLAKE2b-256 a49898499fdecabd54791a0106152b82a9890eb44b711b8d9e0a61c733af7e32

See more details on using hashes here.

File details

Details for the file birds_eye_lib-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: birds_eye_lib-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.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.10

File hashes

Hashes for birds_eye_lib-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f14d53742578ae7f0352ba9a318bfd792ba812939b4cf37431bcb35ae52812af
MD5 3b319643e710e8db4ccf88b3ea7ea3e2
BLAKE2b-256 d1a37dde4b11a2ad49bafe44cfcfcaa28ad334c357a77e4abe84a71275c3f65a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page