Windows 10: Custom Background Colors, Theme Editing, msstyles editing advice?

Discus and support Custom Background Colors, Theme Editing, msstyles editing advice? in Windows 10 Customization to solve the problem; Hi folks, So I have been playing with making my own custom themes, as many here have done (and shared here). However, I wanted to do a little more,... Discussion in 'Windows 10 Customization' started by Lekden, Sep 23, 2015.

  1. Lekden Win User

    Custom Background Colors, Theme Editing, msstyles editing advice?


    Hi folks,

    So I have been playing with making my own custom themes, as many here have done (and shared here). However, I wanted to do a little more, and in the process I solved some of my own confusions but brought up new ones. So I wanted to post my process here so hopefully some of you can help me improve what I am doing... I have jumped into the world of editing the .theme files and (potentially) the .msstyles file, but would love some help decoding some of it. I can find almost no guides on the latter, and the guides on the former, such as this one from Microsoft Dev Center are clearly not written for Windows 10 because not all of the attributes are the same, and even then not everything is explained completely... A lot of this I could probably figure out if I spent many hours tweaking one thing at a time to see the result but hopefully others already have the knowledge...

    (For the purposes of this post I will use the moniker "NEW_THEME" to indicate the name of the theme I have been working on).

    My primary goal was a simple slide show background, and I used the method explained in these forums, about saving a theme for sharing. Easy enough. However, I am using photos of all different sizes, so they are made to fit the screen but the background color is visible. I was not happy with any of the available background colors. So I navigated to the Theme folder (%User%\AppData\Local\Microsoft\Windows\Themes) and that is where you will find folder for all of your installed themes. So inside that folder I went to the folder NEW_THEME and inside there was another folder holding all of the slide show images, called "DesktopBackground," as well as the file NEW_THEME.theme. Opening the .theme file, I was able to navigate to the "Control Panel\Colors" and change the background color, and it worked great.

    Of course, I had no way to compile this new .theme file into the .themepack file that is used to install the theme on various machines. So I wrote a small batch file which could be run from any thumb drive and would install the theme as well as copying the modified .theme file to the proper location, and it worked perfectly. That batch file (which was in the same folder as the .themepack file and the altered .theme file) was as follows:
    That did exactly what I wanted - it installed the new theme, copied the altered .theme file, and then by running the altered file it refreshed the screen. The timeout command is to accommodate slower machines, to ensure that the file is actually created before the altered one is moved to replace it. Of course, it should have worked without copying the file--simplying running the altered file should work. However, if the user at any point switches to a different theme and then tries to switch back (in the Settings->Personalization->Theme->Theme Settings window) it would recall the original, unaltered file and no have the background color I want.

    However, then I realized that I really want the Taskbar and Start to use the same color as the background, and I want transparency enabled. Looking through the .theme file, it seems like these are enabled, but it seems that the .theme file is overridden by the switches in the Settings->Personalization->Colors window. If they are switched off there then it does not matter what data is in the .theme file, it seems. So I modified my batch command to include a small registry tweak to enable them both, resulting in this:
    Which works well and does what I want. So I should be satisfied, right?

    Well, I am, for the most part. But I learned one interesting thing, and simultaneously have been brimming with ideas and questions.

    The cool thing I learned: The whole point of this was to modify the background to a color not available in the Windows 10 swatches. Well, I found that whatever color you set for that stays in the background, and can be available for the next theme you create.

    That's confusing. Let me explain. I created my theme, saved it for sharing and enabled it, modified my .theme file and replaced the original in my computer. So far, makes sense. Then, without manually clicking or adjusting the color settings, I created the theme again and saved it with a different name. Now, here is the cool part--the new theme file I created already had the modified color settings in its .theme file. That's right, I could just run the .themepack file on any computer and it would give me the modified, custom color as the background. No need to run that original batch file.

    So, that's pretty cool. It means you can go in and make edits and then if you save everything correctly you can share those customizations without forcing the user to copy an altered file, without running a batch, everything is on the up and up, nothing hacky at all. And if the background color stays the same during this process, I wondered what else would stay the same (and hence no need for editing the .theme file). Such as, if I created a custom theme that used a different .msstyle file, such as the aerolite.msstyle file that is available pre-installed in Windows 10 but somewhat hidden), would that also be saved?

    I am going to post the altered .theme file now, because some of my questions reference it. The lines that I edited I have made bold, just o make them stick out, obviously the original file has no formatting as such.
    And that comes to my questions. These are not in any specific order, but:

    1) Can anyone confirm what takes precedence, from the values within the .theme file, the values in the .msstyle file that the .theme file references, and any hard switches (like Transparency) that the user adjusts?
    2) Can someone explain, in the Slideshow section of the .theme file, the "ImagesRootPIDL" variable and how it works? In the guide I link to above they reference a "ImagesRootPath" which makes sense, and you point it directly where you want. However that is not what happens in these custom made themes, as you can see, there is instead the ImagesRootPIDL and a crazy and unintelligible string of characters after it. This unintelligible string is important though, because if it is not there the theme will not find your images. Is it possible to use the ImagesRootPath command instead? It seems like it would make it easier when working within a theme file, especialy if you wanted to tweak anything. It would also let you call things like a users Pictures folder, or any of the other default folder that have unalterable paths.
    3) Is there somewhere in that .theme file that I can force the transparency or the taskbar/start menu color that I am missing? There could also be commands that aren't included in this file, never mind commands with different variables, but since I cannot find a comprehensive guide I am not sure.
    4) Following up on #3, I suppose, can anyone give a breakdown of the functions for all of the variables in the "VisualStyles" section as well as the "ControlPanel/Colors" and "MasterThemeSelector" sections? I feel like there are a lot of little tweaks possible here but I don't know what each variable actually changes and, like I said, testing them one at a time would take a while...
    5) Can anyone offer some help on navigating the craziness that is a .msstyle file? I am using the small, free msstyle editing program found here, and to be honest I have no idea what is going on in there. Which variable affect thing like windows title bars (active or inactive), and shadow, border depth, transparency, taskbar transparency, etc.?
    6) Assuming that there are no changes we can make to the .theme file that will force transparency and changing the taskbar color, does anyone know a batch command that can change it without tweaking the registry? It is a harmless tweak, obviously, but the less direct engaging with the registry the better, in my opinion, but I could not find any other way to make it happen except for what I listed above.

    I think that's it... Basically I want to see how many other modifications I can sneak into the .theme file itself, which I can then hopefully compile into a .themepack using the method above and not requiring runing a batch command. Then, on top of that, I want to see what additional functionality I can get out of playing in the .msstyle file, because if there is a lot at offer there I can make a new .msstyle file, place it in the same directory as the pre-existing ones, and reference it in my new .theme. Of course, that would require the batch command, in order to copy the file onto the users computer, but that is simple enough...

    Thanks for any and all thoughts and opinions!

    :)
     
    Lekden, Sep 23, 2015
    #1

  2. Edit Themes in Windows 10

    You can use that to edit the colors - or you can use Settings :: Personalization :: Background and choose "Solid color" from the dropdown listbox to edit colors there.

    Sounds can be updated in Settings :: Personalization :: Themes :: Advanced sounds settings.
     
    zachd [MSFT], Sep 23, 2015
    #2
  3. marianh Win User
    Change titlebar color

    How can I set custom color for title bar?

    I want my desktop background to be black as well as Start Menu and Taskbar.

    I tried WinAero Tweaker, but after I enabled "Enable Colored Title Bars" it changed desktop wallpaper. After I reverted it to my wallpaper (solid black color) it disabled colored title bars.

    If only solution is using a theme, please recommend a freeware program to create or edit existing theme.
     
    marianh, Sep 23, 2015
    #3
  4. AveYo Win User

    Custom Background Colors, Theme Editing, msstyles editing advice?

    TLDR: don't mess with msstyles.

    As much as it's rewarding in having a true custom theme, it's not worth it if some update or something else broke things and you end up repairing/reinstalling Windows 10.
     
    AveYo, Sep 23, 2015
    #4
  5. Lekden Win User
    Thanks for the reply; I know my post is long, but if you read it you'll see that none of the methods I have used yet mess with msstyles, as I had the sneaking suspicion it was better to work around other ways. And the other ways work quite well, at that! I was just curious if there was anything in there that might be able to be tweaked...

    Windows 10 comes with both aero.msstyles and aerolite.msstyles available, though there is nothing anywhere that utilizes the latter. You could enable it and then create a regular themepack, and it should be included in the themepack as the referenced style, so no further hacking would be needed, which might be useful for people who want to build themes around aerolite instead of aero. That way you wouldn't me messing with the contents of the files at all, just referencing a different one...

    (Edit): PS - You'll notice the bulk of my questions are aimed at getting help to understand how every different variable included in a .theme file affects appearance...
     
    Lekden, Sep 23, 2015
    #5
  6. AveYo Win User
    You could take a look at this: Solved Windows 10 Themes created by Ten Forums members - Page 50 - Windows 10 Forums
    It's just built-in theme engine, no extra tools or registry changes involved, and the included Readme contains some info about issues encountered. If you manually unpack the .deskthemepack (use something like 7-zip) you can see the raw .theme and all the settings nicely grouped by me. That's pretty much everything you can use in a theme, but note that many are not used at all by Windows 10.

    Fun fact: you can now disable the theme service, and since classic/basic style are long gone, Windows 10 reverts to aerolite mode. Changing themes still works, but only just a few settings are applied (like the accent color). High contrast themes will not work at all.
     
    AveYo, Sep 23, 2015
    #6
  7. TCB
    TCB Win User
    Hi, I have downloaded a theme pack for windows 10 that allows for the text in the title bar to be white. I like the theme pack but I want to be able to edit it and change a color. For example I have changed the title bar color but I would like to make that color universal with other programs. I have included a screenshot of a program I run. The internal windows will change colors depending on the theme chosen. You can see the difference in the colors of the internal windows vs. the windows title bar. I want the internal to match the title bar. But when I change the title bar colors thinking it will change the window colors in the program, it doesn't. But changing themes will change them. I guess I need to edit something in the theme pack files. Not sure what and how to change it to make this work. Any help would be greatly appreciated. Thanks

    Custom Background Colors, Theme Editing, msstyles editing advice? [​IMG]
     
