The Home menu Game recommendation contains a JSON file that must follow the schematic below. All root tree of JSON must start with "items": [ . Failure to do so will have a TypeError: Unexpected at <!. This is known to be problematic. Easy fix is to input the mandatory field called items. The fields must contain these.
{"name":"Name of game",// Mandatory field "Version": 1, // Supported by only a few launchers. Graycrown does not support this field, leaving it optional
"developer":"Developer name",// Basic metadata, Graycrown doesn't need it"feed":"https://put-your.rss/url/here",// RSS feed, Graycrown doesn't support it"info":"A Brief summary of the game",// Mandatory field"banner":"https://bobuxstation.github.io/Coal-Web/banners/Memeforest.png",// Mandatory field"link":"https://bobuxstation.github.io/Coal-Web/Memeforest/index.html",// Mandatory field "download":"https://bobuxstation.github.io/Coal-Web/DownloadGames/MemeforestGame.html" // Only AB Coal supports this, Graycrown doesn't
},
You can even put multiple of these.
The final file should look like these.
{"items": [ {"name":"Name of game",// Mandatory field "Version": 1, // Supported by only a few launchers. Graycrown does not support this field, leaving it optional
"developer":"Developer name",// Basic metadata, Graycrown doesn't need it"feed":"https://put-your.rss/url/here",// RSS feed, Graycrown doesn't support it"info":"A Brief summary of the game",// Mandatory field"banner":"https://bobuxstation.github.io/Coal-Web/banners/Memeforest.png",// Mandatory field"link":"https://bobuxstation.github.io/Coal-Web/Memeforest/index.html",// Mandatory field "download":"https://bobuxstation.github.io/Coal-Web/DownloadGames/MemeforestGame.html" // Only AB Coal supports this, Graycrown doesn't
} ]}
Graycrown <iframe> issues
There are some well-known issues with Graycrown's <iframe> tag to embed games onto the Graycrown app. One of it is:
Homebrewing is not allowed by <iframe>. This is a known issue, as some websites deny themselves being embedded. We are working to fix this issue with Electron's <webview> tag.