data | ||
decrypt tools | ||
docs | ||
README.md |
emulatorjs
A javascript emulator for nes, snes, and more! The BEST emulator on the internet. No ads and self hosted!
Example page: https://coldcast.org/games/1/Super-Mario-Bros
demo: https://ethanaobrien.github.io/emulatorjs/
BETA site: https://emulatorjs.netlify.app/
Where did I get this?
So I found this website called emulatorjs and I went into inspect and downloaded the resources. I removed the ad server, and made everything work within your own domain. https://github.com/linuxserver/emulatorjs may soon make it possible to use all this open source
The emulator is not illegal - the rom is - I am not responsible for what people decide to do with this software.
NOTE: The screen recording option does not currently support audio! only video recording is supported at this time.
How To
- Download this repository (Code > Download as zip) then Extract the contents
- Load into a web server and open localhost
If you have questions, ask me and I will clarify (use the issues tab). Please search to make sure your isuue hasnt already been asked
IF SOMETHING DOES NOT WORK - Please make an issue!! Include as many details as possible and please include a log of the console!
All roms can be zipped into a .zip
, .rar
, or .7z
archive
NETPLAY IS DISABLED BY DEFAULT. To enable, add this line to your code
EJS_gameID = 1; // ID in your website, required for netplay.
I have successfully rewrote the server side portion of netplay. You can now self host! To do so:
- Open https://github.com/ethanaobrien/emuserver and download
- run
npm install
- run
node index.js
- Add the following line to your code
EJS_netplayUrl = 'http://localhost:3000/'; // Url to netplay server (MUST BE AN ABSOLUTE URL)
Supported systems!
More Features
To customize the filename of save states, add the line of code below
EJS_gameName = 'name of game';
When the user saves a state, the state will be saved with the name name of game.state
To add an ad to the play now screen, add the following line to your code
EJS_AdUrl = ''; //path to AD page
To change the default color of the emulator interface, add the line below
EJS_color = ''; //hex color id
You can set the color to a hex color code, for example #FF0000
(red)
To start the emulator immediately, add this line to your code
EJS_startOnLoaded = true;
This will start the emulator instantly Please note, the Audio cannot start until the user interacts with the page
To specify an exact path for a file, add this line to your code
EJS_paths = {
"fileName": "/somepath",
"emulator.js": "https://example.com/emulator.js",
"n64-asmjs.data": "/asdfds.data"
}
If a file is not defined, it be set to default