Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::
- :: This file will copy your downloaded ClientAppSettings.json file to your latest Roblox Player directory.
- :: By HeyDudeWheresTheFood on Roblox. 2023-04-25.
- ::
- :: You can run this file manually before using Roblox, as the ClientAppSettings file won't be in your latest Roblox update.
- :: This file can be saves to the same folder as the ClientAppSettings.json file you downloaded into your Downloads folder and create a shortcut to this file on your Desktop for maximum convenience.
- ::
- :: *** NOTE: You must set your own _ClientSettingsFileLocation below. ***
- ::
- @echo off
- :: *** Set this to your downloaded file location inside the quotes, remove any \ at the end of the file location. ***
- set _ClientSettingsFileLocation="C:\Users\HeyDude\Downloads\2023-04-25-Roblox-Client-Optimizer"
- echo. && echo.
- :: Gets the latest Roblox version directory by listing in bare format /b and sort order with oldest first /O:D so that the last entry is the newest version, then store as variable _CurrentRobloxVersion.
- for /f %%i in ('dir %USERPROFILE%\AppData\Local\Roblox\Versions\version* /b /O:D') do set _CurrentRobloxVersion=%%i
- :: Display the variable _CurrentRobloxVersion
- echo Roblox: %_CurrentRobloxVersion%
- echo. && echo.
- :: Set _RobloxLocation to point to the latest Roblox Player path location.
- set _RobloxLocation=%USERPROFILE%\AppData\Local\Roblox\Versions\%_CurrentRobloxVersion%
- :: Make directory called ClientSettings, if it already exists then do nothing.
- IF not exist %_RobloxLocation%\ClientSettings ( mkdir %_RobloxLocation%\ClientSettings )
- echo.
- echo Copying your ClientAppSettings.json file to the Roblox folder. . .
- echo.
- :: Copy your source file to the ClientSettings subfolder in the current Roblox Version folder.
- copy /Y %_ClientSettingsFileLocation%\ClientAppSettings.json %_RobloxLocation%\ClientSettings
- echo.
- echo Complete.
- echo. && echo.
- :: Set to timeout countdown before exit -or- a pause that requires user to press any key. Comment out as required with :: at start of line.
- TIMEOUT /T 10
- ::pause
- exit
Advertisement
Advertisement