Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 14-07-2014, 09:25   #31
Registered User

Join Date: Jul 2014
Posts: 26
Re: BSB4 plugin chs windows 8.1

Dave hi.

Yes, pretty baffling. When we crack it I'm sure there will be a lot of forehead smacking... :-)

But not there yet. I've ensured the registry looks like yours (screen shots attached). The 00003058 entry is identical to both yours and the entry created by the Maptech registration routine, except theirs is under CURRENT_USER, not LOCAL_MACHINE\SOFTWARE:
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MA CHINE\SOFTWARE\Wow6432Node\Maptech

In the meantime, the log file does not change:

12:09:57 PM: Loading chart data for C:\ChartKit\BSBCHART\BA3750_3.CAP
12:09:57 PM: BSB4_PI: Could not find registry key for decryption tool location at node HKEY_LOCAL_MACHINE\SOFTWARE\Maptech\ChartKit\3.00\ Directories
12:09:57 PM: BSB4_PI: Failed to load decryptor dll specified by certificate : 00003058.CET
12:09:57 PM: BSB4_PI: Closing chart C:\ChartKit\BSBCHART\BA3750_3.CAP
12:09:57 PM: ...initialization failed for C:\ChartKit\BSBCHART\BA3750_3.CAP
12:09:57 PM: CreateChartTableEntry() failed for file: C:\ChartKit\BSBCHART\BA3750_3.CAP

Is it possible that the cryp0201.CET just won't run on a 64-bit machine?

-----
Off to the gym to clear my head.

Cheers, Andy
Attached Thumbnails
Click image for larger version

Name:	01_maptech_tree.png
Views:	267
Size:	27.2 KB
ID:	84988   Click image for larger version

Name:	02_maptech_tree_Directories.png
Views:	193
Size:	14.2 KB
ID:	84989  

Click image for larger version

Name:	03_maptech_tree_Encryption.png
Views:	199
Size:	10.0 KB
ID:	84990   Click image for larger version

Name:	04_maptech_tree_Encryption_00003058.png
Views:	159
Size:	24.5 KB
ID:	84991  

alavarre is offline   Reply With Quote
Old 14-07-2014, 19:36   #32
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,396
Re: BSB4 plugin chs windows 8.1

Andy...

Microsoft strikes again.....

This time it is something called "6432 Registry Redirection"
Registry Redirector (Windows)

I quote:
Redirected keys are mapped to physical locations under Wow6432Node. For example, HKEY_LOCAL_MACHINE\Software is redirected to HKEY_LOCAL_MACHINE\Software\Wow6432Node.



Anyway, what we need to do is this:
Replicate the entire contents of your current registration:

Code:
 HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Maptech
into
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node
Maybe?
Dave
bdbcat is offline   Reply With Quote
Old 14-07-2014, 19:57   #33
Registered User

Join Date: Jul 2014
Posts: 26
Re: BSB4 plugin chs windows 8.1

Dave hi.

WOW indeed...

Dirty little secrets...

Great, thanks for the detective work, too late tonight, but shall attack again tomorrow and report back.

Thanks again.

Kind regards, Andy
alavarre is offline   Reply With Quote
Old 15-07-2014, 09:12   #34
Registered User

Join Date: Jul 2014
Posts: 26
Re: BSB4 plugin chs windows 8.1

That definitely makes my head hurt: so the physical location of the key tree is in ...\Wow6432Node

But still no joy, same error message:

BSB4_PI: Could not find registry entry for decryption dll specified by certificate at HKEY_LOCAL_MACHINE\SOFTWARE\Maptech\ChartKit\3.00\ Encryption\00003058

I have the tree under ...Wow6432Node.

I first tried deleting it from HKEY_LOCAL_MACHINE\SOFTWARE but got the same error. Of course, since it is being redirected.

So then I rebuilt it under HKEY_LOCAL_MACHINE\SOFTWARE. No change.
Next I change this Maptech key name to Hidden: No change.
Next I change the Wow6432Node\Maptech key name to HIDDEN: No change
Next I delete both trees: No change!

It is getting the address from somewhere else:

Search the registry: The Maptech key exists in several places, but several are empty. The following contain the full tree:

HKEY_CURRENT_USER\Software\Classes\VirtualStore\MA CHINE\SOFTWARE\Wow6432Node\Maptech

HKEY_USERS\S-1-5-21-34645374-1695674902-328014968-1000\Software\Classes\VirtualStore\MACHINE\SOFTWAR E\Wow6432Node\Maptech

HKEY_USERS\S-1-5-21-34645374-1695674902-328014968-1000_Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432 Node\Maptech

HKEY_LOCAL_MACHINE\SOFTWARE\Maptech does not exist but it is still rendering the error:

