VOGONS


First post, by ZFR

User metadata
Rank Newbie
Rank
Newbie

I'm having a strange problem with a game using Linux Dosbox. Using v0.74

The game in question is Word Rescue and Word Rescue Plus (both use same engine).

When I press the left or right arrow keys, the character moves left or right. However there are points in the game when the character just stops, like hitting an invisible wall. If I release the arrow key and press it again, the character continues moving.
It happens at the same points on the level. Almost. Sometimes it's this way or that by a few pixels.
(EDIT:
I found out what's triggering it:
Keep pressing right key.
While pressing right key, press up to jump.
Release up when you start landing.
Right key was pressed all the time.
After a sec or so the character stops.
Release right key, press it again, the character starts moving again.
That's why it was happening "at the same points on the level". It was happening right after points where you had to jump)

The weird thing is, it only happens fullscreen.

It doesn't happen on Windows, neither windowed nor full screen.
It happens on Linux in full screen, but not when windowed.

I tried output overlay and open gl.
It happens if I set fullresolution to original, desktop or a fixed resolution like 1600x1200.

Any ideas on what could be causing this?

Reply 1 of 6, by ZFR

User metadata
Rank Newbie
Rank
Newbie

Confirmed on another game: Prehistorik.

To reproduce:
- Press and keep pressing right arrow key. Characters moves.
- While right arrow key is pressed, press and release up arrow key so the character jumps.
- After the character lands he continues moving for a second or two then stops.

Expected behaviour:
Character should continue moving after jumping so long as the right arrow key is pressed.

Confirmed on two games so far: Word Rescue and Prehistorik.

Only happens in full screen. In windowed mode in works fine.

Reply 2 of 6, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

This is an SDL 1.2 issue with DOSBox on Linux. If you try the unofficial builds of DOSBox using SDL 2 then it should work fine.

How To Ask Questions The Smart Way
Make your games work offline

Reply 3 of 6, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I couldn't really reproduce it despite upgrading to ubuntu 20.04 though 🙁

maybe i need to reset the xorg configfile or so.

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 6, by ZFR

User metadata
Rank Newbie
Rank
Newbie
DosFreak wrote on 2020-10-15, 20:29:

This is an SDL 1.2 issue with DOSBox on Linux. If you try the unofficial builds of DOSBox using SDL 2 then it should work fine.

Ah, thank you. I found the other thread about this.

Is this the SDL2 build?
https://github.com/meesokim/dosbox-sdl2

Sorry for being a newbie, but how do I install that build? I'm new to Linux just moved few months ago. Do I have to compile it myself?

Using Linux Mint.

Reply 5 of 6, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

There are various builds that use SDL2, DOSBox ECE and DOSbox-x are likely the most popular so try those until it's fixed if you need to play fullscreen.

How To Ask Questions The Smart Way
Make your games work offline

Reply 6 of 6, by ZFR

User metadata
Rank Newbie
Rank
Newbie
DosFreak wrote on 2020-10-15, 21:29:

There are various builds that use SDL2, DOSBox ECE and DOSbox-x are likely the most popular so try those until it's fixed if you need to play fullscreen.

Thank you! This worked.