default_ini.h 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. // Copyright 2019 yuzu Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. namespace DefaultINI {
  6. const char* sdl2_config_file = R"(
  7. [Core]
  8. # Whether to use multi-core for CPU emulation
  9. # 0 (default): Disabled, 1: Enabled
  10. use_multi_core=
  11. [Cpu]
  12. # Enable inline page tables optimization (faster guest memory access)
  13. # 0: Disabled, 1 (default): Enabled
  14. cpuopt_page_tables =
  15. # Enable block linking CPU optimization (reduce block dispatcher use during predictable jumps)
  16. # 0: Disabled, 1 (default): Enabled
  17. cpuopt_block_linking =
  18. # Enable return stack buffer CPU optimization (reduce block dispatcher use during predictable returns)
  19. # 0: Disabled, 1 (default): Enabled
  20. cpuopt_return_stack_buffer =
  21. # Enable fast dispatcher CPU optimization (use a two-tiered dispatcher architecture)
  22. # 0: Disabled, 1 (default): Enabled
  23. cpuopt_fast_dispatcher =
  24. # Enable context elimination CPU Optimization (reduce host memory use for guest context)
  25. # 0: Disabled, 1 (default): Enabled
  26. cpuopt_context_elimination =
  27. # Enable constant propagation CPU optimization (basic IR optimization)
  28. # 0: Disabled, 1 (default): Enabled
  29. cpuopt_const_prop =
  30. # Enable miscellaneous CPU optimizations (basic IR optimization)
  31. # 0: Disabled, 1 (default): Enabled
  32. cpuopt_misc_ir =
  33. # Enable reduction of memory misalignment checks (reduce memory fallbacks for misaligned access)
  34. # 0: Disabled, 1 (default): Enabled
  35. cpuopt_reduce_misalign_checks =
  36. [Renderer]
  37. # Whether to use software or hardware rendering.
  38. # 0: Software, 1 (default): Hardware
  39. use_hw_renderer =
  40. # Whether to use the Just-In-Time (JIT) compiler for shader emulation
  41. # 0: Interpreter (slow), 1 (default): JIT (fast)
  42. use_shader_jit =
  43. # Aspect ratio
  44. # 0: Default (16:9), 1: Force 4:3, 2: Force 21:9, 3: Stretch to Window
  45. aspect_ratio =
  46. # Anisotropic filtering
  47. # 0: Default, 1: 2x, 2: 4x, 3: 8x, 4: 16x
  48. max_anisotropy =
  49. # Whether to enable V-Sync (caps the framerate at 60FPS) or not.
  50. # 0 (default): Off, 1: On
  51. use_vsync =
  52. # Whether to use disk based shader cache
  53. # 0 (default): Off, 1 : On
  54. use_disk_shader_cache =
  55. # Whether to use accurate GPU emulation
  56. # 0 (default): Off (fast), 1 : On (slow)
  57. use_accurate_gpu_emulation =
  58. # Whether to use asynchronous GPU emulation
  59. # 0 : Off (slow), 1 (default): On (fast)
  60. use_asynchronous_gpu_emulation =
  61. # The clear color for the renderer. What shows up on the sides of the bottom screen.
  62. # Must be in range of 0.0-1.0. Defaults to 1.0 for all.
  63. bg_red =
  64. bg_blue =
  65. bg_green =
  66. [Layout]
  67. # Layout for the screen inside the render window.
  68. # 0 (default): Default Top Bottom Screen, 1: Single Screen Only, 2: Large Screen Small Screen
  69. layout_option =
  70. # Toggle custom layout (using the settings below) on or off.
  71. # 0 (default): Off, 1: On
  72. custom_layout =
  73. # Screen placement when using Custom layout option
  74. # 0x, 0y is the top left corner of the render window.
  75. custom_top_left =
  76. custom_top_top =
  77. custom_top_right =
  78. custom_top_bottom =
  79. custom_bottom_left =
  80. custom_bottom_top =
  81. custom_bottom_right =
  82. custom_bottom_bottom =
  83. # Swaps the prominent screen with the other screen.
  84. # For example, if Single Screen is chosen, setting this to 1 will display the bottom screen instead of the top screen.
  85. # 0 (default): Top Screen is prominent, 1: Bottom Screen is prominent
  86. swap_screen =
  87. [Data Storage]
  88. # Whether to create a virtual SD card.
  89. # 1 (default): Yes, 0: No
  90. use_virtual_sd =
  91. [System]
  92. # Whether the system is docked
  93. # 1: Yes, 0 (default): No
  94. use_docked_mode =
  95. # Allow the use of NFC in games
  96. # 1 (default): Yes, 0 : No
  97. enable_nfc =
  98. # Sets the seed for the RNG generator built into the switch
  99. # rng_seed will be ignored and randomly generated if rng_seed_enabled is false
  100. rng_seed_enabled =
  101. rng_seed =
  102. # Sets the current time (in seconds since 12:00 AM Jan 1, 1970) that will be used by the time service
  103. # This will auto-increment, with the time set being the time the game is started
  104. # This override will only occur if custom_rtc_enabled is true, otherwise the current time is used
  105. custom_rtc_enabled =
  106. custom_rtc =
  107. # Sets the account username, max length is 32 characters
  108. # yuzu (default)
  109. username = yuzu
  110. # Sets the systems language index
  111. # 0: Japanese, 1: English (default), 2: French, 3: German, 4: Italian, 5: Spanish, 6: Chinese,
  112. # 7: Korean, 8: Dutch, 9: Portuguese, 10: Russian, 11: Taiwanese, 12: British English, 13: Canadian French,
  113. # 14: Latin American Spanish, 15: Simplified Chinese, 16: Traditional Chinese
  114. language_index =
  115. # The system region that yuzu will use during emulation
  116. # -1: Auto-select (default), 0: Japan, 1: USA, 2: Europe, 3: Australia, 4: China, 5: Korea, 6: Taiwan
  117. region_value =
  118. [Miscellaneous]
  119. # A filter which removes logs below a certain logging level.
  120. # Examples: *:Debug Kernel.SVC:Trace Service.*:Critical
  121. log_filter = *:Trace
  122. [Debugging]
  123. # Arguments to be passed to argv/argc in the emulated program. It is preferable to use the testing service datastring
  124. program_args=
  125. # Determines whether or not yuzu will dump the ExeFS of all games it attempts to load while loading them
  126. dump_exefs=false
  127. # Determines whether or not yuzu will dump all NSOs it attempts to load while loading them
  128. dump_nso=false
  129. [WebService]
  130. # Whether or not to enable telemetry
  131. # 0: No, 1 (default): Yes
  132. enable_telemetry =
  133. # URL for Web API
  134. web_api_url = https://api.yuzu-emu.org
  135. # Username and token for yuzu Web Service
  136. # See https://profile.yuzu-emu.org/ for more info
  137. yuzu_username =
  138. yuzu_token =
  139. [AddOns]
  140. # Used to disable add-ons
  141. # List of title IDs of games that will have add-ons disabled (separated by '|'):
  142. title_ids =
  143. # 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 '|')
  144. # e.x. disabled_0100000000010000 = Update|DLC <- disables Updates and DLC on Super Mario Odyssey
  145. )";
  146. }