engine/bin/dreamcast/config.json

140 lines
2.6 KiB
JSON

{
"engine": {
"scenes": {
"start": "SS2",
"meshes": { "interleaved": false },
"matrix": { "reverseInfinite": false },
"lights": { "enabled": false,
"useLightmaps": true,
"max": 1
},
"shadows": {
"enabled": false,
"update": 2,
"max": 8,
"samples": 1
},
"textures": {
"max": {
"2D": 128,
"cube": 1,
"3D": 1
}
}
},
"ext": {
"opengl": {
"validation": { "enabled": false },
"framebuffer": { "size": 1, "msaa": 1 },
"pipelines": {
"culling": true
},
"formats": {
"depth": "D32_SFLOAT",
"color": "R8G8B8A8_UNORM",
"normal": "R16G16B16A16_SFLOAT",
"position": "R16G16B16A16_SFLOAT"
},
"features": [],
"extensions": {
"instance": [],
"device": []
}
},
"lua": {
"enabled": true,
"main": "/main.lua",
"modules": {
"json": "/json.lua"
}
},
"json": {
"encoding": "msgpack",
"compression": "gz"
},
"reactphysics": {
"timescale": 0.01666666666,
"interpolate": false,
"debug draw": {
"enabled": false,
// "layer": "Gui",
"rate": 0.0125
}
}
},
"audio": {
"mute": true,
"buffers": {
"size": 16384,
"count": 3
},
"volumes": {
"sfx": 1.0,
"bgm": 1.0,
"voice": 1.0
},
"streams by default": true
},
"memory pool": {
"enabled": false,
"subPools": true,
"alignment": 32,
"override": false,
"size": "512 KiB",
"pools": {
"entity": "128 KiB",
"userdata": "128 KiB",
"component": "128 KiB"
}
},
"render modes": { "gui": true, "deferred": true },
"limiters": {
"deltaTime": 5,
"framerate": 60
},
"threads": {
"workers" : 1, // "auto",
"frame limiter": "auto"
},
"debug": {
"framerate": {
"print": true,
"every": 1
},
"garbage collection": {
"enabled": true,
"mode": 1,
"rate": 4,
"announce": true
},
"entity": {
"delete children on destroy": false,
"delete components on destroy": false
},
"loader": {
"assert": true
}
}
},
"window" : {
"terminal" : {
"ncurses" : false,
"visible" : false
},
"keyboard" : {
"repeat" : false
},
"cursor" : {
"visible" : true,
"center" : false,
"sensitivity": [ 1.25, 1.25 ],
"smoothing": [ 10, 10 ]
},
"mode" : "windowed",
"icon" : "./data/textures/icon.png",
"size" : [ 640, 480 ],
// "size" : [ 320, 240 ],
"title" : "Grimgram",
"visible" : true
}
}