12:01:55 PM: BSB4_PI: Could not find registry key for decryption tool location at node HKEY_LOCAL_MACHINE\SOFTWARE\Maptech\ChartKit\3.00\ Directories


I delete the last instance, all the other full tree instances disappear. Run the program and force update:

The same error message!
-----
do do do do Twighlight Zone... :-(

Thanks, Andy
alavarre is offline   Reply With Quote
Old 15-07-2014, 11:25   #35
Registered User

Join Date: Jul 2014
Posts: 26
Re: BSB4 plugin chs windows 8.1

Now there is no full Maptech registry tree anywhere in the registry. So I reload the charts and run the install utility. It restores the Maptech registry tree in

HKEY_CURRENT_USER\Software\Classes\VirtualStore\MA CHINE\SOFTWARE\Wow6432Node\Maptech

and

HKEY_USERS\S-1-5-21-34645374-1695674902-328014968-1000_Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432 Node\Maptech

So we're back to square one.

But still the same error.

Thanks, Andy
alavarre is offline   Reply With Quote
Old 16-07-2014, 06:32   #36
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,396
Re: BSB4 plugin chs windows 8.1

Andy...
Please try the attached PlugIn. A bit more debug output, and we try your explicit HKCU key directly.

Maybe it works, and we learn something.

Thanks
Dave
Attached Files
File Type: pdf bsb4_win32_pi15_v13_pi.dll.pdf (109.5 KB, 61 views)
bdbcat is offline   Reply With Quote
Old 16-07-2014, 07:10   #37
Registered User

Join Date: Jul 2014
Posts: 26
Re: BSB4 plugin chs windows 8.1

Woohoo!! It works!

I've replicated the Maptech tree in

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Maptech

And it now works.

Well done! What was the issue?

Cheers, Andy
alavarre@gmail.com
alavarre is offline   Reply With Quote
Old 16-07-2014, 10:30   #38
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,396
Re: BSB4 plugin chs windows 8.1

Andy...

Good news indeed.

I have no idea yet what the exact problem was.
Could you post a few lines from your logfile as relates to BSB4? There should be some useful string here.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 16-07-2014, 11:09   #39
Registered User

Join Date: Jul 2014
Posts: 26
Re: BSB4 plugin chs windows 8.1

Dave attached is the log as success.pdf

I had renamed the V12 bsb4_pi to xbsb4_pi

I then renamed your new V13 dll.pdf to remove the ".pdf". I then put it in the plugin subdirectory

I then rebuilt the Maptech tree in: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Maptech

I then started openCPN and the chart came up.

I thought that by renaming the V12 PI it would not load, but reading the log I see:

It failed to load the V13 PI that you had sent as a PDF
10:03:26 AM: Error: Failed to load shared library 'C:\Program Files (x86)\OpenCPN\plugins/bsb4_win32_pi15_v13_pi.dll' (error 127: the specified procedure could not be found.)
10:03:26 AM: PlugInManager: Cannot load library: C:\Program Files (x86)\OpenCPN\plugins/bsb4_win32_pi15_v13_pi.dll


It succeeded in loading the V12 (renamed) PI
10:03:26 AM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/xbsb4_win32_pi15_v12_pi.dll
10:03:26 AM: C:\Program Files (x86)\OpenCPN\plugins/xbsb4_win32_pi15_v12_pi.dll Version detected: 105


I then did a Force Rebuild. And it flew.

So the new dll had nothing to do with the success. Rather something changed between yesterday when I purged the registry of all Maptech entries, reinstalled the charts (resulting in a new set of Maptech entries) and then rebuilt the Wow6432Node Maptech tree.

... I agree!

Now only, if only we could build a plugin for the Linux version... :-)

Let me know what else needs doing.

Thanks again, Andy
Attached Files
File Type: pdf success.pdf (61.0 KB, 77 views)
alavarre is offline   Reply With Quote
Old 16-07-2014, 11:11   #40
Registered User

Join Date: Jul 2014
Posts: 26
Re: BSB4 plugin chs windows 8.1

Oh, and I just removed the V13 dll entirely from the plugin directory and restarted openCPN. The charts still work.

Now to find charts for Chichester and the Solent...

Thanks again, Andy
alavarre is offline   Reply With Quote
Reply

Tags
bsb, plug, wind


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCNP does not see CHS BSB charts bruce.gilbert OpenCPN 11 08-04-2018 05:43
Cannot activate BSB4 Plugin Grainne OpenCPN 8 28-10-2013 13:25
Canadian CHS S57 charts roddy55 Navigation 1 02-01-2013 06:17
For Sale: CHS Charts and Books: Nova Scotia and Newfoundland jtighe Classifieds Archive 0 01-09-2011 17:42
Announcement: Plugin download (for Windows only) Netsurfer OpenCPN 2 25-05-2011 07:16

Advertise Here


All times are GMT -7. The time now is 14:39.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.