Announcement

Collapse
No announcement yet.

Updated Garmin OSK Popup for DFX5.1

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Updated Garmin OSK Popup for DFX5.1

    ALL,

    This is for all users of GarminMobilePC using the DFX5x skin. The unmodded DFX5.1 has a couple of issues with Garmin that are easy to fix. The first is that the Garmin button does not execute the program. And the second, is the OSK blanks out the Garmin Screen and you can't see what you are typing. I made some modifications to correct both those issues. This will involve modifying some key files in your DFX skin directory so proceed with caution. The directions below includes making backups of those key files:

    1) Create backups of your Skin.ini, Garmin_GPS.skin, and OSK_Garmin.skin files

    2) Open the Skin.ini file and edit the line: MenuExec_48=LOAD;Garmin_GPS.skin;!CDP_FIELD_WND;C: \Program Files\GarminMobilePC\Que.exe;!CDP_FIELD_WND
    to read include the path of the Que.exe file. In my case I changed the line to read:
    MenuExec_48=LOAD;Garmin_GPS.skin;!CDP_FIELD_WND;C: \GarminMobilePC\Que.exe;!CDP_FIELD_WND

    3) Save Skin.ini and exit

    4) Open the Garmin_GPS.skin and edit the line: B09,102,528,100,71,"Menu;OSK_Garmin.skin||RunQ;$SK INPATH$Scripts\GarminOSK\GarminSendKey.exe",""
    to read:
    B09,102,528,100,71,"RUN;$SKINPATH$Scripts\Overlay. exe|OSK_Garmin.skin||RunQ;$SKINPATH$Scripts\Garmin OSK\GarminSendKey.exe",""

    5) Save Garmin_GPS.skin and exit

    6) Open the OSK_Garmin.skin file and edit the lines
    OSK_Garmin_Off.png, OSK_Garmin_Off.png, OSK_Garmin_Off.png, OSK_Garmin_Off.png
    to read:
    OSK_Garmin_Off2.png, OSK_Garmin_Off2.png, OSK_Garmin_Off2.png, OSK_Garmin_Off2.png
    and
    B,4,8,164,81,"ESC||SENDMSG;GarminOSK;exit",
    to read:
    B,4,8,164,81,"SENDMSG;ElcosMenu;Exit||Wait;0.5||SE NDMSG;GarminOSK;exit||LOAD;Garmin_GPS.skin",

    /POSY=0
    to read:
    /POSY=174

    7) Optionally, you can remove all labels within the skin (i.e. L,XX,XX,XX). They will not be displayed when the OSK overlay is shown.

    8) Save OSK_Garmin.skin and exit

    9) Now copy the attached OSK_Garmin_Off2.png to the DFX skin directory.

    10) Start up RR. If you already have a button assigned to Garmin, temporarily assign it to another application (i.e. Browser) then reassign to Garmin.

    11) This should complete the mod.

    I've included the png and skin files. You may extract these files to your DFX skin direcotry and skip steps 4 thru 9. You MUST perform step 10 if the Garmin button is already assigned.

    Bobby
    Attached Files
    Last edited by besjr69; 08-15-2011, 09:00 PM.

  • #2
    Cant get this to work

    When i get the keyboard screen and press a key nothing happen. I double check the setup, and everything looks good. Anybody got this working ?.

    Comment


    • #3
      This is not working for me either

      Comment


      • #4
        EDIT:

        After setting this up, reassign the Garmin Button on the Skin. For some reason if you change the skin.ini and try without first reassigning the button to Garmin it will not work.

        I have this working flawlessly. Have you ensured the Overlay.exe file is located in the Scripts folder? Do not manually type the instructions. Make backups of the files included, and copy the RAR to the DFX 5.1 folder. Also, ensure you have the Que.exe path specified in the RRConfig GPS settings. Again, I've had no issues with this working. I shared it because the previous implementation only brought up the OSK with no GarminPC in the background. The Overlay.exe allows the OSK to be "attached" to the GarminMPC window. When closed the GarminMPC window is closed and reopened. I can discuss further to get this working for you.

        Bobby
        Last edited by besjr69; 08-15-2011, 08:12 PM.

        Comment


        • #5
          When I setup everything as you said, I got a small overlay that looks like this:


          buttons on it don't work, and it doesn't close.

          Comment


          • #6
            Also, depending on the type of behavior you like you can have the [Enter] OSK key advance to the next screen when entering an address. Simply open the OSK_Garmin.skin file. Edit the line that reads ".....SENDMSG;GarminOSK;enter" to read "...SENDMSG;GarminOSK;{enter}"

            Bobby

            Comment


            • #7
              Did you extract the OSK_Garmin_Off2.png file to the skin directory? I ask this because I edited this file to contain the labels. Labels for the lettering is not needed nor will not show on the OSK using the Overlay.exe command. Also, save a copy of the OSK_Garmin.skin file (i.e. OSK_Garmin.skinold) and copy the OSK_Garmin.skin from the RAR file into your skin folder. I see I left off the edit to the first couple of lines and the Application declaration. My apologies. If you were to make the backup and copy all files from the RAR it would solve the issues.

              Comment


              • #8
                After dropping in OSK_Garmin.skin I now have an overlay with labels on the bottom of the screen. Visually it looks perfect. However, none of the buttons work when clicked, so I can't input letters into Garmin.

                Comment


                • #9
                  It is now working - there was a rogue "space" in my Garmin_GPS.skin. It is now working great. To all, if you just drop in (after backing up your old skins) the skins in the first post, this should work.

                  Thanks Bobby

                  Comment


                  • #10
                    Glad to help. Also I've changed the OP to include the steps I missed on the OSK_Garmin.skin file.

                    Comment


                    • #11
                      Originally posted by besjr69 View Post

                      4) Open the Garmin_GPS.skin and edit the line: B09,102,528,100,71,"Menu;OSK_Garmin.skin||RunQ;$SK INPATH$Scripts\GarminOSK\GarminSendKey.exe",""
                      to read:
                      B09,102,528,100,71,"RUN;$SKINPATH$Scripts\Overlay. exe|OSK_Garmin.skin||RunQ;$SKINPATH$Scripts\Garmin OSK\GarminSendKey.exe",""

                      B,4,8,164,81,"ESC||SENDMSG;GarminOSK;exit",
                      to read:
                      B,4,8,164,81,"SENDMSG;ElcosMenu;Exit||Wait;0.5||SE NDMSG;GarminOSK;exit||LOAD;Garmin_GPS.skin",


                      Bobby
                      interesting, nice command name, SENDMSG;ElcosMenu;Exit, but the exe is ElcosMenu.exe not Overlay.exe
                      BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
                      RRTube ==> [View/Download Youtube Videos]
                      WifiMan ==> [Wifi Manager]
                      RRec ==> [Audio Capture]

                      If You Want To Be Given Everything, Give Everything Up ...
                      Bird York -- In The Deep --

                      Comment


                      • #12
                        El Camino,

                        I found it interesting too, but this was pulled from the CarWings skin file. What i noticed is that in DFX the Garmin implementation was not working properly. I looked at the files for CarWings and it uses the same commands, but instead of the ElcosMenu.exe it used Overlay.exe. When you try exiting the OSK I noticed the ElcosMenu.exe still running so it would cause issues on the second try. This was not happening in CarWings so I opened up the ini files and saw they were using the Overlay.exe with the ElcosMenu close commands. Weird but it works. I assumed the Overlay.exe was an older version of ElcosMenu. In no way was I trying to step on any toes or infringe on content. If this causes issue with you as the author of ElcosMenu I will pull this post off the forum. Again, this overlay.exe was included in the CarWings.

                        Bobby

                        Comment


                        • #13
                          Originally posted by besjr69 View Post
                          El Camino,

                          I found it interesting too, but this was pulled from the CarWings skin file. What i noticed is that in DFX the Garmin implementation was not working properly. I looked at the files for CarWings and it uses the same commands, but instead of the ElcosMenu.exe it used Overlay.exe. When you try exiting the OSK I noticed the ElcosMenu.exe still running so it would cause issues on the second try. This was not happening in CarWings so I opened up the ini files and saw they were using the Overlay.exe with the ElcosMenu close commands. Weird but it works. I assumed the Overlay.exe was an older version of ElcosMenu. In no way was I trying to step on any toes or infringe on content. If this causes issue with you as the author of ElcosMenu I will pull this post off the forum. Again, this overlay.exe was included in the CarWings.

                          Bobby
                          no worrys, is funny how that was changed, im guessing is from the very first carwings skin. thats all.

                          also, i was thinking in doing another version, but in .NET, maybe in a couple of weeks.
                          BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
                          RRTube ==> [View/Download Youtube Videos]
                          WifiMan ==> [Wifi Manager]
                          RRec ==> [Audio Capture]

                          If You Want To Be Given Everything, Give Everything Up ...
                          Bird York -- In The Deep --

                          Comment


                          • #14
                            That would be awesome!

                            Another question however - I am not running your standard 800x600, I am running 1280x768, so in my DFX general.ini I have it mapped to my resolution. The overlay doesn't get mapped to this new resolution and behaves as if I'm in 800x600. Is there an option besides changing the positions of all labels and buttons in the skin and making the png file larger?

                            Comment


                            • #15
                              DpGrand,

                              To my knowledge it isn't possible without resizing the overlay. I had the same issue with eLite Lite skin which is 800 x 480.

                              Bobby

                              Comment

                              Working...
                              X