#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)
Change History (5)
by , 22 years ago
Attachment: | v2_res_patch.zip added |
---|
comment:1 by , 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 , 22 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
Component: | → Engine: SCUMM |
---|
Archive with the diff files (and the new one)