Playboy
Playboy is a Nintendo Gameboy emulator for the Panic Playdate!
Building
Playdate isn't exactly a Tier 1 platform for Rust :)
As a result, the build is a little bit trickier than usual, but you can install Playboy by following these steps.
Prerequisites
You'll need
- The Playdate SDK (last tested with v1.9.1)
- Rustup
- Nightly Rust (run
rustup default nightly
) - Crank, the actual tool for compiling Rust for Playdate
Running
git clone https://github.com/adamsoutar/playboy
cd playboy
git submodule init
git submodule update
Next, you'll need to place a Gameboy game in the
playboy
folder asrom.gb
. The Playboy repo doesn't contain any copyrighted Nintendo software or any built-in ROMs.
cp ~/MyPersonalRomCollection/Tetris.gb ./rom.gb
Now we can finally build & run the code:
crank run --release
This will launch the Playdate Simulator and boot right in to your favourite Gameboy game!
Controls
Left, Right, Up, Down, A and B are exactly what you'd expect.
Start and Select are interesting, because the Playdate doesn't have enough buttons!
Turn the crank clockwise to press Start, and counter-clockwise to press Select.
The core
Playboy is powered by my Rust Gameboy Emulator project gbrs.
If you fancy a challenge, I'd love to see people try and port it to more systems!
For the platform-specific side of things, it uses the awesome crankstart bindings by Rob Tsuk.