Build & Watch is a Gameboy ROM development workflow tool which watches a folder for changes to .c or .h files, builds your Gameboy ROM .gb
file using GBDK, and then conveniently launches an emulator of your choice with the updated ROM while closing older instances each time you make an edit.
These tools are created with NodeJS. To begin usage, make sure you have installed:
- NodeJS 6.X +
- NPM3 +
- GBDK
Once you have these requirements, be sure to:
- configure your PATH variables to include the
/bin
folder of your GBDK. - Open your terminal
- Go to the directory where you intend to build your source code to a ROM and type
npm install -g build-and-watch
Be sure to configure the relevant parameters in config.json
, go to your cloned repo directory, and then simply run:
buildandwatch --config="myconfigfile.json"
PR requests welcome. Please be reasonable with issue reports, and use stack exchange if it is simple for a technical question vs an actual issue. This repo has been created and tested exclusively on Windows 10 so far, so I'm hoping to get some feedback from people on other OS/distros.
This is a work in progress. As such, there are likely to be things that can be improved, and this repo is in a phase of active development. Your support is greatly appreciated throughout this process.
Thanks!