Announcement

Collapse
No announcement yet.

suggestion and thanks

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      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.

      Comment


      • #4
        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.

        Comment


        • #5
          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?

          Comment


          • #6
            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 Files

            Comment


            • #7
              this is what i'd like to be able to do automatically without having to go in and change text color everytime.
              Attached Files

              Comment


              • #8
                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

                Comment


                • #9
                  thanks i appreciate it. this is something i definetly want to have so i'm off to try and learn autoit.

                  Comment


                  • #10
                    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

                    Comment


                    • #11
                      Posting your code it would be a be easier to help you, rather than posting the debug log.
                      Build Things, it keeps your brain busy.

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

                      Comment


                      • #12
                        Here you go,

                        B17,399,535,72,61,"RUNw;wscript.exe|"$SKINPATH$Scr ipts\night.vbs"||RELOADSKIN",""
                        B17,324,535,73,61,"RUNw;wscript.exe|"$SKINPATH$Scr ipts\day.vbs"||RELOADSKIN"",""

                        Comment


                        • #13
                          i'd really like to help, but this is way over my head. Your already speaking what i can't understand. hope you can resolve and share. HINT HINT

                          Comment


                          • #14
                            are you writing the script in visual basic 6?
                            Build Things, it keeps your brain busy.

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

                            Comment


                            • #15
                              shoot... extra double quote on the second command... problem resolved.. works great...


                              venealis, put the zip content in the skin folder,
                              open the vbs files with notepad, then replace "bmw e36 green" with whatever skin u want

                              then, in menu skin, have a button with an icon(maybe sun and moon) for day and night, left half of that button calls the first command above, right half calls the second command.. Then u set, it will change the font color instantly in runtime... this means we will be able to change anything we want inside that font_color.txt file... even font type,size too...

                              Cheers!!!

                              ---edit

                              i'll try to convert the vbs to exe..
                              Attached Files

                              Comment

                              Working...
                              X