summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/default_ini.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/yuzu_cmd/default_ini.h')
-rw-r--r--src/yuzu_cmd/default_ini.h142
1 files changed, 84 insertions, 58 deletions
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h
index 7d6bcccc7..b362f10b4 100644
--- a/src/yuzu_cmd/default_ini.h
+++ b/src/yuzu_cmd/default_ini.h
@@ -65,6 +65,13 @@ button_screenshot=
65lstick= 65lstick=
66rstick= 66rstick=
67 67
68# To use the debug_pad, prepend `debug_pad_` before each button setting above.
69# i.e. debug_pad_button_a=
70
71# Enable debug pad inputs to the guest
72# 0 (default): Disabled, 1: Enabled
73debug_pad_enabled =
74
68# Whether to enable or disable vibration 75# Whether to enable or disable vibration
69# 0: Disabled, 1 (default): Enabled 76# 0: Disabled, 1 (default): Enabled
70vibration_enabled= 77vibration_enabled=
@@ -73,6 +80,10 @@ vibration_enabled=
73# 0 (default): Disabled, 1: Enabled 80# 0 (default): Disabled, 1: Enabled
74enable_accurate_vibrations= 81enable_accurate_vibrations=
75 82
83# Enables controller motion inputs
84# 0: Disabled, 1 (default): Enabled
85motion_enabled =
86
76# for motion input, the following devices are available: 87# for motion input, the following devices are available:
77# - "motion_emu" (default) for emulating motion input from mouse input. Required parameters: 88# - "motion_emu" (default) for emulating motion input from mouse input. Required parameters:
78# - "update_period": update period in milliseconds (default to 100) 89# - "update_period": update period in milliseconds (default to 100)
@@ -98,19 +109,30 @@ use_touch_from_button=
98#touch_from_button_maps_0_bind_1=bar 109#touch_from_button_maps_0_bind_1=bar
99# etc. 110# etc.
100 111
101# Most desktop operating systems do not expose a way to poll the motion state of the controllers 112# List of Cemuhook UDP servers, delimited by ','.
102# so as a way around it, cemuhook created a udp client/server protocol to broadcast the data directly 113# Default: 127.0.0.1:26760
103# from a controller device to the client program. Citra has a client that can connect and read 114# Example: 127.0.0.1:26760,123.4.5.67:26761
104# from any cemuhook compatible motion program. 115udp_input_servers =
105 116
106# IPv4 address of the udp input server (Default "127.0.0.1") 117# Enable controlling an axis via a mouse input.
107udp_input_address=127.0.0.1 118# 0 (default): Off, 1: On
119mouse_panning =
120
121# Set mouse sensitivity.
122# Default: 1.0
123mouse_panning_sensitivity =
124
125# Emulate an analog control stick from keyboard inputs.
126# 0 (default): Disabled, 1: Enabled
127emulate_analog_keyboard =
108 128
109# Port of the udp input server. (Default 26760) 129# Enable mouse inputs to the guest
110udp_input_port= 130# 0 (default): Disabled, 1: Enabled
131mouse_enabled =
111 132
112# The pad to request data on. Should be between 0 (Pad 1) and 3 (Pad 4). (Default 0) 133# Enable keyboard inputs to the guest
113udp_pad_index= 134# 0 (default): Disabled, 1: Enabled
135keyboard_enabled =
114 136
115[Core] 137[Core]
116# Whether to use multi-core for CPU emulation 138# Whether to use multi-core for CPU emulation
@@ -118,6 +140,17 @@ udp_pad_index=
118use_multi_core= 140use_multi_core=
119 141
120[Cpu] 142[Cpu]
143# Adjusts various optimizations.
144# Auto-select mode enables choice unsafe optimizations.
145# Accurate enables only safe optimizations.
146# Unsafe allows any unsafe optimizations.
147# 0 (default): Auto-select, 1: Accurate, 2: Enable unsafe optimizations
148cpu_accuracy =
149
150# Allow disabling safe optimizations.
151# 0 (default): Disabled, 1: Enabled
152cpu_debug_mode =
153
121# Enable inline page tables optimization (faster guest memory access) 154# Enable inline page tables optimization (faster guest memory access)
122# 0: Disabled, 1 (default): Enabled 155# 0: Disabled, 1 (default): Enabled
123cpuopt_page_tables = 156cpuopt_page_tables =
@@ -154,6 +187,31 @@ cpuopt_reduce_misalign_checks =
154# 0: Disabled, 1 (default): Enabled 187# 0: Disabled, 1 (default): Enabled
155cpuopt_fastmem = 188cpuopt_fastmem =
156 189
190# Enable unfuse FMA (improve performance on CPUs without FMA)
191# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select.
192# 0: Disabled, 1 (default): Enabled
193cpuopt_unsafe_unfuse_fma =
194
195# Enable faster FRSQRTE and FRECPE
196# Only enabled if cpu_accuracy is set to Unsafe.
197# 0: Disabled, 1 (default): Enabled
198cpuopt_unsafe_reduce_fp_error =
199
200# Enable faster ASIMD instructions (32 bits only)
201# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select.
202# 0: Disabled, 1 (default): Enabled
203cpuopt_unsafe_ignore_standard_fpcr =
204
205# Enable inaccurate NaN handling
206# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select.
207# 0: Disabled, 1 (default): Enabled
208cpuopt_unsafe_inaccurate_nan =
209
210# Disable address space checks (64 bits only)
211# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select.
212# 0: Disabled, 1 (default): Enabled
213cpuopt_unsafe_fastmem_check =
214
157[Renderer] 215[Renderer]
158# Which backend API to use. 216# Which backend API to use.
159# 0 (default): OpenGL, 1: Vulkan 217# 0 (default): OpenGL, 1: Vulkan
@@ -166,14 +224,6 @@ debug =
166# Which Vulkan physical device to use (defaults to 0) 224# Which Vulkan physical device to use (defaults to 0)
167vulkan_device = 225vulkan_device =
168 226
169# Whether to use software or hardware rendering.
170# 0: Software, 1 (default): Hardware
171use_hw_renderer =
172
173# Whether to use the Just-In-Time (JIT) compiler for shader emulation
174# 0: Interpreter (slow), 1 (default): JIT (fast)
175use_shader_jit =
176
177# Aspect ratio 227# Aspect ratio
178# 0: Default (16:9), 1: Force 4:3, 2: Force 21:9, 3: Stretch to Window 228# 0: Default (16:9), 1: Force 4:3, 2: Force 21:9, 3: Stretch to Window
179aspect_ratio = 229aspect_ratio =
@@ -211,21 +261,20 @@ use_frame_limit =
211frame_limit = 261frame_limit =
212 262
213# Whether to use disk based shader cache 263# Whether to use disk based shader cache
214# 0 (default): Off, 1 : On 264# 0: Off, 1 (default): On
215use_disk_shader_cache = 265use_disk_shader_cache =
216 266
217# Which gpu accuracy level to use 267# Which gpu accuracy level to use
218# 0 (Normal), 1 (High), 2 (Extreme) 268# 0: Normal, 1 (default): High, 2: Extreme (Very slow)
219gpu_accuracy = 269gpu_accuracy =
220 270
221# Whether to use asynchronous GPU emulation 271# Whether to use asynchronous GPU emulation
222# 0 : Off (slow), 1 (default): On (fast) 272# 0 : Off (slow), 1 (default): On (fast)
223use_asynchronous_gpu_emulation = 273use_asynchronous_gpu_emulation =
224 274
225# Forces VSync on the display thread. Usually doesn't impact performance, but on some drivers it can 275# Inform the guest that GPU operations completed more quickly than they did.
226# so only turn this off if you notice a speed difference.
227# 0: Off, 1 (default): On 276# 0: Off, 1 (default): On
228use_vsync = 277use_fast_gpu_time =
229 278
230# Whether to use garbage collection or not for GPU caches. 279# Whether to use garbage collection or not for GPU caches.
231# 0 (default): Off, 1: On 280# 0 (default): Off, 1: On
@@ -237,31 +286,6 @@ bg_red =
237bg_blue = 286bg_blue =
238bg_green = 287bg_green =
239 288
240[Layout]
241# Layout for the screen inside the render window.
242# 0 (default): Default Top Bottom Screen, 1: Single Screen Only, 2: Large Screen Small Screen
243layout_option =
244
245# Toggle custom layout (using the settings below) on or off.
246# 0 (default): Off, 1: On
247custom_layout =
248
249# Screen placement when using Custom layout option
250# 0x, 0y is the top left corner of the render window.
251custom_top_left =
252custom_top_top =
253custom_top_right =
254custom_top_bottom =
255custom_bottom_left =
256custom_bottom_top =
257custom_bottom_right =
258custom_bottom_bottom =
259
260# Swaps the prominent screen with the other screen.
261# For example, if Single Screen is chosen, setting this to 1 will display the bottom screen instead of the top screen.
262# 0 (default): Top Screen is prominent, 1: Bottom Screen is prominent
263swap_screen =
264
265[Audio] 289[Audio]
266# Which audio output engine to use. 290# Which audio output engine to use.
267# auto (default): Auto-select 291# auto (default): Auto-select
@@ -308,10 +332,6 @@ gamecard_path =
308# 1 (default): Yes, 0: No 332# 1 (default): Yes, 0: No
309use_docked_mode = 333use_docked_mode =
310 334
311# Allow the use of NFC in games
312# 1 (default): Yes, 0 : No
313enable_nfc =
314
315# Sets the seed for the RNG generator built into the switch 335# Sets the seed for the RNG generator built into the switch
316# rng_seed will be ignored and randomly generated if rng_seed_enabled is false 336# rng_seed will be ignored and randomly generated if rng_seed_enabled is false
317rng_seed_enabled = 337rng_seed_enabled =
@@ -323,10 +343,6 @@ rng_seed =
323custom_rtc_enabled = 343custom_rtc_enabled =
324custom_rtc = 344custom_rtc =
325 345
326# Sets the account username, max length is 32 characters
327# yuzu (default)
328username = yuzu
329
330# Sets the systems language index 346# Sets the systems language index
331# 0: Japanese, 1: English (default), 2: French, 3: German, 4: Italian, 5: Spanish, 6: Chinese, 347# 0: Japanese, 1: English (default), 2: French, 3: German, 4: Italian, 5: Spanish, 6: Chinese,
332# 7: Korean, 8: Dutch, 9: Portuguese, 10: Russian, 11: Taiwanese, 12: British English, 13: Canadian French, 348# 7: Korean, 8: Dutch, 9: Portuguese, 10: Russian, 11: Taiwanese, 12: British English, 13: Canadian French,
@@ -335,17 +351,25 @@ language_index =
335 351
336# The system region that yuzu will use during emulation 352# The system region that yuzu will use during emulation
337# -1: Auto-select (default), 0: Japan, 1: USA, 2: Europe, 3: Australia, 4: China, 5: Korea, 6: Taiwan 353# -1: Auto-select (default), 0: Japan, 1: USA, 2: Europe, 3: Australia, 4: China, 5: Korea, 6: Taiwan
338region_value = 354region_index =
339 355
340# The system time zone that yuzu will use during emulation 356# The system time zone that yuzu will use during emulation
341# 0: Auto-select (default), 1: Default (system archive value), Others: Index for specified time zone 357# 0: Auto-select (default), 1: Default (system archive value), Others: Index for specified time zone
342time_zone_index = 358time_zone_index =
343 359
360# Sets the sound output mode.
361# 0: Mono, 1 (default): Stereo, 2: Surround
362sound_index =
363
344[Miscellaneous] 364[Miscellaneous]
345# A filter which removes logs below a certain logging level. 365# A filter which removes logs below a certain logging level.
346# Examples: *:Debug Kernel.SVC:Trace Service.*:Critical 366# Examples: *:Debug Kernel.SVC:Trace Service.*:Critical
347log_filter = *:Trace 367log_filter = *:Trace
348 368
369# Use developer keys
370# 0 (default): Disabled, 1: Enabled
371use_dev_keys =
372
349[Debugging] 373[Debugging]
350# Record frame time data, can be found in the log directory. Boolean value 374# Record frame time data, can be found in the log directory. Boolean value
351record_frame_times = 375record_frame_times =
@@ -355,6 +379,8 @@ dump_exefs=false
355dump_nso=false 379dump_nso=false
356# Determines whether or not yuzu will save the filesystem access log. 380# Determines whether or not yuzu will save the filesystem access log.
357enable_fs_access_log=false 381enable_fs_access_log=false
382# Enables verbose reporting services
383reporting_services =
358# Determines whether or not yuzu will report to the game that the emulated console is in Kiosk Mode 384# Determines whether or not yuzu will report to the game that the emulated console is in Kiosk Mode
359# false: Retail/Normal Mode (default), true: Kiosk Mode 385# false: Retail/Normal Mode (default), true: Kiosk Mode
360quest_flag = 386quest_flag =
@@ -393,4 +419,4 @@ title_ids =
393# For each title ID, have a key/value pair called `disabled_<title_id>` equal to the names of the add-ons to disable (sep. by '|') 419# For each title ID, have a key/value pair called `disabled_<title_id>` equal to the names of the add-ons to disable (sep. by '|')
394# e.x. disabled_0100000000010000 = Update|DLC <- disables Updates and DLC on Super Mario Odyssey 420# e.x. disabled_0100000000010000 = Update|DLC <- disables Updates and DLC on Super Mario Odyssey
395)"; 421)";
396} 422} // namespace DefaultINI