theNizo / linux_rocksmith

Guides to get Rocksmith 2014 running on Linux
https://thenizo.github.io/linux_rocksmith/
GNU General Public License v3.0
100 stars 10 forks source link

wine: chdir to /steamapps/compatdata/221680/pfx : No such file or directory #52

Closed Gribovoy29 closed 1 month ago

Gribovoy29 commented 1 month ago

Hello. I stumbled upon an error when running the line : env WINEPREFIX=$STEAMLIBRARY/steamapps/compatdata/221680/pfx ./wineasio-register

The console outputs : wine: chdir to /steamapps/compatdata/221680/pfx : No such file or directory

But the folder exists.

I am using Arch with Pipewire. I did all of the steps before and haven't had any errors.

Thanks in advance

theNizo commented 1 month ago

The environment variable $STEAMLIBRARY isn't set.

Gribovoy29 commented 1 month ago

Could you please tell me how do I do that?

Gribovoy29 commented 1 month ago

I have found a guide on reddit, but still doesn't work for me. The no such file error is still here.

https://www.reddit.com/r/rocksmith/comments/wcq9us/finally_got_rocksmith_running_on_arch_linux/

It said to add lines to .bashrc. My .bashrc looks like this:


> #
> # ~/.bashrc
> #
> 
> # If not running interactively, don't do anything
> [[ $- != *i* ]] && return
> 
> alias ls='ls --color=auto'
> alias grep='grep --color=auto'
> PS1='[\u@\h \W]\$ '
> export STEAMLIBRARY=/home/dingus/.local/share/Steam/
> export PROTON=/home/dingus/.local/share/Steam/steamapps/common/Proton 9.0 (Beta)/files
> 
theNizo commented 1 month ago

See the common paths section, where there's more, detailed information. The guide uses all of the variables listed there.

To repeat myself:

For the default Steam Library it would be

STEAMLIBRARY=$HOME/.steam/steam/

($HOME points to /home/<your username> btw and it's set by default.)

Setting it this way will only be temporary, meaning it only applies to the terminal window in which you set it.

Gribovoy29 commented 1 month ago

Thank you. The thing that helped was not adding the export to the .bashrc, but using it right away as a command