-
Notifications
You must be signed in to change notification settings - Fork 868
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
Generic EXE names in util/config/config.cpp #4048
Comments
We would have to be careful though so as not to regress anything. Adding a folder would also mean the config wouldn't apply to a game if a user or modder decided to change the name of the game folder. If that is even something we want to take in to consideration |
You have very valid points. For newer fixes, as I suggested, if the name looks a little too generic, then we should use folder-based paths (Steam being the priority here for folder paths, if the game install is different on EOS and/or other stores). As of now, I don't see anyone having an issue with the generic names, because the majority of users use DXVK to play games. But it's a nice thing to keep an eye on. |
Which of these exe names are used in more than one game? The regex approach we use already supports install folders, but unless there are known instances of a config unintentially applying to a different game, changing these is just going to cause more harm than good (e.g. if a game uses a different directory on GoG/EGS than on Steam). |
Currently, I can't tell you if there are any games that suffer from this problem. My idea was to create an issue to make the problem more visible. Considering the previous comments, and considering that I also agree with them, I will be closing the issue. Specific cases of games having problems due to a fix from another game being applied should be reported in individual issues in the future. |
Hi there.
The file https://github.com/doitsujin/dxvk/blob/master/src/util/config/config.cpp has generic EXE names, which makes me think that we should use more folder-based paths to apply fixes. As far as I understand it, DXVK can also be used to run normal apps (and not only games), so generic names (generally short names) may cause conflict for some apps (or, even, for non-related games) due to the fact that the fixes are applied globally to a specific EXE name.
Some examples below.
dxvk/src/util/config/config.cpp
Lines 20 to 23 in c2fd91f
dxvk/src/util/config/config.cpp
Lines 130 to 133 in c2fd91f
dxvk/src/util/config/config.cpp
Lines 170 to 173 in c2fd91f
dxvk/src/util/config/config.cpp
Lines 190 to 193 in c2fd91f
dxvk/src/util/config/config.cpp
Lines 238 to 242 in c2fd91f
dxvk/src/util/config/config.cpp
Lines 262 to 269 in c2fd91f
And many others.
As much as, until then, I have not seen any report because of the generic EXE names, I still think we should remedy them and avoid them as much as possible.
Thank you for your attention.
The text was updated successfully, but these errors were encountered: