From d631ad3dbf2daed3e5728ebb94562f6d83efc5a3 Mon Sep 17 00:00:00 2001 From: skullbit Date: Sun, 30 Jun 2024 19:13:13 +0000 Subject: [PATCH] V1.1 --- drax.sh | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/drax.sh b/drax.sh index 891442b..884c44f 100644 --- a/drax.sh +++ b/drax.sh @@ -18,7 +18,6 @@ if [ "$command" = "inject roblox" ]; then # Creating folder and file for Roblox (if needed) mkdir -p /Applications/Roblox.app/Contents/MacOS/ClientSettings echo ' - { "FFlagDebugGraphicsPreferVulkan": true, "FFlagDebugGraphicsDisableMetal": true, @@ -745,7 +744,6 @@ if [ "$command" = "inject roblox" ]; then "FFlagDisableDynamicCollisions":true } - ' > /Applications/Roblox.app/Contents/MacOS/ClientSettings/ClientAppSettings.json echo "Injected Roblox successfully." @@ -770,6 +768,27 @@ elif [ "$command" = "inject brawlhalla" ]; then else echo "Brawlhalla app ID not found. Make sure Brawlhalla is installed via Steam." fi + +elif [ "$command" = "inject eso" ]; then + echo "Modifying Elder Scrolls Online settings..." + + settings_file="$HOME/Documents/Elder Scrolls Online/live/UserSettings.txt" + + # Check if the line 'Set MinFrameTime.2' exists and delete it if found + if grep -q 'Set MinFrameTime.2' "$settings_file"; then + echo "Deleting existing settings, and updating..." + sed -i '' '/Set MinFrameTime\.2/d' "$settings_file" + fi + + # Add the new setting regardless + echo 'Set MinFrameTime.2 "0.00416667"' >> "$settings_file" + + echo "Injected Elder Scrolls Online successfully." + + +elif [ "$command" = "help" ]; then + echo "inject roblox/brawlhalla/eso | FPS unlocker installs for Roblox/Brawlhalla/Elder Scrolls Online." + else echo "Command not recognized." fi