Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checklist #1

Open
6 of 18 tasks
aubymori opened this issue Jan 7, 2025 · 1 comment
Open
6 of 18 tasks

Checklist #1

aubymori opened this issue Jan 7, 2025 · 1 comment

Comments

@aubymori
Copy link
Member

aubymori commented Jan 7, 2025

Below is a list of things that restyle needs to be able to do.

Parsing

  • CMAP (class map)
  • BCMAP (base class map)
  • VMAP (variant map)
  • VARIANT (properties)
  • AMAP (animation map)
  • RMAP (root map) (? what is this)
  • Strings (typically found in MUI)

The following resource types are present in the default theme, but UXTheme does not seem to care about them: DESKTOP, IMMERSIVE, PVL

Decompilation

  • Writing classes and properties to INI files
  • Writing animations to file (possibly XML format?)
  • Writing basic theme metadata to INI file (strings, variants)

Compilation

  • CMAP
  • BCMAP
  • VMAP
  • VARIANT
  • AMAP
  • RMAP
  • Strings

Final goal

  • Decompilation and re-compilation of the default Windows 10 aero.msstyles theme resulting in a usable theme (with theme signature enforcement disabled through patches)
@kawapure
Copy link
Member

kawapure commented Jan 9, 2025

VARIANT and AMAP data both use a standardised record format.

Here are some good references:

https://gist.github.com/ephemeralViolette/34cf86a262f2a7b75b650c7ccb651c0b

https://github.com/nptr/msstyleEditor/blob/master/libmsstyle/StyleProperty.cs

kawapure added a commit that referenced this issue Jan 17, 2025
Along with this, a few things about SchemaDef have been reworked.

More parts and states have to be added. This is by far not complete, but I
want to check in the work that I currently have.

Signed-off-by: Isabella Lulamoon <kawapure@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants