Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Skins


Reply
 
Share Thread Tools Display Modes
Old 09-30-2006, 02:33 PM   #1
Variable Bitrate
 
Join Date: Jun 2006
Posts: 348
kolemieux is on a distinguished road
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
kolemieux is offline   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 09-30-2006, 04:11 PM   #2
SMKFree
 
liquid_smoke's Avatar
 
Join Date: Aug 2003
Location: Chicago
Posts: 4,841
liquid_smoke is on a distinguished road
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.
liquid_smoke is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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



All times are GMT -5. The time now is 05:54 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics