Tag Archive: ZLib

Jun
23
2012

Thread-Safe Random Access to Zip Archives

Flow chart illustrating the logic employed by my ZLib extraction cache
Many games choose to store their resources in packages instead of shipping the potentially thousands of individual files directly. This is sometimes an attempt at tamper-proofing, but mostly it is about performance. Try copying a thousand 1 KiB files from one drive to another, then copy a single 1 MiB file on the same way …

Continue reading »

Social Widgets powered by AB-WebLog.com.