mvnForum Homepage


Posted by DavidStrickland at Aug 23, 2010 6:09:02 AM
Re: What is the internal structure of a module?
The first part of the internal structure is found in the Config file in the mods.d directory.
The structure of this file is documented in http://www.crosswire.org/wiki/DevTools:confFiles.

Some details from that documentation

There are currently 11 different possible formats for the contents of a module.

RawText, zText, RawCom, RawCom4, zCom, HREFCom, RawFiles, RawLD, RawLD4, zLD, RawGenBook

3 are used the most. These are the compressed formats. zText, zCom, and zLD. These are compressed using ZIP or LZSS. Zip is the ZLib library created by Jean-loup Gailly and Mark Adler is used to compress and decompress most content. LZSS is all but obsolete.