Skip to main content

No project description provided

Project description

If you have any questions, or just want to chat, join us on Discord.

It is highly recommended to read the report to get a light introduction to Game Boy emulation. The report is relevant, eventhough you want to contribute to another emulator, or create your own.

If you've read the report and want more explicit details, have a look at the Pan Docs.

If you are looking to make a bot or AI, you can find all the external components in the PyBoy Documentation. There is also a short example on our Wiki page Scripts, AI and Bots as well as in the examples directory. If more features are needed, or if you find a bug, don't hesitate to make an issue here on GitHub, or write on our Discord channel.


Installation

The instructions are simple, if you already have a functioning Python environment on your machine.

  1. Install SDL2 through your package manager (sudo apt install libsdl2-dev or brew install sdl2)
  2. Install PyBoy using pip install pyboy

Now you're ready! Either use PyBoy directly from the terminal $ pyboy file.rom or use it in your Python scripts:

from pyboy import PyBoy
pyboy = PyBoy('ROMs/gamerom.gb')
while not pyboy.tick():
    pass

If you need more details, or if you need to compile from source, check out the detailed installation instructions. We support: macOS, Raspberry Pi (Raspbian), Linux (Ubuntu), and Windows 10.

At the Wiki page, you will also find out how to interface with PyBoy from your own project: Wiki.

Contributors

Thanks to all the people, who have contributed to the project!

Original Developers

GitHub Collaborators

Student Projects

  • Rewind Time: Jonas Flach-Jensen - thejomas
  • Link Cable: Jacob Olsen - JacobO1

Contribute

Any contribution is appreciated. The currently known errors are registered in the Issues tab. Feel free to take a swing at any one of them.

For the more major features, there are the following that you can give a try. They are also described in more detail in the project list:

  • Sound
  • Color
  • Link Cable
  • (Experimental) AI - use the botsupport or game wrappers to train a neural network
  • (Experimental) Game Wrappers - make wrappers for popular games

If you want to implement something which is not on the list, feel free to do so anyway. If you want to merge it into our repo, then just send a pull request and we will have a look at it.

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

pyboy-1.0.0.tar.gz (5.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyboy-1.0.0-cp38-cp38-manylinux2010_x86_64.whl (23.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

pyboy-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

pyboy-1.0.0-cp37-cp37m-win_amd64.whl (8.5 MB view details)

Uploaded CPython 3.7mWindows x86-64

pyboy-1.0.0-cp37-cp37m-manylinux2010_x86_64.whl (21.7 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

pyboy-1.0.0-cp37-cp37m-macosx_10_14_x86_64.whl (8.7 MB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

pyboy-1.0.0-cp36-cp36m-manylinux2010_x86_64.whl (21.7 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

pyboy-1.0.0-cp36-cp36m-macosx_10_14_x86_64.whl (8.6 MB view details)

Uploaded CPython 3.6mmacOS 10.14+ x86-64

File details

Details for the file pyboy-1.0.0.tar.gz.

File metadata

  • Download URL: pyboy-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10

File hashes

Hashes for pyboy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7d1193d885345741f6b9e035e9d4a56236e81934b858baf76906a596ddf203d1
MD5 7be78a5e0b58ab89fe80d4b5a5edfdca
BLAKE2b-256 770803fa9d02bb39e038a2dc8057ae31ee4d33d9f5f2905074cb9dac9965ecbd

See more details on using hashes here.

File details

Details for the file pyboy-1.0.0-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyboy-1.0.0-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 23.9 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for pyboy-1.0.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c64446db2302b0acb15ee5802de9c5d652e4879114f043a3fe68bd090c5d8c0b
MD5 993cbeee550c3eb0800b1dda004f56de
BLAKE2b-256 5b9983dd7897fa9908dae560f4a7d287609fb6cf648d863c725cecbc436350ce

See more details on using hashes here.

File details

Details for the file pyboy-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyboy-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for pyboy-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e60a248c53633f04d06004c5b0e8eda1295a57ec16e8afcb822b44a77be7563d
MD5 d98c91b417800a00c5f4ed2404b0765c
BLAKE2b-256 e2225a487942c11070a9d08b740f7b2d71fa9c4d4af75be311dc4be7f121adb2

See more details on using hashes here.

File details

Details for the file pyboy-1.0.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyboy-1.0.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 8.5 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

File hashes

Hashes for pyboy-1.0.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 557d071a6f1afa7dc92089289c44e237f8b261c29fb43c1c400e58836efc9c67
MD5 e8d30d31df8622d3d09e307e0d816273
BLAKE2b-256 bdab23ac40a4a5e286b56bdcaced75e69445d06749d32e63fa2c967a03a296bc

See more details on using hashes here.

File details

Details for the file pyboy-1.0.0-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyboy-1.0.0-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 21.7 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for pyboy-1.0.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 51f34cb513868504f99a04088d053730a14759c98e6dd3acc899221ac6a8e066
MD5 f38800294fac80c36448bb11f7a73f43
BLAKE2b-256 065a52471712b240b3078d8dfbc421101046957bde852b9e87e3bd68ef9ddc6a

See more details on using hashes here.

File details

Details for the file pyboy-1.0.0-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyboy-1.0.0-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for pyboy-1.0.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 181ae8def43965a9607bdc09381b3dccadc1ef6df92eb827753dcda188efb4e4
MD5 36fcd495844028a33e683bfeca9251c4
BLAKE2b-256 e9df4fb02521d139cdaf56cc4939924b32eb3668d75930ae85c27da7526f9281

See more details on using hashes here.

File details

Details for the file pyboy-1.0.0-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyboy-1.0.0-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 21.7 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10

File hashes

Hashes for pyboy-1.0.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 63e7d73c0451894a9fa6fc011fb013aee19247acffe74f2088072fa017eceef8
MD5 1438942c8d816c9a538b5770afab9122
BLAKE2b-256 e9837a6bc2575397d48b2e1cb2c7c966fcea359ccf2edcd92507a475099cf439

See more details on using hashes here.

File details

Details for the file pyboy-1.0.0-cp36-cp36m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyboy-1.0.0-cp36-cp36m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: CPython 3.6m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10

File hashes

Hashes for pyboy-1.0.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 de1e03cd99f8a05c2697a195ad04dfb8f41a18c43179a447c191121c2c17eebb
MD5 ed4e13d333365c35478be7533b3f95de
BLAKE2b-256 fc571edc434d64bbe09c52c1ca782fac371e059c56b08da0d5a99f5b41abb2ff

See more details on using hashes here.

Supported by

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