Skip to content

feat: Added settingshandler.simba#257

Open
Baconadors wants to merge 5 commits intoTorwent:masterfrom
Baconadors:master
Open

feat: Added settingshandler.simba#257
Baconadors wants to merge 5 commits intoTorwent:masterfrom
Baconadors:master

Conversation

@Baconadors
Copy link
Contributor

@Baconadors Baconadors commented Mar 3, 2026

Added settingshandler.simba to check for GPU plugin being enabled and applying an optional fix as well as intregrating CJ's Setting Searcher script so that settings can be checked and fixed within the script that calls the settings handler instead of a separate script.
GPU plugin check is independent of game settings check.

Main handler usage:
SettingsHandler.CheckGPUPlugin();
SettingsHandler.CheckGameSettings();

Secondary handler usage:
SettingsHandler.CheckDisplaySettings();
SettingsHandler.CheckRegularSettings();
SettingsHandler.CheckXPBarSettings();
SettingsHandler.CheckMagicSettings();

  • When the user clicks APPLY FIX, the GPU plugin will be disabled in the specified profile and runelite is closed. Actions are printed to simba output.
  • When the user clicks CONTINUE ANYWAY, the GPU plugin will stay enabled and the script will continue uninterrupted. Actions are printed to simba output.
  • If the GPU plugin is already disabled, the simba output will say that no action is required and the script continues uninterrupted.

NOTES:

  • This will only work for wasp profiles generated via WaspLauncher or the .bat file. If the user has some other profile active, they will just get the warning message that a matching profile is not found and the script will continue uninterrupted.
  • RuneLite only updates runelite.gpuplugin after it's closed, so the limitation is that we cannot catch if the GPU plugin is toggled from disabled > enabled AFTER RuneLite is opened.
Settings.Handler.Usage.mp4

SettingsHandler No Action

SettingsHandler Continue Anyway

SettingsHandler Apply Fix

Added profilehandler.simba to check for GPU plugin being enabled and applying an optional fix by using only 1 line.
use: ProfileHandler.CheckProfile();
Added settingshandler.simba to check for GPU plugin being enabled and applying an optional fix. Can also run game settings searcher.
use: SettingsHandler.CheckGPUPlugin();
SettingsHandler.CheckGameSettings();
@Baconadors Baconadors closed this Mar 12, 2026
@Baconadors Baconadors reopened this Mar 12, 2026
@Baconadors Baconadors changed the title feat: Added profilehandler.simba feat: Added settingshandler.simba Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant