_schema.json 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "$id": "https://ryujinx.org/_schema/config.json",
  4. "type": "object",
  5. "title": "Ryujinx Configuration Schema",
  6. "required": [
  7. "graphics_shaders_dump_path",
  8. "logging_enable_debug",
  9. "logging_enable_stub",
  10. "logging_enable_info",
  11. "logging_enable_warn",
  12. "logging_enable_error",
  13. "logging_enable_guest",
  14. "logging_enable_fs_access_log",
  15. "logging_filtered_classes",
  16. "enable_file_log",
  17. "system_language",
  18. "system_region",
  19. "docked_mode",
  20. "enable_vsync",
  21. "enable_multicore_scheduling",
  22. "enable_ptc",
  23. "enable_fs_integrity_checks",
  24. "fs_global_access_log_mode",
  25. "enable_keyboard",
  26. "keyboard_config",
  27. "controller_config"
  28. ],
  29. "definitions": {
  30. "key": {
  31. "type": "string",
  32. "enum": [
  33. "ShiftLeft",
  34. "LShift",
  35. "ShiftRight",
  36. "RShift",
  37. "ControlLeft",
  38. "LControl",
  39. "ControlRight",
  40. "RControl",
  41. "AltLeft",
  42. "LAlt",
  43. "AltRight",
  44. "RAlt",
  45. "WinLeft",
  46. "LWin",
  47. "WinRight",
  48. "RWin",
  49. "Menu",
  50. "F1",
  51. "F2",
  52. "F3",
  53. "F4",
  54. "F5",
  55. "F6",
  56. "F7",
  57. "F8",
  58. "F9",
  59. "F10",
  60. "F11",
  61. "F12",
  62. "F13",
  63. "F14",
  64. "F15",
  65. "F16",
  66. "F17",
  67. "F18",
  68. "F19",
  69. "F20",
  70. "F21",
  71. "F22",
  72. "F23",
  73. "F24",
  74. "F25",
  75. "F26",
  76. "F27",
  77. "F28",
  78. "F29",
  79. "F30",
  80. "F31",
  81. "F32",
  82. "F33",
  83. "F34",
  84. "F35",
  85. "Up",
  86. "Down",
  87. "Left",
  88. "Right",
  89. "Enter",
  90. "Escape",
  91. "Space",
  92. "Tab",
  93. "BackSpace",
  94. "Back",
  95. "Insert",
  96. "Delete",
  97. "PageUp",
  98. "PageDown",
  99. "Home",
  100. "End",
  101. "CapsLock",
  102. "ScrollLock",
  103. "PrintScreen",
  104. "Pause",
  105. "NumLock",
  106. "Clear",
  107. "Sleep",
  108. "Keypad0",
  109. "Keypad1",
  110. "Keypad2",
  111. "Keypad3",
  112. "Keypad4",
  113. "Keypad5",
  114. "Keypad6",
  115. "Keypad7",
  116. "Keypad8",
  117. "Keypad9",
  118. "KeypadDivide",
  119. "KeypadMultiply",
  120. "KeypadSubtract",
  121. "KeypadMinus",
  122. "KeypadAdd",
  123. "KeypadPlus",
  124. "KeypadDecimal",
  125. "KeypadPeriod",
  126. "KeypadEnter",
  127. "A",
  128. "B",
  129. "C",
  130. "D",
  131. "E",
  132. "F",
  133. "G",
  134. "H",
  135. "I",
  136. "J",
  137. "K",
  138. "L",
  139. "M",
  140. "N",
  141. "O",
  142. "P",
  143. "Q",
  144. "R",
  145. "S",
  146. "T",
  147. "U",
  148. "V",
  149. "W",
  150. "X",
  151. "Y",
  152. "Z",
  153. "Number0",
  154. "Number1",
  155. "Number2",
  156. "Number3",
  157. "Number4",
  158. "Number5",
  159. "Number6",
  160. "Number7",
  161. "Number8",
  162. "Number9",
  163. "Tilde",
  164. "Grave",
  165. "Minus",
  166. "Plus",
  167. "BracketLeft",
  168. "LBracket",
  169. "BracketRight",
  170. "RBracket",
  171. "Semicolon",
  172. "Quote",
  173. "Comma",
  174. "Period",
  175. "Slash",
  176. "BackSlash",
  177. "NonUSBackSlash",
  178. "LastKey"
  179. ]
  180. },
  181. "input": {
  182. "type": "string",
  183. "enum": [
  184. "Button0",
  185. "Button1",
  186. "Button2",
  187. "Button3",
  188. "Button4",
  189. "Button5",
  190. "Button6",
  191. "Button7",
  192. "Button8",
  193. "Button9",
  194. "Button10",
  195. "Button11",
  196. "Button12",
  197. "Button13",
  198. "Button14",
  199. "Button15",
  200. "Button16",
  201. "Button17",
  202. "Button18",
  203. "Button19",
  204. "Button20",
  205. "Axis0",
  206. "Axis1",
  207. "Axis2",
  208. "Axis3",
  209. "Axis4",
  210. "Axis5",
  211. "Hat0Up",
  212. "Hat0Down",
  213. "Hat0Left",
  214. "Hat0Right",
  215. "Hat1Up",
  216. "Hat1Down",
  217. "Hat1Left",
  218. "Hat1Right",
  219. "Hat2Up",
  220. "Hat2Down",
  221. "Hat2Left",
  222. "Hat2Right"
  223. ]
  224. },
  225. "keyboard_config": {
  226. "type": "object",
  227. "properties": {
  228. "index": {
  229. "$id": "#/definitions/keyboard_config/properties/index",
  230. "type": "integer",
  231. "title": "Keyboard Index",
  232. "description": "Keyboard Device Index",
  233. "default": 0,
  234. "minimum": 0,
  235. "examples": [
  236. 0,
  237. 1,
  238. 2
  239. ]
  240. },
  241. "controller_type": {
  242. "$id": "#/properties/keyboard_config/properties/controller_type",
  243. "type": "string",
  244. "title": "Controller Type",
  245. "default": "Handheld",
  246. "enum": [
  247. "Handheld",
  248. "ProController",
  249. "JoyconPair",
  250. "JoyconLeft",
  251. "JoyconRight"
  252. ],
  253. "examples": [
  254. "Handheld",
  255. "ProController",
  256. "JoyconPair",
  257. "JoyconLeft",
  258. "JoyconRight"
  259. ]
  260. },
  261. "player_index": {
  262. "$id": "#/properties/keyboard_config/properties/player_index",
  263. "type": "string",
  264. "title": "Player Index",
  265. "default": "Player1",
  266. "enum": [
  267. "Player1",
  268. "Player2",
  269. "Player3",
  270. "Player4",
  271. "Player5",
  272. "Player6",
  273. "Player7",
  274. "Player8",
  275. "Handheld"
  276. ]
  277. },
  278. "left_joycon": {
  279. "$id": "#/definitions/keyboard_config/properties/left_joycon",
  280. "type": "object",
  281. "title": "Left JoyCon Controls",
  282. "required": [
  283. "stick_up",
  284. "stick_down",
  285. "stick_left",
  286. "stick_right",
  287. "stick_button",
  288. "dpad_up",
  289. "dpad_down",
  290. "dpad_left",
  291. "dpad_right",
  292. "button_minus",
  293. "button_l",
  294. "button_zl"
  295. ],
  296. "properties": {
  297. "stick_up": {
  298. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_up",
  299. "$ref": "#/definitions/key",
  300. "title": "Stick Up",
  301. "default": "w"
  302. },
  303. "stick_down": {
  304. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_down",
  305. "$ref": "#/definitions/key",
  306. "title": "Stick Down",
  307. "default": "S"
  308. },
  309. "stick_left": {
  310. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_left",
  311. "$ref": "#/definitions/key",
  312. "title": "Stick Left",
  313. "default": "A"
  314. },
  315. "stick_right": {
  316. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_right",
  317. "$ref": "#/definitions/key",
  318. "title": "Stick Right",
  319. "default": "D"
  320. },
  321. "stick_button": {
  322. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/stick_button",
  323. "$ref": "#/definitions/key",
  324. "title": "Stick Button",
  325. "default": "F"
  326. },
  327. "dpad_up": {
  328. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/dpad_up",
  329. "$ref": "#/definitions/key",
  330. "title": "Dpad Up",
  331. "default": "Up"
  332. },
  333. "dpad_down": {
  334. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/dpad_down",
  335. "$ref": "#/definitions/key",
  336. "title": "Dpad Down",
  337. "default": "Down"
  338. },
  339. "dpad_left": {
  340. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/dpad_left",
  341. "$ref": "#/definitions/key",
  342. "title": "Dpad Left",
  343. "default": "Left"
  344. },
  345. "dpad_right": {
  346. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/dpad_right",
  347. "$ref": "#/definitions/key",
  348. "title": "Dpad Right",
  349. "default": "Right"
  350. },
  351. "button_minus": {
  352. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/button_minus",
  353. "$ref": "#/definitions/key",
  354. "title": "Button Minus",
  355. "default": "Minus"
  356. },
  357. "button_l": {
  358. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/button_l",
  359. "$ref": "#/definitions/key",
  360. "title": "Button L",
  361. "default": "E"
  362. },
  363. "button_zl": {
  364. "$id": "#/definitions/keyboard_config/properties/left_joycon/properties/button_zl",
  365. "$ref": "#/definitions/key",
  366. "title": "Button ZL",
  367. "default": "Q"
  368. }
  369. }
  370. },
  371. "right_joycon": {
  372. "$id": "#/definitions/keyboard_config/properties/right_joycon",
  373. "type": "object",
  374. "title": "Right JoyCon Controls",
  375. "required": [
  376. "stick_up",
  377. "stick_down",
  378. "stick_left",
  379. "stick_right",
  380. "stick_button",
  381. "button_a",
  382. "button_b",
  383. "button_x",
  384. "button_y",
  385. "button_plus",
  386. "button_r",
  387. "button_zr"
  388. ],
  389. "properties": {
  390. "stick_up": {
  391. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_up",
  392. "$ref": "#/definitions/key",
  393. "title": "Stick Up",
  394. "default": "I"
  395. },
  396. "stick_down": {
  397. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_down",
  398. "$ref": "#/definitions/key",
  399. "title": "Stick Down",
  400. "default": "K"
  401. },
  402. "stick_left": {
  403. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_left",
  404. "$ref": "#/definitions/key",
  405. "title": "Stick Left",
  406. "default": "J"
  407. },
  408. "stick_right": {
  409. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_right",
  410. "$ref": "#/definitions/key",
  411. "title": "Stick Right",
  412. "default": "L"
  413. },
  414. "stick_button": {
  415. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/stick_button",
  416. "$ref": "#/definitions/key",
  417. "title": "Stick Button",
  418. "default": "H"
  419. },
  420. "button_a": {
  421. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_a",
  422. "$ref": "#/definitions/key",
  423. "title": "Button A",
  424. "default": "Z"
  425. },
  426. "button_b": {
  427. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_b",
  428. "$ref": "#/definitions/key",
  429. "title": "Button B",
  430. "default": "X"
  431. },
  432. "button_x": {
  433. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_x",
  434. "$ref": "#/definitions/key",
  435. "title": "Button X",
  436. "default": "C"
  437. },
  438. "button_y": {
  439. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_y",
  440. "$ref": "#/definitions/key",
  441. "title": "Button Y",
  442. "default": "V"
  443. },
  444. "button_plus": {
  445. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_plus",
  446. "$ref": "#/definitions/key",
  447. "title": "Button Plus",
  448. "default": "Plus"
  449. },
  450. "button_r": {
  451. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_r",
  452. "$ref": "#/definitions/key",
  453. "title": "Button R",
  454. "default": "U"
  455. },
  456. "button_zr": {
  457. "$id": "#/definitions/keyboard_config/properties/right_joycon/properties/button_zr",
  458. "$ref": "#/definitions/key",
  459. "title": "Button Zr",
  460. "default": "O"
  461. }
  462. }
  463. }
  464. }
  465. },
  466. "controller_config": {
  467. "type": "object",
  468. "properties": {
  469. "index": {
  470. "$id": "#/definitions/controller_config/properties/index",
  471. "type": "integer",
  472. "title": "Controller Index",
  473. "description": "Controller Device Index",
  474. "default": 0,
  475. "minimum": 0,
  476. "examples": [
  477. 0,
  478. 1,
  479. 2
  480. ]
  481. },
  482. "controller_type": {
  483. "$id": "#/properties/controller_config/properties/controller_type",
  484. "type": "string",
  485. "title": "Controller Type",
  486. "default": "Handheld",
  487. "enum": [
  488. "Handheld",
  489. "ProController",
  490. "JoyconPair",
  491. "JoyconLeft",
  492. "JoyconRight"
  493. ],
  494. "examples": [
  495. "Handheld",
  496. "ProController",
  497. "JoyconPair",
  498. "JoyconLeft",
  499. "JoyconRight"
  500. ]
  501. },
  502. "player_index": {
  503. "$id": "#/properties/controller_config/properties/player_index",
  504. "type": "string",
  505. "title": "Player Index",
  506. "default": "Player1",
  507. "enum": [
  508. "Player1",
  509. "Player2",
  510. "Player3",
  511. "Player4",
  512. "Player5",
  513. "Player6",
  514. "Player7",
  515. "Player8",
  516. "Handheld"
  517. ]
  518. },
  519. "deadzone_left": {
  520. "$id": "#/definitions/controller_config/properties/deadzone_left",
  521. "type": "number",
  522. "title": "Left Joystick Deadzone",
  523. "description": "Controller Left Analog Stick Deadzone",
  524. "default": 0.05,
  525. "minimum": 0.00,
  526. "maximum": 1.00,
  527. "examples": [
  528. 0.05
  529. ]
  530. },
  531. "deadzone_right": {
  532. "$id": "#/definitions/controller_config/properties/deadzone_right",
  533. "type": "number",
  534. "title": "Right Joystick Deadzone",
  535. "description": "Controller Right Analog Stick Deadzone",
  536. "default": 0.05,
  537. "minimum": 0.00,
  538. "maximum": 1.00,
  539. "examples": [
  540. 0.05
  541. ]
  542. },
  543. "trigger_threshold": {
  544. "$id": "#/definitions/controller_config/properties/trigger_threshold",
  545. "type": "number",
  546. "title": "Controller Trigger Threshold",
  547. "description": "The value of how pressed down each trigger has to be in order to register a button press",
  548. "default": 0.5,
  549. "minimum": 0.0,
  550. "maximum": 1.0,
  551. "examples": [
  552. 0.5
  553. ]
  554. },
  555. "left_joycon": {
  556. "$id": "#/definitions/controller_config/properties/left_joycon",
  557. "type": "object",
  558. "title": "Left JoyCon Controls",
  559. "required": [
  560. "stick",
  561. "stick_button",
  562. "dpad_up",
  563. "dpad_down",
  564. "dpad_left",
  565. "dpad_right",
  566. "button_minus",
  567. "button_l",
  568. "button_zl"
  569. ],
  570. "properties": {
  571. "stick": {
  572. "$id": "#/definitions/controller_config/properties/left_joycon/properties/stick",
  573. "$ref": "#/definitions/input",
  574. "title": "Stick",
  575. "default": "Axis0"
  576. },
  577. "stick_button": {
  578. "$id": "#/definitions/controller_config/properties/left_joycon/properties/stick_button",
  579. "$ref": "#/definitions/input",
  580. "title": "Stick Button",
  581. "default": "Button13"
  582. },
  583. "dpad_up": {
  584. "$id": "#/definitions/controller_config/properties/left_joycon/properties/dpad_up",
  585. "$ref": "#/definitions/input",
  586. "title": "Dpad Up",
  587. "default": "Hat0Up"
  588. },
  589. "dpad_down": {
  590. "$id": "#/definitions/controller_config/properties/left_joycon/properties/dpad_down",
  591. "$ref": "#/definitions/input",
  592. "title": "Dpad Down",
  593. "default": "Hat0Down"
  594. },
  595. "dpad_left": {
  596. "$id": "#/definitions/controller_config/properties/left_joycon/properties/dpad_left",
  597. "$ref": "#/definitions/input",
  598. "title": "Dpad Left",
  599. "default": "Hat0Left"
  600. },
  601. "dpad_right": {
  602. "$id": "#/definitions/controller_config/properties/left_joycon/properties/dpad_right",
  603. "$ref": "#/definitions/input",
  604. "title": "Dpad Right",
  605. "default": "Hat0Right"
  606. },
  607. "button_minus": {
  608. "$id": "#/definitions/controller_config/properties/left_joycon/properties/button_minus",
  609. "$ref": "#/definitions/input",
  610. "title": "Button Minus",
  611. "default": "Button10"
  612. },
  613. "button_l": {
  614. "$id": "#/definitions/controller_config/properties/left_joycon/properties/button_l",
  615. "$ref": "#/definitions/input",
  616. "title": "Button L",
  617. "default": "Button6"
  618. },
  619. "button_zl": {
  620. "$id": "#/definitions/controller_config/properties/left_joycon/properties/button_zl",
  621. "$ref": "#/definitions/input",
  622. "title": "Button ZL",
  623. "default": "Button8"
  624. }
  625. }
  626. },
  627. "right_joycon": {
  628. "$id": "#/definitions/controller_config/properties/right_joycon",
  629. "type": "object",
  630. "title": "Right JoyCon Controls",
  631. "required": [
  632. "stick",
  633. "stick_button",
  634. "button_a",
  635. "button_b",
  636. "button_x",
  637. "button_y",
  638. "button_plus",
  639. "button_r",
  640. "button_zr"
  641. ],
  642. "properties": {
  643. "stick": {
  644. "$id": "#/definitions/controller_config/properties/right_joycon/properties/stick",
  645. "$ref": "#/definitions/input",
  646. "title": "Stick",
  647. "default": "Axis2"
  648. },
  649. "stick_button": {
  650. "$id": "#/definitions/controller_config/properties/right_joycon/properties/stick_button",
  651. "$ref": "#/definitions/input",
  652. "title": "Stick Button",
  653. "default": "Button14"
  654. },
  655. "button_a": {
  656. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_a",
  657. "$ref": "#/definitions/input",
  658. "title": "Button A",
  659. "default": "Button0"
  660. },
  661. "button_b": {
  662. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_b",
  663. "$ref": "#/definitions/input",
  664. "title": "Button B",
  665. "default": "Button1"
  666. },
  667. "button_x": {
  668. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_x",
  669. "$ref": "#/definitions/input",
  670. "title": "Button X",
  671. "default": "Button3"
  672. },
  673. "button_y": {
  674. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_y",
  675. "$ref": "#/definitions/input",
  676. "title": "Button Y",
  677. "default": "Button4"
  678. },
  679. "button_plus": {
  680. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_plus",
  681. "$ref": "#/definitions/input",
  682. "title": "Button Plus",
  683. "default": "Button11"
  684. },
  685. "button_r": {
  686. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_r",
  687. "$ref": "#/definitions/input",
  688. "title": "Button R",
  689. "default": "Button7"
  690. },
  691. "button_zr": {
  692. "$id": "#/definitions/controller_config/properties/right_joycon/properties/button_zr",
  693. "$ref": "#/definitions/input",
  694. "title": "Button ZR",
  695. "default": "Button9"
  696. }
  697. }
  698. }
  699. }
  700. }
  701. },
  702. "properties": {
  703. "max_anisotropy": {
  704. "$id": "#/properties/max_anisotropy",
  705. "type": "integer",
  706. "title": "Max Anisotropy. Values range from 0 - 16. Set to -1 to let the game decide.",
  707. "description": "Max Anisotropy. Values range from 0 - 16. Set to -1 to let the game decide.",
  708. "default": -1,
  709. "examples": [
  710. -1,
  711. 4,
  712. 8,
  713. 16
  714. ]
  715. },
  716. "graphics_shaders_dump_path": {
  717. "$id": "#/properties/graphics_shaders_dump_path",
  718. "type": "string",
  719. "title": "Graphics Shaders Dump Path",
  720. "description": "Dumps shaders in this local directory",
  721. "default": "",
  722. "examples": [
  723. "C:\\ShaderDumps"
  724. ]
  725. },
  726. "logging_enable_debug": {
  727. "$id": "#/properties/logging_enable_debug",
  728. "type": "boolean",
  729. "title": "Logging Enable Debug",
  730. "description": "Enables printing debug log messages",
  731. "default": false,
  732. "examples": [
  733. true,
  734. false
  735. ]
  736. },
  737. "logging_enable_stub": {
  738. "$id": "#/properties/logging_enable_stub",
  739. "type": "boolean",
  740. "title": "Logging Enable Stub",
  741. "description": "Enables printing stub log messages",
  742. "default": true,
  743. "examples": [
  744. true,
  745. false
  746. ]
  747. },
  748. "logging_enable_info": {
  749. "$id": "#/properties/logging_enable_info",
  750. "type": "boolean",
  751. "title": "Logging Enable Info",
  752. "description": "Enables printing info log messages",
  753. "default": true,
  754. "examples": [
  755. true,
  756. false
  757. ]
  758. },
  759. "logging_enable_warn": {
  760. "$id": "#/properties/logging_enable_warn",
  761. "type": "boolean",
  762. "title": "Logging Enable Warn",
  763. "description": "Enables printing warning log messages",
  764. "default": true,
  765. "examples": [
  766. true,
  767. false
  768. ]
  769. },
  770. "logging_enable_error": {
  771. "$id": "#/properties/logging_enable_error",
  772. "type": "boolean",
  773. "title": "Logging Enable Error",
  774. "description": "Enables printing error log messages",
  775. "default": true,
  776. "examples": [
  777. true,
  778. false
  779. ]
  780. },
  781. "logging_enable_guest": {
  782. "$id": "#/properties/logging_enable_guest",
  783. "type": "boolean",
  784. "title": "Logging Enable Guest",
  785. "description": "Enables printing guest log messages",
  786. "default": true,
  787. "examples": [
  788. true,
  789. false
  790. ]
  791. },
  792. "logging_enable_fs_access": {
  793. "$id": "#/properties/logging_enable_fs_access_log",
  794. "type": "boolean",
  795. "title": "Logging Enable FS Access Log",
  796. "description": "Enables printing FS access log messages",
  797. "default": true,
  798. "examples": [
  799. true,
  800. false
  801. ]
  802. },
  803. "logging_filtered_classes": {
  804. "$id": "#/properties/logging_filtered_classes",
  805. "type": "array",
  806. "title": "Logging Filtered Classes",
  807. "description": "Controls which log messages are written to the log targets",
  808. "items": {
  809. "type": "string",
  810. "enum": [
  811. "Application",
  812. "Audio",
  813. "Cpu",
  814. "Font",
  815. "Emulation",
  816. "Gpu",
  817. "Hid",
  818. "Kernel",
  819. "KernelIpc",
  820. "KernelScheduler",
  821. "KernelSvc",
  822. "Loader",
  823. "Service",
  824. "ServiceAcc",
  825. "ServiceAm",
  826. "ServiceApm",
  827. "ServiceAudio",
  828. "ServiceBsd",
  829. "ServiceCaps",
  830. "ServiceFriend",
  831. "ServiceFs",
  832. "ServiceHid",
  833. "ServiceIrs",
  834. "ServiceLdr",
  835. "ServiceLm",
  836. "ServiceMm",
  837. "ServiceNfp",
  838. "ServiceNifm",
  839. "ServiceNs",
  840. "ServiceNv",
  841. "ServicePctl",
  842. "ServicePl",
  843. "ServicePrepo",
  844. "ServicePsm",
  845. "ServiceSet",
  846. "ServiceSfdnsres",
  847. "ServiceSm",
  848. "ServiceSsl",
  849. "ServiceSss",
  850. "ServiceTime",
  851. "ServiceVi"
  852. ]
  853. }
  854. },
  855. "enable_file_log": {
  856. "$id": "#/properties/enable_file_log",
  857. "type": "boolean",
  858. "title": "Enable File Log",
  859. "description": "Enables logging to a file on disk",
  860. "default": true,
  861. "examples": [
  862. true,
  863. false
  864. ]
  865. },
  866. "system_language": {
  867. "$id": "#/properties/system_language",
  868. "type": "string",
  869. "title": "System Language",
  870. "description": "Change System Language",
  871. "default": "AmericanEnglish",
  872. "enum": [
  873. "Japanese",
  874. "AmericanEnglish",
  875. "French",
  876. "German",
  877. "Italian",
  878. "Spanish",
  879. "Chinese",
  880. "Korean",
  881. "Dutch",
  882. "Portuguese",
  883. "Russian",
  884. "Taiwanese",
  885. "BritishEnglish",
  886. "CanadianFrench",
  887. "LatinAmericanSpanish",
  888. "SimplifiedChinese",
  889. "TraditionalChinese"
  890. ],
  891. "examples": [
  892. "AmericanEnglish"
  893. ]
  894. },
  895. "system_region": {
  896. "$id": "#/properties/system_region",
  897. "type": "string",
  898. "title": "System Region",
  899. "description": "Change System Region",
  900. "default": "USA",
  901. "enum": [
  902. "Japan",
  903. "USA",
  904. "Europe",
  905. "Australia",
  906. "China",
  907. "Korea",
  908. "Taiwan"
  909. ],
  910. "examples": [
  911. "USA"
  912. ]
  913. },
  914. "system_time_offset": {
  915. "$id": "#/properties/system_time_offset",
  916. "type": "integer",
  917. "title": "System Time Offset",
  918. "description": "System time offset in seconds.",
  919. "default": 0,
  920. "examples": [
  921. -3600,
  922. 0,
  923. 3600
  924. ]
  925. },
  926. "docked_mode": {
  927. "$id": "#/properties/docked_mode",
  928. "type": "boolean",
  929. "title": "Enable Docked Mode",
  930. "description": "Enables or disables Docked Mode",
  931. "default": false,
  932. "examples": [
  933. true,
  934. false
  935. ]
  936. },
  937. "enable_discord_integration": {
  938. "$id": "#/properties/enable_discord_integration",
  939. "type": "boolean",
  940. "title": "Enable Discord Rich Presence",
  941. "description": "Enable or disable Discord Rich Presence",
  942. "default": true,
  943. "examples": [
  944. true,
  945. false
  946. ]
  947. },
  948. "enable_vsync": {
  949. "$id": "#/properties/enable_vsync",
  950. "type": "boolean",
  951. "title": "Enable Vertical Sync",
  952. "description": "Enables or disables Vertical Sync",
  953. "default": true,
  954. "examples": [
  955. true,
  956. false
  957. ]
  958. },
  959. "enable_multicore_scheduling": {
  960. "$id": "#/properties/enable_multicore_scheduling",
  961. "type": "boolean",
  962. "title": "Enable Multicore Scheduling",
  963. "description": "Enables or disables multi-core scheduling of threads",
  964. "default": true,
  965. "examples": [
  966. true,
  967. false
  968. ]
  969. },
  970. "enable_ptc": {
  971. "$id": "#/properties/enable_ptc",
  972. "type": "boolean",
  973. "title": "Enable Profiled Persistent Translation Cache",
  974. "description": "Enables or disables profiled translation cache persistency",
  975. "default": false,
  976. "examples": [
  977. true,
  978. false
  979. ]
  980. },
  981. "enable_fs_integrity_checks": {
  982. "$id": "#/properties/enable_fs_integrity_checks",
  983. "type": "boolean",
  984. "title": "Enable Filesystem Integrity Checks",
  985. "description": "Enables integrity checks on Game content files. Only applies to ROMs loaded as XCI files",
  986. "default": true,
  987. "examples": [
  988. true,
  989. false
  990. ]
  991. },
  992. "fs_global_access_log_mode": {
  993. "$id": "#/properties/fs_global_access_log_mode",
  994. "type": "integer",
  995. "title": "Enable FS access log",
  996. "description": "Enables FS access log output. Possible modes are 0-3. Modes 2 and 3 output to the console",
  997. "default": 0,
  998. "minimum": 0,
  999. "examples": [
  1000. 0,
  1001. 1,
  1002. 2,
  1003. 3
  1004. ]
  1005. },
  1006. "ignore_missing_services": {
  1007. "$id": "#/properties/ignore_missing_services",
  1008. "type": "boolean",
  1009. "title": "Ignore Missing Services",
  1010. "description": "Enable or disable ignoring missing services, this may cause instability",
  1011. "default": false,
  1012. "examples": [
  1013. true,
  1014. false
  1015. ]
  1016. },
  1017. "gui_columns": {
  1018. "$id": "#/properties/gui_columns",
  1019. "type": "object",
  1020. "title": "Used to toggle columns in the GUI",
  1021. "description": "Used to toggle columns in the GUI",
  1022. "properties": {
  1023. "fav_column": {
  1024. "$id": "#/properties/gui_columns/properties/fav_column",
  1025. "type": "boolean",
  1026. "title": "",
  1027. "default": true
  1028. },
  1029. "icon_column": {
  1030. "$id": "#/properties/gui_columns/properties/icon_column",
  1031. "type": "boolean",
  1032. "title": "",
  1033. "default": true
  1034. },
  1035. "app_column": {
  1036. "$id": "#/properties/gui_columns/properties/app_column",
  1037. "type": "boolean",
  1038. "title": "",
  1039. "default": true
  1040. },
  1041. "dev_column": {
  1042. "$id": "#/properties/gui_columns/properties/dev_column",
  1043. "type": "boolean",
  1044. "title": "",
  1045. "default": true
  1046. },
  1047. "version_column": {
  1048. "$id": "#/properties/gui_columns/properties/version_column",
  1049. "type": "boolean",
  1050. "title": "",
  1051. "default": true
  1052. },
  1053. "time_played_column": {
  1054. "$id": "#/properties/gui_columns/properties/time_played_column",
  1055. "type": "boolean",
  1056. "title": "",
  1057. "default": true
  1058. },
  1059. "last_played_column": {
  1060. "$id": "#/properties/gui_columns/properties/last_played_column",
  1061. "type": "boolean",
  1062. "title": "",
  1063. "default": true
  1064. },
  1065. "file_ext_column": {
  1066. "$id": "#/properties/gui_columns/properties/file_ext_column",
  1067. "type": "boolean",
  1068. "title": "",
  1069. "default": true
  1070. },
  1071. "file_size_column": {
  1072. "$id": "#/properties/gui_columns/properties/file_size_column",
  1073. "type": "boolean",
  1074. "title": "",
  1075. "default": true
  1076. },
  1077. "path_column": {
  1078. "$id": "#/properties/gui_columns/properties/path_column",
  1079. "type": "boolean",
  1080. "title": "",
  1081. "default": true
  1082. }
  1083. }
  1084. },
  1085. "column_sort": {
  1086. "$id": "#/properties/column_sort",
  1087. "type": "object",
  1088. "title": "Used to configure column sort settings in the GUI",
  1089. "description": "Used to configure column sort settings in the GUI",
  1090. "properties": {
  1091. "sort_column_id": {
  1092. "$id": "#/properties/column_sort/properties/sort_column_id",
  1093. "type": "integer",
  1094. "title": "",
  1095. "default": 0
  1096. },
  1097. "sort_ascending": {
  1098. "$id": "#/properties/column_sort/properties/sort_ascending",
  1099. "type": "boolean",
  1100. "title": "",
  1101. "default": false
  1102. }
  1103. }
  1104. },
  1105. "game_dirs": {
  1106. "$id": "#/properties/game_dirs",
  1107. "type": "array",
  1108. "title": "List of Game Directories",
  1109. "description": "A list of directories containing games to be used to load games into the games list",
  1110. "default": []
  1111. },
  1112. "enable_custom_theme": {
  1113. "$id": "#/properties/enable_custom_theme",
  1114. "type": "boolean",
  1115. "title": "Enable custom themes in the GUI",
  1116. "description": "Enable or disable custom themes in the GUI",
  1117. "default": false,
  1118. "examples": [
  1119. true,
  1120. false
  1121. ]
  1122. },
  1123. "custom_theme_path": {
  1124. "$id": "#/properties/custom_theme_path",
  1125. "type": "string",
  1126. "title": "Path to custom GUI theme",
  1127. "description": "Path to custom GUI theme",
  1128. "default": ""
  1129. },
  1130. "enable_keyboard": {
  1131. "$id": "#/properties/enable_keyboard",
  1132. "type": "boolean",
  1133. "title": "(HID) Keyboard Enable",
  1134. "description": "Enable or disable direct keyboard access (HID) support (Provides games access to your keyboard as a text entry device)",
  1135. "default": true,
  1136. "examples": [
  1137. true,
  1138. false
  1139. ]
  1140. },
  1141. "hotkeys": {
  1142. "$id": "#/properties/hotkeys",
  1143. "type": "object",
  1144. "title": "Hotkey Controls",
  1145. "required": [
  1146. "toggle_vsync"
  1147. ],
  1148. "properties": {
  1149. "toggle_vsync": {
  1150. "$id": "#/properties/hotkeys/properties/toggle_vsync",
  1151. "$ref": "#/definitions/key",
  1152. "title": "Toggle VSync",
  1153. "default": "Tab"
  1154. }
  1155. }
  1156. },
  1157. "keyboard_config": {
  1158. "$id": "#/properties/keyboard_config",
  1159. "type": "array",
  1160. "title": "Keyboard Config",
  1161. "items": {
  1162. "$ref": "#/definitions/keyboard_config"
  1163. },
  1164. "default": [
  1165. {
  1166. "index": 0,
  1167. "controller_type": "JoyconPair",
  1168. "player_index": "Player1",
  1169. "left_joycon": {
  1170. "stick_up": "W",
  1171. "stick_down": "S",
  1172. "stick_left": "A",
  1173. "stick_right": "D",
  1174. "stick_button": "F",
  1175. "dpad_up": "Up",
  1176. "dpad_down": "Down",
  1177. "dpad_left": "Left",
  1178. "dpad_right": "Right",
  1179. "button_minus": "Minus",
  1180. "button_l": "E",
  1181. "button_zl": "Q",
  1182. "button_sl": "Unbound",
  1183. "button_sr": "Unbound"
  1184. },
  1185. "right_joycon": {
  1186. "stick_up": "I",
  1187. "stick_down": "K",
  1188. "stick_left": "J",
  1189. "stick_right": "L",
  1190. "stick_button": "H",
  1191. "button_a": "Z",
  1192. "button_b": "X",
  1193. "button_x": "C",
  1194. "button_y": "V",
  1195. "button_plus": "Plus",
  1196. "button_r": "U",
  1197. "button_zr": "O",
  1198. "button_sl": "Unbound",
  1199. "button_sr": "Unbound"
  1200. }
  1201. }
  1202. ]
  1203. },
  1204. "controller_config": {
  1205. "$id": "#/properties/controller_config",
  1206. "type": "array",
  1207. "title": "Controller Config",
  1208. "items": {
  1209. "$ref": "#/definitions/controller_config"
  1210. },
  1211. "default": []
  1212. }
  1213. }
  1214. }