GameINI: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
(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.)
 
mNo edit summary
(47 intermediate revisions by 9 users not shown)
Line 1: Line 1:
== [Core] ==
You can configure settings per game through their GameINI. GameINI is a plain text file with game's 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.
The following entires go under [Core] section of the GameINI.


For controller settings, go to [[GameINI (Controller Settings)]].


=== CPUThread ===
== Properties Window ==
Controls Dual Core and Single Core modes. Can be set in the ISO 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]]


*'''CPUThread = True''' -> Enables Dual Core mode
== [Core] ==
*'''CPUThread = False''' -> Disables Dual Core mode.
The following entries go under [Core] section of the GameINI.


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


=== SkipIdle ===
=== Graphics Backend ===
Controls the "Idle Skipping" setting. Can also 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. Removed (will do nothing) in {{revision|5.0-3774}} and later.
*<code>GFXBackend = OGL</code> to set the video backend to OpenGL.
*<code>GFXBackend = Vulkan</code> to set the video backend to Vulkan.
*<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).


*'''SkipIdle = True''' -> Enables Idle Skipping. This is the default setting for the emulator.
=== CPU Emulator Engine ===
*'''SkipIdle = False''' -> Disables Idle Skipping.
*<code>CPUCore = 0</code> to set the CPU emulator engine to "Interpreter".
*<code>CPUCore = 1</code> to set the CPU emulator engine to "JIT".
*<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 = 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.


=== MMU ===
=== DSP HLE ===
Controls the MMU 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.


MMU = True -> Enables "MMU"
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]].
MMU = False -> Disables "MMU"


=== DSP LLE on Dedicated Thread ===
Will do nothing in {{revision|4.0-4488}} and later.
*<code>DSPThread = True</code> or <code>False</code> to enable and disable the "DSP LLE on Dedicated Thread" respectively.


=== TLBHack ===
=== Emulation Speed (formerly Framelimit) ===
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>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%".


*'''TLBHack = True''' -> Enables the MMU Speed Hack
=== CPU Overclock ===
*'''TLBHack = False''' -> Disables the MMU Speed Hack
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, greater in value is considered overclocking and smaller in value is considered underclocking.


=== 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.


=== DCBZ ===
=== Speed Up Disc Transfer Rate ===
Controls the "Skip DCBZ Clearing" setting. Can also be set in the ISO properties window.
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.


*'''DCBZ = True''' -> Enables "Skip DCBZ Clearing"
=== Dualcore Determinism ===
*'''DCBZ = False''' -> Disables "Skip DCBZ Clearing"
*<code>GPUDeterminismMode = fake-completion</code> or <code>none</code> to enable and disable "Deterministic dual core" respectively.


=== Memory Management Unit (MMU) ===
*<code>MMU = True</code> or <code>False</code> to enable and disable the "Memory Management Unit" respectively.


=== VBeam ===
=== DCBZ ===
Controls the "VBeam Speed Hack" 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.


*'''VBeam = True''' -> Enables the VBeam Speed Hack
=== Progressive Scan ===
*'''VBeam = False''' -> Disables the VBeam Speed Hack
*<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.


=== SyncGPU ===
Choose a number for the language you want from the list below:
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.
0 = English/Japanese
1 = German
2 = French
3 = Spanish
4 = Italian
5 = Dutch


*'''SyncGPU = True''' (or False to enable and disable "Synchronize GPU Thread" respectively).
== [Video_Settings] ==
FastDiscSpeed = True (or False to enable and disable "Speed Up Disk Transfer Rate" respectively).
The following entries go under [Video_Settings] section of the GameINI.
BlockMerging = True (or False to enable and disable "Block Merging" respectively).
DSPHLE = True (or False to enable and disable "DSP HLE Emulation" respectively).


=== Internal Resolution ===
Values starting from 0 represent the drop down order in the list that dolphin uses.
*<code>InternalResolution = 0</code>


=== GFXBackend ===
=== Shader Compilation ===
Sets the video backend the game will use.
*<code>ShaderCompilationMode = 0</code>
<pre>0 = Synchronous
1 = Synchronous (Ubershaders)
2 = Asynchronous (Ubershaders)
3 = Asynchronous (Skip Drawing)</pre>


*'''GFXBackend = D3D''' –> Sets the video backend to D3D (previously called D3D11 prior to {{revision|4.0-155}})
=== Compile Shaders Before Starting ===
*'''GFXBackend = OGL''' –> Sets the video backend to OpenGL
*<code>WaitForShadersBeforeStarting = True</code> or <code>False</code> to enable and disable "Compile Shaders Before Starting" respectively.


