https://bugs.winehq.org/show_bug.cgi?id=48508
--- Comment #36 from Chebanenko Igor chebanenkoigor93@gmail.com --- Created attachment 66930 --> https://bugs.winehq.org/attachment.cgi?id=66930 Debug from Windows 7 (File System Debug)
Looks like when you launch Psi - Ops,system create game files (with NtCreateFile function) with parameters:
FILE_READ_ATTRIBUTES | GENERIC_READ | SYNCHRONIZE, 0x0018f1a0, 0x0018f1e4, NULL, FILE_ATTRIBUTE_NORMAL, FILE_SHARE_READ | FILE_SHARE_WRITE, FILE_OPEN, FILE_NON_DIRECTORY_FILE | FILE_SEQUENTIAL_ONLY | FILE_SYNCHRONOUS_IO_NONALERT, NULL, 0 ) STATUS_SUCCESS
This is the most common parameters of the game.
But staring from string 1699 it create files with
FILE_READ_ATTRIBUTES | GENERIC_READ | SYNCHRONIZE, 0x0cb3fd64, 0x0cb3fda8, NULL, 0, FILE_SHARE_READ | FILE_SHARE_WRITE, FILE_OPEN, FILE_NON_DIRECTORY_FILE | FILE_NO_INTERMEDIATE_BUFFERING | FILE_SEQUENTIAL_ONLY | FILE_SYNCHRONOUS_IO_NONALERT, NULL, 0 )
You can see that some of game's files add FILE_NO_INTERMEDIATE_BUFFERING parameter in common parameters. Is that related with bug?