#14076 closed defect (fixed)

SCI: PQ2: Crash "[VM] Trying to instantiate class 6 by ..." on room change

Reported by: ahnurmi Owned by: sluicebox
Priority: normal Component: Engine: SCI
Version: Keywords:
Cc: Game: Police Quest 2

Description

I have a save game (attached) that's stuck. If I load it and walk up north, the ScummVM debug console pops up with the message:

ERROR: [VM]: Trying to instantiate class 6 by instantiating script 0x3e7 (999) failed!

I got the same message two times earlier in different locations: first time when trying to exit the plane, second time when trying to enter the park. But whenever I loaded a previous save game and tried to reproduce, the game managed to continue. But not this time, this time it always reproduces and the game is stuck.

The game was played and saved using ScummVM 2.6.1 on MacOS 12.2 (Apple M1).

PQ2 (DOS / English) resource file hashes are:

MD5 (RESOURCE.001) = 0d7e7661bde326a1356de0567c97674c
MD5 (RESOURCE.002) = 32258061b71ec39b28017580d0d69407
MD5 (RESOURCE.003) = 0d2e9afa5742b90c2c0a4f341f136a8a
MD5 (RESOURCE.004) = ad5ca93382405fa05010d27abb738368
MD5 (RESOURCE.005) = 73a7f2d6b8d1fa9ec2c4fd3a59f00c1e
MD5 (RESOURCE.006) = 2bf55982212ed596e2fe638f3c6b79bf

Attachments (1)

pq2.049 (35.9 KB ) - added by ahnurmi 22 months ago.

Download all attachments as: .zip

Change History (3)

by ahnurmi, 22 months ago

Attachment: pq2.049 added

comment:1 by ahnurmi, 22 months ago

Summary: AGI: PQ2: Crash "[VM] Trying to instantiate class 6 by ..." on room changeSCI: PQ2: Crash "[VM] Trying to instantiate class 6 by ..." on room change

comment:2 by sluicebox, 22 months ago

Owner: set to sluicebox
Resolution: fixed
Status: newclosed

Hello! Thanks for reporting this. This bug was fixed several months ago. You can download the latest development builds from: https://buildbot.scummvm.org/#/dailybuilds

I confirmed that your save works in the latest version.

Fixed in: https://github.com/scummvm/scummvm/commit/2fbeecab23f41eaace8ea26e9021022aa2d08cf1

Note: See TracTickets for help on using tickets.