Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Question re "C" clip tag

  1. #1
    Constant Bitrate 01black_ac's Avatar
    Join Date
    Jul 2005
    Location
    NJ
    Posts
    223

    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. #2
    Constant Bitrate 01black_ac's Avatar
    Join Date
    Jul 2005
    Location
    NJ
    Posts
    223
    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%

  3. #3
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    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."

  4. #4
    Constant Bitrate 01black_ac's Avatar
    Join Date
    Jul 2005
    Location
    NJ
    Posts
    223
    Quote 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%

  5. #5
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    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:

    How to embbed any Application in RR ?
    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."

  6. #6
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    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."

  7. #7
    Constant Bitrate 01black_ac's Avatar
    Join Date
    Jul 2005
    Location
    NJ
    Posts
    223
    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%

  8. #8
    Maximum Bitrate DiNASTY's Avatar
    Join Date
    Mar 2005
    Location
    Concord, California
    Posts
    598
    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.

  9. #9
    Constant Bitrate 01black_ac's Avatar
    Join Date
    Jul 2005
    Location
    NJ
    Posts
    223
    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%

  10. #10
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    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/rr-faq/
    mp3car live search

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

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 05-02-2006, 05:15 PM
  2. ID3 Tag Reading in CF
    By babazoid in forum Centrafuse
    Replies: 19
    Last Post: 08-25-2005, 12:47 PM
  3. Paint And Polish Question
    By gboy in forum Fabrication
    Replies: 8
    Last Post: 08-13-2005, 07:22 PM
  4. FM Card Question....
    By Superbike1k in forum Car Audio
    Replies: 1
    Last Post: 05-16-2005, 09:03 AM
  5. lcd power question
    By jrbless in forum LCD/Display
    Replies: 1
    Last Post: 04-07-2002, 12:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •