http://bugs.winehq.org/show_bug.cgi?id=34122
olelukoie olelukoie@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |olelukoie@mail.ru
--- Comment #9 from olelukoie olelukoie@mail.ru 2013-10-16 13:43:09 CDT --- I think this is not a bug in WINE but the bug in the game. The game developers do rely on an NTFS file system driver feature instead of carefully read MSDN. Here's the link to FindFisrtFile description:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa364418%28v=vs.85%2...
You can find there the following:
[quote] Remarks
The FindFirstFile function opens a search handle and returns information about the first file that the file system finds with a name that matches the specified pattern. This may or may not be the first file or directory that appears in a directory-listing application (such as the dir command) when given the same file name string pattern. This is because FindFirstFile does no sorting of the search results. For additional information, see FindNextFile. [/quote]
You can reproduce this "bug" by using FAT32 instead of NTFS under Windows. FAT/FAT32 driver returns files in the creation time order instead of alphabetical one. This means that if you create the files or dirs with names "1", "3", "2" on FAT partition then you'll get them in the same order and not in 1-2-3 one.
BTW ntfs-3g driver under Linux sorts the files so installing the game on NTFS or FAT partition could be a solution for the problem.
To check the real order of files and dirs in any FS-driver under Linux you can use 'ls -l --sort=no' command.
PS. It would be really great to have an option (command line option or environment variable) to imitate NTFS driver behavior (file sorting) in WINE.