<div dir="ltr">Hi John, <div><br>If you&#39;re planning to submit to crosswire for hosting, All of these questions are handled by the module maintainer at crosswire (currently Peter.) You don&#39;t really need to worry about them, other than to confirm your source does compile. You need to confirm it&#39;s clean source (the OSIS, ThML etc. has no technical flaws), and that it compiles cleanly, but the module you build is only for testing, local use. Peter (or the current maintainer) builds the module to be hosted on the server. Once you&#39;ve completed the module and it works, you submit the source material to compile a module, not a complete/compiled module.  <br><br><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">If you&#39;re planning to host a repository, then these are important concerns. Using the 4 bit flag is fine for everything, but note that if you&#39;re actually displaying 64kb of text at one time, response time on some devices gets nearly unmanageable.  More text in one chunk = more lag.</span><br><br>If you&#39;re building for personal use, plain text generally runs a bit faster and less cpu intensive (not that any computer/phone/device is going to have any visible difference these days) and the memory cost is minimal. So.. you&#39;re phone battery lasts a bit longer if you leave the module uncompressed, but you&#39;ll run out of memory more quickly. Crosswire compresses everything, mostly to keep internet bandwidth down, but there are minor copyright concerns as well. <br><br>Related to &quot;installing&quot; the module before compressing it with mod2zmod...  You need to be able to access the plain text module with diatheke (is diatheke still supported?) from the same command line you will run mod2zmod. That is, the command line needs to be able to access the module: the command line program diatheke is your testing tool to determine it does. <br><br>Regarding mod2zmod - I never made it work.. I was only successful using the compression within osis2mod. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 26, 2018 at 4:49 PM, John Dudeck <span dir="ltr">&lt;<a href="mailto:john.dudeck@sim.org" target="_blank">john.dudeck@sim.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>





<div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">In the Wiki, on the <a href="http://wiki.crosswire.org/DevTools:Modules" target="_blank">http://wiki.crosswire.org/<wbr>DevTools:Modules</a> page it gives directions for using mod2zmod for compressing 
modules.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">However osis2mod.exe has command-line switches for creating compressed modules.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">My question is: do these produce equivalent results? Which is preferred?</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">For GenBooks, is mod2zmod the only way to compress them?</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Related question re mod2zmod. When it says &quot;First you will need to install the module so that it can be accessed using the 
SWORD engine&quot;, exactly what does this mean? I am building each module in its own branch of an svn repository, and would like 
to create the compressed module in that tree. This is working fine using osis2mod. Is there a way to do the same with 
mod2zmod?</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Thanks and sorry for the newby questions.</span></font></div><span class="HOEnZb"><font color="#888888">
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">John Dudeck</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Programmer at Editions Cle                           <wbr>  Lyon, France</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt"><a href="mailto:john.dudeck@sim.org" target="_blank">john.dudeck@sim.org</a>           <wbr>                 <a href="mailto:john@editionscle.com" target="_blank">john@editionscle.com</a></span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">--</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">Sign in Swiss restaurant:</span></font></div>
<div align="left"><font face="Arial" size="2"><span style="font-size:10pt">&quot;Our wines leave you nothing to hope for.&quot;</span></font></div>
<div align="left">  </div>
</font></span></div>


<br>______________________________<wbr>_________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/<wbr>mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br></blockquote></div><br></div>