OpenGothic
OpenGothic copied to clipboard
Mouse controls
Hi, in my case mouse camera controls doesnt work properly on linux. I can control the camera only when holding left mouse button - so cant turn and look down/up like you normally do when when walking.
Im on steam deck, but this happen with usb mouse too.
Hi, @n3roxe and thank for bugreport!
In game intent is to have kind of controls, that you described only in Windowed mode.
Assuming that you are building from sources, can you try to make a quick change to lib/Tempest/Engine/system/systemapi.cpp
:
bool SystemApi::isFullscreen(SystemApi::Window *w) {
- return inst().implIsFullscreen(w);
+ return true;
}
Im on steam deck
That's coll, never had opportunity/time to test it on steam-desk myself . It would be great if you can share experience on how game runs or some screenshoots.
I didnt build it from sources, i just ran gothic 2 through steam and luxtorpeda compatibility layer. It downloaded open gothic automatically and works with 0 tinkering.
As for performance, its definitely heavier than OG gothic. But OG gothic had problem with no background music on my system. Cloud shadows are very heavy on the gpu. Even without them, its barely doing 60 frames. There are drops in city due to cpu, and drops due to GPU in heavy scenarios like close look at the campfire for example. But when locked at 50 frames it plays well. I didnt discover much bugs, it doesnt stutter, audio is good. All around pretty playable and blast to play on a handheld device.
That camera control is annoying though, thats why i reported an issue.
I also tested the game on Deck for a minute, works like this:
- game mode - runs full 45 FPS (my screen refresh rate), no mouse look, ~~not even with the Tempest patch~~ EDIT: the patched binary is by default overwritten by Luxtorpeda, I don't actually yet know the resulf when Tempest is patched
- desktop mode - runs poorly, but the mouse look works even with the official binary
bool SystemApi::isFullscreen(SystemApi::Window *w) {
- return inst().implIsFullscreen(w);
+ return true;
}
I'm happy to report that this patch allows controlling the camera on Steam Deck without keeping left mouse button pressed.
(originally I was running a different binary than expected, as Luxtorpeda replaced my build with the official release binaries on every launch, thus my confusion)