Opened 21 years ago

Closed 21 years ago

Last modified 5 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:


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) (4.5 KB ) - added by SF/flix76 21 years ago.
Archive with the diff files (and the new one)
resv2.tar.gz (2.7 KB ) - added by fingolfin 21 years ago.
Cleaned up patch

Download all attachments as: .zip

Change History (5)

by SF/flix76, 21 years ago

Attachment: added

Archive with the diff files (and the new one)

by fingolfin, 21 years ago

Attachment: resv2.tar.gz added

Cleaned up patch

comment:1 by fingolfin, 21 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, 21 years ago

Owner: set to fingolfin
Status: newclosed

comment:3 by digitall, 5 years ago

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