Perl scripts to convert e-Sword 9 bblx and cmtx modules to mysword
#91
Posted 30 September 2014 - 12:49 AM
can you please give an example?
Thanks
#92
Posted 05 January 2015 - 09:27 AM
#93
Posted 04 February 2015 - 09:44 PM
Hi,
Thanks for the script.... However I couldn´t run it sucessfully...
I got a e-sword 10.4.0 in Spanish.
I did the process you say but I don´t get a cero error log.
Below the log of the process..
Please can you helpme... NBJ stands for New Jerusalen Bible (its an spanish catholic bible)
Thanks for your time...
Regards
Edwin
[root@ipbx esw2mysw-16293]#
[root@ipbx esw2mysw-16293]# ./esbblx2mys.pl NBJ.bblx
RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF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_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 RTF_ERR_0,0,0 closing dbh with active statement handles at ./esbblx2mys.pl line 110.
Gen 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
Exo 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Lev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
Num 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
Deu 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
Jos 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Jdg 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Rth 1 2 3 4
1Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
2Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
1Ki 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
2Ki 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
1Ch 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
2Ch 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
Ezr 1 2 3 4 5 6 7 8 9 10
Neh 1 2 3 4 5 6 7 8 9 10 11 12 13
Est 1 2 3 4 5 6 7 8 9 10
Job 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
Psa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
Pro 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Ecc 1 2 3 4 5 6 7 8 9 10 11 12
Son 1 2 3 4 5 6 7 8
Isa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
Jer 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
Lam 1 2 3 4 5
Eze 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
Dan 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Hos 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Joe 1 2 3
Amo 1 2 3 4 5 6 7 8 9
Oba 1
Jon 1 2 3 4
Mic 1 2 3 4 5 6 7
Nah 1 2 3
Hab 1 2 3
Zep 1 2 3
Hag 1 2
Zec 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Mal 1 2 3 4
Mat 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Mar 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Luk 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Joh 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Act 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Rom 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
1Co 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
2Co 1 2 3 4 5 6 7 8 9 10 11 12 13
Gal 1 2 3 4 5 6
Eph 1 2 3 4 5 6
Phi 1 2 3 4
Col 1 2 3 4
1Th 1 2 3 4 5
2Th 1 2 3
1Ti 1 2 3 4 5 6
2Ti 1 2 3 4
*** 1 2 3
Phm 1
Heb 1 2 3 4 5 6 7 8 9 10 11 12 13
Jam 1 2 3 4 5
1Pe 1 2 3 4 5
2Pe 1 2 3
1Jo 1 2 3 4 5
2Jo 1
3Jo 1
Jud 1
Rev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
UNK 1 2 3 4 5 6 7 8 9 10 11 12 13 14
UNK 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
UNK 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
UNK 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
UNK 1 2 3 4 5 6
UNK 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
UNK 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15DBI::db=HASH(0x15c4c390)->disconnect invalidates 1 active statement handle (either destroy statement handles or call finish on them before disconnecting) at ./esbblx2mys.pl line 133.
closing dbh with active statement handles at ./esbblx2mys.pl line 133.
Finished NBJ.bbl.mybible
[root@ipbx esw2mysw-16293]#
#94
Posted 07 March 2015 - 11:17 PM
Any word on a script for the e-Sword 10 modules?
#95
Posted 08 March 2015 - 08:57 PM
This script doesn't work with e-Sword 10 files, it should be noted. Thanks.
#96
Posted 09 March 2015 - 09:24 AM
This script doesn't work with e-Sword 10 files, it should be noted. Thanks.
The script is intended for CMTX and BBLX files. CMTX and BBLX files for e-sword 9.x are the same as e-Sword 10.x.
The script won't work with premium modules sold by e-Sword, though.
#97
Posted 12 April 2015 - 05:13 AM
download The script link
#98
Posted 09 April 2016 - 08:17 AM
Thanks. This worked for me for a couple of interlinear bblx files I found burried away! Renewing an interest in eSword again!
#99
Posted 26 February 2019 - 01:13 PM
I have written two simple perl scripts to convert unencrypted e-Sword 9 bible and commentary modules to MySword. Besides perl, the script requires the DBI and DBD::SQLite perl modules. Unzip the perl scripts into the directory with the ".bblx" or ".cmtx" files that you wish to convert.
If you run any major Linux distribution, you already have perl on board. To test if you have the modules installed, issue the command "perl -e 'use DBI; use DBD::SQLite;'" (the single quotes are part of the command, the double quotes ae not). If you get an error, indicating that a module is missing from @INC, you need to install the modules. On Debian or a derivative distribution (like Ubuntu), use the command "apt-get install libdbd-sqlite3-perl". On Fedora and RedHat derivatives, the command is "yum install perl-DBD-SQLite" (on RHEL, CentOS or Scientific Linux you may want to include the "rpmforge" repository).
If you run Windows, this script can be used with Strawberry Perl. I advise you to download the portable executable, because that doesn't need installation. Just unpack the distribution somewhere, run the "portableshell.bat" batch file and you have a DOS box where you're good to go (see screen dump).
Change to the directory where you have the perl scripts and bible/commentary files and execute "perl esbblx2mys.pl <bible file>" or "perl escmtx2mys.pl <commentary file>" This will create a MySword file in the same directory. Repeat as needed.
Some things to consider:
- The MySword names are based on the bible abbreviations. If you have a file named "king_james.bblx" that uses the abbreviation "KJV", the MySword file becomes "KJV.bbl.mybible".
- In e-Sword, commentary files can cross chapters, in MySword they cannot. If you have a ".cmtx" file that has a companion ".bblx", have the ".bblx" present in the same directory as the commentary file with the same name except for the ".bblx" extension i.o. ".cmtx". This will be used to find the last verse number of the chapter. If the bible file is not present, the current verse is used, followed by the range in the next chapter.
- If in a bible file, we encounter green superscript numbers, possibly preceded by a "G" or "H", it is considered to be a Strong's dictionary reference and it is encoded as such in the MySword bible file.
- If in a bible file, we encounter red superscript text (like in the NET bible), we consider it a commentary reference and it will be encoded as such. This will reference a commentary module with the same abbreviation as the bible. If the reference text includes a chapter and verse, that is the place where the reference will point to in the commentary module. Else, it will point to the current verse.
Drop me a note if you have a question or if you notice some markup that I missed. In the latter case I might require you to send me your module file so I can see what the markup looks like in the original.
Regards,
Rob
P.S., as my handle implies, I am actually an atheist with an interest in the bible. Please refrain from proselytizing. Let's just agree to disagree on the question of the existence of gods.
Edited to add 2012-08-29: I modified the bible conversion script to better handle UTF characters and RTF tags. If you find a bug, please send me a PM. Thanks to user ebulerdo for thr references to the RTF tags that are being used. If I have some spare time I will also edit the comment conversion script.
Edited to add 2014-08-08: I modified the bible conversion script slightly to better handle nested RTF tags and to do more in memory so it runs faster.
Edited to add 2014-08-11: The commentary conversion script has been modified to fix the same issues as the bible conversion script. Created a single zip file with both scripts.
Hi Rob,
I know it's been a very old post. But the link of the scripts have expired. Any chance you may email me the 2 scripts to my mailbox: xyan043@gmail.com?
I am trying to convert Chichewa NT bblx module into MySword for both preaching and teaching. This will greatly leverage my Chichewa ability. Sorry but there's not much resource for Chichewa learning...
Blessings,
Steven
#100
Posted 26 February 2019 - 01:38 PM
Hi Rob,
I know it's been a very old post. But the link of the scripts have expired. Any chance you may email me the 2 scripts to my mailbox: xyan043@gmail.com?
I am trying to convert Chichewa NT bblx module into MySword for both preaching and teaching. This will greatly leverage my Chichewa ability. Sorry but there's not much resource for Chichewa learning...
Blessings,
Steven
You need to download a program called Simple Bible Reader which can read and convert modules including converting e-Sword modules to Mysword sword modules
The program can be downloaded from the following link:
https://trumpet-call...e-bible-reader/
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users
Similar Topics
Creating Bible Modules with Strong's NumbersStarted by Guest_Tj Higgins_* , 24 Jan 2024 |
What Modules do you want for e-SwordStarted by Guest_patchworkid_* , 16 Jun 2011 |
bblx filesStarted by Guest_sparkydan1941_* , 03 Apr 2018 |
Where to put modules on a Family ComputerStarted by Guest_SpiritualMadMan_* , 05 Oct 2023 |
Is Every in Copyright Resource Been Given Permission for Use or Are Some Modules Not LegalStarted by Guest_PeterKH_* , 30 Dec 2023 |
Frequently Asked Questions
Latest Blogs
- 10 justifications for Bible reading
by SarahSherrill, Jun 27 2022 02:53 AM
According to the experts from Astros DigitalHere are ten reaso... - How can I fix the Cash App if it isn't Working?
by cashcardhelps, Jun 07 2022 01:12 AM
First, you must keep the app up to date with the most recent v... - How can an app benefit your pharmacy in growing business earnings
by Alteza, Jun 06 2022 03:14 AM
Apps comprise a large portion of the tech-driven society that... - What Is a Satire Essay Anyway?
by Caleb9, Jun 04 2022 08:22 AM
What Is a Satire Essay Anyway?A large number of professional w... - 25% OFF on Mauli Thread Rakhi Online for Brother
by giftsvalla, Jun 03 2022 02:02 AM
Mauli Rakhi are generally red. The red colour symbolizes stren...