pub fn calculate_crc(path: &[u8]) -> CRC
Expand description

Calculate the Cyclic-Redundancy-Check for a file path

The game uses CRC-32/MPEG-2, transforms all letters to lowercase, replaces slashes with backslashes and appends 4 NULL bytes.