https://bugs.winehq.org/show_bug.cgi?id=46792
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Matteo Bruni from comment #1)
Created attachment 63843 [details] Patch
Thank you for the bug report. It looks like there are multiple bugs related to adapter format... The culprit this time is:
0009:warn:d3d:wined3d_get_adapter_display_mode Overriding format WINED3DFMT_B8G8 R8X8_UNORM with stored format WINED3DFMT_B8G8R8A8_UNORM.
The patch I'm attaching fixes it for me. Can you test if it also helps with bug 46811?
Thank you for the patch, Matteo. It fixes the crash in EU3.
In the past 3 days I checked as many of my games as I could and found more than 50 games that are affected by commit bd7a48c25114983f53c2c05299444e982f5a5490. Most of the games crash immediately after start, some of them do start, but the main menu is obscured by solid colors thus the game is unplayable.
The proposed patch fixes the problem in most of the affected games, but there are a few exceptions though. I confirmed that the problem doesn't occur in those games by reverting bd7a48.
If you want to look into the issue in those games I can provide you some demos (where one exists).
MX vs. ATV Unleashed demo (crashes while loading to the menu): https://www.fileplanet.com/archive/p-36398/MX-vs-ATV-Unleashed-Demo
Tales of Monkey Island demo (crashes after start): https://www.fileplanet.com/archive/p-78155/Tales-of-Monkey-Island-Demo (in the launcher click the 'No thanks, just take me to the demo!' button in the lower right corner, then the big 'Launch free demo!' button to start the game).
Star Wars: Battlefront 2 (Classic, 2005) (Steam version, no demo available, crashes after start): https://store.steampowered.com/app/6060/Star_Wars_Battlefront_2_Classic_2005...
Sledgehammer / Gear Grinder (Steam version, no demo available, crashes after start): https://store.steampowered.com/app/285520/Sledgehammer__Gear_Grinder/