-
Notifications
You must be signed in to change notification settings - Fork 0
/
better-rblx-testing.cmd
35 lines (25 loc) · 1.11 KB
/
better-rblx-testing.cmd
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
:: TO DO: CLEAN UP CODE
@echo off
title Better-RBX
for /F "tokens=*" %%a in ('where /r C:\Users\liamb\AppData\Local\Roblox RobloxPlayerBeta.exe') do set rbxFolder=%%a
::where /r C:\Users\liamb\AppData\Local\Roblox RobloxPlayerBeta.exe
set rbxFolder=%rbxFolder:RobloxPlayerBeta.exe=%
echo %rbxFolder%
::outputs file path to parent folder of robloxplayerbeta.exe
for %%i in ("%~dp0.") do set "parentFolder=%%~fi"
::go to version path
C:
cd %rbxFolder%
::create client settings
mkdir ClientSettings
copy /v/y %parentFolder%\ClientAppSettings.json %rbxFolder%ClientSettings\
::topbar replacement
copy /v/y %parentFolder%\coloredlogo.png %rbxFolder%content\textures\ui\TopBar\
copy /v/y %parentFolder%\[email protected] %rbxFolder%content\textures\ui\TopBar\
copy /v/y %parentFolder%\[email protected] %rbxFolder%content\textures\ui\TopBar\
::mouse icon replacement
copy /v/y %parentFolder%\ArrowCursor.png %rbxFolder%content\textures\Cursors\KeyBoardMouse
copy /v/y %parentFolder%\ArrowFarCursor.png %rbxFolder%content\textures\Cursors\KeyBoardMouse
::oof sound
copy /v/y %parentFolder%\ouch.ogg %rbxFolder%content\sounds
pause