A simple tool to bundle GameBoy games for the web.
Install the CLI globally using NPM:
npm install -g gb2web
Bundle your .gb or .gbc file:
gb2web bundle <file>
You will find your web bundle in the "bundle" directory.
You can open it with a simple web server, for example:
cd bundle && python -m http.server
If you are a GameBoy developer and want to publish your own ROM to Itch.io you can follow these steps:
- Bundle the file with gb2web
- Zip the contents of "bundle" in a "web.zip" file
- Upload the zip file to Itch.io and click "This file will be played in the browser"
- Set viewport dimensions to 640x576
When you save and view your page the game should be playable in the browser!