[sword-devel] HowTo: create ztext module?

Greg Hellings greg.hellings at gmail.com
Mon May 8 17:36:10 MST 2006


Lynn....

On 5/8/06, L.Allan-pbio <paraclete at bibleinverse.org> wrote:
> Thanks for the hints.
>
> I build mod2zmod.exe and wrestled with it for a while, but didn't end
> up with anything that showed up in sword.exe 1.5.8 rc1.
>
> What would the command line steps be to compress something like the
> WEB (currently rawtext)? Do you have to change the web.conf, and, if
> so, in what ways?

Short answer: Yes.  Here are two examples of the lines that need to be
added/changed, taken out of the alt.conf file for the
Analytical-Literal Translation:
ModDrv=zText
CompressType=ZIP
DataPath=./modules/texts/ztext/alt/

Clearly the last one is dependant upon the DataPath where the module
is installed, but most of the ztext modules tend to be placed under
texts/ztext.

This brings up another interesting question (in my opinion).  Why are
there several standard modules which are distributed without
compression?  Things like the the ASV, the Vulgate and the WEB are all
distributed in uncompressed format.  Might it be beneficial for us to
zip those up (especially the ASV and WEB, which I would imagine are
both popular modules?) and distribute them in a ztext format?  Are
there any advantages to having them in rawtext rather than ztext,
except for minor performance advantages?  Just curious!

--Greg

>
> Also, there is a file mod2zmod2.cpp that refers to the non-existing
> ztext.h. Do you know anything about it?
>
> Barry Drake wrote:
> > Hi Lynn .........
> >
> > L.Allan-pbio wrote:
> >> I'd appreciate a hint or two on how to create ztext modules.
> > It's really simple.  You make a plaintext module and install it as a
> > Sword module, then run the command line utility mod2zmod.  This can
> > make a compressed module either with or without a cipherkey
> > depending on
> > the parameters you pass.  Run mod2zmod without parameters to get the
> > instructions.
> >
> > God bless,
> >
> > Barry
> >
> > -- From Barry Drake (The Revd) minister of the Netherfield United
> > Reformed church, Nottingham see http://www.jesusinnetherfield.org.uk
> > for our church homepages).
> > Replies - b.drake at ntlworld.com
> >
> > _______________________________________________
> > sword-devel mailing list: sword-devel at crosswire.org
> > http://www.crosswire.org/mailman/listinfo/sword-devel
> > Instructions to unsubscribe/change your settings at above page
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>



More information about the sword-devel mailing list