From f48ea92172f926f86791b3d3efbe0061a4c52bd0 Mon Sep 17 00:00:00 2001 From: Ethan O'Brien Date: Mon, 14 Feb 2022 12:27:56 -0600 Subject: [PATCH] Update readme --- README.md | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1c760c0..7c4fe92 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,15 @@ Self-hosted **Javascript** emulation for various system. *The* ***Screen Recording*** *option currently doesn't support* ***Audio*** *.* +The **beta** version of the emulator core files are now avaliable. (For limited systems)
+If you would like to use it, please add the following line to your code. + +```js +EJS_BETA = true; +``` + +When reporting bugs, please specify that you are using the beta version + --- **⸢ [Example Use] ⸥ ⸢ [Emulator Demo] ⸥ ⸢ [Beta] ⸥** @@ -71,8 +80,15 @@ EJS_gameID = 1;
-*I have successfully rewrote the server side portion*
-*of netplay, which you can now use to self host!* +by default, the netplay server url will be `emulatorjs.herokuapp.com`, but to default to the default `ws.emulatorjs.com` server add the following line + +```js +EJS_oldEJSNetplayServer = true; +``` + +
+ +*To self host:* 1. Download the **[Server]**. @@ -84,13 +100,13 @@ EJS_netplayUrl = 'http://localhost:3000/'; // Absolute Url To Your Netplay Serve
-##### Custom Saves +##### Custom Save Filename To customize the filename of save states
simply add the following lines of code. ```js -EJS_gameName = `Game Name`; +EJS_gameName = 'Game Name'; ``` **➞ Save Filename:** `Game Name.state` @@ -103,7 +119,7 @@ To place an advertisement in front of the
`play now` screen, include the following line: ```js -EJS_AdUrl = `URL`; +EJS_AdUrl = 'URL'; ```
@@ -147,17 +163,23 @@ EJS_paths = {
+##### Localization + +please see [data/localization/readme.md](the localization readme) + +
+ ##### USING MAME SYSTEM you must add the line -``` +```js EJS_core = 'mame'; ``` and the line -``` +```js EJS_mameCore = '' // mame core options (example: '4|0') ``` set the mame core value to the mame core number (`1` - `6`) + `|` + save states supported (`0` or `1`) @@ -168,6 +190,8 @@ set the mame core value to the mame core number (`1` - `6`) + `|` + save states Licenced under the Apache License 2.0 +Please state changes and the licence when re-distributing + Read the whole license [here](LICENSE)