Announcement

Collapse
No announcement yet.

Making Overlay stay on TOP of application

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

  • Making Overlay stay on TOP of application

    I'm trying to use the Elite Lite skin, and wanted some more screenspace for Garmin so I started messing around with it. I've got the png, and skin file the way I want...but for whatever reason when it loads, Garmin stays on top of the skin, not embedded beneath it. In Carwings it works just fine...but Elite Lite it doesn't.

    I've compared skin files from Elite Lite to Carwings, and they look similar with regards to the buttons and whatnot, but am I missing something somewhere? Is there a setting in the skin or Garmin.Elite file which tells it to keep the overlay on top of Garmin?

    here's a screenshot:

    By nst6563 at 2010-02-10


    I've searched around a bit and haven't come across anything to solve it yet. Read the skinning tutorial as well. I'm new to messing with the skins so any assistance would be greatly appreciated.
    Thanks in advance

  • #3
    Here is the garmin.elite file:

    Code:
    IMG,0,0,800,480,"$skinpath$\garmin1.png",OFF
    IMG,0,0,800,480,"$skinpath$\garmin1.png"
    IMG,0,0,800,480,"$skinpath$\garmin1-down.png",DOWN
    B,754,424,86,56,"X_OVERLAY||WAIT;0.2||GMPCOSK",
    B,713,424,86,56,"EXIT",
    A,0,0,800,480
    Here is the garmin.skin file:
    Code:
    RoadRunner Skin
    RRScreen garmin
    garmin1.png,garmin1.png,on.png,garmin1-down.png
    
    A,0,0,800,480
    
    /KEEPLOADED
    GMPC_OVERLAY
     
    /POSX=000
     
    /POSY=000
     
    
    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip
    L04,242,2,557,26,255,255,255,22,"HandelGotDLig","TAGARTIST||= - ||TAGTITLE","SCROLL-LEFT"
     
    /Play Buttons
    B,-1,440,45,41,"PREV",
    B,46,439,60,42,"PLAY",
    B,109,440,56,40,"NEXT",
    B,626,424,86,56,"X_OVERLAY||WAIT;0.5||GMPCOSK",
    B,713,423,86,56,"X_OVERLAY||EXIT",
    
    END
    I messed with the A,x,y,h,w line and can change the size of the Garmin screen, and ideally I'd like it to be the full 800x480 with the overlay on top (like in Carwings)...however i can't seem to get it to work.

    If I do nothing else but change the skin to Carwings, it's embedded correctly. So I take it I need to specify the Application name in the Elite Lite skin someplace? I haven't found it yet, but maybe I'm just not looking in the right places. I can post up the Skin.ini and Exectable.ini files but they should be the stock Elite Lite files. The only files I've changed were the garmin.elite and garmin.skin files.

    thanks for the help

    Comment


    • #4
      Well the A line you are showing me should put the Garmin in the top left of the screen.

      As it doesn't I suspect that the position and size of the Garmin screen is set in the Garmin settings.

      Also it would indicate that the Garmin application isn't truly embedded, but just running on top of RR.

      Comment


      • #5
        In RRConfig I've set Garmin as one of the embedded applications. This would be the correct place right?

        Comment


        • #6
          please read these:
          http://www.mp3car.com/vbulletin/rr-f...ad-runner.html
          http://www.mp3car.com/vbulletin/rr-f...cation-rr.html
          Ride Runner RR's Myspace

          "Being happy is not about having what you want, it's about wanting what you have."
          "The best things in life are always free - but that doesn't mean money can't buy you good things."

          Comment


          • #7
            I've read those before, and have again to make sure I wasn't missing something, same problem. The only skin I have a problem with Garmin embedding is Elite Lite.

            Like I've said before - if I use Carwings, it embeds like it should, when I use Elite lite it doesn't. Do I need to add those lines to the Elite Lite skin.ini as well?

            I don't know enough about skinning to know if/how variables are passed between the application ini and skin ini. My assumption is that the application ini variables are of a global type and ones in the skins are private, but the skin inherits the application variables - but that's just an assumption.

            Comment


            • #8
              the commands for embedding garmin are in exectbl.ini. check your skin's exectbl.ini against the one from carwings.
              my car: 2003 g35 coupe, 2.5ghz c2d cpu, gigabyte micro atx mb, dsatx
              wife's car: 2004 honda accord coupe 2.4ghz p4 cpu, asus micro atx mb, opus 150
              company car: 2006 chevy avalanche 2.0ghz p4 laptop, cnx p1900

              Comment


              • #9
                Originally posted by kuo View Post
                the commands for embedding garmin are in exectbl.ini. check your skin's exectbl.ini against the one from carwings.
                I've been trying some different things this morning while waiting for scripts to finish at work, here is the code I've been comparing and messing with


                Code:
                /--------------------Original--GARMIN--Elite Lite----------------
                /"GMPC_OVERLAY","RUN;$SKINPATH$support/ElcosMenu.exe|garmin.skin"
                /"GMPCOSK","RUN;$SKINPATH$support/ElcosMenu.exe|garminosk.skin"
                /"X_OVERLAY","SENDMSG;ElcosMenu;Exit"
                /"GARMIN","GPS||GMPC_OVERLAY"
                
                /--------------Testing---GARMIN---Testing---------------------
                "GMPC_OVERLAY","RUN;$SKINPATH$support/ElcosMenu.exe|garmin1.skin"
                "GMPCOSK","RUN;$SKINPATH$support/ElcosMenu.exe|garminosk.skin"
                "X_OVERLAY","SENDMSG;ElcosMenu;Exit"
                /"GARMIN","GPS||GMPC_OVERLAY"
                "GARMIN","LOAD;garmin1.skin||RUN;$SKINPATH$ElcosMenu.exe|garmin.skin||RUN;$garminpath$;!CDP"
                
                / --------------------------------------------------------------
                / Garmin from Carwings
                / --------------------------------------------------------------
                /"MyApp15","LOAD;GMPC.skin||RUN;$SKINPATH$ElcosMenu.exe|GMPCOL.skin||RUN;$garminpath$;!CDP"
                /"GMPC_OVERLAY","RUN;$SKINPATH$ElcosMenu.exe|GMPCOL.skin"
                /"GMPCOSK","RUN;$SKINPATH$ElcosMenu.exe|GMPCOSK.skin"
                /"X_OVERLAY","SENDMSG;ElcosMenu;Exit"
                /"GMPC","LOAD;GMPC.skin"
                /"RUNGMPC","RUN;$garminpath$;!CDP",GMPC.skin
                It doesn't seem to matter what I change, Garmin ALWAYS appears on top in the Elite Light Skin. I really like the Elite Lite...but if I can't get Garmin embedded and be able to run both Garmin and iGuidance at the same time in it - I'll go back to Carwings or DFX.

                Comment


                • #10
                  Sorry, I gave you those links because on a previous post you mentioned putting Garmin in the embedded list on RRConfig -- which is not the place to set it up. From looking at your last post, the same lines used for carwings should work the same on elite skin AS LONG AS you have GMPC.skin, GMPCOL.skin, GMPCOSK.skin AND ElcosMenu.exe ALL in the Elite skin folder. If anything, try making a debug log on carwings to see exactly what's being executed, then compare it to what's being executed in the Elite Skin -- that way you'll have something to tell you what's missing.
                  Ride Runner RR's Myspace

                  "Being happy is not about having what you want, it's about wanting what you have."
                  "The best things in life are always free - but that doesn't mean money can't buy you good things."

                  Comment


                  • #11
                    Originally posted by guino View Post
                    Sorry, I gave you those links because on a previous post you mentioned putting Garmin in the embedded list on RRConfig -- which is not the place to set it up. From looking at your last post, the same lines used for carwings should work the same on elite skin AS LONG AS you have GMPC.skin, GMPCOL.skin, GMPCOSK.skin AND ElcosMenu.exe ALL in the Elite skin folder. If anything, try making a debug log on carwings to see exactly what's being executed, then compare it to what's being executed in the Elite Skin -- that way you'll have something to tell you what's missing.
                    yes, I included those snippets from the original carwings and original elite skins for reference. When I make changes to my testing area, I utilize the garmin1.png and similar files and their respective paths within the Elite skin.

                    I'll make the debug log - hadn't thought of that - thanks

                    Comment


                    • #12
                      Any luck with this? I've been trying to do the exact same thing but have the same problem!

                      Comment


                      • #13
                        I gave up and went back to Carwings. I didn't have the time to invest into getting it to embed right with Elite Lite. Love the skin, looks super.

                        I tend to use iGo8 these days though to see how it works...haven't tried that in Elite Lite yet.

                        Comment


                        • #14
                          I finally managed to figure it out! I actually got it not long after posting the other day, but wanted to finish it up before replying. Basically I think for your case, in your ExecTBL, change "GARMIN",... to "GPS",... This is what's called when you press the Garmin button, and if you overwrite the GPS command it will skip external_gps.skin. There's probably a little more involved but you can check out my post: http://www.mp3car.com/vbulletin/rr-s...een-elite.html to download what I've done. ElcosMenu is a tricky beast...

                          Comment

                          Working...
                          X