PDA

View Full Version : Windows 10 19H1 1903 Updated ClassMaps and Import Scripts



Mr GRiM
June 16th, 2019, 02:08 AM
Windows 10 19H1 1903 Updated ClassMaps and Import Scripts

Important, do not use this to update any themes older then the Redstone 2 Creators Update, for updating older themes go here Windows 8 to Windows 10 TH2 import to Windows 10 19H1 1903 (https://virtualcustoms.net/showthread.php/83690-Windows-8-to-Windows-10-TH2-import-to-Windows-10-19H1-1903?p=343224#post343224)

This update brings lots of changes to the WSB layout and puts all the light and dark theme elements in to their own sections, it also contains a new import script to update any themes from the creators update onwards.

82903

There are 2 methods to update your theme, the first is the correct way by using the following instructions.

Method 1

1. Open the folder called "Windows Style Builder 19H1 1903"

2. Open the WSB Program.

3. Go to File > Open > Import 7 Theme and Import the theme you want to update.

4. Select Import Style Hack and select "Windows 10 1903 Import Fix" (Very important!!, do not miss this step!!)

5. You can now test your Theme and make sure it has imported correctly and does not give you any msstyles errors.

6. Save your updated theme and you're done.


The second method of updating is by using a style script and this may be an easier option if you are getting errors in the msstyles from the first method, you can also use this method in conjunction with the first method.

Method 2

1. Open the Theme you want to update to 19H1.

2. Hold Shift and click on Import Stylehack and select Light & Dark Mode Import Script.

3. Test your Theme and make sure it has been updated correctly.

4. Save the updated Theme and you're done.


I have found when using the first method sometimes the import does not look right and the theme is all messed up, not sure why exactly but I only encountered this with one theme out all the ones I tested, this was solved by first running the Style script from method 2 then saving the theme and then following the instructions for method 1

Troubleshooting Msstyles Errors

If for some reason you are getting msstyles errors this is usually due to having too many large images, you will need to optimise these images by reducing their size as much as possible and then using Sizing Margins to stretch the images.

You can find out what images are the largest by opening the theme with a resource hacker and extracting the image folder, open the folder and arrange it by size, you can then see the largest images and the number that corresponds to them, enter that number in the search bar in WSB and in the search drop down select Value, this will show you where that image is used in WSB and you can then edit it.

Some of the following locations can contain the largest images that need to be optimised.

Start Menu
Taskbar & System Tray
Explorer & Shell > Explorer > Control Panel > ControlPanel > NavigationPane
Windows 10 Dark Mode > Explorer & Shell > Explorer > Items View > ItemsView > Folder background
Windows 10 Light Mode > Explorer & Shell > Explorer > Items View > ItemsView > Folder background
Windows 10 Dark Mode > Explorer & Shell > Explorer > PreviewPane > Details Background
Windows 10 Light Mode > Explorer & Shell > Explorer > PreviewPane > Details Background

If you are not sure if the problem is with the image sizes then you can run some of the other Style Scripts to test, make sure that you do not save the theme during the following test, Remove SiB Start Menu, this will remove the entire start menu, if you test the theme now and you do not get an error then you know there are too many large images and that you will need to optimise them.

Other Style scripts you can run safely that may help are "Remove Legacy Start Menu" this will remove all the images and properties from Windows Legacy > Start Menu and may be enough to stop the error, if will definitely help and put you in the right direction.

Now for the part you don't want to hear, as much as I have tested these methods I can not guarantee that you will not have a catastrophic error and black screen, if this does happen then I recommend reseting your PC and then in the accessibility options on the sign in screen select High Contrast and this should allow you to log back in.

Another option is to make sure you have a second account or Admin account you can log in to, you can then go in to the registry and Search for ThemeManager and when you see something like "Computer\HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\ThemeManager" look for a string called DllName and if you see a value like C:\ProgramData\Windows Style Builder\Testing\theme name 16-06-2019 12-17-55 PM.msstyles then change the value back to the default %SystemRoot%\resources\themes\Aero\Aero.msstyles

You should now be able to log back in to your account.

The last option is to use a VM and once you have your testing environment set up and you are ready to start testing, create a snapshot of the OS, this way you can easily recover the VM although this will result in any work after the snapshot in being lost, if there is something you want to recover before reverting to the shnapshot, first shut down the VM and then go to settings for the VM and click on the Hard Drive and then you will see an option to Map the Hard Drive, this will allow you to search the files and recover anything you don't want to loose.

82902

Update: 20/06/2019 Fixed a few little errors in the import script that effected the address drop down input area turning white and added back Start Menu Bottom for Userpicture placement in SiB.

To use the new updated import script just run it again like shown in method 1, method 2 also updated to fix another issue with the breadcrumb arrows not showing in some themes.

Disclaimer, I am not responsible for any one trying out these scripts or for anyone who bricks their system, these are experimental and should be used on a Virtual machine for your safety.

leowall
June 16th, 2019, 02:27 AM
WOWWWWWWWWWWWWW.....Thank you very much!

devillnside
June 16th, 2019, 04:03 AM
thanks a lot mate

Donkuz
June 17th, 2019, 03:38 PM
Thanks for This Mate, It looks a lot more simpler to locate what where looking for, Great job Mate Thanks again:peace:Cheerz!!

Mr GRiM
June 20th, 2019, 06:07 AM
Updated with some minor bug fixes.

Dark Knight
July 6th, 2019, 04:08 PM
Hey Mark,

I am trying to fix some themes for Windows 10 light mode and when freshly importing these themes I am not getting the Thumbnail & Control tree in WSB in Windows 10 Light Mode to apply the graphics I need after import. I am using method 2 as the method of import.

83230

Dantedark
September 22nd, 2019, 06:43 PM
Can't change start button in Light mode?



84336

Keegan
September 23rd, 2019, 03:59 AM
Just want to say how awesome it is you are still sharing this with us. Amazing!

ミறѳѳղղįզվદ彡
February 22nd, 2021, 12:56 AM
hello Mark
explorerframe.dll file in the shellstyle.dll not working because this file has been moved from
C:\Windows\System32\ExplorerFrame.dll Location
88929
EXPLORERFRAME.DLL UIFILE 40960 -> SHELLSTYLE.DLL EXPLORERFRAME_UIFILE 40960
to the new location because Windows 10 19h1+ using the new .mun files
C:\Windows\SystemResources\ExplorerFrame.dll.mun Location
88930
ExplorerFrame.dll.mun
shell32.dll.mun
systemcpl.dll.mun
themecpl.dll.mun
usercpl.dll.mun
88932

ミறѳѳղղįզվદ彡
May 16th, 2021, 02:59 PM
i think we need to create a new ShellStyle
because some of the new themes on w10 21h1 have really big problem with using ExplorerFrame Images
some files has been moved from c/Windows/Shell32 directory to c/Windows/SystemResources directory

89463

89464

89465

89466

ミறѳѳղղįզվદ彡
May 16th, 2021, 06:15 PM
https://virtualcustoms.net/showthread.php/87047-Windows-10-21h1-updated-shell (https://virtualcustoms.net/showthread.php/87047-Windows-10-21h1-updated-shell)

ミறѳѳղղįզվદ彡
August 31st, 2021, 07:12 PM
Windows 11 need to using a new StyleHack
We need to wait for the new Import Scripts for Windows 11
Some of the new locations used in the Windows 11 21h2 OS Build 22000
DarkMode > Explorer > ListView
90263
DarkMode > Explorer > ItemsView
90265
Explorer > TaskDialog
90266
DarkMode > Explorer > TaskDialog
90267
DarkMode > ChartView
90268
DarkMode > TaskManager
90269

Destino
February 13th, 2022, 06:34 PM
I got another problem after updating the theme with this method. Before the update, the window frames were like this:
After the update, the window frames became transparent:
How do I make the frames non-transparent again?
P.S. Solved
The frames were transparent because the .msstyles file name contained the word "aero".