Skip to content

Instantly share code, notes, and snippets.

@PtxDK
Created November 25, 2020 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PtxDK/2d4bd570a87e23caf2c9b2271aac5f30 to your computer and use it in GitHub Desktop.
Save PtxDK/2d4bd570a87e23caf2c9b2271aac5f30 to your computer and use it in GitHub Desktop.
Put this file anywhere on your computer; when you run it, you will bypass the required update on steam; so you only have to update when you want to.
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Description ::
:: ::
:: This script allows you to bypass the blue "Update Required" button in steam ::
:: by simply copying all files away from the beat saber folder, then asking steam ::
:: to redownload the entire game, once that finishes you must click a key in the ::
:: script, and then all files will be copied back to the beat saber folder ::
:: This allows you to play the game through steam as usual without updating the game ::
:: ::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: How to use the script: ::
:: ::
:: If you have Beat Saber Installed in default location, no changes required ::
:: Otherwise change "C:\Program Files (x86)\Steam\steamapps\common\Beat Saber" ::
:: to your installation path everywhere down below. ::
:: ::
:: IMPORTANT: You must wait for beat saber to finish downloading, if you do not, ::
:: there will be a backup folder in the directory where the script is ::
:: located, but it could screw up steam files within the beat saber folder ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Made by PtxDK ::
:: If this tiny script helped you, please considder subscribing to ::
:: My YouTube Channel: https://www.youtube.com/user/PtxDK ::
:: It has VR content, mostly Beat Saber plays :) ::
:: ::
:: If you want to meetup and talk some scripting, feel free to join ::
:: My Discord as well: https://discord.gg/evpAfx6 ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@echo off
taskkill /F /IM "Beat Saber.exe"
:start
cls
rem Delete all contents of folder
del /q "CurrentOldVersion\*"
FOR /D %%p IN ("CurrentOldVersion\*.*") DO rmdir "%%p" /s /q
xcopy /s /i "C:\Program Files (x86)\Steam\steamapps\common\Beat Saber" "CurrentOldVersion"
rem Delete all contents of the steam beat saber folder
del /q "C:\Program Files (x86)\Steam\steamapps\common\Beat Saber\*"
FOR /D %%p IN ("C:\Program Files (x86)\Steam\steamapps\common\Beat Saber\*.*") DO rmdir "%%p" /s /q
rem Validate the game, to let steam think it is launching the newest version
start steam://validate/620980
cls
echo DO NOT PRESS ANY KEY UNTILL DOWNLOAD IS COMPLETE
echo IMPORTANT: Go into steam and look at beat saber
echo when the green play button appears, click a key in this terminal window
PAUSE
rem Delete all contents of the steam beat saber folder
del /q "C:\Program Files (x86)\Steam\steamapps\common\Beat Saber\*"
FOR /D %%p IN ("C:\Program Files (x86)\Steam\steamapps\common\Beat Saber\*.*") DO rmdir "%%p" /s /q
rem Copy the old version of Beat Saber, back into the steam beat saber folder
xcopy /s /i "CurrentOldVersion" "C:\Program Files (x86)\Steam\steamapps\common\Beat Saber"
rem also add option to launch beat saber?...
:: start steam://run/620980
:End
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment