So the only files that are in the config folder are
config.default.json
sounds.default.json
configmodel.json
I tried removing each one separately and I still get the same javascript error. When I remove the config.default.json file and try to start AGS; the file pops back into the config folder automatically and displays the same javascript error.
I am just looking to get AGS running in its default state. I am not trying to run any non-native emulators. The config.default.json file is posted below. Thanks!!
{
"appPath": null,
"tempPath": null,
"templates": {
"integrationsPath": "[[appPath]]\integrations",
"gamesPath": "[[appPath]]\games",
"assetsPath": "[[appPath]]\assets",
"emulatorsPath": "[[appPath]]\emulators",
"appTempPath": "[[appPath]]\temp",
"gameStoreAssetsPath": "[[appPath]]\gamestore-assets",
"computerVisionPath": "[[appPath]]\computer-vision",
"skinAssetsPath": "[[appPath]]\skins"
},
"folderStructure": {
"appRoot": "[[appPath]]",
"appAppsDir": "[[appPath]]\apps",
"appAssetsDir": {
"root": "[[assetsPath]]",
"drmFree": "[[assetsPath]]\drm-free",
"arcade": "[[assetsPath]]\arcade",
"steam": "[[assetsPath]]\steam"
},
"appTempDir": {
"root": "[[appTempPath]]"
},
"appLogsDir": "[[appPath]]\logs",
"appMediaDir": "[[appPath]]\media",
"appGamesDir": {
"root": "[[gamesPath]]",
"arcade": "[[gamesPath]]\arcade",
"drmFree": "[[gamesPath]]\drm-free"
},
"appEmulatorsDir": {
"root": "[[emulatorsPath]]",
"mame": {
"root": "[[emulatorsPath]]\mame",
"hi": "[[emulatorsPath]]\mame\hi",
"plugins": "[[emulatorsPath]]\mame\plugins"
},
"retroarch": {
"root": "[[emulatorsPath]]\retroarch",
"cores": "[[emulatorsPath]]\retroarch\cores"
}
},
"appGameStoreAssetsDir": {
"root": "[[gameStoreAssetsPath]]",
"dir": [
"arcade",
"atari2600",
"drm-free",
"gba",
"genesis",
"mastersystem",
"n64",
"nds",
"nes",
"snes",
"steam",
"turbografx16"
]
},
"computerVisionDir": {
"root": "[[computerVisionPath]]",
"dir": ["tessdata", "schemas"],
"tessdata": "[[computerVisionPath]]\tessdata",
"schemas": "[[computerVisionPath]]\schemas",
"tesseract": "[[computerVisionPath]]\tesseract.exe",
"mssSc": "[[computerVisionPath]]\mss-sc.exe"
},
"appIntegrationsDir": {
"root": "[[integrationsPath]]",
"steam": "[[integrationsPath]]\steam"
},
"skinAssetsDir": {
"root": "[[skinAssetsPath]]"
}
},
"gameTypes": [
{
"gameType": "arcade",
"displayGameType": "Arcade (MAME)",
"enable": true,
"emulator": "Mame",
"gameScan": {
"type": "directory",
"dir": "[[gamesPath]]\arcade",
"ext": ["zip"]
},
"assetScan": {
"dir": "[[assetsPath]]\arcade"
},
"launch": {
"target": "[[emulatorsPath]]\mame\mame.exe",
"params": [
"-rompath",
"[[gameConfig.fileDir]]",
"-artpath",
"[[assetsPath]]\arcade\[[gameConfig.fileSafeTitle]]",
"[[gameConfig.fileHandle]]"
],
"options": {
"shell": true,
"cwd": "[[emulatorsPath]]\mame"
}
}
},
{
"gameType": "atari2600",
"displayGameType": "Atari 2600",
"enable": true,
"emulator": "RetroArch",
"gameScan": {
"type": "directory",
"dir": "[[gamesPath]]\atari2600",
"ext": ["zip", "bin", "a26"]
},
"assetScan": {
"dir": "[[assetsPath]]\atari2600"
},
"launch": {
"target": "[[emulatorsPath]]\retroarch\retroarch.exe",
"params": [
"-L",
"[[emulatorsPath]]\retroarch\cores\stella_libretro.dll",
"[[gameConfig.filePath]]",
"-v"
],
"options": {
"shell": true,
"cwd": "[[emulatorsPath]]\retroarch"
}
},
"process": {
"child": "retroarch.exe"
}
},
{
"gameType": "atari7800",
"displayGameType": "Atari 7800",
"enable": true,
"emulator": "RetroArch",
"gameScan": {
"type": "directory",
"dir": "[[gamesPath]]\atari7800",
"ext": ["zip", "bin", "a78"]
},
"assetScan": {
"dir": "[[assetsPath]]\atari7800"
},
"launch": {
"target": "[[emulatorsPath]]\retroarch\retroarch.exe",
"params": [
"-L",
"[[emulatorsPath]]\retroarch\cores\prosystem_libretro.dll",
"[[gameConfig.filePath]]",
"-v"
],
"options": {
"shell": true,
"cwd": "[[emulatorsPath]]\retroarch"
}
},
"process": {
"child": "retroarch.exe"
}
},
{
"gameType": "exe",
"displayGameType": "EXE",
"enable": true,
"gameScan": {
"type": "exe",
"dir": "[[gamesPath]]\drm-free"
},
"assetScan": {
"dir": "[[assetsPath]]\drm-free"
},
"launch": {
"target": "[[gameConfig.fileDir]]\[[gameConfig.gameExe]]",
"params": [],
"options": {
"cwd": "[[gameConfig.fileDir]]"
}
}
},
{
"gameType": "gamecube",
"displayGameType": "GameCube",
"enable": true,
"emulator": "RetroArch",
"gameScan": {
"type": "directory",
"dir": "[[gamesPath]]\gamecube",
"ext": [
"elf",
"iso",
"gcm",
"dol",
"tgc",
"wbfs",
"ciso",
"gcz",
"wad",
"rvz"
]
},
"assetScan": {
"dir": "[[assetsPath]]\gamecube"
},
"launch": {
"target": "[[emulatorsPath]]\retroarch\retroarch.exe",
"params": [
"-L",
"[[emulatorsPath]]\retroarch\cores\dolphin_libretro.dll",
"[[gameConfig.filePath]]",
"-v"
],
"options": {
"shell": true,
"cwd": "[[emulatorsPath]]\retroarch"
}
},
"process": {
"type": "parent",
"child": "retroarch.exe"
}
},
{
"gameType": "gba",
"displayGameType": "Gameboy Advanced",
"enable": true,
"emulator": "RetroArch",
"gameScan": {
"type": "directory",
"dir": "[[gamesPath]]\gba",
"ext": ["zip", "gba"]
},
"assetScan": {
"dir": "[[assetsPath]]\gba"
},
"launch": {
"target": "[[emulatorsPath]]\retroarch\retroarch.exe",
"params": [
"-L",
"[[emulatorsPath]]\retroarch\cores\vba_next_libretro.dll",
"[[gameConfig.filePath]]",
"-v"
],
"options": {
"shell": true,
"cwd": "[[emulatorsPath]]\retroarch"
}
},
"process": {
"type": "parent",
"child": "retroarch.exe"
}
},
{
"gameType": "genesis",
"displayGameType": "Genesis",
"enable": true,
"emulator": "RetroArch",
"gameScan": {
"type": "directory",
"dir": "[[gamesPath]]\genesis",
"ext": ["zip", "bin"]
},
"assetScan": {
"dir": "[[assetsPath]]\genesis"
},
"launch": {
"target": "[[emulatorsPath]]\retroarch\retroarch.exe",
"params": [
"-L",
"[[emulatorsPath]]\retroarch\cores\genesis_plus_gx_libretro.dll",
"[[gameConfig.filePath]]",
"-v"
],
"options": {
"shell": true,
"cwd": "[[emulatorsPath]]\retroarch"
}
},
"process": {
"child": "retroarch.exe"
}
},
{
"gameType": "mastersystem",
"displayGameType": "Master System",
"enable": true,
"emulator": "RetroArch",
"gameScan": {
"type": "directory",
"dir": "[[gamesPath]]\mastersystem",
"ext": ["zip", "sms"]
},
"assetScan": {
"dir": "[[assetsPath]]\mastersystem"
},
"launch": {
"target": "[[emulatorsPath]]\retroarch\retroarch.exe",
"params": [
"-L",
"[[emulatorsPath]]\retroarch\cores\picodrive_libretro.dll",
"[[gameConfig.filePath]]",
"-v"
],
"options": {
"shell": true,
"cwd": "[[emulatorsPath]]\retroarch"
}
},
"process": {
"child": "retroarch.exe"
}
},
{
"gameType": "n64",
"displayGameType": "Nintendo 64",
"enable": true,
"emulator": "RetroArch",
"gameScan": {
"type": "directory",
"dir": "[[gamesPath]]\n64",
"ext": ["zip", "bin", "n64", "z64"]
},
"assetScan": {
"dir": "[[assetsPath]]\n64"
},
"launch": {
"target": "[[emulatorsPath]]\retroarch\retroarch.exe",
"params": [
"-L",
"[[emulatorsPath]]\retroarch\cores\mupen64plus_next_libretro.dll",
"[[gameConfig.filePath]]",
"-v"
],
"options": {
"shell": true,
"cwd": "[[emulatorsPath]]\retroarch"
}
},
"process": {
"child": "retroarch.exe"
}
},
{
"gameType": "nds",
"displayGameType": "Nintendo DS",
"enable": true,
"emulator": "RetroArch",
"gameScan": {
"type": "directory",
"dir": "[[gamesPath]]\nds",
"ext": ["zip", "nds", "bin"]
},
"assetScan": {
"dir": "[[assetsPath]]\nds"
},
"launch": {
"target": "[[emulatorsPath]]\retroarch\retroarch.exe",
"params": [
"-L",
"[[emulatorsPath]]\retroarch\cores\desmume2015_libretro.dll",
"[[gameConfig.filePath]]",
"-v"
],
"options": {
"shell": true,
"cwd": "[[emulatorsPath]]\retroarch"
}
},
"process": {
"child": "retroarch.exe"
}
},
{
"gameType": "nes",
"displayGameType": "Nintendo (NES)",
"enable": true,
"emulator": "RetroArch",
"gameScan": {
"type": "directory",
"dir": "[[gamesPath]]\nes",
"ext": ["zip", "nes"]
},
"assetScan": {
"dir": "[[assetsPath]]\nes"
},
"launch": {
"target": "[[emulatorsPath]]\retroarch\retroarch.exe",
"params": [
"-L",
"[[emulatorsPath]]\retroarch\cores\nestopia_libretro.dll",
"[[gameConfig.filePath]]",
"-v"
],
"options": {
"shell": true,
"cwd": "[[emulatorsPath]]\retroarch"
}
},
"process": {
"child": "retroarch.exe"
}
},
{
"gameType": "nft",
"displayGameType": "NFT",
"enable": true,
"gameScan": null,
"assetScan": {
"dir": "[[assetsPath]]\nft"
},
"chromeDataPath": "[[tempPath]]\Polycade AGS Chrome",
"launch": {
"target": "start",
"params": [
"chrome",
"[[gameConfig.url]]",
"--kiosk",
"--user-data-dir=\"[[chromeDataPath]]\""
],
"options": {
"shell": true
}
}
},
{
"gameType": "snes",
"displayGameType": "Super Nintendo (SNES)",
"enable": true,
"emulator": "RetroArch",
"gameScan": {
"type": "directory",
"dir": "[[gamesPath]]\snes",
"ext": ["zip", "smc"]
},
"assetScan": {
"dir": "[[assetsPath]]\snes"
},
"launch": {
"target": "[[emulatorsPath]]\retroarch\retroarch.exe",
"params": [
"-L",
"[[emulatorsPath]]\retroarch\cores\snes9x_libretro.dll",
"[[gameConfig.filePath]]",
"-v"
],
"options": {
"shell": true,
"cwd": "[[emulatorsPath]]\retroarch"
}
},
"process": {
"child": "retroarch.exe"
}
},
{
"gameType": "steam",
"displayGameType": "Steam",
"enable": true,
"gameScan": {
"type": "steam"
},
"assetScan": {
"dir": "[[assetsPath]]\steam"
},
"launch": {
"target": "[[gameConfig.steamExePath]]",
"params": [
"-nobigpicture",
"-silent",
"steam://run/[[gameConfig.steamID]]"
],
"options": {}
},
"install": {
"target": "[[gameConfig.steamExePath]]",
"params": ["-silent", "steam://install/[[gameConfig.steamID]]"],
"options": {}
},
"uninstall": {
"target": "[[gameConfig.steamExePath]]",
"params": ["-silent", "steam://uninstall/[[gameConfig.steamID]]"],
"options": {}
}
},
{
"gameType": "turbografx16",
"displayGameType": "Turbo Grafx 16",
"enable": true,
"emulator": "RetroArch",
"gameScan": {
"type": "directory",
"dir": "[[gamesPath]]\turbografx16",
"ext": ["zip", "pce"]
},
"assetScan": {
"dir": "[[assetsPath]]\turbografx16"
},
"launch": {
"target": "[[emulatorsPath]]\retroarch\retroarch.exe",
"params": [
"-L",
"[[emulatorsPath]]\retroarch\cores\mednafen_pce_fast_libretro.dll",
"[[gameConfig.filePath]]",
"-v"
],
"options": {
"shell": true,
"cwd": "[[emulatorsPath]]\retroarch"
}
},
"process": {
"child": "retroarch.exe"
}
},
{
"gameType": "web",
"displayGameType": "Web",
"enable": true,
"gameScan": null,
"assetScan": {
"dir": "[[assetsPath]]\web"
},
"chromeDataPath": "[[tempPath]]\Polycade AGS Chrome",
"launch": {
"target": "start",
"params": [
"chrome",
"[[gameConfig.url]]",
"--kiosk",
"--user-data-dir=\"[[chromeDataPath]]\""
],
"options": {
"shell": true
}
}
}
],
"checkForAppInterval": 2000,
"idleTimeout": 180000,
"warnBeforeIdle": 30000,
"maxHistory": 15,
"currentLogFileName": "polyface-current.json"
}