Opened 8 years ago

Closed 8 years ago

#5816 closed defect (wontfix)

SCI: QFG2: Title Screen quit option

Reported by: SF/nozomi77 Owned by: bluegr
Priority: normal Component: Engine: SCI
Keywords: Cc:
Game: Quest for Glory 2

Description

While at the title screen with the option to view the introduction, Start a new Hero, import at Hero, or Continue a Quest...the keyboard shortcut to quit the game does not work. You should be able to press "Ctrl - Q" and quit from that screen.

Ticket imported from: #3385043. Ticket imported from: bugs/5816.

Change History (9)

comment:1 by digitall, 8 years ago

nozomi77: This works fine for me on both v1.3.1 and the latest Git development master on Linux x86_32 :
ScummVM 1.4.0git1292-gb9fe3c1-dirty (Aug 3 2011 12:35:43)

In order to progress this bug, please can you provide the following information:
* Operating System.
* Version of ScummVM exhibiting this issue.
* Version of QFG2 (Can be found in the VERSION file - mine is 1.105)

comment:2 by SF/nozomi77, 8 years ago

Tested with ScummVM version 1.3.1 on Windows XP 32bit.
the version of QFG2 used is 1.102

comment:3 by digitall, 8 years ago

OK... Replicated on WinXP 32bit, but doesn't occur on Linux.. Looks like some issue with keycodes sent to the engine.. Will take a look.

comment:4 by bluegr, 8 years ago

I'm a bit confused here... are you trying to quit the game using ScummVM's key combo? If yes, then this combination differs per platform. Quoting the README:

Cmd-q - Quit (Mac OS X)
Ctrl-q - Quit (other unices including Linux)
Ctrl-z OR Alt-x - Quit (other platforms)

Therefore, Ctrl-q is not supposed to work under XP. Have you tried Ctrl-z or Alt-x?

comment:5 by digitall, 8 years ago

bluegr: The original techbook.txt for QFG2 lists the quit options as including "CTRL - Q".
I was under the impression that this was done in the SCI scripts, rather than hardcoded into the original SCI interpreter.
So I thought that our SCI engine should shutdown and exit if it got CTRL-Q in QFG2 at these screens.

If this was originally a hardcoded CTRL-Q for exit, then this will explain the difference between Linux and Win32 i.e. it is ScummVM triggering the exit on the keystroke rather than the engine... Whether we add support in SCI for this is a judgement call for the SCI team.

comment:6 by bluegr, 8 years ago

Right. I'll check this out then. The reason why it's "working" under *nix is that the global quit shortcut is triggered there with Control-Q, so ScummVM (and not the SCI engine) is closing down

comment:7 by wjp, 8 years ago

Summary: QFG2: Title Screen quit optionSCI: QFG2: Title Screen quit option

comment:8 by bluegr, 8 years ago

Owner: set to bluegr
Resolution: wontfix
Status: newclosed

comment:9 by bluegr, 8 years ago

This can't be fixed easily. If we add support for Control-Q, then this will clash with ScummVM's Control-Q combo under *nix systems. Please use ScummVM's global quit key combos if you wish to exit immediately.

Closing this as "Won't fix".

Note: See TracTickets for help on using tickets.