GithubHelp home page GithubHelp 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

Hi πŸ‘‹, I'm Lily

A basic transgender coder, probably doing something questionable.

Main Website Secondary Website Carrd
Discord Pronouns: she/her

πŸ”­ I’m currently working on Giver of Head Pats
🌱 I’m currently learning various home lab things, and maybe some TypeScript soonβ„’
πŸ‘― I’m currently collaborating on VRDancing's Discord Bot
πŸ‘¨β€πŸ’» Personal projects are available here, the rest are available in the Minty Labs Organization
πŸ“œSome notable projects: WindowsXSO, Dark Vanilla, VRStartAssistant, PaperUpdater, Unity Tools (Snapshot, ZipImporter), BSLegacyUtil
⚑Fun fact I love head pats and cuddles

Connect with me

mintlily mintliiy

Asset Stores

MintyLabs on Booth MintyLabs on Gumroad MintyLabs on Jinxxy

Programs/Tools, Languages, Operating Systems

blender bootstrap git ifttt illustrator photoshop nginx unity Rider WebStorm PhpStorm dotPeek VSCode
html5 css3 csharp dotnet java kotlin javascript
windows linux

Support:

MintLily's Ko-fi Page




mintlily
mintlily
mintlily

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

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]

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]

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?

[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.

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

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

[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"

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.