Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-02-2014, 14:28   #1
Registered User

Join Date: Feb 2014
Location: Delta, BC
Boat: Ontario 32
Posts: 8
OpenCPN and BSB4 on Linux

I have OpenCPN running on my Windows7 partition, with the BSB plugin and CHS charts installed. When I try to run OpenCPN with wine on the Ubuntu 12.04 partition, it kinda runs, but doesn't seem to access the BSB4 charts.

Any help?

druid
"Wind Drift" - Ontario 32
__________________

__________________
druid is offline   Reply With Quote
Old 11-02-2014, 02:05   #2
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,752
Re: OpenCPN and BSB4 on Linux

Druid,

the BSB4 plug-in is Windows only - no way to use it under Linux.

(Linux or OS-X would require a new development including a commercial licence agreement with Maptech)


Hubert
__________________

__________________
bcn is offline   Reply With Quote
Old 11-02-2014, 10:19   #3
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: OpenCPN and BSB4 on Linux

Quote:
Originally Posted by druid View Post
I have OpenCPN running on my Windows7 partition, with the BSB plugin and CHS charts installed. When I try to run OpenCPN with wine on the Ubuntu 12.04 partition, it kinda runs, but doesn't seem to access the BSB4 charts.

Any help?

druid
"Wind Drift" - Ontario 32
Druid
I took the opportunity to test opencpn.exe with wine.
It works quite well, including AIS using a tcp connection.
A few random crashes though. I did not send the reports on to Dave
The BSB4 plugin loaded without problems, but I have no charts to test with.
A lot of error scenarios are possible....
To check simple things first...
What does your C:\users\Public\Application Data\opencpn\opencpn.log say?

I take for granted that you have loaded the bsb4 chart directory in the opencpn wine version.

@bcn
Linux can run quite a few windows program using wine. Read more WineHQ - Run Windows applications on Linux, BSD, Solaris and Mac OS X

Thomas
__________________
cagney is offline   Reply With Quote
Old 11-02-2014, 20:00   #4
Registered User

Join Date: Feb 2014
Location: Delta, BC
Boat: Ontario 32
Posts: 8
Re: OpenCPN and BSB4 on Linux

I looked at the log file and everything seems fine - says it loaded the bsb4 dlll correctly. The only wierd thing I can see is that it looks for *.kap, *.geo, *.000, *.s57, but my bsb4 directory has .BSB and .CAP. The program lists the charts as available, but doesn't use them.

druid
__________________
"Apart from that, Mrs Lincoln, how did you like the play?"
druid is offline   Reply With Quote
Old 11-02-2014, 20:27   #5
Registered User

Join Date: Feb 2014
Location: Delta, BC
Boat: Ontario 32
Posts: 8
Re: OpenCPN and BSB4 on Linux

..."upon further review..." It seems the bsb4 dll was loaded but not ENABLED. I Enabled it, and it looked at all the BSB4 files, but "Could not find registry key for decryption tool location at node HKEY_LOCAL_MACHINE\SOFTWARE\Maptech\ChartKit\3.00\ Directories"

I tried booting with Win7 and it works fine.

druid
__________________
"Apart from that, Mrs Lincoln, how did you like the play?"
druid is offline   Reply With Quote
Old 11-02-2014, 21:48   #6
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,877
Re: OpenCPN and BSB4 on Linux

druid...

I think you will need to enable your BSB4 charts (with Maptech key) in the Wine environment.. Wine does not use the same registry as your Win7 partition, so the BSB4 registration info on Win7 is unavailable to Wine.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 12-02-2014, 06:02   #7
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
Re: OpenCPN and BSB4 on Linux

I wonder.. could it be possible to develop a minimal program in wine to decrypt and pipe the charts through to opencpn so it can run natively in linux? This could be useful for google earth as well. I wonder.. how does opencpn.exe in wine compare to opencpn natively for performance?
__________________

__________________
boat_alexandra is offline   Reply With Quote
Reply

Tags
bsb, enc, linux, opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 18:08.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.