-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathinstall_fps_unlocker
executable file
·50 lines (40 loc) · 1.05 KB
/
install_fps_unlocker
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/sh
targetFps=10000
robloxPath="/Applications/Roblox.app"
if [ ! -d $robloxPath ]; then
$robloxPath="~$robloxPath"
if [ ! -d $robloxPath ]; then
echo "Roblox installation folder couldn't be found."
exit
fi
fi
clientSettingsPath="$robloxPath/Contents/MacOS/ClientSettings"
if [ ! -d "$clientSettingsPath" ]; then
mkdir $clientSettingsPath
fi
echo "Do you want to use the Vulkan renderer? This will remove the FPS cap completely, but might break Roblox if you use an external monitor. (yes/no): "
read useVulkan
case $useVulkan in
yes)
clientSettings=" \
{ \
\"DFIntTaskSchedulerTargetFps\": $targetFps, \
\"FFlagDebugGraphicsDisableMetal\": \"true\", \
\"FFlagDebugGraphicsPreferVulkan\": \"true\" \
} \
"
;;
no)
clientSettings=" \
{ \
\"DFIntTaskSchedulerTargetFps\": $targetFps \
} \
"
;;
*)
echo "Unknown option."
exit 1
;;
esac
echo $clientSettings > "$clientSettingsPath/ClientAppSettings.json"
echo "The FPS unlocker has been installed in $robloxPath."