/weplay-emulator

runs the emulator that communicates with the weplay io backend

Primary LanguageJavaScript

weplay-emulator

How to install

Make sure cairo is installed, then run:

$ npm install

Then run it with the following ENV vars:

  • WEPLAY_ROM - pointing to the rom you want to emulate
  • WEPLAY_REDIS_URI - redis uri (localhost:6379)
  • WEPLAY_REDIS_AUTH - redis auth password (default empty)
  • WEPLAY_SAVE_INTERVAL - state save frequency (60000)
$ WEPLAY_ROM=path/to/rom.gb node index

License

MIT