M-HT / SR

A project to statically recompile following games to create Windows or Linux (x86 or arm) versions of the games - Albion, X-Com: UFO Defense (UFO: Enemy Unknown), X-Com: Terror from the Deep, Warcraft: Orcs & Humans, Septerra Core: Legacy of the Creator, Battle Isle 3: Shadow of the Emperor
305 stars 17 forks source link

Albion: mouse cursor issues #31

Closed lukek19 closed 2 years ago

lukek19 commented 3 years ago

First of all: Thanks for the amazing port. Having the enhanced 3d rendering is great! However, I noticed two issues with the mouse cursor in the windows port (both SDL1 and SLD2):

M-HT commented 3 years ago

I can confirm the first point - I'll take a look at it, but it has low priority.

Regarding the second point - how do you get those numbers ? How do you measure them?

lukek19 commented 3 years ago

I simply used MSI Afterburner to measure the framrate. I guess it measures how frequently the screen image is updated. So when I stand around in a 2D area, where nothing is happening on screen (i.e. nobody's moving and no animation), then it displays 0 FPS. As soon as I start moving around or other NPCs on screen are moving the framerate goes up to 20 FPS (which makes me think that the game itself runs at 20 FPS in 2D mode). Now here's the difference between it running in DosBox and the SR Port: When I move the mouse in DosBox, the FPS go up (max. 60) and the cursor movement seems very smooth. In the Windows Port, the mouse movement is very sluggish and the FPS stays at 20 no matter how fast I move it. Honestly I'm not sure if it is the FPS cap that makes the mouse stutter, or if it is because of the mouse stuttering that I don't see larger FPS values!

Also the mouse movement (even in the 3D parts where it's completely smooth) seems to be a bit slower compared to outside of the game. So whenever I start the game, I first increase my cursor movement speed to max in the windows settings, and then decrease it back when I close the game. Hence it would be nice to have the option to adjust mouse cursor speed in the config file, if can be implemented easily! if not... it's really not that big of a deal ;)

M-HT commented 2 years ago

I created a new release which contains the fix.