=== Texture Cache Accuracy ===
Controls the "Texture Cache Accuracy" setting, shown as a slider in the GUI.
*<code>SafeTextureCacheColorSamples = 0</code> -> Texture Cache Accuracy "Safe", the left most option on the slider.
*<code>SafeTextureCacheColorSamples = 512</code> -> Texture Cache Accuracy "Middle", the middle option on the slider.
*<code>SafeTextureCacheColorSamples = 128</code> -> Texture Cache Accuracy "Fast", the right most option on the slider.


D3D9 was removed in {{revision|4.0-155}}. On builds prior to {{revision|4.0-155}}, the following three options are available.
=== Aspect Ratio ===
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".


*'''GFXBackend = DX11''' -> Sets the video backend to D3D11 (now called D3D in the emulator as of {{revision|4.0-155}})
=== Widescreen Hack ===
*'''GFXBackend = OGL''' -> Sets the video backend to OpenGL
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.
*'''GFXBackend = DX9''' -> Sets the video backend to D3D9. For {{revision|4.0-155}} and later setting the graphics backend to DX9 will do nothing.
*<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.


=== CPUCore ===
=== External Frame Buffer ===
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.
Will do nothing in {{revision|5.0-5874}} and later.
*<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.


*'''CPUCore = 0''' -> Sets the CPU engine to Interpreter
=== Fast Depth Calculation ===
*'''CPUCore = 1''' -> Sets the CPU engine to JIT
*<code>FastDepthCalc = True</code> or <code>False</code> to enable and disable "Fast depth calculation" respectively.
*'''CPUCore = 2''' -> Sets the CPU engine to JITIL


=== Per-Pixel Lighting ===
*<code>EnablePixelLighting = True</code> or <code>False</code> to enable and disable "Per-Pixel Lighting" respectively.


=== FrameLimit ===
=== Disable Fog ===
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>DisableFog = True</code> or <code>False</code> to enable and disable "Disable Fog" respectively.


*'''FrameLimit = 0x00000000''' -> "Off"
=== Load Custom Textures ===
*'''FrameLimit = 0x00000001''' -> "Auto"
*<code>HiresTextures = True</code> or <code>False</code> to enable and disable "Load Custom Textures" respectively.
*'''FrameLimit = 0x00000002''' -> "Audio"
*'''FrameLimit = 0x00000003''' -> "10"
Continues up to
*'''FrameLimit = 0x00000019''' -> "120"


== [Video_Enhancements] ==
The following entries go under [Video_Enhancements] section of the GameINI.


=== UseFPS ===
=== Anisotropic Filtering ===
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>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.


*'''UseFPS = True''' -> Sets the FrameLimiter to be based on FPS instead of the VPS.
=== Force Texture Filtering ===
*'''UseFPS = False''' -> Sets the FrameLimiter to be based on VPS instead of the FPS. This is the normal behavior for the emulator.
*<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. 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.


=== DSPHLE ===
=== Force 24-Bit Color ===
Chooses the audio engine. Can also be set in the ISO properties window.
*<code>ForceTrueColor = True</code> or <code>False</code> to enable and disable "Force 24-Bit Color" respectively.


*'''DSPHLE = True''' -> Forces DSP HLE for the game.
=== Disable Copy Filter ===
*'''DSPHLE = False''' -> Disables DSP HLE, forcing DSP LLE.
*<code>DisableCopyFilter = True</code> or <code>False</code> to enable and disable "Disable Copy Filter" 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]].
 
 
=== DSPThread ===
Controls "DSP LLE on Dedicated Thread".
 
*'''DSPThread = True''' - Enables DSP LLE on Dedicated Thread
*'''DSPThread = False''' - Disables DSP LLE on Dedicated Thread
 
== [Video_Settings] ==
 
 
== [Video_Enhancements] ==


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


== [Video_Hacks] ==
== [Video_Hacks] ==
The following entries go under [Video_Hacks] section of the GameINI.


== [Video] ==
=== EFB Copies ===
*<code>EFBToTextureEnable = True</code> or <code>False</code> to enable "EFB to Texture" and "EFB to Ram" respectively.


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


== [DSP] ==
=== 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!


=== Ignore Format Changes ===
*<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!


== [Controls] ==
=== 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 audio backend:
===XFB copies ===
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:
*<code>XFBToTextureEnable = True</code> or <code>False</code> to enable "XFB to Texture" and "XFB to Ram" respectively.
[DSP]
Backend = OpenAL
[DSP]
Backend = DSound
[DSP]
Backend = XAudio2


