KYRA: Crash when launching undefined targets
|Reported by:||salty-horse||Owned by:||lordhoto|
Using current svn. When launching scummvm with a target name that is not defined in .scummvmrc, it is searching the current directory.
The following targets crash when trying to launch: kyra2 engines/kyra/sequences_v2.cpp:55: void Kyra::KyraEngine_v2::seq_menu(): Assertion `title->opened()' failed.
fw engines/cine/texte.cpp:50: void Cine::loadTextData(const char*, byte*): Assertion `pFileHandle.isOpen()' failed.
os Same error as fw.
They should atleast check if the first file open they're trying is successful.
The following engines create an entry in the launcher and return to it when failing to launch: sword2 sword2alt sword2demo feeble simon1 simon2 ite ihnm
The agi just target just loads up an empty screen with a green mouse cursor.
In comparison, the SCUMM games handle this nicely by returning an appropriate error in detectGames() which the engine launcher catches: WARNING: ScummEngine: unable to locate game data at path '/tmp'! WARNING: Failed to instantiate engine for target puttputt!
Ticket imported from: #1532649. Ticket imported from: bugs/2765.
Change History (9)
comment:7 by , 14 years ago
|Component:||--Unset-- → Engine: Kyra|
|Game:||→ Kyrandia 1|
|Summary:||ALL: Crash when launching undefined targets → KYRA: Crash when launching undefined targets|