| Crates.io | rbgb |
| lib.rs | rbgb |
| version | 0.2.0 |
| created_at | 2026-01-07 06:15:09.992614+00 |
| updated_at | 2026-01-07 08:37:23.332982+00 |
| description | A basic and rough gameboy emulator |
| homepage | |
| repository | https://github.com/ngraf3255/RbGB |
| max_upload_size | |
| id | 2027607 |
| size | 153,533 |
A simple Game Boy emulator written in Rust.
Before running this project ensure SDL2 is installed if you are not running with docker otherwise these steps will fail.
Clone the repository:
git clone https://github.com/Hyphen325/rbgb.git
cd rbgb
Build the project:
cargo build --release
Run the emulator:
cargo run --release
Select a ROM
Load a rom by pressing L on the opened window for the ROM path prompt
To build and run tests locally:
Clone the repository:
git clone https://github.com/Hyphen325/rbgb.git
cd rbgb
Run the tests:
cargo test
Much of this was written and based off of Codeslinger Gameboy. I needed this guide to get through most of this. Additionally, I learned about how the RZ80 worked from RZ80 and modified the CPU implementation of the LR35902 from rboy. Getting the CPU emulation to work was the hardest part of this project.
MIT