Opened 22 years ago

Closed 22 years ago

Last modified 6 years ago

#8027 closed patch

Locating and loading V2 resources

Reported by: SF/flix76 Owned by: fingolfin
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game:

Description

This patch allows scummvm to locate and to load V2 resources (rooms, costumes, scripts and sounds), specified in non-blocked 00.LFL files. Indexing V2 resources is almost straightforward. The biggest part of code to implement differently is the method readIndexFile() of the appropriate scumm class. For that, a new class named Scumm_v2 has been added. For the other necessary but minor changes, the flag GIF_OLD_BUNDLE is used to test whether the current game is V1/V2 or not. I don't know, maybe there's a better flag for that.

The diff files refer to the files that I found this morning (08-28-2002) in the scummvm-new module of the CVS repository. resource_v2.cpp is a new file with the implementation of readIndexFile() for V2 games.

Ticket imported from: #601560. Ticket imported from: patches/132.

Attachments (2)

v2_res_patch.zip (4.5 KB ) - added by SF/flix76 22 years ago.
Archive with the diff files (and the new one)
resv2.tar.gz (2.7 KB ) - added by fingolfin 22 years ago.
Cleaned up patch

Download all attachments as: .zip

Change History (5)

by SF/flix76, 22 years ago

Attachment: v2_res_patch.zip added

Archive with the diff files (and the new one)

by fingolfin, 22 years ago

Attachment: resv2.tar.gz added

Cleaned up patch

comment:1 by fingolfin, 22 years ago

I cleaned the patch up a bit, regarding tabs/spaces and comments. Also it's much easier for us if the patch is only one big file.

comment:2 by fingolfin, 22 years ago

Owner: set to fingolfin
Status: newclosed

comment:3 by digitall, 6 years ago

Component: Engine: SCUMM
Note: See TracTickets for help on using tickets.