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.
- Install SDL2 through your package manager (
sudo apt install libsdl2-dev
orbrew install sdl2
) - 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
- Asger Anders Lund Hansen - AsgerLundHansen
- Mads Ynddal - baekalfen
- Troels Ynddal - troelsy
GitHub Collaborators
- Kristian Sims - krs013
Student Projects
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
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 Distributions
Hashes for pyboy-1.0.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c64446db2302b0acb15ee5802de9c5d652e4879114f043a3fe68bd090c5d8c0b |
|
MD5 | 993cbeee550c3eb0800b1dda004f56de |
|
BLAKE2b-256 | 5b9983dd7897fa9908dae560f4a7d287609fb6cf648d863c725cecbc436350ce |
Hashes for pyboy-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e60a248c53633f04d06004c5b0e8eda1295a57ec16e8afcb822b44a77be7563d |
|
MD5 | d98c91b417800a00c5f4ed2404b0765c |
|
BLAKE2b-256 | e2225a487942c11070a9d08b740f7b2d71fa9c4d4af75be311dc4be7f121adb2 |
Hashes for pyboy-1.0.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 557d071a6f1afa7dc92089289c44e237f8b261c29fb43c1c400e58836efc9c67 |
|
MD5 | e8d30d31df8622d3d09e307e0d816273 |
|
BLAKE2b-256 | bdab23ac40a4a5e286b56bdcaced75e69445d06749d32e63fa2c967a03a296bc |
Hashes for pyboy-1.0.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51f34cb513868504f99a04088d053730a14759c98e6dd3acc899221ac6a8e066 |
|
MD5 | f38800294fac80c36448bb11f7a73f43 |
|
BLAKE2b-256 | 065a52471712b240b3078d8dfbc421101046957bde852b9e87e3bd68ef9ddc6a |
Hashes for pyboy-1.0.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 181ae8def43965a9607bdc09381b3dccadc1ef6df92eb827753dcda188efb4e4 |
|
MD5 | 36fcd495844028a33e683bfeca9251c4 |
|
BLAKE2b-256 | e9df4fb02521d139cdaf56cc4939924b32eb3668d75930ae85c27da7526f9281 |
Hashes for pyboy-1.0.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63e7d73c0451894a9fa6fc011fb013aee19247acffe74f2088072fa017eceef8 |
|
MD5 | 1438942c8d816c9a538b5770afab9122 |
|
BLAKE2b-256 | e9837a6bc2575397d48b2e1cb2c7c966fcea359ccf2edcd92507a475099cf439 |
Hashes for pyboy-1.0.0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de1e03cd99f8a05c2697a195ad04dfb8f41a18c43179a447c191121c2c17eebb |
|
MD5 | ed4e13d333365c35478be7533b3f95de |
|
BLAKE2b-256 | fc571edc434d64bbe09c52c1ca782fac371e059c56b08da0d5a99f5b41abb2ff |