https://bugs.winehq.org/show_bug.cgi?id=52171
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com
--- Comment #1 from Stefan Dösinger stefan@codeweavers.com --- Created attachment 71702 --> https://bugs.winehq.org/attachment.cgi?id=71702 Possible hack
My 2c from the cxbx source code is that it just passes through a game request here. That would explain why different games behave differently.
I don't think the NtCreateFile FIXME matters on its own. According to stackoverflow postings the parameter is merely a hint to the file system to reserve a certain amount of space to reduce fragmentation and/or fail early if not enough free space is available.
The error return from NtQueryInformationFile is more likely to cause a failure. This hack simply changes it to return success and a zero size. It might be enough. If not, try to trace the value(s) that the game passes to NtCreateFile and return a similar or larger value in NtQueryInformationFile and see what happens.