-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
C:\Program Files (x86)\Steam\steamapps\common\Beat Saber |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@echo off | ||
echo %cd%> %USERPROFILE%\AinyakuBeatSaberSongandModInstallerFileLocation.txt | ||
set SCRIPT1="%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs" | ||
echo Set oWS = WScript.CreateObject("WScript.Shell") >> %SCRIPT1% | ||
echo sLinkFile = "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo\Beat Saber Mod Folder.lnk" >> %SCRIPT1% | ||
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> %SCRIPT1% | ||
echo oLink.TargetPath = "%cd%\IgnoreThisM.bat" >> %SCRIPT1% | ||
echo oLink.Description = "This file is required to use Ainyaku's Beat Saber Mod Installer. Deleting this file will make the installer unusable unless it is reinstalled by opening %cd%\!Install.bat" >> %SCRIPT1% | ||
echo oLink.Save >> %SCRIPT1% | ||
cscript /nologo %SCRIPT1% | ||
del %SCRIPT1% | ||
set SCRIPT2="%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs" | ||
echo Set oWS = WScript.CreateObject("WScript.Shell") >> %SCRIPT2% | ||
echo sLinkFile = "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo\Beat Saber Song Folder.lnk" >> %SCRIPT2% | ||
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> %SCRIPT2% | ||
echo oLink.TargetPath = "%cd%\IgnoreThisS.bat" >> %SCRIPT2% | ||
echo oLink.Description = "This file is required to use Ainyaku's Beat Saber Song Installer. Deleting this file will make the installer unusable unless it is reinstalled by opening %cd%\!Install.bat" >> %SCRIPT2% | ||
echo oLink.Save >> %SCRIPT2% | ||
echo MsgBox "Ainyaku's Beat Saber Song and Mod Installer has been installed. If the file path to the folder containing these files is ever changed (like if the folder is moved or renamed), run !Install.bat again.",64,"Ainyaku's Beat Saber Song and Mod Installer" >> %SCRIPT2% | ||
cscript /nologo %SCRIPT2% | ||
del %SCRIPT2% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@echo off | ||
del "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo\Beat Saber Song Folder.lnk" | ||
del "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo\Beat Saber Mod Folder.lnk" | ||
del "%USERPROFILE%\AinyakuBeatSaberSongandModInstallerFileLocation.txt" | ||
set SCRIPT="%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs" | ||
echo MsgBox "Ainyaku's Beat Saber Song and Mod Installer has been uninstalled. Please report any problems at https://r.ainyaku.com/BSprob",64,"Ainyaku's Beat Saber Song and Mod Installer" >> %SCRIPT% | ||
cscript /nologo %SCRIPT% | ||
del %SCRIPT% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@echo off | ||
for /f "tokens=* delims=" %%x in ('type "%USERPROFILE%\AinyakuBeatSaberSongandModInstallerFileLocation.txt"') do set files=%%x | ||
for /f "tokens=* delims=" %%x in ('type "%files%\!ChangeToBeatSaberFolder.txt"') do set location=%%x | ||
powershell -command "Expand-Archive -Force '%1' '%location%'" | ||
set SCRIPT="%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs" | ||
echo MsgBox "Mod installed.",64,"Ainyaku's Beat Saber Song and Mod Installer" >> %SCRIPT% | ||
cscript /nologo %SCRIPT% | ||
del %SCRIPT% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@echo off | ||
for /f "tokens=* delims=" %%x in ('type "%USERPROFILE%\AinyakuBeatSaberSongandModInstallerFileLocation.txt"') do set files=%%x | ||
for /f "tokens=* delims=" %%x in ('type "%files%\!ChangeToBeatSaberFolder.txt"') do set location=%%x | ||
powershell -command "Expand-Archive -Force '%1' '%location%\Beat Saber_Data\CustomLevels\%~n1'" | ||
set SCRIPT="%TEMP%\%RANDOM%-%RANDOM%-%RANDOM%-%RANDOM%.vbs" | ||
echo MsgBox "Song installed.",64,"Ainyaku's Beat Saber Song and Mod Installer" >> %SCRIPT% | ||
cscript /nologo %SCRIPT% | ||
del %SCRIPT% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.0 |