Announcement

Collapse
No announcement yet.

Question re "C" clip tag

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

  • Question re "C" clip tag

    In the skin I'm working on, I have a section at the top which normally displays the TIME and DATE tags, like so:



    In my menu bar, I have a button labeled "vis" which initiates the winamp visualization. I'd like that visualization to display in the same region as the TIME and DATE normally does, like so:



    I've tried creating a CLIP region using the C tag, like so:



    but is there a way to have the DATE/TIME display as normal, and have the "vis" button do two things with one press... first, it would create the CLIP region, and then immediately load the visualization in that clipped region?

    Then, when the "vis" button is clicked again, it would unload the visualization, and then remove the CLIP region, restoring the DATE/TIME display...?

    I'm trying to do this without having to layer a screen on top of a screen, because then it takes two clicks of the exit button to leave a particular screen, but at the same time having the EXIT button remember the current state of the VISU between screens.

    [EDIT: I'm using the Sexy Attached Analyzer which doesn't have an "always on top" option as far as I can tell, otherwise this would all be irrelevant.]

    '01
    Hang on while I defragment my car...

    the Acura ITX project
    the Acura ITX skin for RoadRunner
    project progress: 99%

  • #2
    I've tried creating a complete secondary and tertiary set of .skin files which would alternate between the VISU on and off settings, sort of creating a big loop.

    So, from the MENU skin, I go to the audio player:

    B,418,096,170,106,"LOAD;AUDIO_PLAYER.skin",


    AUDIO_PLAYER.skin has the following button (labeled "vis") which loads the AUDIO_PLAYER2.skin and loads VISU at the same time:

    /This is the button labeled "vis"
    /Loads audio_player on top of itself and starts VISU
    B,600,547,099,052,"LOAD;AUDIO_PLAYER2.skin||VISU",
    /This is the main exit button, labeled "exit"
    B,001,547,098,052,"EXIT",


    So now VISU has been enabled, and we move to AUDIO_PLAYER2.skin...


    AUDIO_PLAYER2.skin has the following:

    /Clip region to reveal VISU which was loaded in previous screen/layer
    C,460,11,305,33

    /This is the button labeled "vis"
    /In this screen, the button labeled "vis" should disable VISU
    B,600,547,099,052,"LOAD;AUDIO_PLAYER3.skin",
    /This is the main exit button, labeled "exit"
    B,001,547,098,052,"EXIT",

    So clicking the "vis" button now takes us to AUDIO_PLAYER3.skin


    AUDIO_PLAYER3.skin has the following:

    /Disabled clip region
    /REMEMBER, VIS IS STILL RUNNING BUT NOT VISIBLE BECAUSE THE CLIP REGION IS DISABLED
    /C,460,11,305,33

    /This is the button labeled "vis"
    /The button labeled "vis" is now tagged with the EXIT command
    B,600,547,099,052,"EXIT",
    /This is the main exit button, labelled "exit"
    B,001,547,098,052,"EXIT",

    In AUDIO_PLAYER3.skin (VISU not visible), the "vis" button becomes an EXIT, which then returns to AUDIO_PLAYER2.skin, where the clip region is active and the VISU becomes visible again.

    The problem here is that you then have to hit the actual "exit" button (not the "vis" button tagged with the EXIT tag in AUDIO_PLAYER3.skin, but the real "exit" button") twice to leave the audio player, since it's now layered on top of itself, which means a skin's entire navigation scheme would need to be designed around the functionality of the visualization which is a pain...

    '01
    Hang on while I defragment my car...

    the Acura ITX project
    the Acura ITX skin for RoadRunner
    project progress: 99%

    Comment


    • #3
      you're overcomplicating it the way I see it.

      As long as you set the right name of your Vis in RRConfig and add the A definition to your .skin file, the VIS plugin should embed ON TOP of that region you defined (thus the time/date should be under it). So the question is why do you need to clip the region off the skin ?
      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


      • #4
        Originally posted by guino
        you're overcomplicating it the way I see it.

        As long as you set the right name of your Vis in RRConfig and add the A definition to your .skin file, the VIS plugin should embed ON TOP of that region you defined (thus the time/date should be under it). So the question is why do you need to clip the region off the skin ?
        Well, the only way I could get the vis to appear was by clipping away the region where I wanted it to display.

        I had tried setting the following in the skin file:

        A,460,011,305,033,

        but I have no idea what the "Other (Window Title)" should be for the Sexy Attached Analyzer. That's what tripped me up originally, and then I got on this tangent trying to figure out a crafty/kludgy way of solving the problem.

        When I add the "Other (Window Title)" as vis_satan or satan it shows the vis_satan.ini file in a notepad window which is sized at 305x33 like the "A" control above... Entering vis_satan.dll or vis_satan.dat doesn't do anything at all.

        Also, with those options entered in the "Other (Window Title)", if I start playing music, click on the "vis" button, and then close RR, I can see the visualization sitting under the RR window for a second before it also closes. So it seems like it's loading, just not loading on top...

        '01
        Hang on while I defragment my car...

        the Acura ITX project
        the Acura ITX skin for RoadRunner
        project progress: 99%

        Comment


        • #5
          all those things would be solved by providing the propper window title of the window of the plugin.. you can find the correct window title by following this FAQ:

          http://www.mp3car.com/vbulletin/showthread.php?t=45526
          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


          • #6
            Also, review the format of your A definition:

            Code:
            /, (A) APPLICATION / Embed Area
            /,  x   y   w   h   r   g   b
            /,  --- --- --- --- --- --- ---
            AXX,XXX,XXX,XXX,XXX,XXX,XXX,XXX
            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
              Oh that's almost too easy. I got it working now. I still left the 'r g b' out of the 'A' definition and it seems to be working, except that it doesn't carry over from screen to screen. I use the LOAD; command to load new screens, and on the new screen I have to hit the VISU button twice to get the visualization to appear, which suggests it's still running when I enter the new screen, just running underneath it, and when I EXIT a new screen back to previous one, it does still appear.

              Thanks for the link to the FAQ. It's in my bookmarks now.

              '01
              Hang on while I defragment my car...

              the Acura ITX project
              the Acura ITX skin for RoadRunner
              project progress: 99%

              Comment


              • #8
                Add the following to your LOAD and EXIT commands using pipes "||" like so:

                "LOAD;new.skin||RUN;;viswindowtitle"

                This should keep your vis embedded on every screen.
                Beer is proof that God loves us and wants us to be happy Benjamin Franklin

                Comment


                • #9
                  Thanks DiNASTY, I'm going to try that string out tomorrow (can barely keep my eyes open right now).

                  For anyone interested in embedding vis_satan (sexy attached analyzer) the window title to add to rrconfig.exe under "Other (Window Title)" is:

                  !attachanalyser!Classic Stereo Specturm Analyzer

                  Yes, it's misspelled. It needs to be, that's the correct window title.

                  Hope that helps someone out there.

                  '01
                  Hang on while I defragment my car...

                  the Acura ITX project
                  the Acura ITX skin for RoadRunner
                  project progress: 99%

                  Comment


                  • #10
                    what vis is that ur using?
                    01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
                    01101101 01101111 01101011 01100101

                    beer replenishment fund
                    http://www.mp3car.com/vbulletin/forumdisplay.php?f=93
                    mp3car live search

                    i have joost invites, just hit me up for one.

                    Comment


                    • #11
                      That looks really smart, I like what you have done, I downloaded the Sexy Attached Analyzer from the winamp site and it looks like this



                      How did you get from this to just the bars on your skin, or did I get the wrong plugin

                      Comment


                      • #12
                        Originally posted by liquid_smoke
                        what vis is that ur using?
                        That's vis_satan, Sexy Attached Analyzer available here:
                        http://www.winamp.com/plugins/details.php?id=3277


                        Originally posted by ashgrovered
                        That looks really smart, I like what you have done, I downloaded the Sexy Attached Analyzer from the winamp site and it looks like this



                        How did you get from this to just the bars on your skin, or did I get the wrong plugin
                        Hmm.. I'm not sure if that's it actually... Is it vis_satan.dll that you got? I'm not sure if mine had the Misao title in the window like that before I started messing with it... If the one in my link immediately above is the one you got, then yeah, that's the one.

                        I altered mine by using the customize options in winamp itself. You can control all sorts of things, including the background and foreground colors, gradient fade, borders, gridlines, etc.

                        '01
                        Hang on while I defragment my car...

                        the Acura ITX project
                        the Acura ITX skin for RoadRunner
                        project progress: 99%

                        Comment


                        • #13
                          Originally posted by DiNASTY
                          Add the following to your LOAD and EXIT commands using pipes "||" like so:

                          "LOAD;new.skin||RUN;;viswindowtitle"

                          This should keep your vis embedded on every screen.
                          Actually, this only works 50/50... If I have manually enabled VISU by clicking the "vis" button, and then I go to a new screen by way of

                          B,418,096,170,106,"LOAD;AUDIO_PLAYER.skin||RUN;;!a ttachanalyser!Classic Stereo Specturm Analyzer",

                          then it works fine. However, if VISU is currently OFF, and I go to a new screen by way of the above command, the new screen freezes (i.e. music keeps playing, the clock keeps counting, bitrate keeps cycling for variable bitrate mp3's) but none of the buttons are active. I get the windows system exclamation beep when I click on any buttons in the skin and have to kill it via task manager.

                          '01
                          Hang on while I defragment my car...

                          the Acura ITX project
                          the Acura ITX skin for RoadRunner
                          project progress: 99%

                          Comment


                          • #14
                            Kinda OT, but can anyone tell me what winamp skin is shown in this picture?




                            It's looks really badass!

                            Comment

                            Working...
                            X