-
Notifications
You must be signed in to change notification settings - Fork 15
Game Objects
RedDucks edited this page Nov 3, 2017
·
1 revision
Game objects are how CemUI stores and reads games. Rather than scanning the game folders every time something is done, CemUI scans each game once and creates a JSON object for that game. That JSON object is then stored in a larger object array, and tucked away in CemUI's appdata.
This is the basic structure of a Game Object:
{
"is_favorite": false,
"plays": 0,
"last_started": 1509671451965, // UNIX timestamp
"last_stopped": 1509671451965, // UNIX timestamp
"is_wud": false,
"title_id": "00050000-101C9400",
"product_code": "WUP-N-ALZE",
"path_root": "C:\\Users\\YOUR_USER_NAME\\Documents\\Games\\WiiU",
"path": "C:\\Users\\YOUR_USER_NAME\\Documents\\Games\\WiiU/The Legend of Zelda Breath of the Wild",
"rom": "U-King.rpx",
"name": "The Legend of Zelda Breath of the Wild", // May contain special characters
"name_clean": "The Legend of Zelda Breath of the Wild", // Special characters removed
"boxart": "C:/Users/YOUR_USER_NAME/AppData/Roaming/CemUI/app_data/cache/images/00050000-101C9400/box.jpg",
"icon": "C:/Users/YOUR_USER_NAME/AppData/Roaming/CemUI/app_data/cache/images/00050000-101C9400/icon.ico",
"grid": "C:/Users/YOUR_USER_NAME/AppData/Roaming/CemUI/app_data/cache/images/00050000-101C9400/grid.webp",
"screenshots": [
"C:/Users/YOUR_USER_NAME/AppData/Roaming/CemUI/app_data/cache/images/00050000-101C9400/screenshots/5.jpg",
"C:/Users/YOUR_USER_NAME/AppData/Roaming/CemUI/app_data/cache/images/00050000-101C9400/screenshots/7.jpg",
"C:/Users/YOUR_USER_NAME/AppData/Roaming/CemUI/app_data/cache/images/00050000-101C9400/screenshots/6.jpg",
"C:/Users/YOUR_USER_NAME/AppData/Roaming/CemUI/app_data/cache/images/00050000-101C9400/screenshots/4.jpg",
"C:/Users/YOUR_USER_NAME/AppData/Roaming/CemUI/app_data/cache/images/00050000-101C9400/screenshots/0.jpg",
"C:/Users/YOUR_USER_NAME/AppData/Roaming/CemUI/app_data/cache/images/00050000-101C9400/screenshots/2.jpg",
"C:/Users/YOUR_USER_NAME/AppData/Roaming/CemUI/app_data/cache/images/00050000-101C9400/screenshots/1.jpg",
"C:/Users/YOUR_USER_NAME/AppData/Roaming/CemUI/app_data/cache/images/00050000-101C9400/screenshots/3.jpg"
],
"genres": [
"Action",
"Adventure",
"Role-Playing"
],
"release_date": "3/3/2017",
"publisher": "Nintendo",
"developer": "Nintendo",
"region": "USA",
"release_region": "NTSC-U",
"rating": "ESRB - E10+",
"co_op": "No",
"description": "The Legend of Zelda: Breath of the Wild is an action-adventure video game developed and published by Nintendo for the Nintendo Switch and Wii U video game consoles. It is the 19th release in the main The Legend of Zelda series",
"settings": { // JSON-ified ini settings
"Graphics": {
"accurateShaderMul": true,
"disableGPUFence": false,
"GPUBufferCacheAccuracy": 0
},
"CPU": {
"cpuTimer": "cycleCounter",
"emulateSinglePrecision": false
},
"Audio": {
"disableAudio": false
}
}
}