#"No such file or directory" when I have a visual confirmation on the file

1 messages · Page 1 of 1 (latest)

acoustic comet
#

I am trying to run a program in a pre-existing Steam-created Proton prefix, as the program I am trying to run relies on the runtime package installed with RPG Maker 2003 (there are other ways to get the RTP but I don't want a duplicate and I'd have to do a similar step to install the RTP under a separate prefix). As can be seen in the Konsole screenshot, the file "proton" cannot be found. However, I have copied the path to this file directly from the Thunar window (in the second screenshot) where the file can be seen. What gives?

EndeavourOS with KDE Plasma 5
Intel Core i7 @4.20GHz
32GB DDR4 RAM @3200MHz
nVidia GeForce 3050 RTX

glad bone
#

IS steam in a flatpak or something

acoustic comet
acoustic comet
#

Further research pointed to a possible windows/unix line ending problem. Ran dos2unix on proton, made no difference.

#

(I am restoring the file from a backup of it's original state.)

latent notch
#

Aha. Take out the "\ " right before the path in your command string. It is causing your shell to interpret the path to the program as " /run/media/....." (notice the extra wide spacing in the error output?)

#

That looks like it might have been there to accommodate running those on multiple lines. You can use \ at the end of a line to continue on the next one as part of the same command. You've compressed it to actually one line, so that character is unnecessary.

acoustic comet
latent notch
#

Definitely let me know! 🙂

acoustic comet
# latent notch Definitely let me know! 🙂

Sorry for taking so long to get back to you. Here is the output of the command without the "" character. I spent multiple hours trying to figure this out the other day and haven't had any time until now to try and do something about it.

#

[endeavouros-user@TheBlueBeast-EndeavourOS ~]$ STEAM_COMPAT_DATA_PATH="/run/media/endeavouros-user/Steam Library/SteamLibrary/steamapps/compatdata/362870" WINEPREFIX=$PWD "/run/media/endeavouros-user/Platforms/SteamLibrary/steamapps/common/Proton 6.3/proton" run "./drive_c/users/steamuser/Desktop/Dragon Quest Remix Gold/RPG_RT.exe"
Traceback (most recent call last):
File "/run/media/endeavouros-user/Platforms/SteamLibrary/steamapps/common/Proton 6.3/proton", line 1298, in <module>
g_session.init_session(sys.argv[1] != "runinprefix")
File "/run/media/endeavouros-user/Platforms/SteamLibrary/steamapps/common/Proton 6.3/proton", line 1110, in init_session
g_compatdata.setup_prefix()
File "/run/media/endeavouros-user/Platforms/SteamLibrary/steamapps/common/Proton 6.3/proton", line 664, in setup_prefix
steamdir = os.environ["STEAM_COMPAT_CLIENT_INSTALL_PATH"]
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen os>", line 679, in getitem
KeyError: 'STEAM_COMPAT_CLIENT_INSTALL_PATH'