mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.6K
active users

Yora

Since I upgraded to Fedora 40 with KDE and Plasma 6.0.5, old games with a fixed resolution no longer get scaled up to fill up the whole screen when in full screen.

And are of course just as tiny in windowed mode. Which makes them effectively unplayable.

Does anyone know why this happens and what I can do to fix this?
What would I even have to search for to start looking for a solution?

Changing the screen resolution to 640x480 doesn't work. There's some flickering as the computer tries to apply the changes, and then falls back to the 1080p default.

"Almost all the popular Wine managers such as Lutris, Bottles, and PlayOnLinux have support for Gamescope. Using them is as simple as installing the desired Gamescope package and checking the Use Gamescope (or similar) option."

Thanks... And where do I get the desired Gamescope package for PlayOnLinux?
Very helpful.

wiki.archlinux.org/title/Games

wiki.archlinux.orgGamescope - ArchWiki

@aeva Baldur's Gate refuses to launch, and StarCraft has the mouse not working, but it looks like a start in the right direction. 🙃

@aeva Adding --force-grab-cursor to the Gamescope command fixed the mouse issue in StarCraft.

Looking at the output for Gamescope in terminal for both Baldur's Gate and StarCraft does not show any lines in the BG output that the SC output doesn't.

BG just shuts down at a point where the SC output still continues for a while until the game runs.

Not helpful at all. 😐

Ah, interesting. The issue seems to have nothing to do with Gamescope in the first place.

The exe file that I am trying to launch through gamescope doesn't run by starting it directly from the file manager either.

Somehow the launcher icons that the GOG installer created are starting the game differently than just executing the exe.

Ripping the iso files of my old disks is doing the trick. (As would just installing from disk, but my computer doesn't have an internal drive.) This installation plays well with Gamescope.

Now I only have to figure out how to get two black bars on both sides of the screen instead of one big black bar on the right.
And then I finally have the computer doing what it should have been doing by default from the start!!!

Well, this was unexpectedly quick to solve.
Because when you only indicate the height of the original resolution but not the width, it assumes a 16:9 image. Which is clearly spelled out in the documentation.

A tool with a functional documentation?!

@jmessager This does exactly what I needed.

Just downloaded the appimage file, put it into the Baldur's Gate installation directory, and executing the appimage starts the game in a Window that can be maximized and turned to fullscreen.

The issue with gamescope seems to be all about the way GOG makes the game run without disks in a drive. The BGMain.exe files don't execute by themselves on a linux system. Which is why there's no problem with StarCraft.

@jmessager Unfortunately GemRB seems to be full of bugs.

No music playing. Character does random getting hit animations. Dialog windows hid the character who is talking from view. No dialog text below the talking character's name. And that's just in the first minute.
Not really fun to play.