GameINI: Difference between revisions

m
→‎Texture Cache Accuracy: General maintenance with AutoWikiBrowser
(WIP, will be merged into GameINI Settings, saving to take a break. Reorganized wiki port of https://forums.dolphin-emu.org/Thread-howto-using-gameini-settings-per-game . Feel free to comment on the formatting and stuff in the talk page.)
 
m (→‎Texture Cache Accuracy: General maintenance with AutoWikiBrowser)
(104 intermediate revisions by 19 users not shown)
Line 1: Line 1:
You can configure settings per game through their GameINI. GameINI is a plain text file with game's [[GameIDs|GameID]] as its file name and INI as its file extension. It can be retrieved from game's properties; right-click the game from game list then choose '''Properties''' from the context menu, then click on the '''Edit Config''' button and edit the empty text file that pops up. When editing, carefully arranged line, headings, and capitalization are important.
For controller settings, go to [[GameINI (Controller Settings)]].
== Properties Window ==
These are settings you can update GameINI directly from the game properties window.
* Enable Dual Core - controls [[#Dual Core]]
* Enable MMU - controls [[#Memory Management Unit (MMU)]]
* Skip DCBZ clearing - controls [[#DCBZ]]
* Enable FPRF - controls [[#Floating-point Result Flag]]
* Synchronize GPU thread - controls [[#Synchronize GPU Thread]]
* Speed up Disc Transfer Rate - controls [[#Speed Up Disc Transfer Rate]]
* DSP HLE emulation (fast) - controls [[#DSP HLE]]
* Deterministic dual core - controls [[#Dualcore Determinism]]
* Stereoscopy Depth Percentage - controls StereoDepthPercentage in [[#Stereoscopic 3D Offset Settings]]
* Convergence - controls StereoConvergence in [[#Stereoscopic 3D Offset Settings]]
* Monoscopic Shadows - controls StereoEFBMonoDepth in [[#Stereoscopic 3D Offset Settings]]
== [Core] ==
== [Core] ==
The following entires go under [Core] section of the GameINI.
The following entries go under [Core] (or [Dolphin.Core]) section of the GameINI.


=== Dual Core ===
*<code>CPUThread = True</code> or <code>False</code> to enable and disable "Dual Core" mode respectively.


=== CPUThread ===
=== Graphics Backend ===
Controls Dual Core and Single Core modes. Can be set in the ISO properties window.
*<code>GFXBackend = D3D</code> to set the video backend to Direct3D 11.
*<code>GFXBackend = D3D12</code> to set the video backend to Direct3D 12. Direct3D 12 was removed in {{revision|5.0-3774}} then reintroduced in {{revision|5.0-9878}}, this setting will do nothing during this interval.
*<code>GFXBackend = OGL</code> to set the video backend to OpenGL.
*<code>GFXBackend = Vulkan</code> to set the video backend to Vulkan.
*<code>GFXBackend = Metal</code> to set the video backend to Metal (macOS only).
*<code>GFXBackend = Software Renderer</code> to set the video backend to Software.
*<code>GFXBackend = Null</code> to set the video backend to Null(no output).


*'''CPUThread = True''' -> Enables Dual Core mode
=== CPU Emulator Engine ===
*'''CPUThread = False''' -> Disables Dual Core mode.
*<code>CPUCore = 0</code> to set the CPU emulator engine to "Interpreter".
*<code>CPUCore = 1</code> to set the CPU emulator engine to "JIT x64".
*<code>CPUCore = 2</code> to set the CPU emulator engine to "JITIL". Removed (will do nothing) in {{revision|5.0-3792}} and later.
*<code>CPUCore = 4</code> to set the CPU emulator engine to "JIT ARM64".
*<code>CPUCore = 5</code> to set the CPU emulator engine to "Cached Interpreter".


=== Floating-point Result Flag ===
*<code>FPRF = True</code> or <code>False</code> to enable and disable "Floating-point Result Flag" calculation respectively.


=== SkipIdle ===
=== DSP HLE ===
Controls the "Idle Skipping" setting. Can also be set in the ISO properties window.
*<code>DSPHLE = True</code> or <code>False</code> to enable and disable "DSP HLE" respectively.


*'''SkipIdle = True''' -> Enables Idle Skipping. This is the default setting for the emulator.
If DSP HLE is disabled, DSL LLE will be used, it will use either DSP LLE recompiler or DSP LLE interpreter based on your general Dolphin settings, or see [[#DSP Emulator Engine]]. More information at [[Audio Emulation]].
*'''SkipIdle = False''' -> Disables Idle Skipping.


=== Emulation Speed (formerly Framelimit) ===
*<code>EmulationSpeed = 0.000000000</code> will set it to "unlimited".
*<code>EmulationSpeed = 0.100000001</code> will set it to "10%".
*<code>EmulationSpeed = 0.200000003</code> will set it to "20%".
*<code>EmulationSpeed = 0.300000012</code> will set it to "30%".
*<code>EmulationSpeed = 0.400000006</code> will set it to "40%".
*<code>EmulationSpeed = 0.500000000</code> will set it to "50%".
*<code>EmulationSpeed = 0.600000024</code> will set it to "60%".
*<code>EmulationSpeed = 0.699999988</code> will set it to "70%".
*<code>EmulationSpeed = 0.800000012</code> will set it to "80%".
*<code>EmulationSpeed = 0.900000036</code> will set it to "90%".
*<code>EmulationSpeed = 1.00000000</code> will set it to "100%", as in normal emulation speed.
*<code>EmulationSpeed = 1.10000002</code> will set it to "110%".
*<code>EmulationSpeed = 1.20000005</code> will set it to "120%".
*<code>EmulationSpeed = 1.30000007</code> will set it to "130%".
*<code>EmulationSpeed = 1.39999998</code> will set it to "140%".
*<code>EmulationSpeed = 1.50000000</code> will set it to "150%".
*<code>EmulationSpeed = 1.60000002</code> will set it to "160%".
*<code>EmulationSpeed = 1.70000005</code> will set it to "170%".
*<code>EmulationSpeed = 1.80000007</code> will set it to "180%".
*<code>EmulationSpeed = 1.89999998</code> will set it to "190%".
*<code>EmulationSpeed = 2.00000000</code> will set it to "200%".


=== MMU ===
=== CPU Overclock ===
Controls the MMU setting. Can also be set in the ISO properties window.
Implemented in {{revision|5.0-2302}} and later.
*<code>OverclockEnable = True</code> or <code>False</code> to enable and disable "CPU Overclock" respectively.
*<code>Overclock = 1.0</code> translates to "100%" CPU clock. The value of Overclock can be any float, and it acts as a multiplier; 0.5 is 50%, 1.0 is 100%, 1.5 is 150%, 2.0 is 200%, etc.


MMU = True -> Enables "MMU"
=== Memory Override ===
MMU = False -> Disables "MMU"
*<code>RAMOverrideEnable = True</code> or <code>False</code> to enable and disable "Emulate Memory Size Override" respectively.
*<code>MEM1Size = 0x01800000</code> size in bytes in hex or decimal.
*<code>MEM2Size = 0x04000000</code> size in bytes in hex or decimal.


=== Synchronize GPU Thread ===
SyncGPU is a speed hack for dual core mode to allow games to get around dual core glitches without having to use single core. Usually not much faster than single core mode.
*<code>SyncGPU = True</code> or <code>False</code> to enable and disable the "Synchronize GPU thread" respectively. Even with this setting set to false, Dolphin will still synchronize the threads during idle skipping.
On Android, the Synchronize GPU thread setting instead provides three choices. To set the same configurations through the GameINI (which also works on non-Android versions) use:
*<code>SyncGPU = True</code> and <code>SyncOnSkipIdle = True</code> for "Always"
*<code>SyncGPU = False</code> and <code>SyncOnSkipIdle = True</code> for "On idle skipping"
*<code>SyncGPU = False</code> and <code>SyncOnSkipIdle = False</code> for "Never"


=== TLBHack ===
=== GPU Overclock ===
Controls the "MMU Speed Hack" setting, a hacked version of the MMU that isn't as demanding. Can also be set in the ISO properties window.
*<code>SyncGpuOverclock= 1.0</code> translates to "100%" GPU clock. The value of Overclock can be any float, and it acts as a multiplier; 0.5 is 50%, 1.0 is 100%, 1.5 is 150%, 2.0 is 200%, etc. This setting has an effect only if SyncGPU is enabled or, since {{revision|5.0-683}}, if Dual Core is disabled. <!-- Deterministic dual core might work too -->


*'''TLBHack = True''' -> Enables the MMU Speed Hack
=== Speed Up Disc Transfer Rate ===
*'''TLBHack = False''' -> Disables the MMU Speed Hack
Accelerates the emulated disc speed, removing any loading emulation.
*<code>FastDiscSpeed = True</code> or <code>False</code> to enable and disable the "Speed up Disc Transfer Rate" respectively.


=== Dualcore Determinism ===
*<code>GPUDeterminismMode = fake-completion</code> or <code>none</code> to enable and disable "Deterministic dual core" respectively. <code>GPUDeterminismMode = auto</code> will only enable "Deterministic dual core" during Netplay or movie recording/playback.
=== Memory Management Unit (MMU) ===
*<code>MMU = True</code> or <code>False</code> to enable and disable the "Memory Management Unit" respectively.


=== DCBZ ===
=== DCBZ ===
Controls the "Skip DCBZ Clearing" setting. Can also be set in the ISO properties window.
Will do nothing in {{revision|5.0-8482}} and later.
*<code>DCBZ = True</code> or <code>False</code> to enable and disable "Skip DCBZ Clearing" respectively.


*'''DCBZ = True''' -> Enables "Skip DCBZ Clearing"
=== Progressive Scan ===
*'''DCBZ = False''' -> Disables "Skip DCBZ Clearing"
*<code>ProgressiveScan = True</code> or <code>False</code> to enable and disable "Progressive Scan" respectively.


=== GameCube Language ===
Implemented in {{revision|5.0-2023}} and later.
*<code>GameCubeLanguage = 0</code> for English or Japanese, depending on the region of the console/game.


=== VBeam ===
Choose a number for the language you want from the list below:
Controls the "VBeam Speed Hack" setting. Can also be set in the ISO properties window.
0 = English/Japanese
1 = German
2 = French
3 = Spanish
4 = Italian
5 = Dutch


*'''VBeam = True''' -> Enables the VBeam Speed Hack
=== GameCube Slots ===
*'''VBeam = False''' -> Disables the VBeam Speed Hack
Implemented in {{revision|5.0-15842}}
*<code>SlotA = 8</code> for GCI Folder. Choose a number from below list to change what is in Slot A.
*<code>SlotB = 255</code> for Nothing. Choose a number from below list to change what is in Slot B.
0 = Dummy
1 = MemoryCard
4 = Microphone
7 = Gecko
8 = GCI Folder
9 = Advance Game Port
255 = Nothing


Set the full path to the memory card file.
*<code>MemcardAPath = pathtoslotAfile</code>
*<code>MemcardAPath = pathtoslotBfile</code>


=== SyncGPU ===
Set the full path to the GCI Folder (since {{revision|5.0-17900}}).
Controls the "SyncGPU setting". SyncGPU is a speed hack for dual core mode to allow games to get around dual core glitches without having to use single core. Usually not much faster than single core mode.


*'''SyncGPU = True''' (or False to enable and disable "Synchronize GPU Thread" respectively).
*<code>GCIFolderAPath = gcifolderApath</code>
FastDiscSpeed = True (or False to enable and disable "Speed Up Disk Transfer Rate" respectively).
*<code>GCIFolderBPath = gcifolderBpath</code>
BlockMerging = True (or False to enable and disable "Block Merging" respectively).
DSPHLE = True (or False to enable and disable "DSP HLE Emulation" respectively).


=== GameCube Serial Port ===
Implemented in {{revision|5.0-15842}}
*<code>SerialPort1 = 255</code> for nothing. Choose a number below which type of Broadband Adapter you are using.
5  = Broadband Adapter (TAP)
10 = Broadband Adapter (XLink Kai)
12 = Broadband Adapter (Built In)


=== GFXBackend ===
*<code>BBA_MAC = MAC</code> to set the Ethernet MAC address.
Sets the video backend the game will use.


*'''GFXBackend = D3D''' –> Sets the video backend to D3D (previously called D3D11 prior to {{revision|4.0-155}})
*<code>BBA_XLINK_IP = 127.0.0.1</code> to set the IP address of the PC/device where XLink Kai is running.
*'''GFXBackend = OGL''' –> Sets the video backend to OpenGL


*<code>BBA_BUILTIN_DNS = IPADDRESS</code> the DNS server to use for the builtin adapter


D3D9 was removed in {{revision|4.0-155}}. On builds prior to {{revision|4.0-155}}, the following three options are available.
=== Wii Configuration ===
*<code>PAL60 = True</code> to enable EuRGB60 or <code>False</code> to disable.
*<code>WiiSDCard = True</code> to enable Wii SD/SDHC Card or <code>False</code> to disable.
*<code>WiiSDCardAllowWrites = True</code> to allow SDCard writes or <code>False</code> to disable.


*'''GFXBackend = DX11''' -> Sets the video backend to D3D11 (now called D3D in the emulator as of {{revision|4.0-155}})
== [Controls] ==
*'''GFXBackend = OGL''' -> Sets the video backend to OpenGL
See [[GameINI (Controller Settings)]]
*'''GFXBackend = DX9''' -> Sets the video backend to D3D9. For {{revision|4.0-155}} and later setting the graphics backend to DX9 will do nothing.


== [Video_Settings] ==
The following entries go under [Video_Settings] (or [Graphics.Settings]) section of the GameINI.


=== CPUCore ===
=== Internal Resolution ===
Sets the CPU Emulator Engine that Dolphin will use to emulate the game. Uses numbers starting with 0 to represent the tick-mark order used in the Dolphin GUI for the option.
Values starting from 0 represent the drop down order in the list that dolphin uses.
*<code>InternalResolution = 0</code>


*'''CPUCore = 0''' -> Sets the CPU engine to Interpreter
To increase the maximum available resolutions in the UI, you can set:
*'''CPUCore = 1''' -> Sets the CPU engine to JIT
*<code>MaxInternalResolution  = 9</code>
*'''CPUCore = 2''' -> Sets the CPU engine to JITIL
(the default is 8)


=== Shader Compilation ===
*<code>ShaderCompilationMode = 0</code>
<pre>0 = Specialized (Default)
1 = Exclusive Ubershaders
2 = Hybrid Ubershaders
3 = Skip Drawing</pre>


=== FrameLimit ===
=== Compile Shaders Before Starting ===
Uses hex values to set the framelimit. Based on VPS unless [[UseFPS]] is set to true. Added in {{revision|4.0-265}}; it will do nothing in revisions prior to that.
*<code>WaitForShadersBeforeStarting = True</code> or <code>False</code> to enable and disable "Compile Shaders Before Starting" respectively.


*'''FrameLimit = 0x00000000''' -> "Off"
=== Texture Cache Accuracy ===
*'''FrameLimit = 0x00000001''' -> "Auto"
Controls the "Texture Cache Accuracy" setting, shown as a slider in the GUI.
*'''FrameLimit = 0x00000002''' -> "Audio"
*<code>SafeTextureCacheColorSamples = 0</code> → Texture Cache Accuracy "Safe", the left most option on the slider.
*'''FrameLimit = 0x00000003''' -> "10"
*<code>SafeTextureCacheColorSamples = 512</code> → Texture Cache Accuracy "Middle", the middle option on the slider.
Continues up to
*<code>SafeTextureCacheColorSamples = 128</code> → Texture Cache Accuracy "Fast", the right most option on the slider.
*'''FrameLimit = 0x00000019''' -> "120"


=== GPU Texture Decoding ===
*<code>EnableGPUTextureDecoding = True</code> or <code>False</code> to enable and disable "GPU Texture Decoding" respectively.


=== UseFPS ===
=== Aspect Ratio ===
Determines whether the framelimiter is based on VPS or FPS. Added in {{revision|4.0-265}}; it will do nothing in revisions prior to that.
Values starting from 0 represent the drop down order in the list that dolphin uses.
*<code>AspectRatio = 0</code> is auto, assigned based on what the emulated console indicates.
*<code>AspectRatio = 1</code> to force the aspect ratio to 16:9.
*<code>AspectRatio = 2</code> to force the aspect ratio to 4:3.
*<code>AspectRatio = 3</code> to set the aspect ratio to "Stretch to window".


*'''UseFPS = True''' -> Sets the FrameLimiter to be based on FPS instead of the VPS.  
=== Widescreen Hack ===
*'''UseFPS = False''' -> Sets the FrameLimiter to be based on VPS instead of the FPS. This is the normal behavior for the emulator.
Separates the aspect ratio rendered by the game from the one displayed in the game window. Use [[#Aspect Ratio]] options in addition to this setting.
*<code>wideScreenHack = True</code> or <code>False</code> to enable and disable the "Widescreen Hack" respectively.


=== Anti-Aliasing ===
*<code>MSAA = 0</code> will set it to the top of the list value which is "None". "2x", "4x", "8x" samples would need <code>2</code>, <code>4</code>, <code>8</code> to be used respectively.
*<code>SSAA = True</code> or <code>False</code> will toggle between "SSAA" and "MSAA" respectively. The amount of samples used for SSAA will depend on the MSAA value above.


=== DSPHLE ===
=== External Frame Buffer ===
Chooses the audio engine. Can also be set in the ISO properties window.
Will do nothing in {{revision|5.0-5874}} and later. Use [[#XFB copies]] and [[#Immediate XFB]] instead.
*<code>UseXFB = True</code> or <code>False</code> to enable and disable "External Frame Buffer" respectively. Virtual or Real will be set according to what you have set it last at the general settings. To control it use together the line below:
*<code>UseRealXFB = True</code> or <code>False</code> to enable "Real XFB" or "Virtual XFB" respectively.


*'''DSPHLE = True''' -> Forces DSP HLE for the game.
=== Fast Depth Calculation ===
*'''DSPHLE = False''' -> Disables DSP HLE, forcing DSP LLE.
*<code>FastDepthCalc = True</code> or <code>False</code> to enable and disable "Fast depth calculation" respectively.


If DSP LLE is set in the lines above, it will use either DSP LLE recompiler or DSP LLE interpreter based on your general Dolphin settings. To force either DSP LLE recompiler or DSP LLE interpreter, see [[DSP EnableJIT]].
=== Per-Pixel Lighting ===
*<code>EnablePixelLighting = True</code> or <code>False</code> to enable and disable "Per-Pixel Lighting" respectively.


=== Disable Fog ===
*<code>DisableFog = True</code> or <code>False</code> to enable and disable "Disable Fog" respectively.


=== DSPThread ===
=== Load Custom Textures ===
Controls "DSP LLE on Dedicated Thread".
*<code>HiresTextures = True</code> or <code>False</code> to enable and disable "Load Custom Textures" respectively.


*'''DSPThread = True''' - Enables DSP LLE on Dedicated Thread
=== Prefetch Custom Textures ===
*'''DSPThread = False''' - Disables DSP LLE on Dedicated Thread
*<code>CacheHiresTextures = True</code> or <code>False</code> to enable and disable "Caching custom textures to RAM on startup".


== [Video_Settings] ==
=== Crop to 4:3 or 16:9 ===
*<code>Crop = False</code> or <code>True</code> to crop the picture from native aspect ration to 4:3 or 16:9.


=== Cull Vertices on the CPU ===
*<code>CPUCull = True</code> or <code>False</code> to enable and disable "Cull Vertices on the CPU" respectively.


== [Video_Enhancements] ==
== [Video_Enhancements] ==
The following entries go under [Video_Enhancements] (or [Graphics.Enhancements]) section of the GameINI.


=== Anisotropic Filtering ===
Values starting from 0 represent the drop down order in the list that dolphin uses.
*<code>MaxAnisotropy = 0</code> will set it to the top of the list value of 1x equivalent of disabling it. 2x, 4x, 8x, 16x would need <code>1</code>, <code>2</code>, <code>3</code>, <code>4</code> to be used respectively.


== [Video_Hacks] ==
=== Force Texture Filtering ===
As of {{revision|5.0-18025}} the option changed. Valid values are: <code>2</code> for linear, <code>1</code> for nearest and <code>0</code> for no filtering.
*<code>ForceTextureFiltering = 2</code> will set forced linear filtering.


== [Video] ==
For older builds, which at the time of writing includes beta 5.0-17995, use the following.
*<code>ForceFiltering = True</code> or <code>False</code> to enable and disable "Force Texture Filtering" respectively.


=== Post-processing Effects ===
This option will only work with the OpenGL and Vulkan backend on versions before {{revision|5.0-9638}}. Use the names listed in the drop down menu of the option, below we use sepia as an example.
*<code>PostProcessingShader = sepia</code>, also you can put the name of your preferred shader here.


== [DSP] ==
=== Force 24-Bit Color ===
*<code>ForceTrueColor = True</code> or <code>False</code> to enable and disable "Force 24-Bit Color" respectively.


=== Disable Copy Filter ===
*<code>DisableCopyFilter = True</code> or <code>False</code> to enable and disable "Disable Copy Filter" respectively.


== [Controls] ==
=== Arbitrary Mipmap Detection ===
*<code>ArbitraryMipmapDetection = True</code> or <code>False</code> to enable and disable "Arbitrary Mipmap Detection" respectively.


=== OutputResamplingMode ===
  Default = 0,
  Bilinear = 1,
  BSpline = 2,
  MitchellNetravali = 3,
  CatmullRom = 4,
  SharpBilinear = 5,
  AreaSampling = 6,


Choosing audio backend:
== [Video_Hacks] ==
A dolphin version above 4.0 - 101 is needed to set this, since there was no audio backend choice possible via gameini before that rev. Just copy paste the lines below in your local gameini depending on the backend you use:
The following entries go under [Video_Hacks] (or [Graphics.Hacks]) section of the GameINI.
[DSP]
Backend = OpenAL
[DSP]
Backend = DSound
[DSP]
Backend = XAudio2


[DSP]
=== EFB Copies ===
EnableJIT = True => for LLE recompiler
*<code>EFBToTextureEnable = True</code> or <code>False</code> to enable "EFB to Texture" and "EFB to Ram" respectively.
EnableJIT = False => for LLE interpreter


=== Scaled EFB Copy ===
*<code>EFBScaledCopy = True</code> or <code>False</code> to enable and disable "Scaled EFB Copy" respectively.


=== Skip EFB Access From CPU ===
*<code>EFBAccessEnable = True</code> or <code>False</code> to disable and enable "Skip EFB Access From CPU" respectively. Beware that it has the opposite behavior of the GUI option!


Volume:
=== Ignore Format Changes ===
A dolphin version above 4.0 - 101 is needed to set this option.
*<code>EFBEmulateFormatChanges = True</code> or <code>False</code> to disable and enable "Ignore Format Changes" respectively. Beware that it has the opposite behavior of the GUI option!
[DSP]
Volume = 100 (values starting from 0 up to 100 max are valid).


=== Bounding Box ===
*<code>BBoxEnable = True</code> or <code>False</code> to enable and disable "Bounding Box" calculation respectively.


=== Vertex Rounding ===
*<code>VertexRounding = True</code> or <code>False</code> to enable and disable "Vertex Rounding" respectively.


Choosing Internal Resolution:
===XFB copies ===
The line below is used to enforce an integral value closest to the general value you use, if 3x is used it will stay the same, if 2,5x is used it will drop to 2x, if auto fractional is used auto integral will be set:
*<code>XFBToTextureEnable = True</code> or <code>False</code> to enable "XFB to Texture" and "XFB to Ram" respectively.
[Video_Settings]
EFBScale = -1
Values starting from 0 represent the drop down order in the list that dolphin uses. Currently:
[Video_Settings]
EFBScale = 0 =>will give auto fractional
EFBScale = 1 =>will give auto integral
EFBScale = 2 =>will give 1x
EFBScale = 3 =>will give 1,5x
EFBScale = 4 =>will give 2x
EFBScale = 5 =>will give 2,5x
EFBScale = 6 =>will give 3x
EFBScale = 7 =>will give 4x


Efb Copies:
===Immediate XFB ===
[Video_Hacks]
*<code>ImmediateXFBEnable = True</code> or <code>False</code> to enable and disable "Immediate XFB" respectively.
EFBToTextureEnable = True (or False to enable "Efb to Texture" and "Efb to Ram" respectively).
EFBCopyEnable = True (or False to enable and disable "EFB copies" respectively).
EFBCopyCacheEnable = True (or False to enable and disable "Efb to Ram Cache" respectively).


Scaled EFB Copy:
=== Skip Presenting Duplicate Frames ===
[Video_Hacks]
*<code>SkipDuplicateXFBs = True</code> or <code>False</code> to enable and disable "Skip Presenting Duplicate Frames" respectively.
EFBScaledCopy = True (or False to enable and disable "Scaled EFB Copy" respectively).


Skip EFB Access From Cpu:
=== Defer EFB copies to RAM ===
[Video_Hacks]
*<code>DeferEFBCopies = True</code> or <code>False</code> to enable and disable "Defer EFB Copies to RAM" respectively.
EFBAccessEnable = True (or False to disable and enable "Skip EFB Access From Cpu" respectively). Beware that it has the opposite behavior of the gui option!


Ignore Format Changes:
=== Defer EFB Cache Invalidation ===
[Video_Hacks]
*<code>EFBAccessDeferInvalidation = True</code> or <code>False</code> to enable and disable "Defer EFB Cache Invalidation" respectively.
EFBEmulateFormatChanges = True (or False to disable and enable "Ignore Format Changes" respectively). Beware that it has the opposite behavior of the gui option!


Texture Cache:
=== Manual Texture Sampling ===
[Video_Settings]
*<code>FastTextureSampling = True</code> or <code>False</code> to disable and enable "Manual Texture Sampling" respectively. Beware that it has the opposite behavior of the GUI option!
SafeTextureCacheColorSamples = 0 (this is the safe setting on the left)
SafeTextureCacheColorSamples = 512 (this is the normal setting in the middle)
SafeTextureCacheColorSamples = 128 (this is the fast setting on the right)


Choosing Aspect Ratio:
== [Video_Hardware] ==
Values starting from 0 represent the drop down order in the list that dolphin uses. Currently:
The following entries go under [Video_Hardware] (or [Graphics.Hardware]) section of the GameINI.
[Video_Settings]
AspectRatio = 0 =>will give Auto
AspectRatio = 1 =>will give Force 16/9
AspectRatio = 2 =>will give Force 4/3
AspectRatio = 3 =>will give Stretch to window


Widescreen Hack:
=== V-Sync ===
You should also set aspect ratio to "Stretch to window" in order to work.
*<code>VSync = True</code> or <code>False</code> to enable and disable "V-Sync" respectively.
[Video_Settings]
wideScreenHack = True (or False to enable and disable "Widescreen Hack" respectively).


VSync:
== [Video_Stereoscopy] ==
[Video_Hardware]
The following entries go under [Video_Stereoscopy] (or [Graphics.Stereoscopy] although that is currently bugged, see [https://bugs.dolphin-emu.org/issues/12510?next_issue_id=12509#note-1 here]) section of the GameINI.
VSync = True (or False to enable and disable "VSync" respectively).


Anti-Aliasing:
=== Stereoscopic 3D Offset Settings ===
Values starting from 0 represent the drop down order in the list that dolphin uses. Each backend has it's own list of antialiasing options so it is suggested to enforce a certain video backend along with this option.
*<code>StereoDepthPercentage = 100</code> Percentage to multiply with the depth value of StereoDepth in [[#Stereoscopic 3D Settings]].
[Video_Settings]
*<code>StereoConvergence = 0</code> Base convergence value to be multiplied with the percentage value of StereoConvergencePercentage in [[#Stereoscopic 3D Settings]].
MSAA = 0 (Will set it to the top of the list value which is Off for all backends, for values starting from 1 the result will vary depending on the backend used, check the drop list in the gui and start counting from 0 to find which antialiasing option will be used for values higher than zero).
*<code>StereoEFBMonoDepth = True</code> or <code>False</code> to enable and disable "Monoscopic Shadows" respectively.


Anisotropic Filtering:
=== Stereoscopic 3D Mode ===
Values starting from 0 represent the drop down order in the list that dolphin uses.
Values starting from 0 represent the drop down order in the list that dolphin uses.
[Video_Enhancements]
*<code>StereoMode = 0</code>
MaxAnisotropy = 0 (Will set it to the top of the list value of 1x equivalent of disabling it. 2x, 4x, 8x, 16x would need 1,2,3,4 to be used respectively).


Force Texture Filtering:
=== Stereoscopic 3D Settings ===
[Video_Enhancements]
*<code>StereoDepth = 20</code> Separation distance between the virtual cameras.
ForceFiltering = True (or False to enable and disable "Force Texture Filtering" respectively).
*<code>StereoConvergencePercentage = 100</code> Distance of the convergence plane.
*<code>StereoSwapEyes = True</code> or <code>False</code> to enable and disable "Swap Eyes" respectively.


External Frame Buffer:
== [DSP] ==
[Video_Settings]
The following entries go under [DSP] (or [Dolphin.DSP]) section of the GameINI.
UseXFB = True (or False to enable and disable "External Frame Buffer" respectively). Virtual or Real will be set according to what you have set it last at the general settings. To control it use together the line below:
UseRealXFB = True (or False to enable "Real Xfb" or "Virtual Xfb" respectively).
 
Fast Depth Calculation:
[Video_Settings]
FastDepthCalc = True (or False to enable and disable "Fast depth calculation" respectively).
 
Per-Pixel Lighting:
[Video_Settings]
EnablePixelLighting = True (or False to enable and disable "Per-Pixel Lighting" respectively).
 
Cache Display Lists:
[Video_Hacks]
DlistCachingEnable = True (or False to enable and disable "Cache Display Lists" respectively).


OpenMP Texture Decoder:
=== Audio Backend ===
[Video_Settings]
*<code>Backend = No audio output</code>
OMPDecoder = True (or False to enable and disable "OpenMP Texture Decoder" respectively).
*<code>Backend = ALSA</code>
*<code>Backend = Cubeb</code>
*<code>Backend = Pulse</code>
*<code>Backend = OpenAL</code>
*<code>Backend = OpenSLES</code>
*<code>Backend = WASAPI (Exclusive Mode)</code>
*<code>Backend = XAudio2</code> This option was removed in {{revision|5.0-10950}} and later [https://dolphin-emu.org/blog/2019/11/07/dolphin-progress-report-october-2019/#50-10950-remove-xaudio2-by-ligfx for many reasons], Dolphin will try to use Cubeb instead.


OpenCL Texture Decoder:
=== DSP Emulator Engine ===
[Video_Settings]
*<code>EnableJIT = True</code> or <code>False</code> for "LLE recompiler" and "LLE interpreter" respectively. This is when [[#DSP HLE]] is disabled.
EnableOpenCL = True (or False to enable and disable "OpenCL Texture Decoder" respectively).


Disable Fog:
=== Volume ===
[Video_Settings]
*<code>Volume = 100</code>, values starting from 0 up to 100 max are valid.
DisableFog = True (or False to enable and disable "Disable Fog" respectively).


Disable Destination Alpha:
== [Wii] ==
[Video_Settings]
=== Wii System Language ===
DstAlphaPass = True (or False to enable and disable "Disable Destination Alpha" respectively).
Implemented in {{revision|5.0-2023}} and later.
*<code>Language = 1</code> for English


Post - Processing Effects:
Choose a number for the language you want from the list below:
This option will only work with the opengl backend. Use the names listed in the drop down menu of the option, below we use sepia as an example.
0 = Japanese
[Video_Enhancements]
1 = English
PostProcessingShader = sepia (you can put the name of your preferred shader here).
2 = German
3 = French
4 = Spanish
5 = Italian
6 = Dutch
7 = Simplified Chinese
8 = Traditional Chinese
9 = Korean


Choosing Control Profiles per game:
=== Wii Aspect Ratio ===
First you should have a control profile saved for the gamecube controller or Wiimote. For example lets say you have created a Wiimote profile named "Sideways" for Wii games that use the sideways wiimote handling(donkey kong, kirby games, etc.). In order to load that profile per game you should put:
Set the Wii Aspect Ratio to 4:3 or 16:9
*<code>Widescreen = True</code> for 16:9 or <code>False</code> for 4:3


[Controls]
== [Dolphin.BluetoothPassthrough] ==
WiimoteProfile1 = Sideways => You can put any profile name you want to put here instead. This loads wiimote profile for player 1.
===Enable===
WiimoteProfile2 = Sideways => You can put any profile name you want to put here instead. This loads wiimote profile for player 2.
*<code>Enabled = True</code> or <code>False</code> to Enable or Disable bluetooth passthrough.
WiimoteProfile3 = Sideways => You can put any profile name you want to put here instead. This loads wiimote profile for player 3.
WiimoteProfile4 = Sideways => You can put any profile name you want to put here instead. This loads wiimote profile for player 4.


For gamecube controller profiles you should put:
== See also ==
[Controls]
*[https://forums.dolphin-emu.org/Thread-unofficial-howto-using-gameini-settings-per-game Forum Thread]
PadProfile1 = Your profile name here. This loads gcpad profile for player 1.
PadProfile2 = Your profile name here. This loads gcpad profile for player 2.
PadProfile3 = Your profile name here. This loads gcpad profile for player 3.
PadProfile4 = Your profile name here. This loads gcpad profile for player 4.


Settings that can also be set using the iso properties window:
[[Category:Tutorials]]
[Core]
CPUThread = True (or False to enable and disable "Dual Core" respectively).
SkipIdle = True (or False to enable and disable "Idle Skipping" respectively).
MMU = True (or False to enable and disable "MMU" respectively).
TLBHack = True (or False to enable and disable "MMU Speed Hack" respectively).
DCBZ = True (or False to enable and disable "Skip DCBZ Clearing" respectively).
VBeam = True (or False to enable and disable "VBeam Speed Hack" respectively).
SyncGPU = True (or False to enable and disable "Synchronize GPU Thread" respectively).
FastDiscSpeed = True (or False to enable and disable "Speed Up Disk Transfer Rate" respectively).
BlockMerging = True (or False to enable and disable "Block Merging" respectively).
DSPHLE = True (or False to enable and disable "DSP HLE Emulation" respectively).
[Video]
UseBBox = True (or False to enable and disable "Bounding Box Calculation" respectively).
ZTPSpeedupHack = True (or False to enable and disable "ZTP Hack" respectively).
ProjectionHack = 1 (or 0 to enable and disable "Custom Projection Hack" respectively).