Switch to full style
Post a reply

Total Commander keyboard for hex value in time zone information

Fri Jun 13, 2014 4:03 pm

Hi all,

I was trying to change the timezone from china to US eastern time on my Chinese 2 din gps head unit. I got the total commander running but the control panel changes is not applied to the registry and also the time zone info in the Window CE 6 is outdated. I found out i could change the hex on the TZ line in the registry and i got the proper value string already. However, there is no keyboard in the total commander. How can i type or copy/paste the value to the registry??

Thanks

Re: Total Commander keyboard for hex value in time zone information

Fri Jun 13, 2014 4:20 pm

There are apps that can launch the default keyboard, or keyboard apps for really crippled roms.

I however, would use mortscript to write the data into the registry rather than use an onscreen keyboard.

Re: Total Commander keyboard for hex value in time zone information

Fri Jun 13, 2014 9:21 pm

Thanks for the reply. Can you point me to some link to learn the mortscript?

Re: Total Commander keyboard for hex value in time zone information

Sat Jun 14, 2014 6:53 am

tools-tutorials-f170/mortscript-guide-t3919.html

There is a guide within this post to do exactly what you want, the archive link is missing, but I will sort it later.

Re: Total Commander keyboard for hex value in time zone information

Mon Jun 16, 2014 12:58 pm

Thanks very much. That tutorial is really good.

Re: Total Commander keyboard for hex value in time zone information

Mon Jun 16, 2014 7:01 pm

i got the following:

RegWriteBinary ("HKLM", "Time", "TimeZoneInformation", hex:\
b4,00,00,00,45,00,2e,00,20,00,53,00,6f,00,75,00,74,00,68,00,20,00,41,00,6d,\
00,65,00,72,00,69,00,63,00,61,00,20,00,53,00,74,00,61,00,6e,00,64,00,61,00,\
72,00,64,00,20,00,54,00,69,00,6d,00,65,00,00,00,00,00,00,00,02,00,00,00,02,\
00,02,00,00,00,00,00,00,00,00,00,00,00,45,00,2e,00,20,00,53,00,6f,00,75,00,\
74,00,68,00,20,00,41,00,6d,00,65,00,72,00,69,00,63,00,61,00,20,00,44,00,61,\
00,79,00,6c,00,69,00,67,00,68,00,74,00,20,00,54,00,69,00,6d,00,65,00,00,00,\
00,00,00,00,0a,00,00,00,03,00,02,00,00,00,00,00,00,00,c4,ff,ff,ff)

Will this work? Or i have to remove all the comma and make it one giant string of hex??

Re: Total Commander keyboard for hex value in time zone information

Mon Jun 16, 2014 8:04 pm

This is from the guide...

RegWriteBinary ("HKLM", "Time", "TimeZoneInformation", "0000000047004d00540020005300740061006e0064006100720064002000540069006d00650000000000540069006d00650000000000000000000000000000000000000000000a000000050002000000000000000000000047004d00540020004400610079006c0069006700680074002000540069006d00650000000000540069006d00650000000000000000000000000000000000000000000300000005000100000000000000c4ffffff")

Just replace the data with your own.

Re: Total Commander keyboard for hex value in time zone information

Wed Jun 18, 2014 8:55 pm

Thanks. The mortscript website's download link is not working. Where I could download an official version? I googled and i found V4.1, 4.2 and 4.3 from various download website. I just want to make sure i am not download some virus.

Re: Total Commander keyboard for hex value in time zone information

Wed Jun 18, 2014 10:20 pm

"http://www31.zippyshare.com/v/57888882/file.html"

Re: Total Commander keyboard for hex value in time zone information

Sun Jun 22, 2014 3:17 pm

I followed the instruction, downloaded the files. Here is the script in the script.mscr file

RegWriteBinary ("HKLM", "Time", "TimeZoneInformation", "b400000045002e00200053006f00750074006800200041006d006500720069006300610020005300740061006e0064006100720064002000540069006d00650000000000000002000000020002000000000000000000000045002e00200053006f00750074006800200041006d006500720069006300610020004400610079006c0069006700680074002000540069006d0065000000000000000a00000003000200000000000000c4ffffff")
Exit

I open total commander in the headunit and double click on the script.exe file. But nothing happens. I checked the registry value and its still the same. Am I missing something??

Btw, thanks for your help. I really appreciated it.

Re: Total Commander keyboard for hex value in time zone information

Sun Jun 22, 2014 3:36 pm

Nothing will happen on screen, go into the wince control panel and see what it is...

Re: Total Commander keyboard for hex value in time zone information

Tue Jun 24, 2014 12:16 am

Thanks for the help. I added a message in the script to tell me when it is successfully run. I have successfully updated the time but after i power off the car, the time revert back to the original one. It seems like the registry key is not saved. How can I save the key??

Re: Total Commander keyboard for hex value in time zone information

Tue Jun 24, 2014 8:19 am

You have to run the script at boot.

Re: Total Commander keyboard for hex value in time zone information

Tue Jun 24, 2014 1:07 pm

Sorry for the newbie questions, but how to run the script at boot? I tried to run it at start up through the gps program folder. However, it will stuck at that gps program screen (said "loading") and not back to main menu. Can you point me to some link or tutorial for that?

Re: Total Commander keyboard for hex value in time zone information

Tue Jun 24, 2014 1:54 pm

Ok, I would add a line to the script that starts the navigation app.

So find out the path of the app as it is on the device, the device settings would help here.

Add this line to the .mscr script BEFORE the Exit command...

Run ("\Path\To\Nav.exe")

Obviously change the path but make sure it's prefixed with a backslash (\) and enclosed with quotes and parenthesis.

Then set the device to start the script.
The script changes the timezone and then starts the nav app.
Post a reply