Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 11:46
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
e-Sword bible software installation
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 8 Posts_count   Goto page: 1, 2, 3, ..., 6, 7, 8 Next
Author Message
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Sat 06 Mar 2010, 23:12    Post_subject:  e-Sword bible software installation
Sub_title: How to install e-Sword to run under Wine on Puppy (updated 9 Mar 2012)
 

Rick Meyers, developer wrote:
e-Sword is a fast and effective way to study the Bible. e-Sword is feature rich and user friendly with more capabilities than you would expect in a free software package. The fact that e-Sword is free is just one of the blessings and does not speak of the quality of the software. I make my living writing software and I believe I have put forth my best effort in this endeavor. The real work, however, was put in by the godly men and women who devoted countless years creating the texts that have been made available for our benefit.
In His service,
Rick Meyers


Note: The following steps may be unnecessary if you are using the latest Wine for Puppy and the latest e-Sword since there have been significant improvements in both and they now work well together. See post on page 8 for updated procedures.

The following steps should result in a successful e-Sword installation using puppy 431 and the latest wine .pet . It has also been successfully tested on Puppy 432, dpup-484, and the latest Puppy Lucid, Lighthouse, Wary and Quirky. Amazingly, e-Sword on my hardware is quicker and more responsive under Wine than it is under it's native windows.

1. Download from green_dome's latest wine-1.4-rc5 which works great.

2. Download e-Sword installation files, setup972.exe plus any other desired modules. Unfortunately this link now just downloads the latest e-Sword and is no longer active to download modules, see EDIT below.

3. Before installation, two missing files, needed by e-Sword,MFC42.DLL and msls31.dll must be located and copied to /root/.wine "C:\\windows\\system32\", otherwise the installation file will not work properly.

4. Next in order for the graphics to work properly, use Wine configuration (in console winecfg) to set riched20.dll and oleaut32.dll to native. Press the Libraries tab > type riched20.dll > press add > press edit > choose Native (windows). Do the same for oleaut32.dll.

NOTE1: Known problem, the e-Sword Graphics Viewer may not work with wine versions higher than 1.1.40-i486.pet.

NOTE2: For the e-Sword Graphics Viewer to work with wine versions higher than 1.1.40-i486.pet, the above dlls may need to be set to (Native then builtin), otherwise e-Sword may not start. Also, to see the graphic, you may need to select Print Preview in the Graphics viewer, next, close the Print Preview, then click on the Fit Width button.

5. Install setup972.exe by double clicking on the file. Install the additional modules that were downloaded ie. clarke.exe, isv.exe, asv.exe, smith.exe, and spurgeons.exe by double clicking on the files.

6. The next step is to place the e-Sword.desktop in the proper location so that it will show up in the menu correctly. The setup972.exe file places e-Sword.desktop in /root/Desktop and /root/.wine/drive_c/users/Desktop, but it fails on some distributions. Just click on the e-Sword.desktop to start the program. However, in order for e-Sword to display properly in the menu, e-Sword.desktop must be placed in /usr/share/applications and edited in order for it to show up in a proper category.

a. Goto /root/Desktop and copy the file e-Sword.desktop to /usr/share/applications. Note: Some pups won't have the /root/desktop directory, if so, step 7 should work.

b. Open /usr/share/applications/e-Sword.desktop in an editor and add the following code Categories=WordProcessor which will allow e-Sword to show up in the Document menu. If you want it to show up on your desktop, also copy your corrected e-Sword.desktop file to the desktop.

c. Execute the code fixmenus in a console.

d. Restart X, then e-Sword should show up as a menu item in the Document menu. Click on it and e-Sword should start.

7. If e-Sword doesn't start in step 6, or the e-Sword.desktop file was not located, try the following:

a. Execute the code env WINEPREFIX="/root/.wine" wine "C:\\Program Files\\e-Sword\\e-Sword.exe" in a console. E-sword should start and now all that's needed is a proper e-Sword.desktop file.

b. Use Pfind or other search tool to locate e-Sword.desktop and place it in /usr/share/applications and edit it as in step 6 above. Or you can open an editor, insert the following code and save it in /usr/share/applications.

Code:
Name=e-Sword
Icon=/usr/share/pixmaps/esword.png
Comment=Bible study
Exec=env WINEPREFIX=/root/.wine wine "C:\Program Files\e-Sword\e-Sword.exe"
Terminal=false
Type=Application
Categories=WordProcessor
GenericName=e-Sword

Locate the icon with Pfind or other search tool, and place it in /usr/share/pixmaps, otherwise correct the above code to reflect the correct icon location.

