In order to edit this wiki, you must register and verify your account.

Tutorial:Game Profiles: Difference between revisions

From Cemu Wiki
Jump to:navigation Jump to:search
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Game Profiles are specific configurations for individual games these allow the user to set the options used when emulating a specific game. This allows the user to load a game without needing to reconfigure Cemu every time.
Game Profiles are specific configurations for individual games that allow the user to set the options used when emulating a specific game. This allows the user to load a game without needing to reconfigure Cemu every time.


== Available Options ==
== GameProfile Usage & Available Options ==
Note: If no value is set in the Game profile, Cemu will use the setting chosen when selecting options inside Cemu.
To open and change your Game Profile options, right-click the game within Cemu's game list.
 
Note: If no value is set in the Game profile's <code>.ini</code>, Cemu will use the setting chosen when selecting options inside Cemu.


==== General ====
==== General ====


<code>loadSharedLibraries = true</code>  
<code>loadSharedLibraries = true</code><br>
If set to true, system rpl files will be loaded from /cafeLibs/ if present. Default value is true
If set to true, system rpl files will be loaded from /cafeLibs/ if present. Default value is true


<code>useRDTSC = true</code>  
<code>startWithPadView = true</code><br>
Use RDTSC instruction as timer source for emulated CPU, OS and audio
If set to true, the Separate Gamepad View for the Gamepad will be launched automatically when booting a game.


==== Graphics ====
==== CPU ====


<code>accurateShaderMul = true</code>  
<code>cpuMode = Single-core interpreter | Single-core recompiler | Multi-core recompiler | Auto (recommended)</code><br>
If set to true, Cemu will correctly emulate the non-IEEE behavior of the shader MUL instruction. Can fix graphic issues but also decreases shader performance and increases shader compile time. Default value is <code>true</code>. Since Cemu 1.7.5 the option also supports a third mode <code>min</code>. In this mode, Cemu will emulate non-IEEE MUL instructions in a more GPU-friendly way which generates less complex shaders. However, this mode might not be 100% accurate.
Changes the state of the CPU. Interpreter is meant for debugging only. "Auto" is recommended.


<code>UseSeparableShaders = true</code>  
<code>threadQuantum = 45000</code><br>
If set to <code>false</code> Cemu will use the Conventional Shader system from pre-1.8.0.  
Increases the delay before emulated threads switch. 100,000 can give a general 1~2FPS boost, but this is not recommended due to possible audio corruption.


<code>disableGPUFence = false</code>
==== Graphics ====
If set to <code>true</code>, GPU fence operations will be skipped. Default value is <code>false</code>. Enabling this option can lead to instability and crashes.


<code>GPUBufferCacheAccuracy = 0</code>  
<code>graphics_api = Blank | 0 | 1 (0 = OpenGL | 1 = Vulkan)</code><br>
Controls the accuracy of vertex and uniform data caching. A higher accuracy means more expensive checks which can slow down rendering. Possible values: 0 = high, 1 = medium, 2 = low
Allows the Graphics API to be set individually on a per-game basis when compatibility is a concern.


<code>streamoutBufferCacheSize = 24</code>  
<code>accurateShaderMul = true</code><br>
The buffer cache size of the streamout buffer in MB.
Determines if Cemu will correctly emulate the non-IEEE behavior of the shader MUL instruction. Can fix graphic issues but also decreases shader performance and increases shader compile time. Default value is <code>true</code>. Since Cemu 1.7.5 the option also supports a third mode <code>min</code>. In this mode, Cemu will emulate non-IEEE MUL instructions in a GPU-friendly way which generates less complex shaders resulting in less RAM usage. However, this will result in some broken or missing graphics in various titles.


<code>extendedTextureReadback = false</code>
==== Controller ====
If set to <code>true</code>, Cemu will try to mirror data written by GPU operations to CPU RAM (but only if access by CPU is assumed to be likely) Default value is <code>false</code>.


==== CPU ====
<code>controller1 = Controller Profile Name</code><br>
...<br>
<code>controller8 = Controller Profile Name</code><br>
Allows you to set specific profiles for all 8 controllers on a per-game basis. These will override what is set in Options > Input Settings


