default_ini.h 4.5 KB

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