Opened 20 months ago

Last modified 10 months ago

#9866 new enhancement

PRINCE: Original game keyboard shortcuts not working (F1-F5)

Reported by: windlepoons Owned by:
Priority: low Component: Engine: Prince
Keywords: Cc:
Game:

Description

In "The Prince and the Coward" the function keys (F1-F5) has no function, i cannot load/save and another options.

From the manual (see attachment):
F1: Load
F2: Save
F3: New Game
F4: Options
F5: Exit Game

ScummVM 1.10.0git3533-gb7cf991 (Jun 25 2017 05:48:25)
Siduction (based on Debian/sid) 64bit

Attachments (1)

option.png (58.0 KB) - added by windlepoons 20 months ago.
keyboard layout (manual)

Download all attachments as: .zip

Change History (9)

Changed 20 months ago by windlepoons

Attachment: option.png added

keyboard layout (manual)

comment:1 Changed 11 months ago by bonki

Looking at the source code, these hotkeys don't seem to be implemented (yet?) but saving/loading via the GMM (CTRL-F5) should work. Can you confirm?

Last edited 11 months ago by bonki (previous) (diff)

comment:2 in reply to:  1 Changed 11 months ago by windlepoons

Replying to bonki:

Looking at the source code, these hotkeys don't seem to be implemented (yet?) but saving/loading via the GMM (CTRL-F5) should work. Can you confirm?

Not confirm.
The launcher not open when press Ctrl+F5 or F5 in Galador.
In Day of Tentacle, PQ, Toltecs, etc., the launcher open with only F5 but not with Ctrl+F5.

I use Xfce as desktop environment under linux.

comment:3 Changed 11 months ago by bonki

IIRC the SCUMM engine remaps F5 to CTRL-F5 (i.e., they do the same thing). CTRL-F5 should always work (in all engines) and if it doesn't work for you in SCUMM either it's probably because your window manager is intercepting the keypresses and ScummVM never receives them in the first place.

In other words, unless I'm completely mistaken, this is very much unlikely to be a problem with ScummVM.

Last edited 11 months ago by bonki (previous) (diff)

comment:4 Changed 11 months ago by bonki

As I thought, a default Xfce hotkey is very likely to be the problem - see also https://askubuntu.com/a/92770.

Can you try remapping this to another keyboard shortcut as instructed in the AU answer and try again?

comment:5 Changed 11 months ago by windlepoons

Shame on me, I should have known.
Launcher works now with Ctrl+F5, but it’s not good that programs use system shortcuts.
(Linux Ctrl+F1-F12)

Problem with Ctrl+F5 or save/load via launcher in Galador is solved.
Original function keys (F1-F5) in Galador so i hope in future.

Thanks bonki

Last edited 11 months ago by windlepoons (previous) (diff)

comment:6 Changed 11 months ago by bonki

Well, Chrome apparently suffers from the same problem under Xfce. We cannot (and should not) foresee all possible keyboard shortcuts which some system might or might not ship with per default, that's why you can change them in the system settings ;-)

But I'm glad the issue is sorted and that save/load actually works as intended. I'll update the ticket accordingly, thanks for your fast feedback!

comment:7 Changed 11 months ago by bonki

Priority: normallow
Summary: PRINCE: Function keys does't work (Galador/German)PRINCE: Original game keyboard shortcuts not working (F1-F5)
Type: defectenhancement

comment:8 Changed 10 months ago by bonki

Since commit 589f0f875070f0e8bd7b2cbf395818fbc934f822 F1/F2 now open the ScummVM load/save dialogs.

Note: See TracTickets for help on using tickets.