This really only affects DoW 2, DoW 3, and Age of Empires 4, which contain large archives.
Opening these archives are slow, and cumbersome for doing 'peek' operations on archives, such as listing the file hierarchy, which only requires reading the Table of Contents, which is already being done.
Currently, SGA-Core V1.0.0 read the entire file and assembles the virtual file system in memory.
Lazily reading the file would be the preferred solution, which would seek to the underlying file handle. Perhaps memory-mapping the file to avoid random/constant seeks?
This really only affects DoW 2, DoW 3, and Age of Empires 4, which contain large archives.
Opening these archives are slow, and cumbersome for doing 'peek' operations on archives, such as listing the file hierarchy, which only requires reading the Table of Contents, which is already being done.
Currently, SGA-Core V1.0.0 read the entire file and assembles the virtual file system in memory.
Lazily reading the file would be the preferred solution, which would seek to the underlying file handle. Perhaps memory-mapping the file to avoid random/constant seeks?