This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations .(March 2010) |
Filename extension | .msstyles |
---|---|
Internet media type | no value |
Type code | 32 bit PE files. |
Developed by | Roland Fernandez [1] (Microsoft) |
Initial release | August 24, 2001 |
Type of format | Contains bitmaps and metadata for the Windows XP skinning engine. |
MSSTYLES is a Microsoft file format, that contains the bitmaps and metadata for the Windows XP skinning engine, first introduced in Windows Whistler Build 2250. [2]
The engine, in its unmodified state, only fully applies .msstyles files that have been digitally signed by Microsoft, such as Luna or the Zune theme. The default Windows XP style is known as Luna, but additional custom-made styles are available on the Internet –however, few are digitally signed. Four other signed styles for Windows XP include Royale (Media Center Edition) (Energy Blue), Royale Noir, Windows Embedded Standard CTP Refresh, and the Zune Style.
Unsigned styles can be used via various methods, by means of manually patching or replacing system files or automatically by one of the programs made for this purpose. These programs are usually called "UxTheme patchers" from the name of the XP library that required patching, UxTheme.dll, despite that recent Windows versions require patches to different files. Many popular and freely distributed patchers can be found online, often using different ways to enable custom themes.
Windows Vista and later also use .msstyles files for skinning (like the Aero.msstyles file), however the format of these files is significantly different, so .msstyles files are not transferable between Windows Vista and Windows XP. This version of .msstyles file contains PNG images and metadata.
There is a manual way to replace three DLL files (uxtheme.dll, shsvcs.dll and themeui.dll) to use unsigned custom visual styles in Windows Vista.
.msstyles files are in the Portable Executable format, however they don't contain any executable code, and as such are architecture neutral. Microsoft provided styles contain PE version metadata, despite Explorer not displaying this data for .msstyles files in recent Windows versions. PE signing is not used, instead a custom signature is appended to the file.
Theme properties are stored in INI format in TEXTFILE
resources inside the file. In these INI files, the section title refers to a "class name" (much like CSS). Microsoft never ran these files through any kind of minifier or preprocessor when compiling these themes, so the comments are intact and you can read them if you open the theme with a PE resource editor, such as Resource Hacker.
Here is a snippet from NORMALBLUE_INI
from the default Luna theme, which controls the default button style:
;Normal button[button.pushbutton]bgtype=imagefileSizingMargins=8, 8, 9, 9sizingType=StretchContentMargins=3, 3, 3, 3ImageFile=Blue\button.bmpimageCount=5ImageLayout=verticalTextColor=0 0 0FillColorHint=243 243 239; Average fill color (light beige)BorderColorHint=0 60 116; Edge color (dark blue grey)AccentColorHint=250 196 88; Rollover hilite color (orange)MinSize=10, 5
Any ImageFile
definitions are also unchanged from the source INI files, resulting in it representing a file path. ImageFile = Blue\button.bmp
points to the BLUE_BUTTON_BMP
bitmap resource.
As mentioned before, Windows XP/Server 2003 .msstyles files can be edited with a regular PE resource editor, such as Resource Hacker.
Offsets in the following table are relative to end of file.
Offset hex | Offset dec | Size | Purpose |
---|---|---|---|
−N | -N | 128 bytes | Cryptographic signature with "Microsoft Visual Style Signature" key |
−10 | −16 | 4 bytes | Magic number, must be 0x84692426 |
−0C | −12 | 4 bytes | N − 16, the negative distance of signature from magic. |
−08 | −8 | 8 bytes | Total file size |
In Windows Vista and later, .msstyles files are still Portable Executable files with no code, however the format of the actual theme part is entirely different. Bitmaps are no longer used in favor of PNG images. The properties themselves are also no longer stored in text resources, and as such, unlike the previous format, .msstyles files made for Windows Vista and later cannot be edited to the fullest extent with a regular PE resource editor.
Two programs that can edit these files are msstyleEditor and Vista Style Builder. The former is free and open-source, whereas the latter is paid, however with more features than msstyleEditor, such as being able to add and remove classes.
The BMP file format, or bitmap, is a raster graphics image file format used to store bitmap digital images, independently of the display device, especially on Microsoft Windows and OS/2 operating systems.
NTLDR is the boot loader for all releases of Windows NT operating system from 1993 with the release of Windows NT 3.1 up until Windows XP and Windows Server 2003. From Windows Vista onwards it was replaced by the BOOTMGR bootloader. NTLDR is typically run from the primary storage device, but it can also run from portable storage devices such as a CD-ROM, USB flash drive, or floppy disk. NTLDR can also load a non NT-based operating system given the appropriate boot sector in a file.
Microsoft Paint is a simple raster graphics editor that has been included with all versions of Microsoft Windows. The program opens, modifies and saves image files in Windows bitmap (BMP), JPEG, GIF, PNG, and single-page TIFF formats. The program can be in color mode or two-color black-and-white, but there is no grayscale mode. For its simplicity and wide availability, it rapidly became one of the most used Windows applications, introducing many to painting on a computer for the first time.
File Explorer, previously known as Windows Explorer, is a file manager application and default desktop environment that is included with releases of the Microsoft Windows operating system from Windows 95 onwards. It provides a graphical user interface for accessing the file systems, as well as user interface elements such as the taskbar and desktop.
WindowBlinds is a computer program that allows users to skin the Windows graphical user interface. It has been developed by Stardock since 1998, and is the most popular component of their flagship software suite, Object Desktop. It is also available separately, and as an ActiveX/COM component called DirectSkin. Introduced in its sixth version, it supports alpha blending effects similar to the compositing of Windows Vista, but on Windows XP.
In computing, a theme is a preset package containing graphical appearance and functionality details. A theme usually comprises a set of shapes and colors for the graphical control elements, the window decoration and the window. Themes are used to customize the look and feel of a piece of computer software or of an operating system.
Microsoft Photo Editor is a raster graphics editor component of Microsoft Office first included with Microsoft Office 97. It features editing tools to texturize, create negatives, adjust gamma, and add transparency to GIF images. It was replaced in Microsoft Office 2003 by Microsoft Office Picture Manager, although many Photo Editor features were not available in Picture Manager.
Microsoft WinHelp is a proprietary format for online help files that can be displayed by the Microsoft Help browser winhelp.exe or winhlp32.exe. The file format is based on Rich Text Format (RTF). It remained a popular Help platform from Windows 3.0 through Windows XP. WinHelp was removed in Windows Vista purportedly to discourage software developers from using the obsolete format and encourage use of newer help formats. Support for WinHelp files would eventually be removed entirely in Windows 10.
The ICO file format is an image file format for computer icons in Microsoft Windows. ICO files contain one or more small images at multiple sizes and color depths, such that they may be scaled appropriately. In Windows, all executables that display an icon to the user, on the desktop, in the Start Menu, or in file Explorer, must carry the icon in ICO format.
A number of vector graphics editors exist for various platforms. Potential users of these editors will make a comparison of vector graphics editors based on factors such as the availability for the user's platform, the software license, the feature set, the merits of the user interface (UI) and the focus of the program. Some programs are more suitable for artistic work while others are better for technical drawings. Another important factor is the application's support of various vector and bitmap image formats for import and export.
Windows Photo Viewer is an image viewer included with the Windows NT family of operating systems. It was first included with Windows XP and Windows Server 2003 under its former name. It succeeds Imaging for Windows. It was temporarily replaced with Windows Photo Gallery in Windows Vista but was reinstated in Windows 7 with its current name.
As the next version of Windows NT after Windows 2000, as well as the successor to Windows Me, Windows XP introduced many new features but it also removed some others.
Compared with previous versions of Microsoft Windows, features new to Windows Vista are numerous, covering most aspects of the operating system, including additional management features, new aspects of security and safety, new I/O technologies, new networking features, and new technical features. Windows Vista also removed some others.
UniDrv is a GDI-based Microsoft Windows universal printer driver and architecture for non-PostScript printers. It is used to simplify driver development of non-PostScript printers for printer manufacturers. Unidrv allows the creation of a printer-specific minidriver in the form of a GPD file, similar to a PPD file, which is much simpler than kernel mode driver development. Unidrv was introduced in Windows 2000 and replaced the Raster Device Driver (RASDD) interface used in Windows NT 4.0 and earlier versions.
StyleXP is a computer program designed to modify the graphical user interface of Windows XP. As of version 3.19 features include modifying themes, explorer bar, backgrounds, logon screens, icons, boot screens, transparency, cursors and screensavers.
Windows XP visual styles are customizations of the graphical user interface of Windows XP. "Luna", "Royale", "Zune", and "Embedded" are codenames of the official visual styles designed for Windows XP by Microsoft. Since Windows XP, themes include the choice of visual styles as well. By default, "Luna" is preinstalled on Windows XP Home and Professional editions, "Royale" is preinstalled on Windows XP Media Center Edition and "Embedded" is preinstalled on Windows Embedded Standard 2009 and Windows Embedded POSReady 2009. In addition to the preinstalled visual styles, Microsoft has released additional ones for download. There were also some placeholder visual styles that Microsoft had used in beta versions of Windows before unveiling the official visual styles, such as "Watercolor" and "Mallard". Third parties have also released visual styles, though these require modification of core Windows components to work. Visual styles are compatible with all Windows XP editions except Starter Edition.
Windows Imaging Component (WIC) is a COM-based imaging codec framework introduced in Windows Vista (and later available in Windows XP Service Pack 3) for working with and processing digital images and image metadata.
In computing, a bitmap graphic is an image formed from rows of different colored pixels. A GIF is an example of a graphics image file that uses a bitmap.
FastPictureViewer is a freemium image viewer for Windows XP and later. Its aim is to facilitate quick review, rating and annotation of large quantities of digital images in the early steps of the digital workflow, with an emphasis on simplicity and speed. As an app with a freemium license, a basic version is available cost-free for personal, non-profit or educational uses, while a commercial license is required for the professional version with additional features. The basic version starts as a full version trial.
SAI or Easy Paint Tool SAI (ペイントツールSAI) is a lightweight raster graphics editor and painting software for Microsoft Windows developed by Koji Komatsu and published by Systemax. The prototype of the software was "Full Color Paint Tool -Sai-" for X68000, produced in October 1996. Development of the software began on August 2, 2004, and the first alpha version was released on October 13, 2006. The first beta version was the released on December 21, 2007, and SAI's official release (1.0.0) was on February 25, 2008. It has been available on Microsoft Windows from XP to 11. It is available in Japanese, German, and English. A version 2 is currently in development.