<code>cpuTimer = cycleCounter</code>
== GameProfile Location ==
Timer source for OS and CPU time. Supported values are <code>hostBased</code> (timers are based on actual OS time) and <code>cycleCounter</code> (timers are based on speed of emulated CPU).
 
<code>emulateSinglePrecision = true</code>
If set to <code>false</code>, the recompiler won't correctly round the result of single-precision instructions in certain situations. This can introduce gameplay bugs, but might also improve performance.
 
<code>cpuMode = Singlecore-Recompiler</code>
CPU mode. Possible values: <code>Singlecore-Interpreter</code>, <code>Singlecore-Recompiler</code>, <code>Dualcore-Recompiler</code>, <code>Triplecore-Recompiler</code>
 
== Finding Game Profiles ==
Game profiles are stored in the <code>gameProfiles</code> folder of your Cemu installation. When a game is loaded, its matching game profile will be used. To see what profile is being used, load a game and find the TitleId in the title bar of the window or look in the log.txt file after loading. Search for the TitleId inside the <code>gameProfiles</code> folder without the dash to find the file Cemu is using.
Game profiles are stored in the <code>gameProfiles</code> folder of your Cemu installation. When a game is loaded, its matching game profile will be used. To see what profile is being used, load a game and find the TitleId in the title bar of the window or look in the log.txt file after loading. Search for the TitleId inside the <code>gameProfiles</code> folder without the dash to find the file Cemu is using.


[[File:Sample TitleId.png|700x400px|thumb|left|The TitleId is shown in the title bar of the window]]  
[[File:Sample TitleId.png|700x400px|thumb|left|The TitleId is shown in the title bar of the window]]  
[[File:Sample gameProfile.png|450x450px|thumb|right|A sample game profile for the game Splatoon]]
[[File:Sample gameProfile.png|450x450px|thumb|right|A sample game profile for the game Splatoon]]
[[Category:List_of_tutorials]]

Latest revision as of 23:30, 26 April 2021

Game Profiles are specific configurations for individual games that allow the user to set the options used when emulating a specific game. This allows the user to load a game without needing to reconfigure Cemu every time.

GameProfile Usage & Available Options

To open and change your Game Profile options, right-click the game within Cemu's game list.

Note: If no value is set in the Game profile's .ini, Cemu will use the setting chosen when selecting options inside Cemu.

General

loadSharedLibraries = true
If set to true, system rpl files will be loaded from /cafeLibs/ if present. Default value is true

startWithPadView = true
If set to true, the Separate Gamepad View for the Gamepad will be launched automatically when booting a game.

CPU

cpuMode = Single-core interpreter | Single-core recompiler | Multi-core recompiler | Auto (recommended)
Changes the state of the CPU. Interpreter is meant for debugging only. "Auto" is recommended.

threadQuantum = 45000
Increases the delay before emulated threads switch. 100,000 can give a general 1~2FPS boost, but this is not recommended due to possible audio corruption.

Graphics

graphics_api = Blank | 0 | 1 (0 = OpenGL | 1 = Vulkan)
Allows the Graphics API to be set individually on a per-game basis when compatibility is a concern.

accurateShaderMul = true
Determines if Cemu will correctly emulate the non-IEEE behavior of the shader MUL instruction. Can fix graphic issues but also decreases shader performance and increases shader compile time. Default value is true. Since Cemu 1.7.5 the option also supports a third mode min. In this mode, Cemu will emulate non-IEEE MUL instructions in a GPU-friendly way which generates less complex shaders resulting in less RAM usage. However, this will result in some broken or missing graphics in various titles.

Controller

controller1 = Controller Profile Name
...
controller8 = Controller Profile Name
Allows you to set specific profiles for all 8 controllers on a per-game basis. These will override what is set in Options > Input Settings

GameProfile Location

Game profiles are stored in the gameProfiles folder of your Cemu installation. When a game is loaded, its matching game profile will be used. To see what profile is being used, load a game and find the TitleId in the title bar of the window or look in the log.txt file after loading. Search for the TitleId inside the gameProfiles folder without the dash to find the file Cemu is using.

The TitleId is shown in the title bar of the window
A sample game profile for the game Splatoon