8. Another helpful addition is to create an executable file and place it in usr/bin. To do this, prepare a text file named esword.sh containing the code env WINEPREFIX=/root/.wine wine "C:\Program Files\e-Sword\e-Sword.exe", make sure that it is executable by checking properties and changing it to executable. This will allow you to start e-Sword from a console easily, or to add it to the Favorites menu in pups such as Stardust and Puppy 4.4CE or to add it to wbar if your pup has wbar.

NOTE:
It is important, after a successful installation, to make a backup of it. Just copy root/.wine to mnt/home. Another alternative approach is to move root/.wine to mnt/home and then copy a link to root/. This keeps the wine programs out of the save file (less danger of corruption) and provides the flexibility to use it with different pups. I still place the other needed files in /usr/bin and /usr/share/applications and /usr/share/pixmaps, of course they could be moved to an e-Sword directory in mnt/home and linked back to the proper locations. Also, you need to make backup copies of files that you added: /usr/bin/esword.sh. /usr/share/applications/e-Sword.desktop and/usr/share/pixmaps/esword.png since these will also be needed for new installations.

Also, in a new installation of another pup, all you will need to do is install Wine, then delete root/.wine and add a link to your /mnt/home/.wine. Then copy or link to /usr/bin/esword.sh, /usr/share/applications, /e-Sword.desktop, and/usr/share/pixmaps/esword.png.

These procedures are an adaptation of manual procedures developed by david_kt for Ubuntu. Thank you David.

EDIT (Jan 2011):
Jim1911 wrote:
There is a new e-Sword update, e-Sword v9.8.2 application installation. Unfortunately, Rick Meyer, developer of e-Sword, has changed his site and now the only way to download modules is by using a new Module Downloader that is a main feature of the latest 9.8 version. See attachment.

The Module Downloader is a great feature for Windows users because it shows what you have installed and enables downloads, but it does not work under Linux.

The good news is that you can update to e-Sword v9.8.2 by downloading setup982.exe with your browser and click on it. Except for the downloading feature, it works great.

I have asked Rick to restore browser access to the download area as it was prior to 9.8 so that Linux users can still get new modules and updates.
Rick responded that I need to roll back to version 9.7.2. This does not work for new users because the e-Sword web site links only to latest version.

However, although there are no download links, I discovered that a browser can still be used to access the web site download areas for new modules or updates by entering a complete link for the download as follows: Note: These links are no longer active.
Bibles- www.e-sword.net/bibles.html
Commentaries - www.e-sword.net/commentaries.html
Dictionaries - www.e-sword.net/dictionaries.html
Devotions - www.e-sword.net/devotions.html
Graphics - www.e-sword.net/graphics.html
Extras - www.e-sword.net/extras.html
esword.pet
Description  This pet places the files in appropriate directories so that program starts properly
pet

 Download 
Filename  esword.pet 
Filesize  5.36 KB 
Downloaded  398 Time(s) 
ModuleDownloader.jpg
Description 
jpg

 Download 
Filename  ModuleDownloader.jpg 
Filesize  137.46 KB 
Downloaded  497 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
bones01

Joined: 11 Aug 2008
Posts: 371
Location: Melbourne, Aus

PostPosted: Tue 09 Mar 2010, 22:31    Post_subject: It actually works  

Last time I tried to install e-Sword it took ages and many attempts. Tried to follow your instructions carefully and it all worked. Even download and installing worked first time.

Thanks for the warning about the missing dll.

Just a couple of notes though. You wrote
"a. Goto /root/Desktop and copy the file e-Sword.desktop to /usr/share/applications."
I don't have /root/Desktop so needed to run pFind to find it. No problem there.

"b. Open /usr/share/e-Sword.desktop in an editor and add the following code Categories=WordProcessor which will allow e-Sword to show up in the Document menu. If you want it to show up on your desktop, also copy your corrected e-Sword.desktop file to the desktop."

did you mean /usr/share/applications/e.Sword.desktop? That worked for me.

Thanks again for putting this on the forum. Glad I found it even though I wasn't looking for it.

Bones

_________________
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again)
Precise Puppy 5.4 live DVD
Back to top
View user's profile Send_private_message 
Frank Cox

Joined: 01 Nov 2009
Posts: 381

PostPosted: Wed 10 Mar 2010, 02:37    Post_subject: Menus  

Hi Jim:

I appreciate your help.
I have had no luck getting the menu to work but I never use it anyway.
I installed E-sword Ubuntu on 2 different machines. One with your method and one with the installer. The graphics work on the one with the installer.
That does not prove the installer made the difference but it is the only test I have.
Do you know where I can get drivers for Nvidia cards?
Back to top
View user's profile Send_private_message 
bones01

Joined: 11 Aug 2008
Posts: 371
Location: Melbourne, Aus

PostPosted: Wed 10 Mar 2010, 07:18    Post_subject: Graphics  

