[Scummvm-tracker] [ScummVM :: Bugs] #6567: WME: 1 1/2 Ritter - Stuck in the Sound Options Menu

ScummVM :: Bugs trac at scummvm.org
Mon Jul 22 03:01:23 CEST 2019


#6567: WME: 1 1/2 Ritter - Stuck in the Sound Options Menu
-------------------------+--------------------------------
  Reporter:  raziel-     |      Owner:  lolbot-iichan
      Type:  defect      |     Status:  new
  Priority:  normal      |  Component:  Engine: Wintermute
Resolution:              |   Keywords:
      Game:  Wintermute  |
-------------------------+--------------------------------

Comment (by lolbot-iichan):

 >In window mode the slider icon skips to the far left
 This... Is... Even... More... Strange...
 I really have no idea how this happens, so if you have some time to assist
 me, let's start with gathering information on which code is affected and
 how exactly mouse is moving.

 >No, only in Ritter (Oknytt v1.13 is fine)
 This is a very promising point to start. "If it bleeds, we can kill it."

 I have updated test game (https://github.com/lolbot-
 iichan/wme_testsuite/tree/master/slider_test/packages) today, now it
 contains 2 types of sliders.
 The first slider has very simple code that is used at 5MA, 5LD, Helga,
 Oknytt. I believe it should work properly on your system.
 The second slider has code similar to code that 1 1/2 Ritter and James
 Peris (Full version) are using. I believe it should work with issues on
 your system.

 I also filed a PR (https://github.com/scummvm/scummvm/pull/1764) to
 ScummVM to add some special logs to debug this case - logs would contain
 timestamps of LMB pressed/released and also information on mouse's X
 coordinate changes made by you and by game script.

 Could you please:

 I) Check if I correctly identified the slider code that causes the issue.
 1. Download test game and verify that the first slider is working
 correctly and the second slider has issues similar to 1 1/2 Ritter game.
 2. Check if Full version of James Peris
 (https://jamesperis.itch.io/jamesperis) is affected as well.

 II) Make your ScummVM more verbose:
 3. Wait until https://github.com/scummvm/scummvm/pull/1764/files gets into
 dayly build (by looking at git hashes or just waiting 2-3 days since PR is
 merged)
 4. Download this ScummVM dayly build
 5. Add "debug_cursor=true" line under "[scummvm]" section of "scummvm.ini"

 III) Collect additional logs at windowed mode:
 6. Run "./scummvm --debuglevel=11 --debugflags=all" and choose either my
 test game or 1 1/2 Ritter game (if test game is not affected)
 7. Collect logs when mouse is teleporting to the left and does not move
 (open game, go to settings, click on slider, try to move mouse yourself
 once it is pressed to different directions, release mouse, press Ctrl+F5
 and terminate ScummVM)
 8. Make sure those logs contain "CURSOR: onMouseLeftDown" line

 IV) Collect additional logs at fullscreen mode:
 9. Run "./scummvm --debuglevel=11 --debugflags=all" and choose either my
 test game or 1 1/2 Ritter game (if test game is not affected)
 10. Collect separate logs when mouse is moving right (open game, go to
 settings, click on slider, try not to move mouse yourself once it is
 pressed, hold mouse pressed for some 10-30 seconds, release mouse, press
 Ctrl+F5 and terminate ScummVM)
 11. Make sure those logs contain "CURSOR: onMouseLeftDown" line

 P.S. You can report results once you have enough time for such testing.

-- 
Ticket URL: <https://bugs.scummvm.org/ticket/6567#comment:11>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list