Skip to content

Gameboy ROM development workflow to avoid build processes and makefiles. Watches a folder for changes to .c or .h files, builds your Gameboy ROM .gb file using GBDK, and then conveniently launches/re-launches an emulator of your choice when ROM is edited.

License

Notifications You must be signed in to change notification settings

rob2d/build-and-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build & Watch

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.

Getting Started

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:

  1. configure your PATH variables to include the /bin folder of your GBDK.
  2. Open your terminal
  3. Go to the directory where you intend to build your source code to a ROM and type
npm install -g build-and-watch

Usage

Be sure to configure the relevant parameters in config.json, go to your cloned repo directory, and then simply run:

buildandwatch --config="myconfigfile.json"

Contributing

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.

Note

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!

About

Gameboy ROM development workflow to avoid build processes and makefiles. Watches a folder for changes to .c or .h files, builds your Gameboy ROM .gb file using GBDK, and then conveniently launches/re-launches an emulator of your choice when ROM is edited.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published