steam-tui icon indicating copy to clipboard operation
steam-tui copied to clipboard

Cannot launch games from 2nd steam library

Open TabulateJarl8 opened this issue 3 years ago • 6 comments

Hi, I've been trying to use this but I can't seem to get any games on my hard disk to launch. I have one steam library on the same SSD as my OS, but I have a second steam library on my hard disk. The first library is at ~/.local/share/Steam/steamapps and the second library is at /run/media/username/diskName/Steam/steamapps. I'm not really sure how to provide you with any debug information, so if you have anything I can do just tell me.

OS: Manjaro with Linux 5.10.34 SteamCMD Version: latest-3

TabulateJarl8 avatar May 11 '21 14:05 TabulateJarl8

Just to clarify, the games do show up in the list, I just can't launch them

TabulateJarl8 avatar May 11 '21 14:05 TabulateJarl8

Try setting the $STEAM_APP_DIR env variable, or temporarily hard coding here: https://github.com/dmadisetti/steam-tui/blob/main/src/util/paths.rs#L32

Ideally this should be set from the config, but I just didn't have the bandwidth

dmadisetti avatar May 11 '21 14:05 dmadisetti

Also you can provide some debug information. What is the output of install_folder_list directly from steam CMD? Maybe we should be pulling directly from that and allow the user to choose

dmadisetti avatar May 11 '21 14:05 dmadisetti

The output of install_folder_list:

Steam>install_folder_list
Index 0 = "/home/tabulate/.local/share/Steam" 662.74 GB free disk space
Index 1 = "/run/media/tabulate/largeDisk/Steam" 3,224.22 GB free disk space

After setting the $STEAM_APP_DIR variable to /run/media/tabulate/largeDisk/Steam (i also tried /run/media/tabulate/largeDisk/Steam/steamapps/), I still can't launch the games from the external disk

TabulateJarl8 avatar May 11 '21 14:05 TabulateJarl8

I won't be able to test this until at least Thursday, but if you run ' force_install_dir <>' right after logging in queue.push_front(Command::Cli("force_install_dir <dir>\n".to_string())); here https://github.com/dmadisetti/steam-tui/blob/main/src/client.rs#L103

Note to implementer: An actual implementation of this should let the user choose their install dir on load, and then write that to the config file.

Sorry it's pretty buggy. I didn't really think this would take off?

dmadisetti avatar May 11 '21 14:05 dmadisetti

After adding that line above the line currently there, it still doesn't launch the games on the hard disk, nor the games on my main SSD.

TabulateJarl8 avatar May 11 '21 15:05 TabulateJarl8