{"id":13706412,"url":"https://github.com/TranslucentTB/Tools","last_synced_at":"2025-05-05T20:31:10.289Z","repository":{"id":108437223,"uuid":"93541799","full_name":"TranslucentTB/Tools","owner":"TranslucentTB","description":"Various tools","archived":false,"fork":false,"pushed_at":"2019-02-10T04:48:53.000Z","size":21,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-21T14:16:22.299Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TranslucentTB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-06-06T16:49:34.000Z","updated_at":"2025-02-03T14:51:08.000Z","dependencies_parsed_at":"2023-06-01T02:00:19.916Z","dependency_job_id":null,"html_url":"https://github.com/TranslucentTB/Tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TranslucentTB%2FTools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TranslucentTB%2FTools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TranslucentTB%2FTools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TranslucentTB%2FTools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TranslucentTB","download_url":"https://codeload.github.com/TranslucentTB/Tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252570986,"owners_count":21769761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T22:00:55.491Z","updated_at":"2025-05-05T20:31:10.004Z","avatar_url":"https://github.com/TranslucentTB.png","language":"C#","readme":"# Tools\n\nThese are some various tools used to reverse engineer some functions and API calls to aid in development of [TranslucentTB](https://github.com/TranslucentTB/TranslucentTB).\n\nCompile them with the built-in C# compiler of the .NET Framework:\n\n    C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\csc.exe /unsafe [filename]\n\n## [Bin2AccentPolicy](https://github.com/TranslucentTB/Tools/blob/master/Bin2AccentPolicy.cs)\n\nUnfortunately API Monitor is not aware of the AccentPolicy structure used by SetWindowCompositionAttribute:\n\n![API Monitor](http://i.imgur.com/jQJRaTJ.png)\n\nThis simple tool when pointed to a dump of the hex buffer will write the correct values to the command prompt:\n\n    C:\\Users\\Charles\\Git\\Tools\u003eBin2AccentPolicy.exe C:\\Users\\Charles\\Desktop\\test.bin\n    Accent State   - ACCENT_ENABLE_TRANSPARENTGRADIENT\n    Accent Flags   - 19\n    Gradient Color - 0x9902129B\n    Animation Id   - 0\n\n### Usage\n\n    Bin2AccentPolicy.exe [filename]\n\nIf filename is ignored, it will default to `dump.bin` in the current directory.\n\n## [ColorDumper](https://github.com/TranslucentTB/Tools/blob/master/ColorDumper.cs)\n\nDumps all the colors accessible by the undocumented functions in `uxtheme.dll` to the command prompt:\n\n    C:\\Users\\Charles\\Git\\Tools\u003eColorDumper.exe\n    ApplicationBackground - FF000000\n    ApplicationBackgroundDarkTheme - FF000000\n    ApplicationBackgroundLightTheme - FFFFFFFF\n    ApplicationText - FFFFFFFF\n    ApplicationTextDarkTheme - FFFFFFFF\n    ApplicationTextLightTheme - FF000000\n    BootBackground - FFB26720\n    BootConfirmationButton - DED6B147\n    BootConfirmationButtonBackgroundDisabled - 0\n    BootConfirmationButtonBackgroundHover - FFCF9454\n    BootConfirmationButtonBackgroundPressed - FFFFFFFF\n    BootConfirmationButtonBackgroundRest - FFB26720\n    BootConfirmationButtonBorderDisabled - FFE0C2A6\n    etc...\n","funding_links":[],"categories":["C# #"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTranslucentTB%2FTools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTranslucentTB%2FTools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTranslucentTB%2FTools/lists"}