SoapboxRaceWorld / GameLauncher_NFSW

An unofficial launcher for Need for Speed: World (https://launcher.worldunited.gg / https://soapboxrace.world)
GNU General Public License v3.0
427 stars 132 forks source link

Unix Launcher Builds not being able to get Correct Available Storage Space #234

Open DavidCarbon opened 1 year ago

DavidCarbon commented 1 year ago

Currently there is a new bug on Unix builds that is blocking out users from launching or logging into a game server.

A little bit of background information: Some users Wine Prefix installs caused the launcher to report not enough disk space even though their system had the required storage space. A notable example would be the Steam Deck (Using Lutris), where the Root of the Drive is reporting a different available storage size while the Folder of where the Launcher installation resides reports a different amount of available storage space.

With the release of 2.2.0.2 we attempted to use a command to get the storage space on Unix, but due to how Wine handles Linux commands only, so we are unable to read its value. Release version 2.2.0.4, a check that was used to bypass the issue on Unix was removed due to the Error handling that took place to fix the game download bug. Unfortunately, a quick fix would be to revert the change, but some users will bump into the aforementioned issue and would not be able play the game.

Solution? Well the easiest would be to stick with version 2.2.0.2, however, if your planning to play on game servers that require the latest build, then unfortunately there is currently no resolution.

So any help or ideas to resolve the issue is welcomed since the launcher team has explored various methods to retrieve the correct information.

Here is a few ideas that was explored from our end:

Thanks from Launcher Division

DavidCarbon commented 1 year ago

Repost from Issue #236

Since the release of 2.2.0.0 the launcher has had a console which is aimed to include commands that doesn't meet/or fit the criteria of getting a UI element. Spoiler Alert; there isn't a lot of commands for now, but in the near future it will be include commands to quickly change a setting, but that's for another day.

You can either do the following (each method have the same commands):

  • Settings
    • Click on the Version Number
    • Pressing the ' or ~ on your keyboard
  • Main (Screen)
    • Pressing the ' or ~ on your keyboard
    • Available on 2.2.0.6 or Newer

Now typing in help in the launcher console will list of commands available, However, there are commands that is not listed (Slight oversight on my part).

The following commands are only available on 2.2.0.6 or newer:

Storage Bypass Alert (Unix Builds Only)

  • alert storage space
  • alert storage
  • ass
  • storage bypass
  • sb

Manually Restarting the Game Downloader

  • restart game download
  • restart gd
  • rsgd