[Bug 17956] BGII: Sluggish performance with fixpack installed

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 8 19:51:35 CDT 2012


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

--- Comment #17 from Vlad Blanton <vblanton at gmail.com> 2012-07-08 19:51:35 CDT ---
(In reply to comment #16)
> So I made a 2nd patch so that when the argument of this function is a real
> filename with no wildcard, then use stat instead of the directory scan. Since
> everything is in lowercase now, it's very fast.
> 
> And after that the slowdowns were finally gone, even with lots of mods
> installed and bgt, loading savegames is always fast.
> As a bonus, there are no slow downs in game neither after this, the game runs
> smoothly all the time, as in windows, finally ! :)
> 
> So far I just converted the bg2 directory to lowercase, maybe it would be
> better to convert all the c: wine directory. I used a perl script for that,
> tolower.pl, the fastest method I could find.
> 
> I attach the 2 patches and the perl script for those interested.
> The patches are for wine 1.5.6.

Great work! I don't know if this kind of fix would be make it into mainline
WINE, but it helps out those who suffer from the slowdowns. BGII lives on in
the WINE multiverse! I imagine your patch would help fix slowdowns found in
many other games that access multiple small files as well.  Thanks for sharing.

-- 
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