http://bugs.winehq.org/show_bug.cgi?id=58729
Bug ID: 58729 Summary: various bugs in Jedi Knight - Dark Forces II Demo (macOS) Product: Wine Version: 10.14 Hardware: x86-64 OS: MacOS Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: cemer99797@isorax.com
This is a new bug report following my previous bug report (bug# 58156). In the previous bug report, the game Jedi Knight - Dark Forces II Demo could not launch at all on macOS, with the following error:
"err:module:loader_init "smackw32.DLL" failed to initialize, aborting"
As of Wine-devel 10.14, this game is now playabale again but only with workaround and caveats.
(comments cross-posted as well in bug# 58156)
my system: macOS 11
game demo download page (choose Download this File > Agree > Jedi Knight Demo.zip): https://community.pcgamingwiki.com/files/file/1308-jedi-knight-dark-forces-i... sha256: 7bc013918cf79879a086a10c27306f2f3511852726f4b4a9fec09668ed221d18
----
To play the game, you have to launch the JEDI.EXE launcher app (not the JKDEMO.EXE game app) and click "Play Jedi Knight Demo"...
After clicking "Play Jedi Knight Demo": 1. the game app will be launched to an all-black fullscreen and tries to change the screen resolution 2. the game app will minimize itself to the macOS Dock after 1 to 3 seconds 3. the same error pop-up as in my first post will show up:
Unable to start the Jedi Knight Demo game program. Try running JK.EXE where you installed the Demo directly. Also make sure you have the latest DirectX drivers installed on your system.
Clicking the minimized game app from the macOS Dock (grayscale Jedi icon) will return the game app to fullscreen, with an all-black fullscreen and the intro video music playing in the background.
Pressing Esc will skip the all-black intro video and correctly load the main menu and the game is playable! Press the equals key to increase the game viewport to fill the screen.
### NOTES: 1. if you choose "Cutscenes" from the main menu and press OK to play the Splash movie (intro movie), it will now play correctly
2. if you switch out of (Cmd-Tab) and return to the game from: * the all-black intro video (before pressing Esc to skip): the game correclty returns to the all-black intro video * the main menu: the main menu will now be all black, but the sounds still play when clicking your mouse and pressing Esc * the correctly-playing intro video from the Cutscenes menu: the game returns to an all-black intro video, but if you skip it (Esc), the main menu will display correctly * gameplay: the game viewport will be all the way off-screen to the top of the screen, meaning only the bottom 20% of the game can be seen (press the equals key to increase the in-game viewport). If you press Esc the pause menu still appears correctly * the pause menu, activated for the first time from gameplay: the game returns to an all-black pause menu, and pressing Esc returns the game viewport being off-screen to the top as before * the pause menu, activated for a second time from gameplay: the pause menu correctly reappears, but after returning to gameplay, the game viewport is still off to the top of the screen
3. if you close all macOS Terminal windows (which normally exits all wine processes), the game app will still be running, but the error pop-up will be killed. The game can be exited by force-quitting the wine processes in macOS Activity Monitor or Force Quit dialog
I also bisected this with Wine-devel 10.12 and 10.13, and they both give the same error as in my first post:
"smackw32.DLL" failed to initialize, aborting
so this was fixed in Wine-devel 10.14
I am using the official WineHQ/Gcenx binary from Homebrew/GitHub: https://formulae.brew.sh/cask/wine@devel https://github.com/Gcenx/macOS_Wine_builds/releases/download/10.14/wine-deve...
http://bugs.winehq.org/show_bug.cgi?id=58729
--- Comment #1 from ToastyBug cemer99797@isorax.com --- Created attachment 79341 --> http://bugs.winehq.org/attachment.cgi?id=79341 macOS Terminal log for JEDI.EXE, wine 10.14, WINEDEBUG=module
This is the macOS Terminal log for JEDI.EXE (the launcher app, not the game app), wine 10.14, WINEDEBUG=module
The log ends (and control is returned to the Terminal) as soon as the error pop-up is closed (the game app continues in another spawned wine process not controllable from the Terminal)
http://bugs.winehq.org/show_bug.cgi?id=58729
--- Comment #2 from ToastyBug cemer99797@isorax.com --- Created attachment 79342 --> http://bugs.winehq.org/attachment.cgi?id=79342 screenshot of JKDEMO.EXE error pop-up
When launching the game app (JKDEMO.EXE) instead of the launcher app (JEDI.EXE), there is a small error pop-up over an all-black fullscreen background, that says:
ERROR ERR_CANNOT_LOAD_FILE □□□□□□□□
This happenes with both a direct launch (JKDEMO.EXE) or with the windowgui argument (JKDEMO.EXE -windowgui)
(There is an old entry in the AppDB HowTo/Notes section that mentions the game can crash, and to use "wine JKDEMO.EXE -windowgui" as a workaround) https://appdb.winehq.org/objectManager.php?sClass=version&iId=10948
http://bugs.winehq.org/show_bug.cgi?id=58729
--- Comment #3 from ToastyBug cemer99797@isorax.com --- Created attachment 79343 --> http://bugs.winehq.org/attachment.cgi?id=79343 macOS Terminal log for JKDEMO.EXE, wine 10.14, WINEDEBUG=module
This is the macOS Terminal log for JKDEMO.EXE (the game app), with no arguments, wine 10.14, WINEDEBUG=module
http://bugs.winehq.org/show_bug.cgi?id=58729
--- Comment #4 from ToastyBug cemer99797@isorax.com --- Created attachment 79344 --> http://bugs.winehq.org/attachment.cgi?id=79344 macOS Terminal log for JKDEMO.EXE -windowgui, wine 10.14, WINEDEBUG=module
This is the macOS Terminal log for JKDEMO.EXE (the game app), with the -windowgui argument (JKDEMO.EXE -windowgui), wine 10.14, WINEDEBUG=module
http://bugs.winehq.org/show_bug.cgi?id=58729
ToastyBug cemer99797@isorax.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression URL| |https://community.pcgamingw | |iki.com/files/file/1308-jed | |i-knight-dark-forces-ii-dem | |o/
http://bugs.winehq.org/show_bug.cgi?id=58729
--- Comment #5 from ToastyBug cemer99797@isorax.com --- It seems the bugs when the game is running from the launcher app (JEDI.EXE) are caused by Wine's fullscreen implementation and the fact that the game's fullscreen resolution doesn't match the monitor's fullscreen resolution.
When switching away from (Cmd-Tab) and back to the gameplay, the bugs can be fixed by setting the gameplay resolution to match your monitor's resolution: 1. from the pause menu (Esc), select Setup > Display and choose your monitor's resolution 2. click OK and Esc Esc to back out back to the game
The gameplay resolution now matches the monitor's and will not cause issues, but the menus (pause and main menu) are still using the old resolution (640x480 or 800x600) and still have issues
http://bugs.winehq.org/show_bug.cgi?id=58729
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #6 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
Did you try enabling virtual desktop (graphics tab in winecfg)? It ~may~ help with resolution switching issues.
Virtual desktop adds an intermediate window that acts as an empty desktop for the app and as a normal client window for the OS. Application resolution changes are reflected as window resizing. The virtual desktop window has the default OS border decoration when smaller than the screen, and becomes fullscreen when the size matches the screen.
Regards.