[sword-devel] NET Bible

Joachim Ansorg junkmail at joachim.ansorgs.de
Mon Apr 25 05:46:05 MST 2005


> Also, you mentioned you wanted to compress the module intl a zmod.  At
> the present time, locked (encrypted) modules can't be compressed, and
> you're going to want to lock the commentary module using the cipherraw
> utility.

It's not right that encrypted modules can't be compressed.
mod2zmod is the util to compress a module. The output of mod2zmod says:

usage: mod2zmod <modname> <datapath> [blockType [compressType [cipherKey]]]

datapath: the directory in which to write the zModule
blockType  : (default 4)
        2 - verses
        3 - chapters
        4 - books
compressType: (default 1):
        1 - LZSS
        2 - Zip

So the command to compress a rawtext, not encrypted module called "NETraw" 
into a compressed "NET" module is:

	mod2zmod NETraw modules/texts/ztext/net/ 4 2 cipherkey

This outputs the compressed module into the subfolder modules/texts/ztext of 
the working directory.
The config file of the compressed modules needs to contain


Replace cipherkey by the password for the locked module.

<>< Re: deemed!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.crosswire.org/pipermail/sword-devel/attachments/20050425/4cf51877/attachment.bin

More information about the sword-devel mailing list