This significantly makes it more manageable to add GB files inside a Docker container.main
parent
29f0a84cb7
commit
ef765c4c87
@ -1,3 +1,45 @@ |
||||
# pyboy-to-matrix |
||||
# Matrix-gameboy |
||||
|
||||
Bridge between GameBoy emulator and Matrix, written in Python. |
||||
Matrix-gameboy is a GameBoy emulator that connects to a |
||||
[Matrix](https://matrix.org) room and allows users to control the game from |
||||
within the room. |
||||
|
||||
This repository supports the following: |
||||
|
||||
- ✅ Emulate GameBoy games |
||||
- ✅ Send control commands to the emulator |
||||
- ✅ Get a screenshot posted in the room |
||||
- ❌ Emulate GameBoy Advance (GBA) games |
||||
|
||||
## How to run |
||||
|
||||
You can run |
||||
|
||||
```sh |
||||
pip install -r requirements.txt && python main.py |
||||
``` |
||||
|
||||
or using Docker, you can either build the repository yourself or run |
||||
|
||||
```sh |
||||
docker run --rm --name "Matrix_Plays_GameBoy" \ |
||||
-v $(pwd)/config:/usr/src/app/config \ |
||||
noordstar/matrix-gameboy |
||||
``` |
||||
|
||||
--- |
||||
|
||||
## Why it was made |
||||
|
||||
It was inspired by |
||||
[matrix-plays-pokemon](https://github.com/jaller94/matrix-plays-pokemon), which |
||||
is a JavaScript implementation that supports both GB and GBA using |
||||
[mGBA](https://mgba.io/). |
||||
|
||||
Upon debugging, there were several problems that couldn't be solved, so I |
||||
decided to write up an equally short program doing the same thing, but in |
||||
Python. |
||||
|
||||
In short, this implementation is a wrapper of the |
||||
[PyBoy](https://pypi.org/project/pyboy/) and |
||||
[matrix-nio](https://pypi.org/project/matrix-nio/) libraries. |
||||
|
Loading…
Reference in new issue