|
@@ -135,14 +135,6 @@ SCRAPER_SITE = os.getenv("EMUS_SCRAPER_SITE", "screenscraper")
|
|
|
JSON_LOGGING = os.getenv("EMUS_JSON_LOGGING", False)
|
|
|
LOG_TYPE = "json" if JSON_LOGGING else "log"
|
|
|
|
|
|
-RETROPIE_WEBRETRO_SYSTEM_MAP = {
|
|
|
- "n64": "mupen64plus_next",
|
|
|
- "nes": "nestopia",
|
|
|
- "megadrive": "genesis_plus_gx",
|
|
|
- "gba": "mgba",
|
|
|
- "snes": "snes9x",
|
|
|
-}
|
|
|
-
|
|
|
RETROPIE_RETROARCH_WEB_SYSTEM_MAP = {
|
|
|
"3do": "opera",
|
|
|
"atarijaguar": "virtualjaguar",
|
|
@@ -171,39 +163,132 @@ RETROPIE_RETROARCH_WEB_SYSTEM_MAP = {
|
|
|
"wii": "dolphin",
|
|
|
}
|
|
|
|
|
|
-GAME_SYSTEM_SLUG_MAP = {
|
|
|
- "3do": "3DO",
|
|
|
- "atarijaguar": "Atari Jaguar",
|
|
|
- "atarilynx": "Atari Lynx",
|
|
|
- "coleco": "Colecovision",
|
|
|
- "dreamcast": "Dreamcast",
|
|
|
- "fds": "Famicom Disc System",
|
|
|
- "gb": "Game Boy",
|
|
|
- "gba": "Game Boy Advance",
|
|
|
- "gbc": "Game Boy Color",
|
|
|
- "gc": "GameCube",
|
|
|
- "mame-libretro": "Arcade",
|
|
|
- "megadrive": "Genesis/Mega Drive",
|
|
|
- "model3": "Sega Model 3",
|
|
|
- "gamgear": "Game Gear",
|
|
|
- "msx": "MSX",
|
|
|
- "n64": "Nintendo 64",
|
|
|
- "nds": "Nintendo DS",
|
|
|
- "ngp": "Neo Geo Pocket",
|
|
|
- "neogeo": "Neo Geo",
|
|
|
- "ngpc": "Neo Geo Pocket Color",
|
|
|
- "nes": "Nintendo",
|
|
|
- "pcengine": "PC Engine/TurboGrafix 16",
|
|
|
- "ps2": "Playstation 2",
|
|
|
- "psp": "Playstation Portable",
|
|
|
- "psx": "Playstation",
|
|
|
- "ports": "Ports",
|
|
|
- "saturn": "Saturn",
|
|
|
- "scummvm": "ScummVM",
|
|
|
- "sega32x": "Sega 32X",
|
|
|
- "segacd": "Sega CD",
|
|
|
- "snes": "Super Nintendo",
|
|
|
- "wii": "Wii",
|
|
|
+GAME_SYSTEM_DEFAULTS = {
|
|
|
+ "3do": {
|
|
|
+ "name": "3DO",
|
|
|
+ },
|
|
|
+ "atarijaguar": {
|
|
|
+ "name": "Atari Jaguar",
|
|
|
+ },
|
|
|
+ "atarilynx": {
|
|
|
+ "name": "Atari Lynx",
|
|
|
+ "color": "FFBF00",
|
|
|
+ },
|
|
|
+ "coleco": {
|
|
|
+ "name": "Colecovision",
|
|
|
+ },
|
|
|
+ "dreamcast": {
|
|
|
+ "name": "Dreamcast",
|
|
|
+ "color": "ED872D",
|
|
|
+ },
|
|
|
+ "fds": {
|
|
|
+ "name": "Famicom Disc System",
|
|
|
+ "color": "B70E30",
|
|
|
+ },
|
|
|
+ "gb": {
|
|
|
+ "name": "Game Boy",
|
|
|
+ "color": "C0B8B1",
|
|
|
+ },
|
|
|
+ "gba": {
|
|
|
+ "name": "Game Boy Advance",
|
|
|
+ "color": "D5D5D5",
|
|
|
+ "webretro_core": "mgba",
|
|
|
+ },
|
|
|
+ "gbc": {
|
|
|
+ "name": "Game Boy Color",
|
|
|
+ "color": "",
|
|
|
+ },
|
|
|
+ "gc": {
|
|
|
+ "name": "GameCube",
|
|
|
+ "color": "7461C7",
|
|
|
+ },
|
|
|
+ "mame-libretro": {
|
|
|
+ "name": "Arcade",
|
|
|
+ "color": "111111",
|
|
|
+ },
|
|
|
+ "megadrive": {
|
|
|
+ "name": "Genesis/Mega Drive",
|
|
|
+ "color": "D03737",
|
|
|
+ "webretro_core": "genesis_plus_gx",
|
|
|
+ },
|
|
|
+ "model3": {
|
|
|
+ "name": "Sega Model 3",
|
|
|
+ "color": "",
|
|
|
+ },
|
|
|
+ "gamgear": {
|
|
|
+ "name": "Game Gear",
|
|
|
+ "color": "",
|
|
|
+ },
|
|
|
+ "msx": {
|
|
|
+ "name": "MSX",
|
|
|
+ },
|
|
|
+ "n64": {
|
|
|
+ "name": "Nintendo 64",
|
|
|
+ "color": "C76660",
|
|
|
+ "webretro_core": "mupen64plus_next",
|
|
|
+ },
|
|
|
+ "nds": {
|
|
|
+ "name": "Nintendo DS",
|
|
|
+ "color": "39D0D0",
|
|
|
+ },
|
|
|
+ "ngp": {
|
|
|
+ "name": "Neo Geo Pocket",
|
|
|
+ },
|
|
|
+ "neogeo": {
|
|
|
+ "name": "Neo Geo",
|
|
|
+ },
|
|
|
+ "ngpc": {
|
|
|
+ "name": "Neo Geo Pocket Color",
|
|
|
+ },
|
|
|
+ "nes": {"name": "Nintendo", "color": "656565", "webretro_core": "nestopia"},
|
|
|
+ "pcengine": {
|
|
|
+ "name": "PC Engine/TurboGrafix 16",
|
|
|
+ "color": "55B4CC",
|
|
|
+ },
|
|
|
+ "ps2": {
|
|
|
+ "name": "Playstation 2",
|
|
|
+ "color": "111CAA",
|
|
|
+ },
|
|
|
+ "psp": {
|
|
|
+ "name": "Playstation Portable",
|
|
|
+ "color": "",
|
|
|
+ },
|
|
|
+ "psx": {
|
|
|
+ "name": "Playstation",
|
|
|
+ "color": "E9DD00",
|
|
|
+ },
|
|
|
+ "ports": {
|
|
|
+ "name": "Ports",
|
|
|
+ },
|
|
|
+ "saturn": {
|
|
|
+ "name": "Saturn",
|
|
|
+ "color": "0047AB",
|
|
|
+ },
|
|
|
+ "scummvm": {
|
|
|
+ "name": "ScummVM",
|
|
|
+ "color": "E8B500",
|
|
|
+ },
|
|
|
+ "sega32x": {
|
|
|
+ "name": "Sega 32X",
|
|
|
+ "color": "",
|
|
|
+ },
|
|
|
+ "segacd": {
|
|
|
+ "name": "Sega CD",
|
|
|
+ "color": "",
|
|
|
+ },
|
|
|
+ "snes": {
|
|
|
+ "name": "Super Nintendo",
|
|
|
+ "color": "A060C7",
|
|
|
+ "webretro_core": "snes9x",
|
|
|
+ },
|
|
|
+ "virtualboy": {
|
|
|
+ "name": "Virtual Boy",
|
|
|
+ "color": "99AA11",
|
|
|
+ },
|
|
|
+ "wii": {
|
|
|
+ "name": "Wii",
|
|
|
+ "color": "",
|
|
|
+ },
|
|
|
}
|
|
|
|
|
|
default_level = "INFO"
|
|
@@ -274,6 +359,7 @@ LOGGING = {
|
|
|
"daphne": {"handlers": ["file"], "propagate": False},
|
|
|
"django.db.backends": {"handlers": ["null"]},
|
|
|
"emus": {"handlers": ["console", "file"], "propagate": True},
|
|
|
+ "games": {"handlers": ["console", "file"], "propagate": True},
|
|
|
},
|
|
|
}
|
|
|
|