In case someone here is really into #Linux #wine #Proton and alike
-
In case someone here is really into #Linux #wine #Proton and alike:
Is there a way to fake the existence of a driver? Not any functionality, just that it looks to running applications as if some specific driver generally exists.
https://forum.winehq.org/viewtopic.php?t=39622
#GamingOnLinux #coding #Lutris -
Legion495replied to Natasha Nox πΊπ¦π΅πΈ last edited by
@[email protected]
Ah I have had a similar issue. I tried to make RADV default while amdvlk was installed.
I think I saw some people add some commands on startup to fake drivers for Nvidia GPUs.
Hmm either MonsterHunterWilds or Veilguard. I saw: DXVK_NVAPI_DRIVER_VERSION=56070 %command%
Maybe you can do something with that. -
Brandonreplied to Natasha Nox πΊπ¦π΅πΈ last edited by
@Natanox two ways to go about it: windows logging and wine logging.
Registry Trees for Devices and Drivers - Windows drivers
Registry Trees for Devices and Drivers
(learn.microsoft.com)
Does it need to actually
LoadLibrary
andGetProcAddress
or will you be able to get by with creating an empty file with the right name registered in the right places?If tm05 is installer based, you could also check for driver files inside the installer (msiextract).
Alternatively, run with
WINEDEBUG=+loaddll
to see what libraries itβs trying to load. -
@Natanox @Legion495 would
PROTON_HIDE_NVIDIA_GPU
accomplish similar? -
Natasha Nox πΊπ¦π΅πΈreplied to Brandon last edited by
@be_far @Legion495 That command is just so an Nvidia GPU looks like an AMD.
In my case it isn't anything regarding the GPU though, but nasty "copy protection".
-
Legion495replied to Natasha Nox πΊπ¦π΅πΈ last edited by
@[email protected] @[email protected]
Maybe that would still work?
I know it is like throwing rocks at a wall hoping to hit a gap. -
Natasha Nox πΊπ¦π΅πΈreplied to Brandon last edited by
@be_far Those are some good points, thank you. My assumption was that I have to register a device somewhere in the Windows registry. As I said, Windows 10 users also delete those DLLs (because they bluescreen their machines - don't we all love copy protection eh?) and it works.
The installer most likely calls some DLL function given the error message I receive upon load. Wine specifically does not support installation of drivers, so I'll have to do it manually.
-
Nex Carterreplied to Natasha Nox πΊπ¦π΅πΈ last edited by
@Natanox @Honigeintopf might have an idea. As far as I know he dug deep into stuff like that but I might be wrong here
-
Natasha Nox πΊπ¦π΅πΈreplied to Natasha Nox πΊπ¦π΅πΈ last edited by
@be_far That's why my idea was to look at a VM with those drivers installed and replicate IDs etc. so the check for the existence of Starforce goes through. According to those who made the game patch, this is all that happens - any Starforce functionality afterwards gets skipped.
Simply patching out the check most likely doesn't work due to all the DRM junk obfuscated within the game binary that'd screw it up without positive driver check. -
Natasha Nox πΊπ¦π΅πΈreplied to Legion495 last edited by [email protected]
@Legion495 @be_far It has nothing to do with either DXVK or NVAPI, so unfortunately no.^^