mirror of
https://github.com/Ramaerel/emulatorjs-GameLibrary.git
synced 2026-02-06 10:56:54 +00:00
An addition to ethan's EmulatorJS, which is a basic games library that reads the contents of a roms folder for its library (?) as requested. Not the prettiest, but it works
| Source | ||
| README.md | ||
emulatorjs-GameLibrary
An addition to ethan's EmulatorJS, which is a basic games library that reads the contents of a roms folder for its library (?) as requested. Not the prettiest, but it works
Adding to the Library
To add to the library, use the following template:case "file_MD5":
$data["Name"] = Game_Name;
$data["Console"] = Game_Console; (According to the EmulatorJS system abbreviations)
$data["Region"] = Game_Region;
break;
Example:
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!