Results 1 to 2 of 2

Thread: Custom Path Definitions... - best place for?

  1. #1
    Variable Bitrate
    Join Date
    Jun 2006
    Posts
    348

    Question Custom Path Definitions... - best place for?

    I saw an update on release 4-06-06 about using global custom paths from RR.ini within a skin.

    What is the best practice in using Custom Paths as to avoid using hard-coding in a skin, but passing as a var. Would this be to use them from RR.ini - or EXECTBL.ini.

    I am tinkering with this now and at minimum trying to get them to pass in as a label so I know they are being read.

    I also was digging into VOID and LS where a ton of var work is present but and the VAR post from Guino but still getting a feel for this.

    Thanks to all

  2. #2
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    every option in RR.ini i believe is available as a var so for example if you wanted to run a file that is located inside your skins folder you can use this

    "RUN;$skinpath$myfile.exe"

    I would use this method if you can, any special files that you are also including with the skin you can stick them either in the skins folder or in the root of RR.
    If they are in the root of RR you dont have to use a var to get the path, just use the folder as the root, for example when i call items from the lstools folder i just do "RUN;LSTOOLS\myfile.exe"
    Nothing wrong with doing it this way, just requires people to copy that folder into the root of RR, in the future i will remove this folder and place it inside the skins folder for simplicity.

    You can also setup paths in ExecTBL.ini as commands or var, doing it as commands is easier cuz your likely allready familiar how they work.
    In void almost nothing is hardcoded into the skin and everything is pulled from ExecTBL.ini
    for example:
    in ExecTBL.ini
    "MYCOMMAND";"RUN;$skinpath$myfile.exe"

    inside the .skin fie i just use

    "MYCOMMAND" as the code for the button

    this is prob the best way to do it so you dont ever have to change the buttons code or screw with the .skin files if you ever want to change what that button does.
    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.

Similar Threads

  1. Diablo Designs Custom xB running Frodo
    By diablo243 in forum Show off your project
    Replies: 4
    Last Post: 09-15-2006, 08:21 AM
  2. ****Celica Carbon Fiber Car Computer Finished****
    By hombredelassrta in forum Show off your project
    Replies: 47
    Last Post: 09-02-2006, 03:22 PM
  3. Custom Piece work Sites...
    By kmcniece in forum Fabrication
    Replies: 1
    Last Post: 03-16-2006, 04:52 PM
  4. Post Your Custom Dash Pics Here
    By EsKALad in forum Off Topic
    Replies: 3
    Last Post: 02-10-2006, 01:05 AM
  5. Bug Reports
    By frodobaggins in forum FrodoPlayer
    Replies: 168
    Last Post: 10-16-2004, 01:25 AM

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
  •