Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: suggestion and thanks

  1. #1
    Constant Bitrate venealis's Avatar
    Join Date
    Apr 2006
    Location
    Richmond, VA
    Posts
    150

    suggestion and thanks

    The ability to change font colors is great, but is there anyone who may either know how to or is working on the ability to change font colors from day to night skin. example being i drive a Dodge, colors on font during day is white. i'd like to be able to set it so that when gamma changes for night the font colors will change to a green. setting a day and a night skin seperatly ends up being a pain with trying to match settings. so like just using a gamma and have it set to auto. suggestions or thoughts would be great.
    by the way i'd like to give credit and a big kudos to all that make this site great with their skins and ideas. i'm just trying to mod a skin to work for me and its a pain in the A##. can't imagine having to design as well. so here is to all those whom actually do this all from scratch,

  2. #2
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,268
    Blog Entries
    1
    You would have to recode the skin files with variables and use an 'include' file

    So in your skin file instead of the font color reading 255,90,0 it would be changed to #R#,#G#,#B#

    You would create a FONT_COLOR.txt or something for an include file that would contain this

    /DEFINE R
    /DEFINE G
    /DEFINE B

    That way all the font colors, in the entire skin, can be controlled from the one FONT_COLOR.txt file

    You can look at the shock v6 skin for example, it has this capability.

    After that was done, you would need some sort of trigger to change the FONT_COLOR.txt values when you hit the gamma button, could be done with an environment variable.

    Hope this helps some, I can tell you its not going to be as easy as just modifying a line or two of code. You are really going to need to read skin definitions.txt and do some digging in the code.

    What skin are you using?
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

  3. #3
    Constant Bitrate venealis's Avatar
    Join Date
    Apr 2006
    Location
    Richmond, VA
    Posts
    150
    am using or rather trying to modify the BMW E46 skin. i've already gone through and changed text and made so buttons are definable. been looking and borrowing script from pretty much everyones skin. The only reason i chose this skin was because of the layout seemed to blend better with my truck.
    will look into your skin and possibly borrow some text. thanks.
    PS. If i do or do not release my modifications i would give credit where it is due, pending approval from all of those whom i borrowed lines from.

  4. #4
    Constant Bitrate venealis's Avatar
    Join Date
    Apr 2006
    Location
    Richmond, VA
    Posts
    150
    i know one thing that i have done that i think has worked out kinda good for me is that i can define multiple colors of text. meaning i can define the "=Album" and then a diffrent color for "Album". kinda works out cool. so the things that stay perminant are one color and the songs, group etc., can be another color.

  5. #5
    Maximum Bitrate
    Join Date
    Dec 2007
    Posts
    738
    Quote Originally Posted by blk02si View Post
    You would have to recode the skin files with variables and use an 'include' file

    So in your skin file instead of the font color reading 255,90,0 it would be changed to #R#,#G#,#B#

    You would create a FONT_COLOR.txt or something for an include file that would contain this

    /DEFINE R
    /DEFINE G
    /DEFINE B

    That way all the font colors, in the entire skin, can be controlled from the one FONT_COLOR.txt file

    You can look at the shock v6 skin for example, it has this capability.

    After that was done, you would need some sort of trigger to change the FONT_COLOR.txt values when you hit the gamma button, could be done with an environment variable.

    Hope this helps some, I can tell you its not going to be as easy as just modifying a line or two of code. You are really going to need to read skin definitions.txt and do some digging in the code.

    What skin are you using?

    that seems to be good idea... taking blk's suggestion and if i create two txt for 2 different font color and create a batch to just copy and overwrite one another on gamma button press... hmm but, there's one problem, skins already loaded will not see that changes unless RR restarts... Isn't that right? or is there a way to clear the buffer and forced to be reloaded?


    venealis, what color are you using currently for BMW E46 skin?

  6. #6
    Constant Bitrate venealis's Avatar
    Join Date
    Apr 2006
    Location
    Richmond, VA
    Posts
    150
    this is what i have so far. all the labels are changable, all text color is changable. blue color and green colors are actually changable seperatly. which is all good except for the life of me i cant see how you can get a script to pick up a diffrently assigned text color and implemnt it. i can assign a color but how would you tell RR that @ 1800 use color "blue1" and 2 0600 use blue2? anyone have any ideas. what i'm trying to do is the same thing that JohnWPB did with the skin colors except for the text color.
    Attached Images Attached Images  

  7. #7
    Constant Bitrate venealis's Avatar
    Join Date
    Apr 2006
    Location
    Richmond, VA
    Posts
    150
    this is what i'd like to be able to do automatically without having to go in and change text color everytime.
    Attached Images Attached Images   

  8. #8
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,268
    Blog Entries
    1
    You could use AutoIT to write a new INCLUDE file on a timer or on an event, but you would need to send a "RELOADSKIN" for the settings to take effect. the "RELOADSKIN" would work well because it does not shutdown and restart the skin, it just relaods all the .skin files and updates them.

    Talk to Guino, it may be possible to do it all in RR not sure the exact code but here it is in english

    "if gamma on then include file A.txt, if not use B.txt"
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

  9. #9
    Constant Bitrate venealis's Avatar
    Join Date
    Apr 2006
    Location
    Richmond, VA
    Posts
    150
    thanks i appreciate it. this is something i definetly want to have so i'm off to try and learn autoit.

  10. #10
    Maximum Bitrate
    Join Date
    Dec 2007
    Posts
    738
    ok.. i got it working, but it only works very first time after you launch RR.. after that reload doesn't seem to work.. what's going on with that.... God.. things like this drive me nuts.. help me out... thanks..

    2008-03-17 7:27:09: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:09: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:10: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:10: Enter Exec: False, menu.skin, "RUNw;wscript.exe|"$SKINPATH$Scripts\night.vbs"||R ELOADSKIN", False
    2008-03-17 7:27:10: Que Exec: True, menu.skin, "RUNw;wscript.exe|"$SKINPATH$Scripts\night.vbs"||R ELOADSKIN", False
    2008-03-17 7:27:10: Executing: RUNw;wscript.exe|"C:\Program Files\Road Runner\Skins\bmw e36 green\Scripts\night.vbs"
    2008-03-17 7:27:10: Shell: "wscript.exe" "C:\Program Files\Road Runner\Skins\bmw e36 green\Scripts\night.vbs"
    2008-03-17 7:27:10: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:10: Sim.WMSGs: 1
    2008-03-17 7:27:10: Sim.WMSGs: 1
    2008-03-17 7:27:10: Sim.WMSGs: 2
    2008-03-17 7:27:10: Sim.WMSGs: 1
    2008-03-17 7:27:10: Sim.WMSGs: 1
    2008-03-17 7:27:10: Sim.WMSGs: 2
    2008-03-17 7:27:10: Sim.WMSGs: 1
    2008-03-17 7:27:10: Sim.WMSGs: 1
    2008-03-17 7:27:10: Sim.WMSGs: 1
    2008-03-17 7:27:10: Sim.WMSGs: 1
    2008-03-17 7:27:10: Sim.WMSGs: 1
    2008-03-17 7:27:10: Que Exec: True, menu.skin, "RELOADSKIN", False
    2008-03-17 7:27:10: Executing: RELOADSKIN
    2008-03-17 7:27:11: SDK command: REQUEST;milage;RRPATH
    2008-03-17 7:27:11: Que Exec: True, menu.skin, "ONSKINEND", False
    2008-03-17 7:27:11: Executing: ONSKINEND
    2008-03-17 7:27:11: Que Exec: True, menu.skin, "ONSKINSTART", False
    2008-03-17 7:27:11: Executing: ONSKINSTART
    2008-03-17 7:27:11: Leave Exec: False, menu.skin, ONSKINSTART, False
    2008-03-17 7:27:11: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:12: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:12: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:13: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:13: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:14: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:14: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:15: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:15: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:16: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:16: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:17: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:17: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:18: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:18: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:19: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:19: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:20: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:20: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:21: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:21: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:22: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:22: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:23: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:23: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:24: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:24: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:25: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:25: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:26: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:26: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:27: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:27: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:28: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:28: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:29: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:29: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:30: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:30: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:31: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:31: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:32: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:32: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:33: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:33: Enter Exec: False, menu.skin, "RUNw;wscript.exe|"$SKINPATH$Scripts\day.vbs"||REL OADSKIN"", False
    2008-03-17 7:27:33: Que Exec: True, menu.skin, "RUNw;wscript.exe|"$SKINPATH$Scripts\day.vbs"||REL OADSKIN"", False
    2008-03-17 7:27:33: Executing: RUNw;wscript.exe|"C:\Program Files\Road Runner\Skins\bmw e36 green\Scripts\day.vbs"
    2008-03-17 7:27:33: Shell: "wscript.exe" "C:\Program Files\Road Runner\Skins\bmw e36 green\Scripts\day.vbs"
    2008-03-17 7:27:33: Sim.WMSGs: 1
    2008-03-17 7:27:33: Sim.WMSGs: 1
    2008-03-17 7:27:33: Sim.WMSGs: 2
    2008-03-17 7:27:33: Sim.WMSGs: 1
    2008-03-17 7:27:33: Sim.WMSGs: 1
    2008-03-17 7:27:33: Sim.WMSGs: 2
    2008-03-17 7:27:33: Sim.WMSGs: 1
    2008-03-17 7:27:33: Sim.WMSGs: 1
    2008-03-17 7:27:33: Sim.WMSGs: 1
    2008-03-17 7:27:33: Sim.WMSGs: 1
    2008-03-17 7:27:33: Sim.WMSGs: 1
    2008-03-17 7:27:33: Que Exec: True, menu.skin, "RELOADSKIN"", False
    2008-03-17 7:27:33: Executing: RELOADSKIN"
    2008-03-17 7:27:33: Leave Exec: False, menu.skin, RELOADSKIN", False
    2008-03-17 7:27:33: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:34: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:34: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:35: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:35: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD
    2008-03-17 7:27:36: SDK command: REQUEST;milage;GPSLAT||REQUEST;milage;GPSLON||REQU EST;milage;GPSSPD

Page 1 of 3 123 LastLast

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
  •