Open General working with all the bells and whistles including weather effects, audio and video playback, on a multi-monitor setup.
Linux Distro: Debian 12 bookworm
Desktop: KDE Plasma wayland
Application Launcher: Lutris
Wine Version: 8.27
Architecture: 32 bit
Hardware Wrinkles: multiple monitors
The first problem was that I have a multiple monitor setup and the app wasn't opening on the correct monitor. My two monitors have different resolutions, both monitors are identical but the second one sits a bit further away from me so I have it on a lower resolution to make it easier to work with and read--old eyes. The app was opening as if it was in full screen mode on the primary monitor, but it was opening on the secondary monitor, which meant it was opening in a resolution that rendered much of the game window off the screen. When I tried to move the game window it would deform.
The simple solution to this is alt-f3. That is the default kwin shortcut for the "Window Operations Menu". When you bring that up you can set the window settings for Open General, or any app, to anything you want. I found that the "Screen" option, "0", was what I was looking for. That opened the game on my main screen without messing around with any of the other game windows. You can find those settings under "More Actions", "Configure Special Application Settings".
Getting video playback working:
This was a significant problem in previous versions of wine/Debian/wayland, and involved installing third party codecs, which sometimes worked and sometimes didn't. Recent updates to drivers and wine seem to have resolved these issues and it appears to be no longer necessary to install codecs packages—which stopped working regardless when Debian 12 was released. However there are still hoops to jump through, so bear with me.
First off, Open General is a 32 bit application, so you should already have multiarch enabled in your distro, if you don't, see the following Debian FAQ.
https://wiki.debian.org/Multiarch/HOWTO
You will probably want to install a 3rd party kernel. Those are necessary for certain options, such as fsync, to work in Lutris. At a minimum you will need to install the kernel from backports. I use the xanmod kernel.
https://xanmod.org/
You will need in install the following Debian packages or their equivalent, depending on your distro. You can run the following command on Debian:
sudo apt install ffmpeg:i386 gstreamer1.0-plugins-bad:i386 gstreamer1.0-plugins-ugly:i386
You will want to install lutris and winetricks if you haven't already:
Code: Select all
sudo apt install lutris winetricks
https://backports.debian.org/Instructions/
Once you have done that and run "sudo apt update", you can use the following command:
Code: Select all
apt install -t bookworm-backports firmware-linux firmware-linux-nonfree firmware-misc-nonfree linux-image-amd64 linux-headers-amd64 linux-libc-dev
Code: Select all
firmware-amd-graphics firmware-nvidia-graphics firmware-intel-graphics firmware-intel-misc firmware-iwlwifi firmware-mediatek firmware-realtek
You may also need to install a number of dlls/apps using winetricks. The following is a list of winetrick "verbs" that I have installed in the prefix I use to run Open General:
Code: Select all
d3dx9 devenum dxwnd galliumnine msxml3 msxml4 msxml6 vcrun2005 vcrun2010 vcrun2012 vcrun2013
ADDENDUM: I have found that there are a couple of packages that improve the function of just about any application running under wine, you can install them on Debian using the following command:
Code: Select all
sudo apt install wine32-preloader wine64-preloader