Opened 7 years ago

Last modified 4 years ago

#9866 new defect

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

Reported by: windlepoons Owned by:
Priority: low Component: Engine: Prince
Version: 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 7 years ago.
keyboard layout (manual)

Download all attachments as: .zip

Change History (10)

by windlepoons, 7 years ago

Attachment: option.png added

keyboard layout (manual)

comment:1 by bonki, 7 years ago

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 7 years ago by bonki (previous) (diff)

in reply to:  1 comment:2 by windlepoons, 7 years ago

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 by bonki, 7 years ago

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 7 years ago by bonki (previous) (diff)

comment:4 by bonki, 7 years ago

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 by windlepoons, 7 years ago

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 7 years ago by windlepoons (previous) (diff)

comment:6 by bonki, 7 years ago

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 by bonki, 7 years ago

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

comment:8 by bonki, 7 years ago

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

comment:9 by sev-, 4 years ago

Type: feature requestdefect
Note: See TracTickets for help on using tickets.