[Bug 25733] New: Magic the Gathering: DotP is really slow loading a match

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jan 8 17:10:48 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=25733

           Summary: Magic the Gathering: DotP is really slow loading a
                    match
           Product: Wine
           Version: 1.3.11
          Platform: x86
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: ntdll
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: per at morth.org


When Magic the Gathering: Duels of the Plainswalker starts a match, it does a
_lot_ of these calls:

   trace:file:FindFirstFileExW
L"DATA_DLC_0003\\DATA_PC\\DATA_SHARED\\ART_ASSETS\\MODELS\\CARD\\ART_ASSETS\\TEXTURES\\PTBOX_FULL.IMG"
0 0x33bb60 0 0x0 0
   trace:file:RtlDosPathNameToNtPathName_U
(L"DATA_DLC_0003\\DATA_PC\\DATA_SHARED\\ART_ASSETS\\MODELS\\CARD\\ART_ASSETS\\TEXTURES\\PTBOX_FULL.IMG",0x33baf4,0x33bafc,0x0)
   trace:file:RtlGetFullPathName_U
(L"DATA_DLC_0003\\DATA_PC\\DATA_SHARED\\ART_ASSETS\\MODELS\\CARD\\ART_ASSETS\\TEXTURES\\PTBOX_FULL.IMG"
520 0x33b818 0x33bafc)
   trace:file:wine_nt_to_unix_file_name L"\\program
files\\steam\\steamapps\\common\\magic the gathering - duels of the
planeswalkers\\DATA_DLC_0003\\DATA_PC\\DATA_SHARED\\ART_ASSETS\\MODELS\\CARD\\ART_ASSETS\\TEXTURES\\"
not found in /Users/pelle/.wine/dosdevices/c:/program
files/steam/steamapps/common/magic the gathering - duels of the planeswalkers

I estimated it to around 290k calls for one match using wc. Of these over 95 %
fail like the one above, while a few do find the requested file. This makes the
match take several minutes to load in wine. I don't have any windows machine
but I assume it's much much faster there.

Something should be done to speed this up. I was thinking maybe a cache, but
ofc it's difficult to cache when the file system might change under your feet.
Ideas appreciated.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list