A WAC file contains the table of contents for assets stored in the game's WAL file. They are only used in Sly Cooper and the Thievius Raccoonus.
Data structure[]
The WAC contains an entry for each file stored in the associated WAL file. Each entry uses the following structure:
struct WAC { uint32_t size; char name[23]; char type; uint32_t sector; // sector (2048 bytes) offset in the WAL };
File types[]
The WAC assigns one of five different categories to each file in the WAL. These types are as follows:
Type | Description |
---|---|
A | Audio (VAG) |
D | Dialogue (VAG) |
E | Sound Effects |
M | Music (VAG) |
W | Level Data |