You might be onto something frank. My excitement has lessened a little after trying to view some maps and timeline.

Any idea why this might happen?

_________________
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again)
Precise Puppy 5.4 live DVD
Back to top
View user's profile Send_private_message 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Wed 10 Mar 2010, 12:58    Post_subject:  

Frank and bones01,

Thanks for the feedback. An oversite, although installed, I hadn't checked the graphics since everything else was working so good.

Discovered that another dll msls31.dll is needed. Locate it and copy it to /root/.wine "C:\\windows\\system32\"

Next, in winecfg set riched20.dll and oleaut32.dll to native. Using Wine configuration (in console winecfg)Press the Libraries tab > type riched20.dll > press add > press edit > choose Native (windows).
Do the same for oleaut32.dll. This should solve the graphics problem.

Above has been added to original post.

Thanks,
Jim
Back to top
View user's profile Send_private_message 
Frank Cox

Joined: 01 Nov 2009
Posts: 381

PostPosted: Wed 10 Mar 2010, 23:57    Post_subject: Success!  

Thanks Jim!

I read that on the Ubuntu forum , I don't know why I didn't do it.
Everything is perfect save the Paste into Topic Notes and the menu listing but I can live with that. I had convinced myself it does not makes sense to use the maps because they take up so much room and I can download similar ones but the truth is I like them.

There is probably another lib or dll that needs to be added to make Paste into Topic Notes work. It is no big deal but it does but a blemish on an otherwise perfect install.
Back to top
View user's profile Send_private_message 
bones01

Joined: 11 Aug 2008
Posts: 371
Location: Melbourne, Aus

PostPosted: Sat 13 Mar 2010, 06:14    Post_subject:  

Thanks Jim,

Will give it a try next week when I get a chance.

Bones

_________________
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again)
Precise Puppy 5.4 live DVD
Back to top
View user's profile Send_private_message 
tazoc


Joined: 11 Dec 2006
Posts: 1157
Location: Lower Columbia Basin WA US

PostPosted: Sat 13 Mar 2010, 14:07    Post_subject:  

Hi Jim,
I found that in Lighthouse at least, reversing the order in Step 3 works better. When I copied the files first, the rest of system32 was empty and wine seemed to stop working. So in my frugal install I deleted '/initrd/pup_rw/root/.wine', (this restores Wine to defaults), rebooted and then opened wincfg right off and did the second part of step 3--the overrides for oleaut32 and riched20, closed wincfg and then the first part--copied mfc42.dll and msls31.dll into /root/.wine/drive_c/windows/system32/.

The second problem I had was not ensuring enough freespace in my pupsave. The install quit about half through when I had less than 100M freespace. So I 'restored Wine' as above, resized my pupsave an extra 64M, rebooted and then e-Sword installed using the above change to Step 3 without a hitch.
[Edit: my initial post referred to Step 2, changed to Step 3.]
-TazOC

_________________
lhpup.org Lighthouse 64 6.02

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Sat 13 Mar 2010, 17:08    Post_subject:  

tazoc wrote:
I found that in Lighthouse at least, reversing the order in Step 2 works better. When I copied the files first, the rest of system32 was empty and wine seemed to stop working. So in my frugal install I deleted '/initrd/pup_rw/root/.wine', (this restores Wine to defaults), rebooted and then opened wincfg right off and did the second part of step 2--the overrides for oleaut32 and riched20, closed wincfg and then the first part--copied mfc42.dll and msls31.dll into /root/.wine/drive_c/windows/system32/.
I believe that you mean step 3 in my post #1.

If Wine is installed first as indicated in step 1, system32 in .wine does have files. That should also be the case if some other ".exe" has been executed in Lighthouse first, which should populate the .wine files as I understood your post on your Lighthouse thread. I believe that this only affects Lighthouse as you indicated. My order in step 3 worked fine for me on all distributions that I've tried.

tazoc wrote:
The second problem I had was not ensuring enough freespace in my pupsave.
Great advice for anyone. I've run into the same problem and the only out is to stop and resize the pupsave.

Thanks for clarifying this for Lighthouse users. I personally prefer Lighthouse and recommend it to anyone that wants to use e-Sword, Bibletime, Amarok and other fine applications that work great.
Jim
Back to top
View user's profile Send_private_message 
tazoc


Joined: 11 Dec 2006
Posts: 1157
Location: Lower Columbia Basin WA US

PostPosted: Sat 13 Mar 2010, 18:03    Post_subject: e-Sword How-To, Lighthouse update  

