0.9.18 • Published 4 months ago

boytacean v0.9.18

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

Boytacean

A Game Boy emulator that is written in Rust 🦀.

This emulator has been written for educational purposes and shouldn't be taken too seriously. But yeahh it plays most Game Boy games, which is cool... 🕹️

Features

  • Game Boy (DMG) and Game Boy Color (CGB) emulation
  • Simple navigable source-code
  • Web, SDL and Libretro front-ends
  • Audio, with a pretty accurate APU
  • Serial Data Transfer (Link Cable) support
  • Game Boy Printer emulation
  • Support for multiple MBCs: MBC1, MBC3, and MBC5
  • Save state support using the BESS Specification for cross-compatibility with other emulators
  • Cheat support using Game Genie and GameShark codes
  • Variable CPU clock speed
  • Accurate PPU - passes dmg-acid2 and cgb-acid2 tests

For the Web front-end...

  • Mobile first experience
  • Transparent RAM saving using Web Storage API
  • GamePad support using Web Gamepad API
  • Unobstructive and effective on-screen GamePad
  • Rumble emulation and haptic feedback
  • Cool bespoke display palettes built by TheWolfBunny64.
  • Fullscreen browser mode
  • Debug mode - VRAM and registers

What's still missing...

  • Low-level cycle accurate system emulation
  • Game Boy Camera emulation
  • NetPlay gaming support

Deployments

ProviderStableURL
cloudflareTrueboytacean.joao.me
cloudflareTrueboytacean.pages.dev
cloudflareTrueprod.boytacean.pages.dev
cloudflareTruestable.boytacean.pages.dev
cloudflareFalsemaster.boytacean.pages.dev

Build

Library

cargo build

Python Library

pip install .

WASM for Node.js

cargo install wasm-pack
wasm-pack build --release --target=nodejs -- --features wasm

WASM for Web

cargo install wasm-pack
wasm-pack build --release --target=web --out-dir=frontends/web/lib -- --features wasm
cd frontends/web
npm install && npm run build
cd dist && python3 -m http.server

Web front-end

The Web front-end makes use of EmuKit which is a UI toolkit that provides the required infrastructure for the creation of interfaces for emulation in a Web context.

Configuration

You can use some GET parameters to control the initial behavior of the emulator.

ParameterTypeDescription
rom_urlStringThe URL from which the initial ROM is going to be loaded, should support CORS.
urlStringThe same as rom_url.
fullscreenBooleanIf the emulator should start in fullscreen mode.
fsBooleanThe same as fullscreen.
debugBooleanIf the "debugger" should start visible.
keyboardBooleanIf the on-screen keyboard should start visible.
paletteStringThe name of the palette to be set at startup( eg: christmas, hogwards, mariobros, etc.).

Palettes

The palettes offered in the web version were provided by TheWolfBunny64.

Inspiration

To get some information about the resources that inspired me through the emulation creation journey check Inspiration.

License

Boytacean is currently licensed under the Apache License, Version 2.0.

Build Automation

Build Status crates Status npm Status License

0.9.17

4 months ago

0.9.18

4 months ago

0.9.12

9 months ago

0.9.13

9 months ago

0.9.14

9 months ago

0.9.15

6 months ago

0.9.10

9 months ago

0.9.11

9 months ago

0.9.16

6 months ago

0.9.8

9 months ago

0.9.7

9 months ago

0.9.9

9 months ago

0.9.6

11 months ago

0.9.4

11 months ago

0.9.3

12 months ago

0.9.5

11 months ago

0.9.0

12 months ago

0.9.2

12 months ago

0.9.1

12 months ago

0.8.0

1 year ago

0.7.5

1 year ago

0.7.4

1 year ago

0.7.3

1 year ago

0.6.7

1 year ago

0.6.8

1 year ago

0.6.12

1 year ago

0.6.11

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.6.6

1 year ago

0.5.7

1 year ago

0.6.3

1 year ago

0.5.4

1 year ago

0.4.5

1 year ago

0.6.2

1 year ago

0.5.3

1 year ago

0.4.4

1 year ago

0.6.5

1 year ago

0.5.6

1 year ago

0.6.4

1 year ago

0.5.5

1 year ago

0.5.0

1 year ago

0.4.1

2 years ago

0.4.0

2 years ago

0.6.1

1 year ago

0.5.2

1 year ago

0.4.3

1 year ago

0.6.0

1 year ago

0.5.1

1 year ago

0.4.2

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago