Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing in wrong directory for BG3, Linux. #2202

Closed
Eddieddg1 opened this issue Oct 25, 2024 · 5 comments
Closed

Installing in wrong directory for BG3, Linux. #2202

Eddieddg1 opened this issue Oct 25, 2024 · 5 comments
Labels
Bug Something isn't working

Comments

@Eddieddg1
Copy link

Bug Report

Summary

(Summarize the bug encountered concisely ensuring you state the current behaviour)
When installing a mod for bg3, it installs the mod to ".../drive_c/Users/steamuser/..." and not ".../drive_c/users/steamuser/..."
.../ is meant to show there are other directories before and /... is meant to show after. Anyway, this may seem trivial at first, however Linux is a case sensitive operating system so they are treated as entirely different directories.

Steps to reproduce

(How one can reproduce the issue - this is very important)
Install/activate a mod for bg3 (don't know if this happens for other games) and watch it create "Users" folder (and sub-directories) in ".../1086940/pfx/drive_c/".

What is the expected behaviour?

(What did you expect to happen instead?)
Installing the mods to "users" instead of "Users".

Other information

(Logs, screenshots, possible fixes, expected behaviour, etc.)
Just change the part in the code that says ".../pfx/drive_c/Users/..." to ".../pfx/drive_c/users/..."

20241025_11h10m43s_grim

My temporary fix is:
export bg3="$HOME/.local/share/Steam/steamapps/compatdata/1086940/pfx/drive_c/"
rm -rf $bg3/Users
ln -s $bg3/Users $bg3/users

I don't think I need to show logs?.

@erri120
Copy link
Member

erri120 commented Oct 25, 2024

@Eddieddg1
Copy link
Author

Eddieddg1 commented Oct 25, 2024

I have made a pull request regarding this in @erri120's game finder that he linked.
EDIT: I know next no c# tho so let's hope this fixes the issue.

@Pickysaurus
Copy link
Contributor

Is it definitely always lowercase or is that a quirk of your personal setup? I only ask because we've had a fair few Linux testers and this hasn't come up before.

@Eddieddg1
Copy link
Author

I believe it is always, yes. It was like this before I reinstalled arch last week, it is like that on my bazzite pc and obviously on my current install of arch. But, if you are really skepticall you could just look for both "User" and "user" and use the one that is found.

@LukeNexusMods LukeNexusMods added the Bug Something isn't working label Oct 28, 2024
@Al12rs
Copy link
Contributor

Al12rs commented Oct 31, 2024

@Al12rs Al12rs closed this as completed Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

5 participants