Jim1911 wrote:
I believe that you mean step 3 in my post #1.
Hi Jim,
Yes, you're right. I corrected my post to Step 3. Thank you for writing the excellent How To and for supporting Lighthouse as well as many other Puppies!
Quote:
If Wine is installed first as indicated in step 1, system32 in .wine does have files. That should also be the case if some other ".exe" has been executed in Lighthouse first, which should populate the .wine files as I understood your post on your Lighthouse thread. I believe that this only affects Lighthouse as you indicated. My order in step 3 worked fine for me on all distributions that I've tried.
Agreed. I extracted the wine-1.1.40-i486.pet and found that /root/.wine is empty but the pinstall.sh installer script runs winecfg post install which populates /root/.wine. Since LHP 4.43 does not do this automatically to conserve space in the pupsave, I recommend that Lighthouse users also run winecfg (Wine Configuration) before copying the dlls into /root/.wine/drive_c/windows/system32/. Maybe for the next LHP release I could autorun winecfg whenever the 'Browse Wine drive_c' link or menu item is activated.
Thanks again,
TazOC

_________________
lhpup.org Lighthouse 64 6.02
Back to top
View user's profile Send_private_message Visit_website 
KF6SNJ

Joined: 19 Jun 2007
Posts: 698
Location: Distressed States of Amerika

PostPosted: Mon 15 Mar 2010, 16:41    Post_subject:  

While I can appreciate the desire to run e-Sword under Wine on Puppy, I am at a loss as to why. I say this for we already have ChurchPup which comes with BibleDesktop preconfigured and it uses the same modules as e-Sword. Also, BibleDesktop is available as a .pet file from the ChurchPup website. It would just seem to me that using a program that is already natively coded for Puppy would fewer system resources than having to run a simulator to run a program that is virtually identical to something that is already available that doesn't need an emulator/simulator. Of course I have a relative that managed to get MSIE7 to run Mepis, though why anyone would want to do that I don't know.
_________________
The only windows I have are those on my home.
Back to top
View user's profile Send_private_message Visit_website YIM 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Mon 15 Mar 2010, 18:15    Post_subject:  

KF6SNJ wrote:
While I can appreciate the desire to run e-Sword under Wine on Puppy, I am at a loss as to why.
My opinion:
1. e-Sword is the best free Bible study program available.
2. It has more public domain software available.
3. It has outstanding resources available that are not public domain for a nominal charge that are not available for linux. Also, Windows refugees may have already purchased them and would like to continue use.
4. It handles STEP files.
5. It runs faster in linux under Wine than it does in Windows.

There are probably other advantages, however there are a number of linux programs that are very good ie. Bibletime (requires KDE libs), Xiphos (requires Gnome libs), BibleDesktop (requires java) which are also resource heavy but don't have all the features of e-Sword. I've listed them in order of my preference and I've used all of these plus a few others.

Churchpup is a large, dated derivative, which uses an old version of BibleDesktop. Users of Churchpup with adequate hardware should seriously consider updating to Lighthouse which has Bibletime, Amarok, and many other useful programs. Users of older hardware should consider Living Water which is also outdated, but ttuuxxx has indicated that he plans to update soon.

That's what's so great about puppy, wide choices of multiple derivatives and useful programs that can enhance your system.

Jim
Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Tue 16 Mar 2010, 04:10    Post_subject:  

A lot of people would actually delete "free" from Jim's no. 1 Smile

Quote:
It would just seem to me that using a program that is already natively coded for Puppy would fewer system resources than having to run a simulator to run a program that is virtually identical to something that is already available that doesn't need an emulator/simulator.

Wine Is Not An Emulator. And as already mentioned, it often runs programs faster than Windows.
But I'm interested as to whether anyone has compared the performance/resource usage? My experience with Java is such that I'd much rather run something in Wine, but because of that I haven't even tried Bibledesktop. And I'll need a good reason to run KDE or even Gnome Smile

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Tue 16 Mar 2010, 11:14    Post_subject:  

disciple wrote:
A lot of people would actually delete "free" from Jim's no. 1 Smile
You are correct, "free" should be deleted, it's also better than other Windows Bible study programs that cost big bucks.
Jim
Back to top
View user's profile Send_private_message 
bones01

Joined: 11 Aug 2008
Posts: 371
Location: Melbourne, Aus

PostPosted: Wed 17 Mar 2010, 02:18    Post_subject: graphics now work  

Thanks for your update Jim. I can now see the maps, which makes it all a bit more usable.

Appreciate your time and effort for a duffer like me.

Bones

_________________
Dell Latitude D630 running Puppy 5.2.8 frugal, Macpup 525 frugal (if I can get it working again)
Precise Puppy 5.4 live DVD
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 8 Posts_count   Goto page: 1, 2, 3, ..., 6, 7, 8 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1254s ][ Queries: 13 (0.0062s) ][ GZIP on ]