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

Directory name invalid lutris #206

Closed
kimikazZZ opened this issue Jan 31, 2023 · 6 comments
Closed

Directory name invalid lutris #206

kimikazZZ opened this issue Jan 31, 2023 · 6 comments

Comments

@kimikazZZ
Copy link

A few days ago i used to run touhou with thcrap patcher through the lutris and all was fine until i install debian 11. I had the same problem with mint but on lubuntu all was perfect. Is that any other way to run touhou on my native language? Touhou works if i run directly vpatch.exe but without language support.
image

@kimikazZZ
Copy link
Author

damn..... if someone has the same problem just run thcrap.exe as root. Seems like it can't find the right path without permission

@32th-System
Copy link
Member

you shouldn't run Wine as root. If permissions are the issue you should fix the permissions for your new user account on your new Linux installation instead

@Fishaphrodite
Copy link

Where is the game actually located, the prefix too, and does lutris have permissions to both folders? (I believe there is a flatpak for lutris, which will have by default a pretty limited scope as a result, moving the game to a place where it has permissions would for exemple fix this issue).

@DankRank
Copy link
Member

DankRank commented Feb 2, 2023

here are some potentially helpful one-liners

how to find files with wrong ownership:
find your_directory ! -user your_user_name -exec stat -c '%U %n' -- {} +
how to fix the ownership:
find your_directory ! -user your_user_name -exec chown your_user_name: -- {} +

@kimikazZZ
Copy link
Author

The point was that thcrap creates .ink file with wrong path. For example as you can see on screenshot the .ink file i've created without root permission for some reason recognizes touhou folder as "C:" disk when it actually on "Z:"

@Fishaphrodite
Copy link

The folder targeted by C:\users\[name]\Desktop is typically a symlink to your actual desktop, if your game is located somewhere there, thcrap finding it shouldn't be an issue, and on mint here, I tried making it search for games on the C drive, with one i nthe desktop, and it worked.

I'd say check the wineprefix "desktop" targets the correct folder, that the path exists, or select directly a folder relative to the Z drive if this really is enough to fix it (the Z drive targets / and all that is in it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants