Getting CERegedit changes to persist on Chinese GPS   

Getting CERegedit changes to persist on Chinese GPS

Postby talljohn » Sat Jul 27, 2013 5:57 pm

Hi, New to the forum and I am hoping to get some help.

I have bought a Peaklife GPS, running Windows CE5. This already has IG080 running fine (connecting via com port 7), and I have installed a version of MemoryMap on to an SD card in the device, which by default attempts to connect via Com port 6.

I have edited (using CERegedit) the GPS_params file which is installed to Windows file on the device, but the setting is lost each time the device is re-booted. It connects fine for the session until I either reboot or reset.

I believe this is due to the registry not persisting. Anyones got ideas of how I can either get the registry change to persist, or alternatively change the com port that the GPS is trying to connect to the application through?
talljohn offline


Junior Member



 
Joined: Sat Jul 27, 2013 5:43 pm
Posts: 6
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Sat Jul 27, 2013 6:25 pm

You can't change the registry from non-persistent to persistent, but you can use mortscript to write registry entries automatically on boot...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby talljohn » Sat Jul 27, 2013 6:38 pm

NT, Any chance you can point me in the right direction for the scripts I need to run?

Thanks,
talljohn offline


Junior Member



 
Joined: Sat Jul 27, 2013 5:43 pm
Posts: 6
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Sat Jul 27, 2013 7:24 pm

Unfortunately you are going to have to write them yourself, however it's not that hard...

http://www.navitotal.com/showthread.php?3919-Mortscript-Guide

Just create a script that contains the registry entries you need by following the instructions in the guide.
Then either add the script to the boot process, or create a shortcut to it within your devices UI.

You could create a script to do the registry edits and start the app if you wanted.
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby talljohn » Sat Jul 27, 2013 8:28 pm

Fatboyfun,

I am a complete novice at this, but from the instructions, it looks like I should create this:

RegWriteString ("HKCU", "software\Memory-Map-OS-5\MMPocketNav\Settings", "GPS_Params", "1,0,COM7: ,4,1,0,0,- ,1,6,100,500")
Run ("\SDMMC\MobileNavigator\mobilenavigator2.exe")
Exit

Does that look correct?

Then save the two files and add all three onto the memory card?

Thanks,
talljohn offline


Junior Member



 
Joined: Sat Jul 27, 2013 5:43 pm
Posts: 6
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Sat Jul 27, 2013 9:11 pm

Looks ok, try it...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby talljohn » Sun Jul 28, 2013 8:59 am

Worked a treat - thanks for the advice.
talljohn offline


Junior Member



 
Joined: Sat Jul 27, 2013 5:43 pm
Posts: 6
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Wed Jul 31, 2013 9:27 pm

No problem :)

THREAD_CLOSED
Currently sleeping...
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times


Return to Other Systems

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests