default_ini.h 4.5 KB

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