Compare commits

..

1 Commits
v1.0 ... main

Author SHA1 Message Date
skullbit d631ad3dbf V1.1 2024-06-30 19:13:13 +00:00
1 changed files with 21 additions and 2 deletions

23
drax.sh
View File

@ -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