https://bugs.winehq.org/show_bug.cgi?id=52956
Bug ID: 52956 Summary: Star Citizen crashes on unimplemented function kernel32.dll.SetThreadInformation Product: Wine Version: 7.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: ace@haxalot.com Distribution: ---
Created attachment 72326 --> https://bugs.winehq.org/attachment.cgi?id=72326 Patch to stub SetThreadInformation
With the upcoming Star Citizen 3.17.1 build, the game has started applying power throttling information on its worker threads, which requires the missing method SetThreadInformation.
I wrote - and attached - a quick patch to stub it out in a manner that seems enough for the game to keep working. Threw a quick look at the Windows API documentation as well - on how hard it would be to do a more proper implementation, but I have honestly no idea what the input data is supposed to accomplish, and a stub seems to do just fine.