User:Lucas Brooks/ThemeTool

ThemeTool is a tool to decompile and recompile visual styles for Microsoft Longhorn (and potentially Windows Vista - Windows 11). Unlike all other visual style tools, ThemeTool is a decompiler/recompiler instead of an editor. ThemeTool turns the visual style into plain text  files and can turn   files back to a   file. Full theme decompilation and recompilation gives people the ability to add/remove sections, change class names and even recompile the theme for a different version of Windows. ThemeTool used to be called LHThemeDump before the implementation of theme recompilation. Currently only mid-late pre-reset and early post-reset Longhorn themes can be decompiled/recompiled, but the tool internally supports all packthem v4  files with embedded symbols.

Features
ThemeTool is a command-line application, but in the future there will be a GUI version as well. Currently there are 5 options: ThemeTool by Lucas Brooks - Compiles and decompiles Longhorn .msstyles files.

ThemeTool [filename] [/C] [/L] [/D] [/X] [/E]

[filename] Specifies the file to compile/decompile. /C         Compiles a Longhorn theme. /L         Compiles a ThemeTool XML output. /D         Decompiles a Longhorn .msstyles file to .ini files. /X         Decompiles a Longhorn .msstyles file to recompilable .xml files. /E         Extract resources such as bitmaps and streams.

Only /D and /C are currently supported. Bitmap resources extracted may not be correct, please use a different tool for that.

Only  and   will be supported in the initial public release of this tool. takes a Theme Project file in the  format and   takes a packthem v4 theme with 8-byte alignment and an embedded symbol table. is a format only compatible with ThemeTool and cannot be used with Microsoft's Theme Packager (packthem). There will be no theme signing support.

Download
This project is not available for download yet.