https://bugs.winehq.org/show_bug.cgi?id=52889
Bug ID: 52889 Summary: Freelancer with Crossfire mod crashes on startup Product: Wine Version: 6.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: poweroverwhelming982@gmail.com CC: jacek@codeweavers.com Regression SHA1: 6857cb56957d691bee76cfe28ef88714cca00f29 Distribution: Ubuntu
Created attachment 72282 --> https://bugs.winehq.org/attachment.cgi?id=72282 Wine log at commit 6857cb56957d691bee76cfe28ef88714cca00f29
Since wine-6.19, Freelancer with Crossfire 2.0 mod crashes immediately on startup (as soon as the mod window is shown). Bisecting points to this commit:
commit 6857cb56957d691bee76cfe28ef88714cca00f29 Author: Jacek Caban jacek@codeweavers.com Date: Wed Sep 29 14:09:21 2021 +0200
gdi32: Move ntgdi functions to Unix library.
I've attached the relevant logs, let me know if there's anything else I can do.
Additional info: OS: Ubuntu Focal 20.04.3 LTS Kernel: 5.13.0-30-generic x86_64 Wine Prefix: 32 bit, clean GPU: NVIDIA Corporation GF108 [GeForce GT 730] (rev a1) Graphics Driver: Proprietary NVIDIA ver. 390.144
https://bugs.winehq.org/show_bug.cgi?id=52889
poweroverwhelming982@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=52889
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |gdi32
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- Is there a free and legal download this can be reproduced with?
https://bugs.winehq.org/show_bug.cgi?id=52889
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #2 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
The mod itself is freely available: https://www.moddb.com/mods/crossfire
The base game can only be found on abandonware/piracy sites, AFAICT.
I've got the original CD released version.
I've followed the instruction on https://swat-portal.com/forum/wcf/faq/#entry-31 to install the game and the mod.
There was no visible issue with both installers.
After installing, when I launch Freelancer.exe, all I get is a black screen.
I get the same result with a fresh install of the base game + game patches that used to work a long time ago.
I thought it was stuck at the intro video (Videos are WMV (WM ASF) format), but installing winetricks quartz or removing the videos files gave the same black screen.
@OP Can you explain how you did install the game (winetricks, DLL overrides, workarounds, etc.)?
Regards.
https://bugs.winehq.org/show_bug.cgi?id=52889
--- Comment #3 from poweroverwhelming982@gmail.com --- Hello, thanks for the comments and sorry for not responding sooner, I had two weeks of chaos and totally forgot to check up on this.
Yes, the game can only be found as abandonware AFAIK, the mod itself is free and both can be installed without issue in wine (32-bit prefix). The only other thing I do is enable virtual desktop (fixes alt-tabbing and some cursor issues) and overriding msacm32 (fixes some lag issues in certain parts of the game). The second one shouldn't be necessary for running the game, it should work just fine without it.
I also had the black screen issue before this regression and it is video related, I usually had to press the Super key in Gnome to make the game lose focus, and then reactivate it, then press escape 3 times to skip the videos and get into the game.
But when the Crossfire mod is installed, it replaces the Freelancer.exe file and first shows it's own menu where you can select "Single player" or "Multiplayer" to actually start the game, and then once the game has started you would get the black screen issue.
So what happens with this regression is that it now crashes as soon as the Crossfire menu is displayed, I never get the chance to actually start the game and get to the black screen point where the intro videos would start.
I'm not sure how you got to the intro videos without first seeing the Crossfire menu, in my case the menu's window is visible, and then wine's crash window is shown on top (with the debug output from the attachment).
I also noticed this in the log, could be relevant:
... Backtrace: =>0 0x00000000 (0x00218a88) 1 0x6c9e8a6b EnumFontFamiliesExW+0xaa(hdc=<couldn't compute location>, lf=<couldn't compute location>, efproc=<couldn't compute location>, lparam=<couldn't compute location>, flags=<couldn't compute location>) [Z:\wine-git\dlls\gdi32\text.c:2088] in gdi32 (0x0021c388) 0x00000000: -- no code accessible -- ...
Let me know if I can be of further help, Regards
https://bugs.winehq.org/show_bug.cgi?id=52889
--- Comment #4 from Jacek Caban jacek@codeweavers.com --- If it still fails with current git, please attach +relay,+seh,+font logs.
https://bugs.winehq.org/show_bug.cgi?id=52889
--- Comment #5 from poweroverwhelming982@gmail.com --- (In reply to Jacek Caban from comment #4)
If it still fails with current git, please attach +relay,+seh,+font logs.
Tried again with current wine-8.5 and it seems to be working again. I'm still getting crashes when the Crossfire launcher tries to update (only happens from time to time), but that was also hapenning before, and it's a different issue. So looks like this one is fixed, thanks!
https://bugs.winehq.org/show_bug.cgi?id=52889
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Jacek Caban jacek@codeweavers.com --- Reported fixed.
https://bugs.winehq.org/show_bug.cgi?id=52889
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.14.