mirror of
https://github.com/Ramaerel/emulatorjs-GameLibrary.git
synced 2026-02-06 10:56:54 +00:00
Update README.md
This commit is contained in:
parent
59298b536f
commit
4c5a461c00
12
README.md
12
README.md
@ -4,21 +4,33 @@ An addition to ethan's EmulatorJS, which is a basic games library that reads the
|
||||
|
||||
<h1>Adding to the Library</h1>
|
||||
To add to the library, use the following template:
|
||||
<hr />
|
||||
|
||||
case "file_MD5":
|
||||
|
||||
$data["Name"] = Game_Name;
|
||||
|
||||
$data["Console"] = Game_Console; (According to the EmulatorJS system abbreviations)
|
||||
|
||||
$data["Region"] = Game_Region;
|
||||
|
||||
break;
|
||||
|
||||
<hr />
|
||||
Example:
|
||||
<hr />
|
||||
|
||||
case "3d45c1ee9abd5738df46d2bdda8b57dc":
|
||||
|
||||
$data["Name"] = "Pokemon Red";
|
||||
|
||||
$data["Console"] = "gb";
|
||||
|
||||
$data["Region"] = "USA";
|
||||
|
||||
break;
|
||||
|
||||
|
||||
|
||||
Add the case statement underneath the last break; you see in Library.php. Additions to the Library on here are very welcome!
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user