LorenDB / download-steam-games

A script to download and archive all of your Steam games.
GNU General Public License v3.0
64 stars 1 forks source link

steamcmd location prompt does not work #2

Open pinkencat opened 7 months ago

pinkencat commented 7 months ago

Program fails to ever find steamcmd, even when pointed to the correct location. No error given, just continuous prompting for the location with no progress. steamcmd is installed in /usr/games/steamcmd and I have also tried copying the file over to steamcmd.sh but this makes no difference.

pink@:~/download-steam-games$ dub run Performing "debug" build using /usr/bin/ldc2 for x86_64. argparse 1.3.0: target for configuration "library" is up to date. mir-core 1.7.0: target for configuration "library" is up to date. mir-algorithm 3.21.0: target for configuration "default" is up to date. asdf 0.7.17: target for configuration "library" is up to date. download-steam-games ~master: target for configuration "application" is up to date. To force a rebuild of up-to-date targets, run again with --force. Running download-steam-games Where is your SteamCMD executable located? /usr/games/steamcmd Where is your SteamCMD executable located? /usr/games/steamcmd.sh Where is your SteamCMD executable located?

pinkencat commented 7 months ago

Trying again with the DMD compiler instead of the distro default D compiler, same result

pink@:~/download-steam-games$ dub run Fetching argparse 1.3.0 (getting selected version) Fetching mir-core 1.7.0 (getting selected version) Fetching silly 1.1.1 (getting selected version) Fetching mir-algorithm 3.21.0 (getting selected version) Fetching asdf 0.7.17 (getting selected version) Starting Performing "debug" build using /usr/bin/dmd for x86_64. Building argparse 1.3.0: building configuration [library] Building mir-core 1.7.0: building configuration [library] Building mir-algorithm 3.21.0: building configuration [default] Building asdf 0.7.17: building configuration [library] ../.dub/packages/asdf/0.7.17/asdf/source/asdf/asdf.d(168,19): Deprecation: cannot throw object of qualified type immutable(EmptyAsdfException) Building download-steam-games ~master: building configuration [application] Linking download-steam-games Running download-steam-games Where is your SteamCMD executable located? /usr/games/steamcmd Where is your SteamCMD executable located? ^C

LorenDB commented 7 months ago

How did you install SteamCMD? I have only been able to get the manual SteamCMD install to work on my system (the openSUSE steamcmd system package doesn't seem to work), so that's the only thing that I support right now. I should probably make that more clear in the README.

pinkencat commented 7 months ago

I've installed via apt, I'll try a manual installation and see how that goes. Thanks for replying so fast!

pinkencat commented 7 months ago

Installed steamcmd manually, but the code still can't seem to find steamcmd for some reason

pink@:~/download-steam-games$ dub run Starting Performing "debug" build using /usr/bin/dmd for x86_64. Up-to-date argparse 1.3.0: target for configuration [library] is up to date. Up-to-date mir-core 1.7.0: target for configuration [library] is up to date. Up-to-date mir-algorithm 3.21.0: target for configuration [default] is up to date. Up-to-date asdf 0.7.17: target for configuration [library] is up to date. Building download-steam-games ~master: building configuration [application] Linking download-steam-games Finished To force a rebuild of up-to-date targets, run again with --force Running download-steam-games Where is your SteamCMD executable located? ~/Steam/steamcmd.sh Where is your SteamCMD executable located? /usr/games/steamcmd Where is your SteamCMD executable located? /usr/games/steamcmd.sh Where is your SteamCMD executable located? ^C

LorenDB commented 7 months ago

Oh, I should specify that you don't put the steamcmd.sh in the path. It's not clearly worded, so I understand that you did that :D

pinkencat commented 7 months ago

I'm starting to wonder if dub just hates me or something XD No luck with the path only either. I'll have to grab a debugged and try and figure out what's going on wehen I have some more time. Thanks for all the help!

pink@pop-os:~/download-steam-games$ dub run Starting Performing "debug" build using /usr/bin/dmd for x86_64. Up-to-date argparse 1.3.0: target for configuration [library] is up to date. Up-to-date mir-core 1.7.0: target for configuration [library] is up to date. Up-to-date mir-algorithm 3.21.0: target for configuration [default] is up to date. Up-to-date asdf 0.7.17: target for configuration [library] is up to date. Up-to-date download-steam-games ~master: target for configuration [application] is up to date. Finished To force a rebuild of up-to-date targets, run again with --force Running download-steam-games Where is your SteamCMD executable located? ~/Steam Where is your SteamCMD executable located? ~/Steam/ Where is your SteamCMD executable located? ^C

LorenDB commented 7 months ago

Hm, that is weird. If you want, you can DM on Matrix and we can discuss this in depth.