Thema:

Custom Background Colors, Theme Editing, msstyles editing advice?

Loading...
  1. Custom Background Colors, Theme Editing, msstyles editing advice? - Similar Threads - Custom Background Colors

  2. Display background, color, and theme

    in Windows 10 Gaming
    Display background, color, and theme: How to save my background settings across a shutdown and restart?Thanks in advance. https://answers.microsoft.com/en-us/windows/forum/all/display-background-color-and-theme/274f520b-92ed-4cba-861c-ddbd3ceeff91
  3. Display background, color, and theme

    in Windows 10 Software and Apps
    Display background, color, and theme: How to save my background settings across a shutdown and restart?Thanks in advance. https://answers.microsoft.com/en-us/windows/forum/all/display-background-color-and-theme/274f520b-92ed-4cba-861c-ddbd3ceeff91
  4. Edit/Merge custom Themes

    in Windows 10 Customization
    Edit/Merge custom Themes: Hey folks, I want to modify my system with UXThemePatcher and a custom theme. I already found one that suits me. Now I like everything about that theme except the Curtains (Close,Minimize,Maximize) and the scroll bar. However I found a theme that has exactly those two that...
  5. Merge/Edit custom Themes

    in Windows 10 Ask Insider
    Merge/Edit custom Themes: Hey folks, So I'm trying to mod my windows 10 with UXThemePatcher and a nice theme. Now I found one that I like pretty good. Only the Window curtains and Scrollbar are a problem. Although I have another theme where exactly those are perfect. Now how would I be able to...
  6. Need help to edit my .msstyle custom theme

    in Windows 10 Ask Insider
    Need help to edit my .msstyle custom theme: Hi I'm trying to edit a custom theme for my Windows 10 (1909). I have already change some colors in taskbar and explorer, now i'm trying to find a way to edit the color/design of the gauge for hard disk drive in the explorer window, i have tried some changes with...
  7. Custom Dark Theme for Windows Explorer for all editions of Windows

    in Windows 10 Customization
    Custom Dark Theme for Windows Explorer for all editions of Windows: I want custom dark theme for Windows Explorer which will support all editions of Windows like Windows 7, 8.1, and Windows 10. Is this possible to change theme of Windows Explorer in older editions of Windows? If yes! then please tell me how?...
  8. How to Block Custom theme from Affecting Excel Background Color?

    in Windows 10 Customization
    How to Block Custom theme from Affecting Excel Background Color?: I'm running a win 10 custom theme that i downbloaded from a site. I like it but unfortunately it affects the background color of excel. Is there any way to block the theme from affecting excel? 103145
  9. Edit themes help

    in Windows 10 Customization
    Edit themes help: Is there any third party software available that will let me edit the desktop themes I made with W7 that I'm now using on 10, or even make new ones? 14644
  10. Editing an msstyles file to scale button images to 200% dpi?

    in Windows 10 Customization
    Editing an msstyles file to scale button images to 200% dpi?: hey guys, i'm using a 4k screen with 200% dpi scaling. i really like Arc theme but the buttons aren't scaled right, and are nearly invisible - [img] i wonder if theres a quick way to edit the msstyles file to scale up the images? i saw a windows style editor for Win7,...

Users found this page by searching for:

  1. ColorizationColor=0XA66D0913

    ,
  2. where is the window background color in msstyles

    ,
  3. .msstyles editor change close image

    ,
  4. msstyles background color,
  5. BEST msstyles editor,
  6. msstyleS EDITOR