shonumi / gbe-plus

DMG/GBC/GBA emulator and experimental NDS emulator.
GNU General Public License v2.0
530 stars 80 forks source link

Add Net Gate functionality #87

Closed shonumi closed 5 years ago

shonumi commented 5 years ago

The "Net Gate" is simply an interface to send Battle Chip data to GBE+ via TCP. It can be used in conjunction with another application (such as a PHP script as a backend and HTML/CSS/JavaScript as the frontend) to send Chip IDs. Protocol is fairly simple, just 3 bytes are used:

1) 0x80 2) CHIP_ID_HI 3) CHIP_ID_LO

GBE+ does not respond to the sent message, so it's fire and forget. Anything that can manipulate raw sockets can send communicate with GBE+. As such, the interface could be anything, from a webpage, to a smartphone app, or even some sort of CLI script.

net_gate