Zipped modules

From CrossWire Bible Society
Revision as of 01:56, 18 August 2015 by Dmsmith (talk | contribs) (updated to use the -D flag)

Jump to: navigation, search

Some of the smaller devices running a sword front-end might not not have a network enabled module manager or network use might be slow and expensive. Users of these devices need to download their modules as zipped files and unzip them in the right place - e.g. a SD card.

JSword front-ends also require (for the moment at least) having zipped modules available.

It is also helpful for people who have no direct access to the Internet or who live in countries with monitored access to the Internet to be able to download (and possibly distribute) zipped modules. This is a zipped archive of a module in the file and directory layout used in the local module directory.

To create a zipped module of an uncompressed GenBook do this:

cd ~ftp/pub/sword
zip -r -D zip/mybook.zip mods.d/mybook.conf modules/genbook/rawgenbooks/mybook

-r finds all files under the specified directory
-D only include files in the zip

xulsword

A new Windows file extension has been allocated for xulsword zipped modules, such that drag & drop of a file with extension .xsm installs the module automatically. xulsword was developed for countries with monitored Internet access very much in mind. At present, this feature is used only for the newer modules (version 3.0) that are fully compatible with SWORD. See also Module Repositories#Institute_for_Bible_Translation.