Difference between revisions of "ZIM file format"

Jump to navigation Jump to search
337 bytes added ,  08:35, 24 August 2024
→‎Split ZIM files: Give more precision of where and how the ZIM archives should be chunked.
m (Minor typos)
(→‎Split ZIM files: Give more precision of where and how the ZIM archives should be chunked.)
Line 337: Line 337:
All lengths are bytes.
All lengths are bytes.


== Split ZIM files ==
== Split ZIM archives in chunks ==
ZIM archives can be split in multiple files. This is necessary to be able to store big (over 4GB for example) ZIM archives to limited file systems (like FAT32). That said, the files can be of any size, but the naming is really important. The ZIM files should be named like following (the file name extensions matter): ''foobar.zimaa, foobar.zimab, foobar.zimac''...
ZIM archives can be split in multiple chunk files. This is necessary to be able to store big (over 4GB for example) ZIM archives in file systems with single file size restrictions (like FAT32). The size of each ZIM file chunk can be "choosen" but the ZIM archives can't be cut anywhere. ZIM archives have to be cut between [[#Clusters|cluster]]s. In addition, the naming of ZIM archive chunks is really important: they should be named like following (the file name extensions matter): ''foobar.zimaa, foobar.zimab, foobar.zimac''. To perform this splitting operation easily, you can rely on the ''zimsplit'' command line tool (part of the [https://github.com/openzim/zim-tools ZIM tools]).


== Other ==
== Other ==

Navigation menu