I know I have been posting a lot, and posting really long messages, but please bear with me. I am trying to get all the thoughts out of my head and written somewhere.
I have performed some tests.
I tested the winload.exe.mui hack and it does make it so no signature was required for the MUI.
I tested the copyright message stuff. Moving copyright off screen does indeed make it not draw and forces "Starting Windows" to not draw as well. Changing the foreground color works (did not test alpha though). Changing the background color failed however (its possible that it is only changing the alpha and not red channel which doesn't work). I did not test width or x positioning (since you need to change width to change x and width would be complicated to change).
I also tested some other new things as well:
- Set copyright font size: C7 45 E4 0B 00 00 00 -> C7 45 E4 XX XX XX XX (currently 11 (0x0B))
- Move startup message vertically: C7 45 F4 0B 02 00 00 -> C7 45 F4 XX XX XX XX (currently 523 (0x20B))
- Set startup message font size: C7 43 24 12 00 00 00 -> C7 43 24 XX XX XX XX (currently 18 (0x12))
- The font for both of them can be replaced like so:
- Find the font for your locale in winload.exe (it is a Unicode string)
- zh-TW zh-CHT zh-HK zh-Hant: \fonts\msjh.ttf (Han (Traditional))
- zh-CN zh-CHS zh-Hans: \fonts\msyh.ttf (Han (Simplified))
- ko: \fonts\malgun.ttf (Korean)
- ja: \fonts\meiryo.ttc (Japanese)
- everyone else: \fonts\segoeui.ttf
- Replace it with the desired font (if your font name is longer than the one already there you must rename you font, easy way is to copy it and rename it boot.ttf which is as short as the shortest one there)
- Note: I do not think this will change the text-mode-ui text!
The background and foreground colors of the startup message are like the background color of the copyright message, so at the moment I cannot change them.
So, now that these two messages are so changeable, we can display 0, 1, or 2 messages with the following properties:
- Both messages:
- Can move vertically
- Can change font size
- Fixed background color
- Change the font (the changed font applies to both)
- Message 1 (utilizing original copyright message):
- Text color can change
- Limited to 23 characters
- Must display if message 2 displays
- Message 2 (utilizing original startup message):
- Fixed text color
- Any number of characters long
@joakim
Since the MUI resources for winload.exe are loaded before the registry is loaded, there is no MUI cache involved (the MUI cache is in the registry). However, I am having problems settings the values in winload.exe. They don't show up. If I change winload.exe.mui however it does work (which is really easy now since it doesn't need a signature). My program is not MUI-aware so it could be that whatever program you have edits the right file automatically.
@AlexYM
I have been looking for how to move / resize / whatever the animation, however I have not had any luck so far. I am still looking though.
@everyone
There have been a lot of really important developments recently but I don't have the time to put them all into the program yet. You will have to wait just a bit to get a program. For my own reference, this is what needs to be added/changed:
- Change testsigning to only sign {bootmgr}
- Add the hacks that allow bootres.dll, bootres.dll.mui, and winload.exe.mui to load with no/invalid signatures
- Edit message table in winload.exe.mui instead of (or in addition to) winload.exe.
- Add options to:
- Have 0, 1, or 2 messages
- Move message vertically
- Change message font
- Change message font sizes
- Change message 1 text color
Anything else you would want to change?