RR 03-01-2011 Release (must have been snowed in release)
Eh, there still prob some snow in a mall parking lot... otherwise its gone!
Download HERE
**********************************
** anyone using window vista or window 7 **
** please edit thier rr.ini: **
** disabledc=true **
**********************************
Got a lot of new stuff here...
please read history in detail.. and we can talk about any new item in forum
Some Highlights:
Man i cant even do this... too much!
Alot of this happend because I had to make a skin for a cool new product coming out (more on that soon) and i found some of RR skin code klunky and incomplete, so i improved a bunch of commands, added some new ones (some should be used going forward, and stop using the old ones).
lets look at one SKIN DEFINTION for example:
IDLE - "IDL"
in a skin file its
IDL,10
Ok, so after 10 seconds of idle can anyone tell me what it will do? course not you have no idea, cause i didnt give you enough information, ok you could say it will fire the "ONIDLE" event... but what does that do?
IDL,10,"CANCEL"
With this, i know what it will do, at the end of the 10 seconds of idle time, it will exec the commands in the qoutes
IDL,10,"PLAYSOUND;beep.wav"
what ever you want, if he parameter isnt present, "ONIDLE" fires as usual
so whats this mean, yea no entries needed in exectbl.ini
and guess what same for Timer "TMR"
TMR,5,"PlaySound;Click.wav"
this will play click.wav every 5 seconds while this screen is in view... again no need for exectbl.ini
this really allows straight forward programming
ok, something simple a new skin definition option:
"/SCREENREFRESH=x" where x = 1 to 10 in 10Th's of seconds 10=1 second (RR's Default)
we know that riderunner typically (unless changed in rr.ini) updates the screen once a second
well.. lets say you got a skin thats got something on it that needs faster refresh, maybe OBD2 data, maybe some sliders that control some cool things, and you want to go faster, but you only need to do it in one screen, now you can, add:
/SCREENREFRESH=1
to the skin file and it will update every 10th of a second (FAST!)
new indicator:
"GPSVALID" this is set to true, when the gps data is valid.
new improved:
BYVARX
BYINDX
new User variables; "LISTTEXT" & "LISTPOS" these are updated for active list
no more need to set them, its done for you!
and many new things in SKIN Definition; SD (file browser)
SD,00,00,-1,-1,"$SKINPATH$\TestSkins","*.skin",False,"OPT_LOCKR OOT",,"LOAD;$LISTTEXT$"
new OPTions (read history)
new commands, no more exectlb!!!
Oh, and you better still be reading, a NEW transparent type popup!
(this deserves a thread on its own)
History:
Code:
LEGEND:
- = Removed
+ = Added
* = Changed
! = Major code change
# = Bug fix
^ = Note
2/28/2011
------------------------------------------------------------------------
+ MPCVidRR Player; to support MPC-HC
+ MPCVidRR Player; MPClasic is put into full screen mode, so that it will auto hide the mouse pointer.
(side note, MPC-HC is recomended, over the mplayerc)
2/27/2011
------------------------------------------------------------------------
* Plugin Manager will now show in its List, correctly cased plugin names.
2/26/2011
------------------------------------------------------------------------
+ Skin Commands: "STARTVOL+", "STARTVOL-", "STOPVOL" these are ment to be used
by external control, when start command is sent, the MASTER volume will ramp just as
if the command "vol+","vol-" commands would be held down on a screen. This is Master volume.
2/22/2011
------------------------------------------------------------------------
+ Skin Definition; "/EFFECTVIDEOHIDE=x" - Overrides the default effect for hiding of the video
control when on "video_player.skin". x is the same for all other effects. x = -1 for no effect.
2/21/2011
------------------------------------------------------------------------
# fixed BYVAR in indicators
+ Skin definition; IDLE - "IDL" additional option:
ARGUMENT 2: is optional, this argument should be enclosed in quotes and is a command that will be executed
when the idle time is exceeded. if this argument is not present, "ONIDLE" event is fired as usual.
example: IDL,10,"CANCEL"
This will execute "CANCEL" command after 10 seconds of IDLE.
+ Skin definition; TIMER - "TMR" additional option:
ARGUMENT 2: is optional, this argument should be enclosed in quotes and is a command that will be executed
when the timer expires. If this argument is not present, "ONTIMER" event is fired as usual.
example: TMR,5,"PlaySound;$SKINPATH$Sounds\Click.wav"
This will play the click.wav sound every 5 seconds.
+ New background draw mode for menu type skins (popups) this allows a pseudo transparent screen.
(example and details soon)
2/19/2011
------------------------------------------------------------------------
+ A form of % (percent) Encoding, if you want to put " (double quotes)
in skin definitions and command use this method: %XX% where XX is 2 chars of hex number,
as in %22% for double quotes.
Example #1: B,x,y,h,w,"WRITETOFILE;e:\Test.txt;=Hello, My Name is %22%Mitch%22%"
Writes in the file: hello, My Name is "Mitch"
Example #2: L,x,y,h,w,r,g,b,sz,"Arial:B","=%22%Source%22%","CENTER",,
Shows "Source" as the label, including the quotes
2/16/2011
------------------------------------------------------------------------
+ Skin Definition; "/SCREENREFRESH=x" where x = 1 to 10 in 10Th's of seconds 10=1 second (RR's Default)
this overrides the global SCREENREFRESH= rate as set in rr.ini BUT
for this screen only.
2/15/2011
------------------------------------------------------------------------
+ Indicator; "GPSVALID" this is set to true, when the gps data is valid.
+ Internal code changes to lists, added type "FIL" for generic file.
prior to this all files were consider type "SNG" (song) and attempt to ID3 it
was made. Now "SD" directory views are "FIL"s and "DIR"s
2/10/2011
------------------------------------------------------------------------
* Vista/Win7 Master Volume control, now sets all channels by default, balance is
not controllable from RR, this solves sound systems with > 2 channels.
No official Balance control from application side is exposed by Microsoft.
(This is done on purpose.)
+ Setting; "VMCTRYBALANCE=true/false" setting this to true, will restore old behavior,
but is not recomended.
2/5/2011
------------------------------------------------------------------------
+ Skin Commands; "BYVARX;var;(cmd0<<cmd1<<cmd3<<...)"
With this extended byvar, syntax requires a opening and closing Parentheses ( ).
Now multiple commands for each case are allowed, no need for any exectbl.ini coding
example #1:
"BYVARX;myvar;(load;pictures.skin||playsound;$SKINPATH$Sounds\boing.wav<<load;drawings.skin||playsound;$SKINPATH$Sounds\bong.wav)"
if myvar = 0, pictures.skin will load, and playsound will play boing.wav
if myvar = 1, drawings.skin will load, and playsound will play bong.wav
example #2:
"BYVARX;myvar;(load;newskin0.skin<<load;newskin1.skin||setvar;blabla;1)||playsound;$SKINPATH$Sounds\ping.wav"
if myvar = 0, newskin0.skin will load, and playsound will play ping.wav
if myvar = 1, newskin1.skin will load, variable "blabla" will be set to 1, and playsound will play ping.wav
+ Skin Commands; "BYINDX;indicatorcode;(cmd0<<cmd1<<cmd3<<...)"
With this extended byind, syntax requires a opening and closing Parentheses ( ).
Now multiple commands for each case are allowed, no need for any exectbl.ini coding
example #1:
"BYINDX;myIndicator;(load;newskin0.skin||playsound;$SKINPATH$Sounds\boing.wav<<load;newskin1.skin||playsound;$SKINPATH$Sounds\bong.wav)"
if myIndicator = false, newskin0.skin will load, and playsound will play boing.wav
if myIndicator = true, newskin1.skin will load, and playsound will play bong.wav
example #2:
"BYINDX;myIndicator;(load;newskin0.skin<<load;newskin1.skin||setvar;blabla;1)||playsound;$SKINPATH$Sounds\ping.wav"
if myIndicator = false, newskin0.skin will load, and playsound will play ping.wav
if myIndicator = true, newskin1.skin will load, variable "blabla" will be set to 1, and playsound will play ping.wav
2/4/2011
------------------------------------------------------------------------
+ User variable; "LISTTEXT" & "LISTPOS" these are updated for active list
+ 2 New arguments for (SD) Directory List Properties;
ARGUMENT 8: is options; this argument should be enclosed in quotes and
each OPTion comma separated, list of options in development
OPTIONS: "OPT_LOCKROOT" - prevents browsing upwards from the
directory supplied in path argument
"OPT_FILESONLY" - show only files.
"OPT_NOCASE" - doesnt alter the case of files/dirs name.
"OPT_LCASE" - names of files/dirs are shown in lower case.
"OPT_UCASE" - names of files/dirs are shown in UPPER case.
"OPT_FCASE" - names of files/dirs are shown in First Case. (same as not using this option, rr default.)
ARGUMENT 9: is file clicked; this argument should be enclosed in quotes.
This is a standard RR Command string, that should be executed
on file select, use this vs a "ONFILESELECT" event in exectbl.ini
if this argument is not supplied, or empty, "ONFILESELECT" event
will fire.
example:
SD,00,00,32,32,"$SKINPATH$\TestSkins","*.skin",False,"OPT_LOCKROOT","LOAD;$LISTTEXT$"
ARGUMENT 10: is file double clicked; this argument should be enclosed in quotes.
This is a standard RR Command string, that should be executed
on file double click select, use this vs a "SELECT" event in exectbl.ini
if this argument is not supplied, or empty, "SELECT" event
will fire.
example:
SD,00,00,32,32,"$SKINPATH$\TestSkins","*.skin",False,"OPT_LOCKROOT",,"LOAD;$LISTTEXT$"
(do nothing on single click)