https://bugs.winehq.org/show_bug.cgi?id=56695
Bug ID: 56695 Summary: Unreal Engine game checks for a specific VC runtime regkey Product: Wine Version: 9.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: wine-bugs@winehq.org Reporter: galtgendo@o2.pl Distribution: ---
Created attachment 76479 --> https://bugs.winehq.org/attachment.cgi?id=76479 registry key being checked for
An Unreal Engine game checks for a VC++ runtime libs by checking for a specific registry key created during install of that runtime upon startup.
Consider adding that key.
https://bugs.winehq.org/show_bug.cgi?id=56695
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|tools |msvcrt CC| |z.figura12@gmail.com
--- Comment #1 from Zeb Figura z.figura12@gmail.com --- Copypasting for convenience:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\14.0\VC\Runtimes\X64] "Bld"=dword:00006ddf "Installed"=dword:00000001 "Major"=dword:0000000e "Minor"=dword:00000018 "Rbld"=dword:00000004 "Version"="v14.24.28127.04"
Any reason you can't tell us which game?
https://bugs.winehq.org/show_bug.cgi?id=56695
--- Comment #2 from Rafał Mużyło galtgendo@o2.pl --- Well, IIRC it was actually some free game, but not one that I was particularly invested in and I ran into the problem a bit over two weeks ago, so I don't really recall what it was .
https://bugs.winehq.org/show_bug.cgi?id=56695
--- Comment #3 from Rafał Mużyło galtgendo@o2.pl --- ...TBH, I likely spent more time testing the problem than actually playing the game.
https://bugs.winehq.org/show_bug.cgi?id=56695
--- Comment #4 from Zeb Figura z.figura12@gmail.com --- So you're saying we have no way to verify that it's fixed.
https://bugs.winehq.org/show_bug.cgi?id=56695
--- Comment #5 from Rafał Mużyło galtgendo@o2.pl --- Well, while I'm not really familiar with the engine, that check seemed to be a part of the engine (though likely just some recent version of it as another game of that engine (also a free one) didn't have it).
The check was such that upon running the game executable a popup with 'This game needs VC++ redist...Install it now ? Yes/No' (well, roughly), so to me it looked like an internal engine check (if a silly one), than something game's author had done on their own.
https://bugs.winehq.org/show_bug.cgi?id=56695
--- Comment #6 from Rafał Mużyło galtgendo@o2.pl --- Actually, google finds some rough matches on the engine's forum. Something that was changed around UE 5.1.
https://bugs.winehq.org/show_bug.cgi?id=56695
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #7 from Bernhard Übelacker bernhardu@mailbox.org --- If it is of any help, the VirtualBox Installer checks for similar keys and aborts installation if not found (from 57093):
Oracle VM VirtualBox 7.0.20 needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restart the installation of oracle VM VirtualBox 7.0.20.
Adding at least values "Installed", "Major" and "Minor" makes it happy.
https://bugs.winehq.org/show_bug.cgi?id=56695
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |1f947b1c62c4f6fdfad4da81256 | |7cf33c904c1eb CC| |piotr.caban@gmail.com
--- Comment #8 from Piotr Caban piotr.caban@gmail.com --- Marking as fixed by 1f947b1c62c4f6fdfad4da812567cf33c904c1eb.
https://bugs.winehq.org/show_bug.cgi?id=56695
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.3.
http://bugs.winehq.org/show_bug.cgi?id=56695
Shmerl shtetldik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shtetldik@gmail.com
--- Comment #10 from Shmerl shtetldik@gmail.com --- Not sure if it's the same bug or not, but I just tried installing most recent expansion for Everspace 2 (GOG version) and it still complains about VC runtime missing and insists on installing it. It's also using UE 5.
Some of the keys it ends up adding to system.reg look like this:
``` [Software\Microsoft\VisualStudio\14.0\VC\Runtimes\x64] 1747536450 "Bld"=dword:00008412 "Installed"=dword:00000001 "Major"=dword:0000000e "Minor"=dword:00000028 "Rbld"=dword:00000000 "Version"="v14.40.33810.00"
[Software\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64] 1747536450 "Bld"=dword:00008412 "Installed"=dword:00000001 "Major"=dword:0000000e "Minor"=dword:00000028 "Rbld"=dword:00000000 "Version"="v14.40.33810.00"
[Software\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x86] 1747536449 "Bld"=dword:00008412 "Installed"=dword:00000001 "Major"=dword:0000000e "Minor"=dword:00000028 "Rbld"=dword:00000000 "Version"="v14.40.33810.00" ```
But changing what Wine is doing now to those before installing it doesn't make the installer happy and it still insists on installing the runtime.
Let me know what I can test / look into about how this can be avoided, but installer might be too "smart" and detect now more than just that key.
http://bugs.winehq.org/show_bug.cgi?id=56695
--- Comment #11 from Shmerl shtetldik@gmail.com --- Also pinged Unreal Engine developers about it.
They suggested getting access to the engine code and figuring out how what that prerequisite check is doing, so Wine would be able to work around it.
Unfortunately this still can be constantly changing. I suggested may be they could add some command line parameter to turn off this check. Not sure if they'd care to add it though.