[sword-devel] How to make new module

Jerry Hastings sword-devel@crosswire.org
Tue, 29 Aug 2000 10:28:35 -0700


Troy, I wrote a small program to browse the NT VSS files and the BKS and 
CPS files. It shows how records in BKS point to records in CPS that point 
to records in VSS that point to text in NT, and displays ten verses from NT 
with the selected verse in color. I was wanting to look at the data in 
these indexes to see what you were using and if there were any 
surprises.  (Why does CPS start with a value of 4 when VSS has 6 byte 
records?) Unfortunately, I wrote it in a learning edition of VB and I can 
not compile it. But if anyone wants the files to compile, I can post them.

Jerry

At 07:43 PM 8/28/2000 -0700, Troy A. Griffitts wrote:
>Petr,
>
>To make your life (and hopefully others') easier, I've produced a new
>utility: sword/utilities/mod2vpl.cpp
>This tool will export a verse module one verse per line (vpl).  I will
>work on writing a vpl2mod.cpp to import this same format.  For now, you
>can run this utility on an existing module and > output to a file.  Then
>do a wc on this file and your file and be sure that there are the exact
>same number of lines in both files.