Shader Cache
shader.cache
file structure:
Data_entry[Footer.dataentry_count] shaders
Table_entry[Footer.tableentry_count] materials?
FooterNumber of items: Footer.dataentry_count
Data_entry:
{
u8 hash
u1 compression (only present in version > 2)
u4 size (only present in version > 2)
u4 zsize : compressed size in version > 2, entrysize in version < 3
byte[zsize] compressed_data: zlib compressed bytes
}Number of items: Footer.tableentry_count
Table_entry:
{
u4 top
u4 header1
u8 header2
u8 header3
vlq_bit6_prefixed_string name
u4 top2 : same as top1
u8 lower1
u8 lower2
byte[36] unk2
u4unkarray unk3
u4stringarray strings1
u4stringarray strings2
}Footer
Last updated
Was this helpful?