Netplay has been officially supported since version 3.1.5. Released November 27, 2022.
# To add to your site
EJS_gameID = 1; //Id needs to be unique per game in your website!
- At the moment, netplay requires the old cores. To do this you must add this line to your code.
EJS_oldCores = true;
These 2 steps will add netplay to your website!
# To host your own server:
- Clone the EmulatorJS-netplay repository
git clone https://github.com/EmulatorJS/EmulatorJS-netplay.git
- Install nodejs dependencies
- start the server
npm run start
You can then set your netplay server with the
EJS_netplayUrl = "URL HERE";