User talk:Zarevak/GLM

I haven't been through all the flies yet, but so what I've checked so far matches the following:


 * "Normal" files have flags = 0, size = size2
 * FXC and SHC files have flags = 1, size < size2
 * The same size2 values come in groups (4-5 seems common)
 * The file names match these groups
 * The related size values are close, but not identical

I haven't been able to find a format spec for .fxc, but from what I've read they're candidates for pregeneration to account for different variable combinations, as the shader doesn't allow dynamic branching. No idea about .shc.

With variable substitution there would be several same-size files with minor differences, which would lead to slighly different sizes when compressed. This matches the patterns seen for .fxc files, so the compression hypothesis seems good.

- Dashiva 02:14, 7 November 2007 (UTC)