[DSP]
===Immediate XFB ===
EnableJIT = True => for LLE recompiler
*<code>ImmediateXFBenable = True</code> or <code>False</code> to enable and disable "Immediate XFB" respectively.
EnableJIT = False => for LLE interpreter


== [Video_Hardware] ==
The following entries go under [Video_Hardware] section of the GameINI.


=== V-Sync ===
*<code>VSync = True</code> or <code>False</code> to enable and disable "V-Sync" respectively.


Volume:
== [Video_Stereoscopy] ==
A dolphin version above 4.0 - 101 is needed to set this option.
The following entries go under [Video_Stereoscopy] section of the GameINI.
[DSP]
Volume = 100 (values starting from 0 up to 100 max are valid).


=== Stereoscopic 3D Offset Settings ===
*<code>StereoDepthPercentage = 100</code> Percentage to multiply with the depth value of StereoDepth in [[#Stereoscopic 3D Settings]].
*<code>StereoConvergence = 0</code> Base convergence value to be multiplied with the percentage value of StereoConvergencePercentage in [[#Stereoscopic 3D Settings]].
*<code>StereoEFBMonoDepth = True</code> or <code>False</code> to enable and disable "Monoscopic Shadows" respectively.


 
=== Stereoscopic 3D Mode ===
Choosing Internal Resolution:
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:
[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:
[Video_Hacks]
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:
[Video_Hacks]
EFBScaledCopy = True (or False to enable and disable "Scaled EFB Copy" respectively).
 
Skip EFB Access From Cpu:
[Video_Hacks]
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:
[Video_Hacks]
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:
[Video_Settings]
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:
Values starting from 0 represent the drop down order in the list that dolphin uses. Currently:
[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:
You should also set aspect ratio to "Stretch to window" in order to work.
[Video_Settings]
wideScreenHack = True (or False to enable and disable "Widescreen Hack" respectively).
 
VSync:
[Video_Hardware]
VSync = True (or False to enable and disable "VSync" respectively).
 
Anti-Aliasing:
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.
[Video_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).
 
Anisotropic Filtering:
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] 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:
[Video_Settings]
OMPDecoder = True (or False to enable and disable "OpenMP Texture Decoder" respectively).
 
OpenCL Texture Decoder:
[Video_Settings]
EnableOpenCL = True (or False to enable and disable "OpenCL Texture Decoder" respectively).
 
Disable Fog:
[Video_Settings]
DisableFog = True (or False to enable and disable "Disable Fog" respectively).


Disable Destination Alpha:
=== Audio Backend ===
[Video_Settings]
*<code>Backend = OpenAL</code>
DstAlphaPass = True (or False to enable and disable "Disable Destination Alpha" respectively).
*<code>Backend = XAudio2</code>
*<code>Backend = Cubeb</code>
*<code>Backend = WASAPI (Exclusive mode)</code>
*<code>Backend = No audio output</code>


Post - Processing Effects:
=== DSP Emulator Engine ===
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.
*<code>EnableJIT = True</code> or <code>False</code> for "LLE recompiler" and "LLE interpreter" respectively. This is when [[#DSP HLE]] is disabled.
[Video_Enhancements]
PostProcessingShader = sepia (you can put the name of your preferred shader here).


Choosing Control Profiles per game:
=== Volume ===
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:
*<code>Volume = 100</code>, values starting from 0 up to 100 max are valid.


[Controls]
== [Wii] ==
WiimoteProfile1 = Sideways => You can put any profile name you want to put here instead. This loads wiimote profile for player 1.
=== Wii System Language ===
WiimoteProfile2 = Sideways => You can put any profile name you want to put here instead. This loads wiimote profile for player 2.
Implemented in {{revision|5.0-2023}} and later.
WiimoteProfile3 = Sideways => You can put any profile name you want to put here instead. This loads wiimote profile for player 3.
*<code>Language = 1</code> for English
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:
Choose a number for the language you want from the list below:
[Controls]
0 = Japanese
PadProfile1 = Your profile name here. This loads gcpad profile for player 1.
1 = English
PadProfile2 = Your profile name here. This loads gcpad profile for player 2.
2 = German
PadProfile3 = Your profile name here. This loads gcpad profile for player 3.
3 = French
PadProfile4 = Your profile name here. This loads gcpad profile for player 4.
4 = Spanish
5 = Italian
6 = Dutch
7 = Simplified Chinese
8 = Traditional Chinese
9 = Korean


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).

Revision as of 09:51, 8 August 2018

You can configure settings per game through their GameINI. GameINI is a plain text file with game's 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.

[Core]

The following entries go under [Core] section of the GameINI.

Dual Core

  • CPUThread = True or False to enable and disable "Dual Core" mode respectively.

Graphics Backend

  • GFXBackend = D3D to set the video backend to Direct3D 11.
  • GFXBackend = D3D12 to set the video backend to Direct3D 12. Removed (will do nothing) in 5.0-3774 and later.
  • GFXBackend = OGL to set the video backend to OpenGL.
  • GFXBackend = Vulkan to set the video backend to Vulkan.
  • GFXBackend = Software Renderer to set the video backend to Software.
  • GFXBackend = Null to set the video backend to Null(no output).

CPU Emulator Engine

  • CPUCore = 0 to set the CPU emulator engine to "Interpreter".
  • CPUCore = 1 to set the CPU emulator engine to "JIT".
  • CPUCore = 2 to set the CPU emulator engine to "JITIL". Removed (will do nothing) in 5.0-3792 and later.
  • CPUCore = 5 to set the CPU emulator engine to "Cached Interpreter".

Floating-point Result Flag

  • FPRF = True or False to enable and disable "Floating-point Result Flag" calculation respectively.

DSP HLE

  • DSPHLE = True or False to enable and disable "DSP HLE" respectively.

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.

DSP LLE on Dedicated Thread

Will do nothing in 4.0-4488 and later.

  • DSPThread = True or False to enable and disable the "DSP LLE on Dedicated Thread" respectively.

Emulation Speed (formerly Framelimit)

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

CPU Overclock

Implemented in 5.0-2302 and later.

  • OverclockEnable = True or False to enable and disable "CPU Overclock" respectively.
  • Overclock = 1.0 translates to "100%" CPU clock, greater in value is considered overclocking and smaller in value is considered underclocking.

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.

  • SyncGPU = True or False to enable and disable the "Synchronize GPU thread" respectively.

Speed Up Disc Transfer Rate

Accelerates the emulated disc speed, removing any loading emulation.

  • FastDiscSpeed = True or False to enable and disable the "Speed up Disc Transfer Rate" respectively.

Dualcore Determinism

  • GPUDeterminismMode = fake-completion or none to enable and disable "Deterministic dual core" respectively.

Memory Management Unit (MMU)

  • MMU = True or False to enable and disable the "Memory Management Unit" respectively.

DCBZ

Will do nothing in 5.0-8482 and later.

  • DCBZ = True or False to enable and disable "Skip DCBZ Clearing" respectively.

Progressive Scan

  • ProgressiveScan = True or False to enable and disable "Progressive Scan" respectively.

GameCube Language

Implemented in 5.0-2023 and later.

  • GameCubeLanguage = 0 for English or Japanese, depending on the region of the console/game.

Choose a number for the language you want from the list below:

0 = English/Japanese
1 = German
2 = French
3 = Spanish
4 = Italian
5 = Dutch

[Video_Settings]

The following entries go under [Video_Settings] section of the GameINI.

Internal Resolution

Values starting from 0 represent the drop down order in the list that dolphin uses.

  • InternalResolution = 0

Shader Compilation

  • ShaderCompilationMode = 0
0 = Synchronous
1 = Synchronous (Ubershaders)
2 = Asynchronous (Ubershaders)
3 = Asynchronous (Skip Drawing)

Compile Shaders Before Starting

  • WaitForShadersBeforeStarting = True or False to enable and disable "Compile Shaders Before Starting" respectively.

Texture Cache Accuracy

Controls the "Texture Cache Accuracy" setting, shown as a slider in the GUI.

  • SafeTextureCacheColorSamples = 0 -> Texture Cache Accuracy "Safe", the left most option on the slider.
  • SafeTextureCacheColorSamples = 512 -> Texture Cache Accuracy "Middle", the middle option on the slider.
  • SafeTextureCacheColorSamples = 128 -> Texture Cache Accuracy "Fast", the right most option on the slider.

Aspect Ratio

Values starting from 0 represent the drop down order in the list that dolphin uses.

  • AspectRatio = 0 is auto, assigned based on what the emulated console indicates.
  • AspectRatio = 1 to force the aspect ratio to 16:9.
  • AspectRatio = 2 to force the aspect ratio to 4:3.
  • AspectRatio = 3 to set the aspect ratio to "Stretch to window".

Widescreen Hack

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.

  • wideScreenHack = True or False to enable and disable the "Widescreen Hack" respectively.

Anti-Aliasing

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

External Frame Buffer

Will do nothing in 5.0-5874 and later.

  • 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

  • FastDepthCalc = True or False to enable and disable "Fast depth calculation" respectively.

Per-Pixel Lighting

  • EnablePixelLighting = True or False to enable and disable "Per-Pixel Lighting" respectively.

Disable Fog

  • DisableFog = True or False to enable and disable "Disable Fog" respectively.

Load Custom Textures

  • HiresTextures = True or False to enable and disable "Load Custom Textures" respectively.

[Video_Enhancements]

The following entries go under [Video_Enhancements] section of the GameINI.

Anisotropic Filtering

Values starting from 0 represent the drop down order in the list that dolphin uses.

  • 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

  • ForceFiltering = True or False to enable and disable "Force Texture Filtering" respectively.

Post-processing Effects

This option will only work with the OpenGL and Vulkan backend. Use the names listed in the drop down menu of the option, below we use sepia as an example.

  • PostProcessingShader = sepia, also you can put the name of your preferred shader here.

Force 24-Bit Color

  • ForceTrueColor = True or False to enable and disable "Force 24-Bit Color" respectively.

Disable Copy Filter

  • DisableCopyFilter = True or False to enable and disable "Disable Copy Filter" respectively.

Arbitrary Mipmap Detection

  • ArbitraryMipmapDetection = True or False to enable and disable "Arbitrary Mipmap Detection" respectively.

[Video_Hacks]

The following entries go under [Video_Hacks] section of the GameINI.

EFB Copies

  • EFBToTextureEnable = True or False to enable "EFB to Texture" and "EFB to Ram" respectively.

Scaled EFB Copy

  • EFBScaledCopy = True or False to enable and disable "Scaled EFB Copy" respectively.

Skip EFB Access From CPU

  • 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

  • EFBEmulateFormatChanges = True or False to disable and enable "Ignore Format Changes" respectively. Beware that it has the opposite behavior of the GUI option!

Bounding Box

  • BBoxEnable = True or False to enable and disable "Bounding Box" calculation respectively.

Vertex Rounding

  • VertexRounding = True or False to enable and disable "Vertex Rounding" respectively.

XFB copies

  • XFBToTextureEnable = True or False to enable "XFB to Texture" and "XFB to Ram" respectively.

Immediate XFB

  • ImmediateXFBenable = True or False to enable and disable "Immediate XFB" respectively.

[Video_Hardware]

The following entries go under [Video_Hardware] section of the GameINI.

V-Sync

  • VSync = True or False to enable and disable "V-Sync" respectively.

[Video_Stereoscopy]

The following entries go under [Video_Stereoscopy] section of the GameINI.

Stereoscopic 3D Offset Settings

  • StereoDepthPercentage = 100 Percentage to multiply with the depth value of StereoDepth in #Stereoscopic 3D Settings.
  • StereoConvergence = 0 Base convergence value to be multiplied with the percentage value of StereoConvergencePercentage in #Stereoscopic 3D Settings.
  • StereoEFBMonoDepth = True or False to enable and disable "Monoscopic Shadows" respectively.

Stereoscopic 3D Mode

Values starting from 0 represent the drop down order in the list that dolphin uses.

  • StereoMode = 0

Stereoscopic 3D Settings

  • StereoDepth = 20 Separation distance between the virtual cameras.
  • StereoConvergencePercentage = 100 Distance of the convergence plane.
  • StereoSwapEyes = True or False to enable and disable "Swap Eyes" respectively.

[DSP]

The following entries go under [DSP] section of the GameINI.

Audio Backend

  • Backend = OpenAL
  • Backend = XAudio2
  • Backend = Cubeb
  • Backend = WASAPI (Exclusive mode)
  • Backend = No audio output

DSP Emulator Engine

  • EnableJIT = True or False for "LLE recompiler" and "LLE interpreter" respectively. This is when #DSP HLE is disabled.

Volume

  • Volume = 100, values starting from 0 up to 100 max are valid.

[Wii]

Wii System Language

Implemented in 5.0-2023 and later.

  • Language = 1 for English

Choose a number for the language you want from the list below:

0 = Japanese
1 = English
2 = German
3 = French
4 = Spanish
5 = Italian
6 = Dutch
7 = Simplified Chinese
8 = Traditional Chinese
9 = Korean