Yes, I can partially unzip the file, but the only thing is some people like to keep the original zip in tact, so partially unzipping would be useless, as there's no way to tell if the first item is the rom or not... I could have it check, but it would still have to unzip to the point to where it finds the rom. No worries, doing the full unzip to identify the games should be fine
It's pretty quick to unzip anyways.
You may not need to decompress anything.
Take a look at the zip archive specification.
http://www.pkware.com/documents/casestudies/APPNOTE.TXT
The overall zip archive format is as such:
Code:
 Â[local file header 1]
 Â[file data 1]
 Â[data descriptor 1]
 Â.
 Â.
 Â.
 Â[local file header n]
 Â[file data n]
 Â[data descriptor n]
 Â[archive decryption header]
 Â[archive extra data record]
 Â[central directory]
 Â[zip64 end of central directory record]
 Â[zip64 end of central directory locator]
 Â[end of central directory record]
Each file compressed within a zip archive has a header and a descriptor that encapsulate the compressed data.
Here's the header info.
CODE    Âlocal file header signature   4 bytes Â(0x04034b50)
   Âversion needed to extract    2 bytes
   Âgeneral purpose bit flag    Â2 bytes
   Âcompression method       Â2 bytes
   Âlast mod file time       Â2 bytes
   Âlast mod file date       Â2 bytes
   Âcrc-32             Â4 bytes
   Âcompressed size         4 bytes
   Âuncompressed size        4 bytes
   Âfile name length        Â2 bytes
   Âextra field length       Â2 bytes
   Âfile name (variable size)
   Âextra field (variable size)