Giter Site home page Giter Site logo

mintlily / bslegacyutil Goto Github PK

View Code? Open in Web Editor NEW
28.0 3.0 7.0 297 KB

Downgrade Utility made for downgrading Beat Saber; to allow users to play older versions of the game to relive the glory days. Brought to you by Minty Labs

Home Page: https://mintylabs.dev/

License: GNU General Public License v2.0

C# 100.00%
beatsaber legacy downgrade depotdownloader steam csharp console-application dotnet7

bslegacyutil's Introduction

BSLegacyUtil (End of life: 21 May 2023)

Converted from windows batch to C# | Beat Saber Legacy Group's Beat Saber Downgrade utility that is using Steam's DepotDownloader

This project is considered deprecated and will no longer be updated. A new tool may eventually be in the works, but no promises on that.
THIS DOES NOT MEAN THE CURRENT STATE OF THE TOOL IS NOT WORKING. It will work fine, it will just no longer receive any new updates from this point on.
If you would like to support the creator, please consider it: https://ko-fi.com/MintLily

Small EOL Notice

The links inside the application will lead to dead results. This README.md document will have the links you need that the program had. The most notable link is the .NET Core 7.0 linked below.

Quick Links

Issues, Bug Reports, Support? Go here and create an issue.
Need to Download Utility? Go here and download the latest version

You'll need to install the following:
To open the exe: .NET Core Desktop Runtime v7.0.5+

Available Downgrades

Major Patch -- -------- ------ ----->
0.10.1 0.10.2 0.10.2p1
0.11.0 0.11.1 0.11.2
0.12.0 0.12.0p1 0.12.1
0.13.0 0.13.0p1 0.13.1 0.13.2
1.0.0 1.0.1
1.1.0 1.1.0p1
1.2.0
1.3.0
1.4.0 1.4.2
1.5.0
1.6.0 1.6.1
1.7.0
1.8.0
1.9.0 1.9.1
1.10.0
1.11.0 1.11.1
1.12.0 1.12.2
1.13.0 1.13.1 1.13.4 1.13.5
1.14.0
1.15.0
1.16.0 1.16.1 1.16.2 1.16.3 1.16.4
1.17.0 1.17.1
1.18.0 1.18.1 1.18.2 1.18.3
1.19.0
1.20.0
1.21.0
1.22.0 1.22.1
1.23.0
1.24.0 1.24.1
1.25.0 1.25.1
1.26.0
1.27.0
1.28.0
1.29.0 1.29.1 1.29.4

Contributors / Credits

This project contains code from the following Users and Their projects: (All rights and credit goes to them)

Developers

Want to compile this yourself? You'll need to install the following:

App Version Logic

1970.1.2r3 - 123 Release
Year.Major.Revision[.BugFix] - [build] [type]
v1970.1.2.3 build:123 type:Release|Beta|Alpha

Current Version

v2023.1.4 - 506 Release
SHA256 Checksums:
W-ZIP: 0bc8327ba1521d6bcc3458b2c9d99bd1fa14e08c31ccd5e98fb6db8be0bac5a1
W-EXE: 9da7869d5b51aa87b7ce4df7b89835088182cc7984b1e207a3542e02253b513d
L-ZIP: cc21a0f5ee94d0365f1cc964e8939f0a82becb16e61f2438b06703cea515a114
L-EXF: cdadca94567517bc40092e4962924eb5909f110f19e303722d8f911f51447be6

bslegacyutil's People

Contributors

mintlily avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bslegacyutil's Issues

Says newer version is available and crashes

