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 Skins

Reply
 
Thread Tools Display Modes
Old 02-21-2008, 10:33 AM   #1
Confusion Master
Enforcer's CarPC Specs
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Vehicle: 1997 BMW E36 328I
Posts: 9,567
My Photos: (1)
Change background without using xternal scripts

Ok, this is something that has bugged me for a while, and one of the reasons iDrive transparent hasn't been released yet.

I wanted a way of changing the background without

1. using an external script or program

and

2. using the picviewer skin/screen.


And also allowing for seperate picture and backgrounds locations.

I have now got it working. I think.


Note: Assumes you have a backgrounds folder in the root of RoadRunner, which is where I recommend everyone has it rather than a backrounds folder in each skin.

in exectbl.ini have the following
Code:
"ONSKINSTART","BYVAR;strt;AUDIO<<load;background.skin||SETVAR;strt;0" "TIMER","SETVARBYCODE;LISTTEXT;LISTTEXT||SETVAR;bground;$rrpath$backgrounds\$LISTTEXT$",BACKGROUND.SKIN .


in your background.skin

Code:
TMR,1 B,x,y,w,h,"PGUP","" B,x,y,w,h,"UP","" B,x,y,w,h,"DOWN","" B,x,y,w,h,"PGDOWN","" B,x,y,w,h,"SETVARBYCODE;LISTTEXT;LISTTEXT||SETVAR;bground;$rrpath$backgrounds\$LISTTEXT$||SAVETOSKIN;background;$rrpath$backgrounds\$LISTTEXT$||SETVAR;strt;1||RELOADSKIN","" SD,x,y,w,h,"$rrpath$backgrounds\","*.jpg",false S01,x,y,w,h,",255,255,255,000,000,000,000,000,000,255,255,0,TRUE,18,"Tahoma:B" I,210,050,580,360,"FILE;$bground$" .


Ok, I'll try to explain what happens

The onskinstart line is done such that if the variable strt is zero it goes to the AUDIO screen (this is of course optional and up to you, change or delete as necessary) whereas if it is 1 it goes to the background skin, this is so that once you have changed the background, the skin needs to be reloaded and if so you want to come back to the background screen.

The main button line is the one that sets the background variable in your skin.ini and also sets the strt variable to 1.

Now the TIMER sets a timer up in the background screen to set the bground variable to the currently selected file in the list.
The result of this is that every second (TMR,1) this variable is updated and list variable is used in the Indicator line to display that image.

This will not work on the last December RR release as thei is a bug in the indicator function, but should work in the previuos release (november) and the new one when Guino releases it.


If this is any good to you great, if not then sorry to have wasted your time with my inane babbling.


As a side note I also added a similar button in my picviewer.skin so that A picture from the pictures folder can be set as background.

<post subjected to editing once I have reread it a number of times to see if it makes sense>

Last edited by Enforcer : 02-21-2008 at 10:37 AM.
Enforcer is online now   Reply With Quote
Sponsored Links
Old 02-21-2008, 11:24 AM   #2
Maximum Bitrate
Sal R.'s CarPC Specs
 
Sal R.'s Avatar
 
Join Date: Aug 2006
Location: Sun Diego
Vehicle: 2001 A4 1.8TQMS
Posts: 838
My Photos: (33)
If you want to take it up a notch, I can show you how to update the the whole background.skin with the background image and skin on-the-fly so you get a fullscreen preview.

__________________
MicroXP / RR v11/04/2007 / Winamp v5.13 / MMIv2
RR Album Art Browser
Sal R. is offline   Reply With Quote
Old 02-21-2008, 06:29 PM   #3
FLAC
blk02si's CarPC Specs
 
blk02si's Avatar
 
Join Date: Jul 2005
Location: Southeast, MI
Vehicle: '06 Triple Black Mustang
Posts: 1,444
My Photos: (0)
Shock V 6.x uses very similar code, and background.skin instead of picviewer.

Might want to take a gander.
__________________
Build Things, it keeps your brain busy.

My carPC - www.shocknet.us
blk02si is offline   Reply With Quote
Old 02-22-2008, 01:19 PM   #4
Confusion Master
Enforcer's CarPC Specs
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Vehicle: 1997 BMW E36 328I
Posts: 9,567
My Photos: (1)
Quote: Originally Posted by Sal R. View Post
If you want to take it up a notch, I can show you how to update the the whole background.skin with the background image and skin on-the-fly so you get a fullscreen preview.



Hmm don't tell me, I'll go and have a play.
Enforcer is online now   Reply With Quote
Sponsored Links
Reply


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
Change Log iamgnat CarFrontEnd 12 03-19-2008 10:33 PM
Digital FX 2.0 Transparent Released JohnWPB RR Skins 3759 03-07-2008 12:23 PM
Shock Skin v3.0 Transparent Released (fast, GDI) blk02si RR Skins 145 09-09-2007 10:38 PM
Program to change background at a certain time? Telos Software & Software Development 2 04-15-2007 02:15 PM
ebay change of password cruzc_99 Off Topic 1 01-22-2002 03:43 PM


All times are GMT -5. The time now is 06:20 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