parent
1cd5e99bce
commit
d631ad3dbf
23
drax.sh
23
drax.sh
|
@ -18,7 +18,6 @@ if [ "$command" = "inject roblox" ]; then
|
||||||
# Creating folder and file for Roblox (if needed)
|
# Creating folder and file for Roblox (if needed)
|
||||||
mkdir -p /Applications/Roblox.app/Contents/MacOS/ClientSettings
|
mkdir -p /Applications/Roblox.app/Contents/MacOS/ClientSettings
|
||||||
echo '
|
echo '
|
||||||
|
|
||||||
{
|
{
|
||||||
"FFlagDebugGraphicsPreferVulkan": true,
|
"FFlagDebugGraphicsPreferVulkan": true,
|
||||||
"FFlagDebugGraphicsDisableMetal": true,
|
"FFlagDebugGraphicsDisableMetal": true,
|
||||||
|
@ -745,7 +744,6 @@ if [ "$command" = "inject roblox" ]; then
|
||||||
"FFlagDisableDynamicCollisions":true
|
"FFlagDisableDynamicCollisions":true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
' > /Applications/Roblox.app/Contents/MacOS/ClientSettings/ClientAppSettings.json
|
' > /Applications/Roblox.app/Contents/MacOS/ClientSettings/ClientAppSettings.json
|
||||||
|
|
||||||
echo "Injected Roblox successfully."
|
echo "Injected Roblox successfully."
|
||||||
|
@ -770,6 +768,27 @@ elif [ "$command" = "inject brawlhalla" ]; then
|
||||||
else
|
else
|
||||||
echo "Brawlhalla app ID not found. Make sure Brawlhalla is installed via Steam."
|
echo "Brawlhalla app ID not found. Make sure Brawlhalla is installed via Steam."
|
||||||
fi
|
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
|
else
|
||||||
echo "Command not recognized."
|
echo "Command not recognized."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue