aboutsummaryrefslogtreecommitdiff
path: root/CONFIG.md
blob: b63f5e832b55c5c5269a02a93f8c1d0471270ea3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
## Config File

`Config.jsonc` should be present in executable folder. The available settings follow:

- `graphics_shaders_dump_path` *(string)*

  Dump shaders in local directory (e.g. `C:\ShaderDumps`)

- `logging_enable_debug` *(bool)*

  Enable the Debug Logging.

- `logging_enable_stub` *(bool)*

  Enable the Trace Logging.

- `logging_enable_info` *(bool)*

  Enable the Informations Logging.

- `logging_enable_warn` *(bool)*

  Enable the Warning Logging.

- `logging_enable_error` *(bool)*

  Enable the Error Logging.

- `enable_file_log` *(bool)*

  Enable writing the logging inside a Ryujinx.log file.

- `system_language` *(string)*

  Change System Language, [System Language list](https://gist.github.com/HorrorTroll/b6e4a88d774c3c9b3bdf54d79a7ca43b)

- `docked_mode` *(bool)*

  Enable or Disable Docked Mode

- `enable_vsync` *(bool)*

  Enable or Disable Game Vsync

- `enable_multicore_scheduling` *(bool)*

  Enable or Disable Multi-core scheduling of threads

- `enable_fs_integrity_checks` *(bool)*

  Enable integrity checks on Switch content files

- `controller_type` *(string)*

  The primary controller's type.
  Supported Values: `Handheld`, `ProController`, `NpadPair`, `NpadLeft`, `NpadRight`

- `keyboard_controls` *(object)* :
  - `left_joycon` *(object)* :
    Left JoyCon Keyboard Bindings
    - `stick_up` *(string)*
    - `stick_down` *(string)*
    - `stick_left` *(string)*
    - `stick_right` *(string)*
    - `stick_button` *(string)*
    - `dpad_up` *(string)*
    - `dpad_down` *(string)*
    - `dpad_left` *(string)*
    - `dpad_right` *(string)*
    - `button_minus` *(string)*
    - `button_l` *(string)*
    - `button_zl` *(string)*
  - `right_joycon` *(object)* :
    Right JoyCon Keyboard Bindings
    - `stick_up` *(string)*
    - `stick_down` *(string)*
    - `stick_left` *(string)*
    - `stick_right` *(string)*
    - `stick_button` *(string)*
    - `button_a` *(string)*
    - `button_b` *(string)*
    - `button_x` *(string)*
    - `button_y` *(string)*
    - `button_plus` *(string)*
    - `button_r` *(string)*
    - `button_zr` *(string)*

- `gamepad_controls` *(object)* :
  - `enabled` *(bool)*
    Whether or not to enable Controller Support.
  - `index` *(int)*
    The index of the Controller Device.
  - `deadzone` *(number)*
    The deadzone of both analog sticks on the Controller.
  - `trigger_threshold` *(number)*
    The value of how pressed down each trigger has to be in order to register a button press
  - `left_joycon` *(object)* :
    Left JoyCon Controller Bindings
    - `stick` *(string)*
    - `stick_button` *(string)*
    - `dpad_up` *(string)*
    - `dpad_down` *(string)*
    - `dpad_left` *(string)*
    - `dpad_right` *(string)*
    - `button_minus` *(string)*
    - `button_l` *(string)*
    - `button_zl` *(string)*
  - `right_joycon` *(object)* :
  Right JoyCon Controller Bindings
    - `stick` *(string)*
    - `stick_button` *(string)*
    - `button_a` *(string)*
    - `button_b` *(string)*
    - `button_x` *(string)*
    - `button_y` *(string)*
    - `button_plus` *(string)*
    - `button_r` *(string)*
    - `button_zr` *(string)*
  
### Default Mapping
   #### Controller
     - Left Joycon:
       - Analog Stick = Left Analog Stick
	   - DPad Up = DPad Up
	   - DPad Down = DPad Down
	   - DPad Left = DPad Left
	   - DPad Right = DPad Right
	   - Minus = Select / Back / Share
	   - L = Left Shoulder Button
	   - ZL = Left Trigger
	 
     - Right Joycon:
	   - Analog Stick = Right Analog Stick
	   - A = B / Circle
	   - B = A / Cross
	   - X = Y / Triangle
	   - Y = X / Square
	   - Plus = Start / Options
	   - R = Right Shoulder Button
	   - ZR = Right Trigger

   #### Keyboard
     - Left Joycon:
	   - Stick Up = W
	   - Stick Down = S
	   - Stick Left = A
	   - Stick Right = D
	   - Stick Button = F
	   - DPad Up = Up
	   - DPad Down = Down
	   - DPad Left = Left
	   - DPad Right = Right
	   - Minus = -
	   - L = E
	   - ZL = Q

     - Right Joycon:
	   - Stick Up = I
	   - Stick Down = K
	   - Stick Left = J
	   - Stick Right = L
	   - Stick Button = H
	   - A = Z
	   - B = X
	   - X = C
	   - Y = V
	   - Plus = +
	   - R = U
	   - ZR = O
  
### Valid Button Mappings
  - A = The A / Cross Button
  - B = The B / Circle Button
  - X = The X / Square Button
  - Y = The Y / Triangle Button
  - LStick = The Left Analog Stick when Pressed Down
  - RStick = The Right Analog Stick when Pressed Down
  - Start = The Start / Options Button
  - Back = The Select / Back / Share Button
  - RShoulder = The Right Shoulder Button
  - LShoulder = The Left Shoulder Button
  - RTrigger = The Right Trigger
  - LTrigger = The Left Trigger
  - DPadUp = Up on the DPad
  - DPadDown = Down on the DPad
  - DPadLeft = Left on the DPad
  - DpadRight = Right on the DPad
- Valid Joystick Mappings
  - LJoystick = The Left Analog Stick
  - RJoystick = The Right Analog Stick

  On more obscure / weird controllers this can vary, so if this list doesn't work, trial and error will.