Kubuntu 24 - run old Windows *.exe game with Wine, scaling up to 4K and full-screen
I decided to install on Kubuntu 24 (Linux x64) game from Windows (Skoki narciarskie 2002: Polskie złoto).
According to installation issues in wine, the game was installed on Windows and next entire installation directory was moved to Kubuntu 24 (Linux x64).
And now the game works fine with:
wine ski2002.exe
The game was released in 2002 year, so the maximal supported resolution by the game is 1280x960 pixels. I want to run the game in full-screen scaled upto 4K (3440x1440). I have found there is gamescope tool created by Valve that upscales game resolution.
Project Repository: https://github.com/ValveSoftware/gamescope
I have tried to install gamescope via:
- Flatpack but it is not working (requires to install many packages via flatpack and then reconfigure them),
- PPA but it is not available.
I have found gamescope in Debian 12 (Bookworm) repository.
Is there some way how to install it?
You need to download and install gamescope package and required dependencies.
I have downloaded gamescope amd64 package:
- https://packages.debian.org/bookworm/gamescope
(available sources, e.g. direct link to gamescope_3.11.49-1_amd64.deb)
Then I tried installing, checking what packages were missing:
sudo dpkg -i gamescope_3.11.49-1_amd64.deb
I have got message about missing amd64 packages, so I have downloaded them:
- https://packages.debian.org/bookworm/libliftoff0
(available sources, e.g. direct link to libliftoff0_0.3.0-1_amd64.deb) - https://packages.debian.org/bookworm/libwlroots10
(available sources, e.g. direct link to libwlroots10_0.15.1-6_amd64.deb)
Then, I installed all packeges using:
sudo dpkg -i libwlroots10_0.15.1-6_amd64.deb
sudo dpkg -i libliftoff0_0.3.0-1_amd64.deb
sudo dpkg -i gamescope_3.11.49-1_amd64.deb
Finally, you should run the game using:
gamescope -f -w 1280 -h 960 -W 3440 -H 1440 -- wine ski2002.exe
Hint: do not forget to set the game resolution to 1280x960 in the game settings.
You can donwload gamescope from https://github.com/akdor1154/gamescope-pkg/releases
To install it use: sudo dpkg -i gamescope_X.Y.Z_amd64.deb
Source code on GitHub: https://github.com/ValveSoftware/gamescope