FSH and QFS compression functions.
File formats used by <a href="https://www.wiki.sc4devotion.com/index.php?title=SimCity_4">SimCity 4</a>, The Sims 2, Spore, etc.
Determines whether V is a valid DBPF version number.
Determines whether V is a valid DBPF Index table version number.
Determines whether DBPF and V` are valid DBPF and Index table versions.
Files fill the bulk of a DBPF archive.
Occurs before File.contents only if the File is compressed.
A Hole Table contains the location and size of all holes in a DBPF file. Remarks: Holes are created when the game deletes something from a DBPF. The holes themselves are simply junk data of the appropriate length to fill the hole.
Index Tables list the contents of a DBPF package. Remarks: The index table is very similar to the directory file (<a href="https://www.wiki.sc4devotion.com/index.php?title=DIR">DIR</a>) within a DPBF package. The difference being that the Index Table lists every file in the package, whereas the directory file only lists the compressed files within the package. <a href="https://www.wiki.sc4devotion.com/index.php?title=Reader">Reader</a> presents a directory file that is a mashup of these two entities, listing every file in the package, as well as indicating whether or not that particular file is compressed.
Remarks: For DBPF version specifiers:
For DBPF Index table version specifiers:
Copyright © 2024 Chance Snow. All rights reserved.
MIT License
Read and write Database Packed File (DBPF) archives.