Threaded View
-
June 18th, 2023 04:20 AM #1
- Join Date
- Aug 2009
- Location
- Sunshine Coast, Qeensland, Australia
- Posts
- 5,328
- Mentioned
- 6 Post(s)
- Tagged
- 837 Thread(s)
- Sex:
Windows 11 22H2 Updated ClassMaps and Import Scripts
Windows 11 22H2 Updated ClassMaps and Import Scripts
Important, do not use this to update any themes older then Windows 10 22H2
This update brings more changes to the light and dark theme elements.
Instructions
1. Open the folder called "Windows 11 Style Builder 10-11"
2. Open Windows Style Builder.exe.
3. In the File menu select > Open > Import 10 Theme, then Import the theme you want to update.
4. Select Import Style Hack and select "Windows 11 DWM Import Fix" (Very important!!, do not miss this step!!)
If you are on Windows 10 then you can also do the same step but selecting "Windows 10 DWM Import Fix"
5. Save your updated theme and you're done.
6. You can now test your Theme and make sure it has imported correctly and does not give you any msstyles errors.
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 optimize 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 optimize 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 resetting 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.
InformationYou can use this version to update your Windows 10 themes on Windows 10 by following the same steps, the themes will still work fine on Windows 11 but they will not have any window animations.
Information04/07/2023 Update: added new Shellstyle.dll as last one had an issue displaying small icons.
WARNINGDisclaimer, 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. Last edited by Mr GRiM; July 4th, 2023 at 02:43 AM.
Please do not PM me to ask for support - please use the relevant thread or forum.
Please Post in English or at least include English Translations
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Windows 10 RS6 1903 Updated Class Maps and Import script for Light Mode
By Mr GRiM in forum Updates & Style Hacks For WSBReplies: 34Last Post: April 25th, 2022, 01:42 PM -
Windows 10 19H1 1903 Updated ClassMaps and Import Scripts
By Mr GRiM in forum Updates & Style Hacks For WSBReplies: 12Last Post: February 13th, 2022, 06:34 PM -
Custom Class Maps and Import Scripts for Windows 10 TH2 & RS1
By Mr GRiM in forum Updates & Style Hacks For WSBReplies: 173Last Post: March 14th, 2020, 07:01 AM -
Custom Class maps & import scripts for Windows 10 RS1+ Version 1607 - 1703
By Mr GRiM in forum Updates & Style Hacks For WSBReplies: 39Last Post: March 7th, 2018, 06:46 PM -
Custom Import Scripts Import for Windows 7/8.1?
By Shemhamforash in forum Miscellaneous questionsReplies: 12Last Post: May 9th, 2016, 02:49 PM
My PC Sometimes Pics of my PC some other times !
Post Your Windows 10...