427 lines
9.8 KiB
Plaintext
427 lines
9.8 KiB
Plaintext
|
{
|
||
|
"output": {
|
||
|
"name": "sdl",
|
||
|
"description": "This section contains all of the low level system settings for how DOSBox interacts with your real hardware. You can define what resolutions are emulated, how DOSBox should treat errors or listen to your keyboard and mouse. You can often achieve a fair level of optimization by working with these setting, though for the most part leaving them at their default settings will create the best experience. These settings are passed on to the SDL Library which handles low level things like input and thread priority.",
|
||
|
"options": {
|
||
|
"autolock": {
|
||
|
"name": "autolock",
|
||
|
"description": "Mouse will automatically lock, if you click on the screen.",
|
||
|
"value": true,
|
||
|
"allowedValues": [
|
||
|
true,
|
||
|
false
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"dosbox": {
|
||
|
"name": "dosbox",
|
||
|
"description": "The [dosbox] section contains various settings that do not pertain to any other section (e.g. setting the language used in DOSBox help texts, where to store screen captures, etc.)",
|
||
|
"options": {
|
||
|
"machine": {
|
||
|
"name": "machine",
|
||
|
"description": "The type of machine tries to emulate.",
|
||
|
"value": "svga_s3",
|
||
|
"allowedValues": [
|
||
|
"hercules",
|
||
|
"cga",
|
||
|
"tandy",
|
||
|
"pcjr",
|
||
|
"ega",
|
||
|
"vgaonly",
|
||
|
"svga_s3",
|
||
|
"svga_et3000",
|
||
|
"svga_et4000",
|
||
|
"svga_paradise",
|
||
|
"vesa_nolfb",
|
||
|
"vesa_oldvbe"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"cpu": {
|
||
|
"name": "cpu",
|
||
|
"description": "The CPU section controls how DOSBox tries to emulate the CPU, how fast the emulation should be, and to adjust it. DOSBox offers 4 different methods of CPU emulation.",
|
||
|
"options": {
|
||
|
"core": {
|
||
|
"name": "core",
|
||
|
"description": "CPU Core used in emulation. auto will switch to dynamic if available and appropriate.",
|
||
|
"value": "auto",
|
||
|
"allowedValues": [
|
||
|
"auto",
|
||
|
"normal",
|
||
|
"simple"
|
||
|
]
|
||
|
},
|
||
|
"cputype": {
|
||
|
"name": "cputype",
|
||
|
"description": "CPU Type used in emulation. auto is the fastest choice.",
|
||
|
"value": "auto",
|
||
|
"allowedValues": [
|
||
|
"auto",
|
||
|
"386",
|
||
|
"386_slow",
|
||
|
"486_slow",
|
||
|
"pentium_slow",
|
||
|
"386_prefetch"
|
||
|
]
|
||
|
},
|
||
|
"cycles": {
|
||
|
"name": "cycles",
|
||
|
"description": "Amount of instructions DOSBox tries to emulate each millisecond. Setting this value too high results in sound dropouts and lags.\nCycles can be set in 3 ways:\n'auto' tries to guess what a game needs.\n It usually works, but can fail for certain games.\n'fixed #number' will set a fixed amount of cycles. This is what you usually need if 'auto' fails.\n (Example: fixed 4000).\n'max' will allocate as much cycles as your computer is able to handle.\n",
|
||
|
"value": "auto",
|
||
|
"allowedValues": [
|
||
|
"auto",
|
||
|
"fixed",
|
||
|
"max"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"mixer": {
|
||
|
"name": "mixer",
|
||
|
"description": "Here you can define the quality of emulated audio.",
|
||
|
"options": {
|
||
|
"rate": {
|
||
|
"name": "rate",
|
||
|
"description": "Frequency rate of sound",
|
||
|
"value": 44100,
|
||
|
"allowedValues": []
|
||
|
},
|
||
|
"nosound": {
|
||
|
"name": "nosound",
|
||
|
"description": "Enable silent mode, sound is still emulated though.",
|
||
|
"value": false,
|
||
|
"allowedValues": [
|
||
|
true,
|
||
|
false
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"autoexec": {
|
||
|
"name": "autoexec",
|
||
|
"description": "Lines in this section will be run at startup",
|
||
|
"options": {
|
||
|
"script": {
|
||
|
"name": "lines",
|
||
|
"description": "Use \\n to separate lines",
|
||
|
"value": "ALADDIN.EXE",
|
||
|
"allowedValues": []
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"layers": {
|
||
|
"default": {
|
||
|
"buttons": [
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 341,
|
||
|
"position": {
|
||
|
"left": 1,
|
||
|
"bottom": 1
|
||
|
},
|
||
|
"symbol": "ATTACK"
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 32,
|
||
|
"position": {
|
||
|
"left": 1,
|
||
|
"bottom": 2
|
||
|
},
|
||
|
"symbol": "UP"
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 342,
|
||
|
"position": {
|
||
|
"left": 2,
|
||
|
"bottom": 1
|
||
|
},
|
||
|
"symbol": "THROW"
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 0,
|
||
|
"symbol": "4",
|
||
|
"position": {
|
||
|
"left": 2,
|
||
|
"bottom": 2
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 0,
|
||
|
"symbol": "5",
|
||
|
"position": {
|
||
|
"right": 1,
|
||
|
"bottom": 1
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 0,
|
||
|
"symbol": "6",
|
||
|
"position": {
|
||
|
"right": 1,
|
||
|
"bottom": 2
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 0,
|
||
|
"symbol": "7",
|
||
|
"position": {
|
||
|
"right": 2,
|
||
|
"bottom": 1
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 0,
|
||
|
"symbol": "8",
|
||
|
"position": {
|
||
|
"right": 2,
|
||
|
"bottom": 2
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 257,
|
||
|
"position": {
|
||
|
"left": 1,
|
||
|
"top": 1
|
||
|
},
|
||
|
"symbol": "EN"
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 0,
|
||
|
"symbol": "10",
|
||
|
"position": {
|
||
|
"left": 1,
|
||
|
"top": 2
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 0,
|
||
|
"symbol": "11",
|
||
|
"position": {
|
||
|
"left": 2,
|
||
|
"top": 1
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 0,
|
||
|
"symbol": "12",
|
||
|
"position": {
|
||
|
"left": 2,
|
||
|
"top": 2
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 0,
|
||
|
"symbol": "13",
|
||
|
"position": {
|
||
|
"right": 1,
|
||
|
"top": 1
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 0,
|
||
|
"symbol": "14",
|
||
|
"position": {
|
||
|
"right": 1,
|
||
|
"top": 2
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 0,
|
||
|
"symbol": "15",
|
||
|
"position": {
|
||
|
"right": 2,
|
||
|
"top": 1
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"action": "hold",
|
||
|
"mapTo": 0,
|
||
|
"symbol": "16",
|
||
|
"position": {
|
||
|
"right": 2,
|
||
|
"top": 2
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"gestures": [
|
||
|
{
|
||
|
"joystickId": 0,
|
||
|
"event": "dir:up",
|
||
|
"mapTo": 265
|
||
|
},
|
||
|
{
|
||
|
"joystickId": 0,
|
||
|
"event": "dir:down",
|
||
|
"mapTo": 264
|
||
|
},
|
||
|
{
|
||
|
"joystickId": 0,
|
||
|
"event": "dir:left",
|
||
|
"mapTo": 263
|
||
|
},
|
||
|
{
|
||
|
"joystickId": 0,
|
||
|
"event": "dir:right",
|
||
|
"mapTo": 262
|
||
|
},
|
||
|
{
|
||
|
"joystickId": 0,
|
||
|
"event": "tap",
|
||
|
"mapTo": 341
|
||
|
},
|
||
|
{
|
||
|
"joystickId": 0,
|
||
|
"event": "end:release",
|
||
|
"mapTo": 0
|
||
|
}
|
||
|
],
|
||
|
"mapper": {}
|
||
|
}
|
||
|
},
|
||
|
"layersConfig": {
|
||
|
"version": 2,
|
||
|
"layers": [
|
||
|
{
|
||
|
"grid": "square",
|
||
|
"title": "Layer#0",
|
||
|
"controls": [
|
||
|
{
|
||
|
"row": 0,
|
||
|
"column": 0,
|
||
|
"symbol": "⏎",
|
||
|
"type": "Key",
|
||
|
"mapTo": [
|
||
|
257
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"row": 6,
|
||
|
"column": 0,
|
||
|
"symbol": "A",
|
||
|
"type": "Key",
|
||
|
"mapTo": [
|
||
|
341
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"row": 5,
|
||
|
"column": 0,
|
||
|
"symbol": "T",
|
||
|
"type": "Key",
|
||
|
"mapTo": [
|
||
|
342
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"row": 4,
|
||
|
"column": 8,
|
||
|
"symbol": "␠",
|
||
|
"type": "Key",
|
||
|
"mapTo": [
|
||
|
32
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"row": 6,
|
||
|
"column": 8,
|
||
|
"symbol": "↓",
|
||
|
"type": "Key",
|
||
|
"mapTo": [
|
||
|
264
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"row": 6,
|
||
|
"column": 7,
|
||
|
"symbol": "←",
|
||
|
"type": "Key",
|
||
|
"mapTo": [
|
||
|
263,
|
||
|
264
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"row": 6,
|
||
|
"column": 9,
|
||
|
"symbol": "→",
|
||
|
"type": "Key",
|
||
|
"mapTo": [
|
||
|
262,
|
||
|
264
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"row": 5,
|
||
|
"column": 7,
|
||
|
"symbol": "←",
|
||
|
"type": "Key",
|
||
|
"mapTo": [
|
||
|
263
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"row": 5,
|
||
|
"column": 9,
|
||
|
"symbol": "→",
|
||
|
"type": "Key",
|
||
|
"mapTo": [
|
||
|
262
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"row": 4,
|
||
|
"column": 7,
|
||
|
"symbol": "␠",
|
||
|
"type": "Key",
|
||
|
"mapTo": [
|
||
|
32,
|
||
|
263
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"row": 4,
|
||
|
"column": 9,
|
||
|
"symbol": "␠",
|
||
|
"type": "Key",
|
||
|
"mapTo": [
|
||
|
32,
|
||
|
262
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"row": 5,
|
||
|
"column": 8,
|
||
|
"type": "NippleActivator",
|
||
|
"symbol": "◯"
|
||
|
},
|
||
|
{
|
||
|
"row": 4,
|
||
|
"column": 0,
|
||
|
"symbol": "↑",
|
||
|
"type": "Key",
|
||
|
"mapTo": [
|
||
|
265
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|