https://bugs.winehq.org/show_bug.cgi?id=46130
Bug ID: 46130 Summary: Star Citizen (RSI launcher) installer needs kernel32.dll.SetFileInformationByHandle 'FileIoPriorityHintInfo' info class semi-stub Product: Wine Version: 3.20 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
to track:
https://www.winehq.org/pipermail/wine-devel/2018-November/134925.html
https://www.reddit.com/r/wine_gaming/comments/9o3kic/new_to_wine_want_to_get...
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/kernel32/file.c#l1086
--- snip --- 1089 BOOL WINAPI SetFileInformationByHandle( HANDLE file, FILE_INFO_BY_HANDLE_CLASS class, VOID *info, DWORD size ) 1090 { 1091 NTSTATUS status; 1092 IO_STATUS_BLOCK io; 1093 1094 TRACE( "%p %u %p %u\n", file, class, info, size ); 1095 1096 switch (class) 1097 { 1098 case FileBasicInfo: 1099 case FileNameInfo: 1100 case FileRenameInfo: 1101 case FileAllocationInfo: 1102 case FileEndOfFileInfo: 1103 case FileStreamInfo: 1104 case FileIdBothDirectoryInfo: 1105 case FileIdBothDirectoryRestartInfo: 1106 case FileIoPriorityHintInfo: 1107 case FileFullDirectoryInfo: 1108 case FileFullDirectoryRestartInfo: 1109 case FileStorageInfo: 1110 case FileAlignmentInfo: 1111 case FileIdInfo: 1112 case FileIdExtdDirectoryInfo: 1113 case FileIdExtdDirectoryRestartInfo: 1114 FIXME( "%p, %u, %p, %u\n", file, class, info, size ); 1115 SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); 1116 return FALSE; 1117 1118 case FileDispositionInfo: 1119 status = NtSetInformationFile( file, &io, info, size, FileDispositionInformation ); 1120 break; 1121 1122 case FileStandardInfo: 1123 case FileCompressionInfo: 1124 case FileAttributeTagInfo: 1125 case FileRemoteProtocolInfo: 1126 default: 1127 SetLastError( ERROR_INVALID_PARAMETER ); 1128 return FALSE; 1129 } 1130 1131 if (status != STATUS_SUCCESS) 1132 { 1133 SetLastError( RtlNtStatusToDosError( status ) ); 1134 return FALSE; 1135 } 1136 return TRUE; 1137 } --- snip ---
An actual implementation would be in ntdll/wineserver of course.
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/ntdll/file.c#l2507
Unfortunately one has to *buy* "pledge" a Star Citizen package before being able to login and download something. Hence, I can't help here with diagnostics and have to rely on third parties to have proper analysis/conclusions.
$ wine --version wine-3.20
Regards
https://bugs.winehq.org/show_bug.cgi?id=46130
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://install.robertsspac | |eindustries.com/star-citize | |n/RSI-Setup-1.0.0.exe Keywords| |download, Installer
https://bugs.winehq.org/show_bug.cgi?id=46130
Jason holzminister@t-online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |holzminister@t-online.de
--- Comment #1 from Jason holzminister@t-online.de --- Star Citizen Alpha will be free to access from November 23 to November 30, if someone without an payed account would like to investigate this.
Source: https://www.pcgamer.com/star-citizen-is-going-free-for-a-week-and-you-get-a-...
https://bugs.winehq.org/show_bug.cgi?id=46130
Greg Smith codedonewell@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |codedonewell@gmail.com
--- Comment #2 from Greg Smith codedonewell@gmail.com --- I have submitted a patch for this, but it is my first wine patch, so it may take some time to get attention/approved (which is a good thing IMO)
https://bugs.winehq.org/show_bug.cgi?id=46130
--- Comment #3 from Greg Smith codedonewell@gmail.com --- Created attachment 62799 --> https://bugs.winehq.org/attachment.cgi?id=62799 Patch to ignore hint and return success
https://bugs.winehq.org/show_bug.cgi?id=46130
--- Comment #4 from Greg Smith codedonewell@gmail.com --- I should point out, that fixing this only gets you a little bit further through the install. After downloading the first 13Gb or so, one thread mysteriously throws an exception and exits. I have yet to find out why, which is why there is not bug raised for it yet.
https://bugs.winehq.org/show_bug.cgi?id=46130
--- Comment #5 from Greg Smith codedonewell@gmail.com --- Created attachment 62814 --> https://bugs.winehq.org/attachment.cgi?id=62814 Updated patch with feedback incorporated and approved by Marvin
After some wine-devel feedback, I added some checks and expanded the test coverage (as well as fixing test bugs)
https://bugs.winehq.org/show_bug.cgi?id=46130
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |f4b07ee8eceb1d85b2bfd521462 | |d010db00bee29 Resolution|--- |FIXED CC| |leslie_alistair@hotmail.com
--- Comment #6 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=f4b07ee8eceb1d85b2bfd5214...
https://bugs.winehq.org/show_bug.cgi?id=46130
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.21.
https://bugs.winehq.org/show_bug.cgi?id=46130
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://install.robertsspac |https://web.archive.org/web |eindustries.com/star-citize |/20180118124945/https://ins |n/RSI-Setup-1.0.0.exe |tall.robertsspaceindustries | |.com/star-citizen/RSI-Setup | |-1.0.0.exe