Project

General

Profile

Actions

Emulator Issues #8135

closed

Per-Game .ini setting for CPU Clock Override

Added by keller.g over 9 years ago. Updated about 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-2302

Description

Game Name?
Any GC game

Game ID?
N/A

What's the problem? Describe what went wrong in few words.
Adding the following to a game .ini had no effect.

[Core]
Overclock = 1.500000
OverclockEnable = False

What did you expect to happen instead?
CPU Override settings to be applied as specified for a game.

What steps will reproduce the problem?
[Don't assume we have ever played the game and know any level names. Be as
specific as possible.]
1.Add the following to any GC game ini
[Core]
Overclock = 1.500000
OverclockEnable = False
2.Start the game
3.No HUD warning about CPU Override, and no effects (positive or negative) of CPU override are observed

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?
4.0-5222

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
No

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Intel i5 4690K running at 4.5 GHz
AMD Radeon R9 200 Series

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
CPU Override is an awesome new feature that has been very effective in eliminating slowdowns in some of my GC games. However, I am wary to turn it up to 150% and just leave it there for all games, especially since it could have a negative effect on games too! IMO, per-game .ini settings makes a lot of sense for CPU Override.

Not sure if this is excluded on purpose, or if there's some other reason to avoid per-game settings for this. I appreciate your work and time!


Files

dem1.jpg (63.6 KB) dem1.jpg Where to enter shortcut parameters istolechristmas, 01/13/2017 10:50 PM
Actions #1

Updated by JMC4789 over 9 years ago

  • Status changed from New to Questionable

Our view on this was not to do this. We didn't want people/users/anyone to distribute INIs setting an incorrect clockrate for a game. It hides bugs (that we want to fix) as well as can cause issues down the road that no one could pinpoint, because they had the CPU clockrate changed in their INI.

Someone else can feel free to override me (Anyone could make a patch and have it reviewed, discussed) but my views on this is definitely not a road we want to go down.

Actions #2

Updated by MayImilae over 9 years ago

  • Issue type changed from Bug to Feature request
Actions #3

Updated by rigation over 9 years ago

Theoretically OverclockEnable should be set to True, not False, anyway at the moment it doesn't work as well.
I do think a per-game setting is absolutely necessary, otherwise you'll spend more time messing with sliders and trying to remember optimal values, than playing games.

P.S. if I may I would suggest to change the warning color from yellow to red...

Actions #4

Updated by keller.g over 9 years ago

Good point, it was theoretical config that I mistyped. This also doesn't work in a game INI.

[Core]
OverclockEnable = True
Overclock = 1.500000

I respect the idea that the devs don't want to confuse things with the game INIs, but this is definitely a setting that you can't just set and forget globally. Since the hack works positively for some games, negatively for others, and nothing for still others, it only makes sense to be able to set it per-game.

I wish I had the programming chops to submit a patch myself. Since I don't, I appreciate your consideration of my enhancement request.

Actions #5

Updated by johncroft2580 almost 9 years ago

Iv came across 2 games now that would benefit from setting it per-game, Crash Tag Team Racing, when at 152% gameplay is now butter smooth and not laggy, same goes with Spyro Enter the Dragonfly

Actions #6

Updated by JMC4789 almost 9 years ago

Both of those games lag on console; so setting a default for them to not lag would be pretty silly.

Actions #7

Updated by keller.g almost 9 years ago

I don't think me or anyone else is asking for the Overclock to be set by default for any game. I'd say keep them out of the default .ini files entirely. But I would like the ability to set the setting myself per-game for those games that benefit from it.

Actions #8

Updated by johncroft2580 almost 9 years ago

Yeah i dont want it set by default, leave it as default off but allow people who know what there doing to use per-game (gameconfig), as some games run perfect with the overclock

Actions #9

Updated by mickequipe almost 9 years ago

Enabling a per game INI setting that the user could configure specifically for their system for this would be a huge bonus for demanding games like Rebel Strike I reckon.

Actions #10

Updated by istolechristmas over 7 years ago

In Windows there is a way to launch each game from outside Dolphin with its own set of ALL settings available in Dolphin, including specific CPU Clock Override settings, even controller configuration. Follow these simple steps that I figured out by tinkering around myself:

  1. Create a new directory (folder) that you would like to contain each game's settings (example: C:\Dolphin_Settings). For each game you would like to have a specific configuration, create a new folder for it under this directory (example folder path for game: C:\Dolphin_Settings\Super Mario Galaxy). So as for the example, you should now have a new folder under C:\ drive called 'Dolphin_Settings' and inside this folder you created a new one called 'Super Mario Galaxy'.

  2. Copy the current 'Dolphin Emulator' configuration folder from your 'Documents' or 'My Documents' folder (example path: C:\Users\David\Documents) to the 'C:\Dolphin_Settings\Super Mario Galaxy' folder. You need to follow this step for each game folder you created.

  3. Create a new shortcut to the Dolphin Emulator program (e.g. C:\Program Files\Dolphin\Dolphin.exe) or call it from a script, but include command line arguments following the below examples.

(a) Windows shortcut example: Name the new shortcut with the game's title (e.g. Super Mario Galaxy). Right-click on shortcut and select 'Properties'. Under the 'Shortcut' tab, there is a 'Target' box. The content of the target box needs to follow this syntax exactly, including the quotation marks:

"C:\Program Files\Dolphin\Dolphin.exe" -u "C:\Dolphin_Settings\Super Mario Galaxy\Dolphin Emulator" -e "C:\Roms\Super Mario Galaxy [NTSC-U].iso"

(Syntax reference: "path_to_dolphin\Dolphin.exe" -u "C:\Dolphin_Settings\Super Mario Galaxy\Dolphin Emulator" -e "rom_file_path\rom_file.iso" )

(b) Scripting reference: If you are wanting to launch a specific game via a script or other program, you need to call the Dolphin Executable (e.g. "C:\Program Files\Dolphin\Dolphin.exe") and include the following command line arguments, including quotation marks:

-u "C:\Dolphin_Settings\Super Mario Galaxy\Dolphin Emulator" -e "C:\Roms\Super Mario Galaxy [NTSC-U].iso"

(Syntax reference: -u "C:\Dolphin_Settings\Super Mario Galaxy\Dolphin Emulator" -e "rom_file_path\rom_file.iso" )

  1. Once the game is launched by your new shortcut or script, you can close or switch from the game window to the main Dolphin screen to adjust whatever settings you want for that game. These settings will be saved and will only apply to that game. In order to keep launching the specified game with its own settings, you need launch it each time using your new shortcut or script. In essence, each time you launch Dolphin with the new shortcut or script, you are telling Dolphin to use a specified folder for its configuration. You are also telling it which game to load and apply this configuration. This is also nice as you can create a different controller configuration for each game. For anyone using XBMC/Kodi to manage their ROM library, this launch method is very useful to prevent the constant need to keep adjusting settings. Just click and play each game after it is all setup; very user-friendly!

Hope this helps other people enjoy this great program even more!

Actions #11

Updated by JosJuice over 7 years ago

istolechristmas, this is a bug tracker, not a support forum. Go to https://forums.dolphin-emu.org/ if you want to write about things that are helpful for users but not developers.

Actions #12

Updated by JosJuice about 7 years ago

  • Status changed from Questionable to Fixed
  • Fixed in set to 5.0-2302
Actions

Also available in: Atom PDF