Menu

#5641 DW2 - Unable to Save

Discworld II
closed-fixed
GUI (361)
5
2014-09-01
2011-04-06
m4sk
No

Unable to save game in Discworld II on Android Platform. SCUMMVM menu items (Save/Return to Loader) are greyed out.
Trying virtual keyboard ends up with "clicking/tapping" at the spot where keyboard key appears.

Version : 1.3.0git4063-g6bd 1806

Discussion

  • Paul Gilbert

    Paul Gilbert - 2011-04-06

    The Tinsel engine doesn't support saving directly through the GMM in either Discworld game - you need to use the F1 menu, or the F5 key directly. Whilst my first thought was to simply close this ticket as being invalid, or re-classifying it as a feature request, I'm not sure if there's any issue because of this when playing the game on a PDA. Presumably you can use the virtual keyboard to just select F5 and get the in-game save dialog that way.

     
  • m4sk

    m4sk - 2011-04-06

    I know it's not supported through SCUMMVM directly. I've read a few posts regarding the matter and it should be possible to use the virtual keyboard. However it doesn't work. When trying to type on the keyboard, click on the key is registered as tap on the screen in the game, causing action (movement, etc.)

     
  • Andre Heider

    Andre Heider - 2011-04-06

    Some Android devices only have 2 hardware buttons. One maps EVENT_MAINMENU, the other KEYCODE_ESCAPE.
    The Android port uses the native vkeybd of the OS, not backends/vkeybd/. And that doesn't have Fx keys (and for what).
    So its impossible to invoke Fx, just because its not mapped anywhere.

     
  • m4sk

    m4sk - 2011-04-06

    As mentioned in this forum thread : http://forums.scummvm.org/viewtopic.php?t=10084 it seems that in official release 1.2.1 , "!" key on virtual keyboard triggers the game menu and "%", "&" work as load/save.
    However this is not the case for the dev version I installed (1.3.0git4063-g6bd 1806) to fix Beaneath the Steel Sky start-up crash problem. Maybe it's caused by the new "trackpoint" control system.

     
  • Andre Heider

    Andre Heider - 2011-04-06

    Grepping for KEYCODE in tinsel yields only a couple of used keys. How about we map the function keys additionally to the corresponding numeric key?
    Mapping Fx keys would still be useful for the Android port, but reusing the vkeybd sounds reasonable. And maybe it solves the same issue on another port...

     
  • m4sk

    m4sk - 2011-04-06

    Sounds good imho.

     
  • Andre Heider

    Andre Heider - 2011-04-06
     
  • Andre Heider

    Andre Heider - 2011-04-06

    attached a simple patch, i'll let someone from the tinsel engine team decide if this is appropriate.

    fyi: my initial plan was to add a toggle for android, accessible via a port specific dialog.
    but this is way nicer:
    - you don't need to toggle forth and back
    - this approach allows numbers to be used in savegame names without any key conflicts
    - you can use '7' on builds with vkeybd now, since it doesn't conflict

     
  • Andre Heider

    Andre Heider - 2011-04-06

    erm, i meant: a toggle that maps the numeric keys to the function keys :)

     
  • Paul Gilbert

    Paul Gilbert - 2011-04-08
    • assigned_to: nobody --> dreammaster
     
  • Paul Gilbert

    Paul Gilbert - 2011-04-08

    I agree it seems like a reasonable solution for now. I've committed the changes into trunk.

     
  • Paul Gilbert

    Paul Gilbert - 2011-04-08
    • status: open --> closed-fixed