The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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

Closed Thread
 
Thread Tools Display Modes
Old 06-15-2005, 07:51 PM   #1
RoadRunner Mastermind
guino's CarPC Specs
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Vehicle: 04/Mazda/RX-8
Posts: 8,025
My Photos: (5)
FAQ How do I launch an application in its own "skin" or "screen" ?

Adapted from HyperSprite's post:

Launching applications from ANY skin/screen in RR:

Skin commands.txt in your RR folder is your friend and new bible while you work on skins.

If you just want to play with an app in a skin and are not much of a graphics guy you could do this:

Recommendation: Go to your default skin directory and make a copy of it, do all you work and testing in this copy so if you mess it up you can just get the original files from the original skin dir.

Copy and paste the files generic_down.jpg, generic_empty.jpg, generic_off.jpg and generic_on.jpg files back into your skins directory. It should call them "copy of generic_down.jpg" etc.

Now, RENAME them to "appsname"_down.jpg etc... to whatever name you want to give your new skin. "appsname" would be your applications name and do not use the quotes. For instance mozilla.skin would be a fine name for that web browsers skin if in fact that is what you are making. For the rest of this document, any place you see "appsname" it should be replaced with whatever it is that you are calling your application.

Now, make a new txt file called "appsname".skin and fill it with the following text:

Start here>>>>>

MEDIACAR Skin
MEDIACAR "appsname" skin
"appsname"_empty.jpg,"appsname"_OFF.jpg,"appsname" _ON.jpg,"appsname"_down.jpg

/, B, x, y, w, h, Command;COMMANDCODES, Tooltip
B01,694,000,044,054,"CLOSE","Close"
B02,747,000,044,054,"EXIT","Exit"

/, L, x, y, w, h, color R;RGB, G, B, font size;FONT, font name, Code;LABELCODES, Tooltip;LABELALIGNMENT
L01,010,005,150,030,255,255,255,15,"Arial Narrow:B","TIME","Time"
L02,010,030,150,030,255,255,255,15,"Arial Narrow:B","DATE","Date"
L03,230,010,450,070,255,245,000,22,"Tahoma:B","TRA CKNAME","scroll-center"
L11,142,005,200,030,255,255,255,15,"Arial Narrow:B","=Car:",""
L12,110,030,200,030,255,255,255,15,"Arial Narrow:B","=Outside:",""
L13,180,005,200,030,128,255,128,15,"Arial Narrow:B","TEMP1",""
L14,180,030,200,030,128,255,128,15,"Arial Narrow:B","TEMP2",""

/, A, x, y, w, h, color;RGB
A01,000,055,800,545,000,000,000,"appsname"

END

<<<<<<<<end here

This little bit of code will get you the basic parameters to have the standard information in the top bar, an close and exit button and a application window you can fill.

Note: Make sure the file name ends with .skin and not .skin.txt (as windows will try to save it). You may have to disable "hide known extensions" on windows' folder options before you can see the real file name.

Take a look at this FAQ:
http://www.mp3car.com/vbulletin/showthread.php?t=45526

Basically, you want to get the apps name, like for instance if you are viewing this with internet explorer it might read "MP3Car.com Forums - new **app help** - Microsoft Internet Explorer"

As I just recently learned, "- Microsoft Internet Explorer" is probably all you would need (Partial matches work, but be carefull not to be too generic or you'll likely embbed the wrong window). So for example, lets say your appsname is "- App Name 2.1"

Now open your menu.skin file and look through the code for a button you want to activate your new skin, how about the TV button, find:

B14,010,415,135,110,"TV","Tv"

change the ending to this instead:

B14,010,415,135,110,"LOAD;appsname.SKIN;appsname;C :\Program Files\appsdir\appsname.exe;App Name 2.1","appsname"

Save your files and see what happens. Really all this is going to do is load your app into a window like Launch but off the main menu, if you want to add buttons and whatnot to do things to it, there is more to do. It may not work on the first try, but this should be a good starting point. There's also an open source skin editor at Road Runner's download page you can use to edit the buttons and labels on your skin.

Chris. (Thanks!)
__________________
Road 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."
guino is offline  
Sponsored Links
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I setup my GPS Application ? guino RR FAQ 0 03-20-2005 02:17 PM
How to embbed any Application in RR ? guino RR FAQ 0 03-20-2005 12:35 PM
Auto launch application help ?? tolisn Road Runner 2 03-06-2005 06:47 AM
Beta-Testing External Application Code CarComp Media Engine 2 02-17-2005 10:42 PM
Telematics.net IntellaWorks Software & Software Development 40 11-05-2004 08:20 PM


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


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics