default_ini.h 4.7 KB

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