When launching the program it states a newer version is available before throwing an error and crashing.
(the error:
Unhandled exception. System. Net. Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System. Net . Http . HttpResponseMessage . EnsureSuccessStatusCode()
at System. Net. Http.HttpCIient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken canceltationToken)
at BSLegacyUtiI. Program. args
)
It also opens the releases page of the defunct Github page of the project (https://github.com/BeatSaberLegacyGroup/BSLegacyUtil/releases)

To Reproduce
Steps to reproduce the behavior:
Launch the program

Screenshots
Screenshot_1

Desktop:

  • OS: [Windows 11]

Login running for ever

Describe the bug
For some reason, When I try to login after selecting version, it asks for 2FA - So I enter my code and click enter - after that I get a screen "Sign In" and showing loading icon... this screen runs now forever.... (click on back doesn't work and the X crashes the app)

To Reproduce
Steps to reproduce the behavior:

  1. Select Version (1.18.3 in my case)
  2. Enter Username and Password
  3. Enter 2FA
  4. Get endless loading screen

Expected behavior
Download starts

Screenshots
https://i.imgur.com/WzJBmMO.jpg

Desktop (please complete the following information):

  • OS: Windows 11

Additional context
I also looked for logs:
Assembly-CSharp_12.16.2021-13.51_.txt

BSLegacyUtil cannot find directory path when installing legacy version

I previously used your utility to successfully install a legacy version instead (I think 1.16.4 instead of 1.17). When Beatsaber auto-updated to 1.18, my install would no longer launch saying some files were mismatched. I verified the files, which led to 75 files being replaced and 1.18 launching properly again. I tried to revert bacj to 1.17 or 1.16 (using BSLegacyUtil on the command line) but cannot. I am able to download previous versions, but the utility crashes when I try to install them. I get the following error:

[BSLegacyUtil] [Error] ====== STACK =====
   at Microsoft.VisualBasic.FileIO.FileSystem.CopyOrMoveDirectory(CopyOrMove operation, String sourceDirectoryName, String destinationDirectoryName, Boolean overwrite, UIOptionInternal showUI, UICancelOption onUserCancel)
   at Microsoft.VisualBasic.FileIO.FileSystem.MoveDirectory(String sourceDirectoryName, String destinationDirectoryName, Boolean overwrite)
   at BSLegacyUtil.Functions.Mod.modGame(String gameVersion)
   at BSLegacyUtil.Program.SelectGameVersion(Boolean dlGame)
   at BSLegacyUtil.Program.BeginInputOption()
   at BSLegacyUtil.Functions.Download.DLGame(String gameVersionInput)
 ===== ERROR =====
System.IO.DirectoryNotFoundException: Could not find directory 'Resources\Beat Saber_Data'.
   at Microsoft.VisualBasic.FileIO.FileSystem.CopyOrMoveDirectory(CopyOrMove operation, String sourceDirectoryName, String destinationDirectoryName, Boolean overwrite, UIOptionInternal showUI, UICancelOption onUserCancel)
   at Microsoft.VisualBasic.FileIO.FileSystem.MoveDirectory(String sourceDirectoryName, String destinationDirectoryName, Boolean overwrite)
   at BSLegacyUtil.Functions.Mod.modGame(String gameVersion)
   at BSLegacyUtil.Program.SelectGameVersion(Boolean dlGame)
   at BSLegacyUtil.Program.BeginInputOption()
   at BSLegacyUtil.Functions.Download.DLGame(String gameVersionInput)

Any idea what could be going wrong?

DepotDownloader fails to start

Describe the bug
There seems to be a typo in executing DepotDownloader or something similar, preventing it from being executed.

To Reproduce

  1. Pick the first option to download a verison.
  2. Enter username and password (does not have to be correct)
  3. When attempting to execute DepotDownloader, it fails.

Screenshots
BSLegacyUtil_EaGJ94SSRz

Desktop (please complete the following information):

  • OS: Win10
  • Version: 2.12.2

[Feature Request] Automated Symlink of the custom songs folder.

If at all possible, could automated symbolic links be created for the custom songs folder and the custom WIP folder?

It could utilize user input of beat saber's install location. but also be completely optional. and allow users to keep song libraries from both versions completely in sync.

[Bug] 2FA breaks input

When steam info is entered, it sends a 2FA response if you have steam guard. However, it sends in the input field, so it's still expecting a version number. So if you were to try to enter it, it would just tell you "invalid input"

BSLegacyUtil won't run on Ubuntu

Describe the bug
Trying to run BSLegacyUtil with .NET or Mono will not work on Ubuntu.

To Reproduce
Steps to reproduce the behavior:

  1. Download Linux build
  2. Extract files
  3. Install .NET according to manual
  4. Try to run application

Desktop (please complete the following information):

  • OS: Ubuntu 21.10
  • Version: 4.8.0

Additional context

Depotdownloader directly works fine so I'm going to use that but I thought it was worth reporting since there's a Linux build on the homepage and it seems like it should work.

I'm not sure how it can work since it uses Forms and references Microsoft.WindowsDesktop.App but maybe I'm overlooking something? Changing the framework manually to Microsoft.NETCore.App allows it to launch but of course fails with Could not load file or assembly 'System.Windows.Forms.

Trying to run with .NET:

It was not possible to find any compatible framework version
The framework 'Microsoft.WindowsDesktop.App', version '3.1.0' (x64) was not found.
  - No frameworks were found.

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&framework_version=3.1.0&arch=x64&rid=ubuntu.21.10-x64

Trying to run with Mono:

                                                ____ _____ __                               
                                               / __ ) ___// /   ___  ____ _____ ________  __
                                              / __  \__ \/ /   / _ \/ __ `/ __ `/ ___/ / / /
                                             / /_/ /__/ / /___/  __/ /_/ / /_/ / /__/ /_/ / 
                                            /_____/____/_____/\___/\__, /\__,_/\___/\__, /  
                                                                  /____/           /____/   

                                                           Created by MintLily
========================================================================================================================================
[BSLegacyUtil] This tool will allow you to easily downgrade your Beat Saber.
[BSLegacyUtil] Brought to you by the Beat Saber Legacy Group


Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.WebClient, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies.
File name: 'System.Net.WebClient, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
  at BSLegacyUtil.Program.Main (System.String[] args) [0x000ad] in <2991df70b1b149eb83e1e012f38c8e72>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.WebClient, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies.
File name: 'System.Net.WebClient, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
  at BSLegacyUtil.Program.Main (System.String[] args) [0x000ad] in <2991df70b1b149eb83e1e012f38c8e72>:0

Installed .NET runtimes (dotnet --list-runtimes):

Microsoft.AspNetCore.App 3.1.22 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.13 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.22 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.13 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Installed .NET SDKs (dotnet --list-sdks):

3.1.416 [/usr/share/dotnet/sdk]
5.0.404 [/usr/share/dotnet/sdk]
6.0.101 [/usr/share/dotnet/sdk]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.