http://bugs.winehq.org/show_bug.cgi?id=59209 Bug ID: 59209 Summary: Monster Truck Madness 2 takes very long when loading/leaving a race Product: Wine Version: 11.0-rc4 Hardware: x86-64 URL: https://archive.org/details/MonsterTruckMadness2_1020 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: winehq@mrpowergamerbr.com Regression SHA1: 5a8f7d1f745d3fb8fd48d577103ac5068d3c1746 Distribution: ArchLinux In Monster Truck Madness 2, any Wine version after 2f0401c783bb426bc520fcaae18fb2e17fb3318e takes very long to load a race (Driver Check-in -> GO) and it also takes very long to leave a race (ESC -> End Race). At this point in time, the game does not work with the current Wine version (Wine 11.0-rc4, see https://bugs.winehq.org/show_bug.cgi?id=59203), so to reproduce the bug you will need to apply this patch https://bugs.winehq.org/attachment.cgi?id=80102 to make the game actually work. While the other bug has not been fixed, I've decided to already do the work of bisecting the issue to figure out what is causing the bug. To reproduce: * Build Wine 2f0401c783bb426bc520fcaae18fb2e17fb3318e + patch * Build Wine 5a8f7d1f745d3fb8fd48d577103ac5068d3c1746 + patch * Install the game trial version with Wine * Run the game's main executable (Monsterx.EXE) with Wine 2f0401c783bb426bc520fcaae18fb2e17fb3318e + patch, pay attention to how long the game takes to load into a course or when leaving a race * Run the game's main executable (Monsterx.EXE) with Wine 5a8f7d1f745d3fb8fd48d577103ac5068d3c1746 + patch, pay attention to how long the game takes to load into a race or when leaving a race The 2f0401c783bb426bc520fcaae18fb2e17fb3318e version is how the game should take to start/end a race, while 5a8f7d1f745d3fb8fd48d577103ac5068d3c1746 takes a stupidly long time to load and leave a race. This video also demonstrates the issue. The video was made for the bug https://bugs.winehq.org/show_bug.cgi?id=59203, but you can see how the game loaded way quicker on older Wine versions compared to the new version: https://youtu.be/ESd-EBFQu68 While debugging the issue, I found out that removing the entire "if (spec->type == SPEC_WIN16)" block from the `tools/winebuild/spec32.c` fixes the slowdown. Demo Version (override the Windows Version to "Windows NT 4.0"): https://archive.org/details/MonsterTruckMadness2_1020 -- 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.