Opened 2 years ago

Last modified 2 months ago

#13663 new defect

HYPNO: Slow frame rate, navigation issue and frequent sound pops

Reported by: antoniou79 Owned by: neuromancer
Priority: normal Component: Engine: Hypno
Version: Keywords: audio, pops, frame rate
Cc: Game: Wetlands

Description (last modified by antoniou79)

This from testing today with Steam version, on Windows 10, and ScummVM 2.7.0git from HEAD master, built with enable-release.

My observations in comparison to the game running on DosBox (which the Steam version uses):

  1. There are frequent "pops" in the audio, very noticeable during gameplay. Non-gameplay videos seem to not have this issue.
  2. The framerate in the gameplay feels significantly slower than when playing in DosBox, which feels faster and smoother.
  3. When playing in DosBox, moving the mouse towards the edges of the screen causes a bit of a navigation movement (like the view moves up or down or left or right). In the ScummVM version this does not seem to work.

Edit: The 1st issue with the audio pops does not seem to occur in current 2.6.0 stable daily, or it's very unnoticeable.

Change History (4)

comment:1 by antoniou79, 2 years ago

Description: modified (diff)

comment:2 by neuromancer, 2 years ago

Thanks for the report!

  1. There are frequent "pops" in the audio, very noticeable during gameplay. Non-gameplay videos seem to not have this issue.

This is a regression in 2.7git, which should be fixed here: https://github.com/scummvm/scummvm/commit/a31e1b63156141d2574fc29dbc1b92fc000dc1fd

  1. The framerate in the gameplay feels significantly slower than when playing in DosBox, which feels faster and smoother.

This is an interesting issue. I don't have access to the original hardware which was supposed to run this game so I don't know how it played originally. The dosbox version is emulated, and depends on the your CPU speed (number of cycles, which I believe are not fixed). Some levels later in the game (e.g. the one with the motorcycle) seems to be much more difficult than expected, because the speed of the missiles (https://www.mobygames.com/game/wetlands/hints/hintId,915/). I can still tweak it to make it a little faster, but it will need some experimentation.

  1. When playing in DosBox, moving the mouse towards the edges of the screen causes a bit of a navigation movement (like the view moves up or down or left or right). In the ScummVM version this does not seem to work.

I was able to move this left or right moving the pointer near the edge, however it is not as smooth as expected. I think the code expects input events so moving a little the mouse should trigger the screen movement.

Edit: The 1st issue with the audio pops does not seem to occur in current 2.6.0 stable daily, or it's very unnoticeable.

It is nice to know that the stable daily is a little more stable than 2.7. :)

comment:3 by antoniou79, 2 years ago

About the navigation issue; I've also noticed that this does work somewhat if you move the mouse to the edge of the screen -- it seems that it triggers just for a short movement when the mouse crosses a threshold to the right or left, but I have to retrigger it to make it move further.
For some reason this works like this in the full screen mode. In windowed mode, it's either harder to trigger, or does not work at all.

comment:4 by neuromancer, 2 months ago

I recently adjusted the time delay between frames using the frame limiter API and it works better. Please re-test if possible.

Note: See TracTickets for help on using tickets.