Skip to content

TranslucentTB/Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tools

These are some various tools used to reverse engineer some functions and API calls to aid in development of TranslucentTB.

Compile them with the built-in C# compiler of the .NET Framework:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /unsafe [filename]

Unfortunately API Monitor is not aware of the AccentPolicy structure used by SetWindowCompositionAttribute:

API Monitor

This simple tool when pointed to a dump of the hex buffer will write the correct values to the command prompt:

C:\Users\Charles\Git\Tools>Bin2AccentPolicy.exe C:\Users\Charles\Desktop\test.bin
Accent State   - ACCENT_ENABLE_TRANSPARENTGRADIENT
Accent Flags   - 19
Gradient Color - 0x9902129B
Animation Id   - 0

Usage

Bin2AccentPolicy.exe [filename]

If filename is ignored, it will default to dump.bin in the current directory.

Dumps all the colors accessible by the undocumented functions in uxtheme.dll to the command prompt:

C:\Users\Charles\Git\Tools>ColorDumper.exe
ApplicationBackground - FF000000
ApplicationBackgroundDarkTheme - FF000000
ApplicationBackgroundLightTheme - FFFFFFFF
ApplicationText - FFFFFFFF
ApplicationTextDarkTheme - FFFFFFFF
ApplicationTextLightTheme - FF000000
BootBackground - FFB26720
BootConfirmationButton - DED6B147
BootConfirmationButtonBackgroundDisabled - 0
BootConfirmationButtonBackgroundHover - FFCF9454
BootConfirmationButtonBackgroundPressed - FFFFFFFF
BootConfirmationButtonBackgroundRest - FFB26720
BootConfirmationButtonBorderDisabled - FFE0C2A6
etc...

Releases

No releases published

Packages

No packages published

Languages