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

Thread: Any way to set persistent variables other than rr.ini?

  1. #1
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448

    Any way to set persistent variables other than rr.ini?

    I've read the Skin Commands and I know you can define and save variables to rr.ini and be able to use them on the next startup w/o having to redefine it all over again.

    However, if I edit rr.ini using RR config and save, any custom additions made to rr.ini would be lost.

    Is there a way to define variables RR can use outside of rr.ini?

    I'm sure someone has done this before, but I can't seem to put the right keywords together in a search.

    If someone could point me in the right direction, that'd be great.

    TIA!
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  2. #2
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,156
    Blog Entries
    51
    have you looked at the SETVAR command set. SETVAR, SETVARBYCODE etc etc
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #3
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    you can run RRConfig and not loose any of the custom entries you've defined. If that is happening to you there is a bug somewhere, ive never seen it overwrite the whole file.

    What you want is skin.ini
    its treated the same as rr.ini but is located in your skins dir.

    you can save info to this file using
    SAVETOSKIN
    OSKTOSKIN
    and a few other commands, check the latest beta version of RR for the release that supports this and also the skincommands.txt that has all the commands.
    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.

  4. #4
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Yeah, I have. SETVARs are not persistent. Once you close RR, I lose the definition and have to redefine again via OSKTOVAR.

    What I'm trying to accomplish is to be able to specify drive paths for different removeable media and browse music/video using RR on-the-fly w/o having to hard code drive paths into specific buttons into the skin itself. This way, I have one button to set the drive, one to browse.

    I want to be able to set it and leave it until I need to change it again w/o having to exit RR w/o the use of a text editor and KB.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  5. #5
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote Originally Posted by liquid_smoke View Post
    you can run RRConfig and not loose any of the custom entries you've defined. If that is happening to you there is a bug somewhere, ive never seen it overwrite the whole file.

    What you want is skin.ini
    its treated the same as rr.ini but is located in your skins dir.

    you can save info to this file using
    SAVETOSKIN
    OSKTOSKIN
    and a few other commands, check the latest beta version of RR for the release that supports this and also the skincommands.txt that has all the commands.
    I'm on RR build 11/12/06 and RR Config doesn't overwrite the whole file. I've set 3 custom variables. When I edit and save rr.ini using RR Config, I lose 2/3 variables I've set and it's always the first 2 variables.

    I don't think I've seen those commands in 11/12 Skin Commands, but I can't be sure. Right now, my 1 of 2 test machines is only on 10/8 build. My other test machine is down and don't have the update handy.

    I'll go poking around for the latest beta.

    Thanks!
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  6. #6
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    the latest beta is 1/22/07
    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.

  7. #7
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,691
    Blog Entries
    1
    To use the SAVETOSKIN command, you need to be using the LATEST RR

    Also, you need to use a Variable that is not used by RR already. This is why it may be overwriting your var when you save from the RRConfig utility.

    For instance, I think everyone has seen this, you change the skin from within the skin itself. Then if you load and save with the RRConfig, it will revert to the original skin, by writing it to the rr.ini.

    Try using something like MyMusicPath instead of MusicPath.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  8. #8
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote Originally Posted by JohnWPB View Post
    To use the SAVETOSKIN command, you need to be using the LATEST RR

    Also, you need to use a Variable that is not used by RR already. This is why it may be overwriting your var when you save from the RRConfig utility.

    For instance, I think everyone has seen this, you change the skin from within the skin itself. Then if you load and save with the RRConfig, it will revert to the original skin, by writing it to the rr.ini.

    Try using something like MyMusicPath instead of MusicPath.
    Sadly, that wasn't the case. Here are my variables:
    cddrivepath
    flashdrivepath
    cameradrivepath

    None of which were being used by rr.ini. What I have found is that after rr.ini gets saved, it "ENTERs" two blank lines after the last line. Those two lines are the location of the new set variables. It doesn't matter the order in which it is defined, it's always the first two that gets deleted.

    I just found the beta, as well, and am gonna try it out.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  9. #9
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Cool. That did it.

    Thanks guys!
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  10. #10
    Maximum Bitrate kpjuk's Avatar
    Join Date
    Dec 2003
    Location
    West Midlands
    Posts
    474
    Hi Sal R,

    have you looked at using a BROWSE.RRL file in your Music Path. This is a simple file that allows you to define Virtual drives, mine is defined like this

    C:\Documents and Settings\johnstonek\My Documents\My Music\MP3;Main Music Directory
    D:\;CD / DVD
    E:\;USB Drive

    This is displayed in the browse window like the attached.

    OOPs ! Didn't spot your response !

    Anyways, one for reference.
    cheers
    KPJUK
    Attached Images Attached Images  
    M1000, 512MB, 512MB CF, 6GB Disk (4200rpm),
    DVD/RW, Dynamix 8" screen, M2-ATX, Custom case,Too many hours building and rebuilding and rebuild.......

Page 1 of 2 12 LastLast

Similar Threads

  1. Set up stage in need of help desperatly.
    By TimStark in forum Newbie
    Replies: 2
    Last Post: 11-16-2004, 11:56 PM
  2. Dual monitor set up and function?
    By dogger in forum Newbie
    Replies: 7
    Last Post: 10-09-2004, 07:58 PM
  3. Replies: 1
    Last Post: 06-18-2004, 05:49 AM
  4. need help with my set
    By CorollaVerso'04 in forum Newbie
    Replies: 0
    Last Post: 04-18-2004, 03:32 PM
  5. LCD randomly changing set?
    By mad man in forum LCD/Display
    Replies: 3
    Last Post: 12-14-2003, 07:33 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
  •