I will periodically check this issue log to see if anyone else has uncovered missing information that fills in the voids. But for now, the code changes that provide a reactive acquisition of the "mui" data appears to be a functional workaround. If ever the source code were to become available, it would be enlightening to see how they determined the language capabilities and resource loading. So the bottom line is that when the "mui" file cannot be found, the program falls back to the "exe" file.įrom what I could decipher from the code behavior, the game developers constructed their own resource loader functions as there were no documented occurrences of the "" file being loaded via a "LoadLibrary" call. ![]() I was able to actually replicate the garbled window text on my Windows PC by temporarily changing the name of the "en-US" folder to hide the "mui" file. This issue might not be the underlying cause of the program not finding MUI functionality, but not being able to open and read the file would definitely be an issue with the program function.Īfter doing some more testing and outputting of diagnostic data, I do believe somewhere in the game program it is requesting some type of language specific information and when it does not find it, the program falls back to the data in the "Mahjong.exe" file. I tried to manually adjust the file permissions to see if that would help, but nothing seemed to help. If (!(status = nt_to_unix_file_name_attr( attr, &unix_name, FILE_OPEN ))) The point of failure occurs in the following statement within the "NtQueryAttributesFile" function where is appears to be wanting to open the file: ![]() Here is a snippet of the log output.Ġ024:fixme:file:SetCurrentDirectoryW Setting directory to: L"C:\\users\\craig\\Local Settings\\Application Data"Ġ024:fixme:file:SetCurrentDirectoryW Setting directory to: L"Microsoft Games"Ġ024:fixme:file:SetCurrentDirectoryW Setting directory to: L"Mahjong Titans"Ġ024:fixme:ntdll:NtQueryAttributesFile Checking file attributes > L"\\?\\C:\\users\\craig\\Local Settings\\Application Data\\Microsoft Games\\Mahjong Titans\\MahjongTitans.xml"Ġ024:fixme:ntdll:NtQueryAttributesFile Unix file issuesĠ024:fixme:file:GetFileAttributesW File name: L"MahjongTitans.xml", invalid attributesĠ024:fixme:file:GetFileAttributesW Did not like the file for some reason When I added simple trace output to the "ntdll/file.c" function for acquiring file information, the function returns an invalid status. It appears to contain binary code which to me indicates that it contains resource information. The name of the file is "MahjongTitans.xml". I cannot be certain, but it does appear that the execution of the Mahjong game relies on acquiring data from an XML file stored in the user folder. Since I've had time to poke around and do lots of low-tech debugging, I did come across an issue that might provide a clue as to why MUI support is not working for Mahjong and the other games that are a part of the Wineaero group.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |