PDA

View Full Version : Aero Glass for Win 8 RC4



Mr GRiM
June 3rd, 2013, 03:57 PM
Aero Glass for Win8 RC2 Brought to you by Big Muscle
Hello,

maybe somebody will be interested in my small project. Therefore, I am sharing the first information about it. I have managed to reimplement Aero Glass function into Windows 8 Desktop Window Manager.

How does it work?
I have developed DLL library in C++ which is injected into dwm.exe process (no system files replacement is required). Then, the functions used for window border drawing are hooked with my own implementation. This ensures that anytime DWM wants to draw the window border, the code is redirected into my library where I change the drawing parameters and redirect back to the original drawing function. Transparent window border wih blur effect is drawn!

Is it completely new implementation?
Just a partially. Since a lot of Aero Glass resources is still present in Win8, I'm trying to reuse them as much as possible. The blur effect is implemented completely in Direct3D with using of native shaders and system settings. With some small exceptions, I just call the same commands as they would be called by Windows itself (e.g. in Win7 or Win8 RP).

The problem lies in loading library into memory, because - for correct function - it has to be loaded together with DWM process but before creation of its internal objects. Currently, the method of DLL injection via AppInit_DLLs registry key is used but it is not supported when UEFI secure boot is enabled.

DOWNLOAD LINK @ BERLIOS.DE (https://developer.berlios.de/project/showfiles.php?group_id=13124)

--> installer will be available with final release, now only manual script available
--> registry script is attached in the archive but you must manually edit the file to point to the location where you extract DLL file
--> the glass will automatically load at Windows startup
--> if your computer won't boot up for some reason (glass failure), hold CTRL key during DWM loading and no procedure will be installed into memory
--> if you use custom theme which has hardcoded fully opaque borders, the effect won't be visible
--> if there is any bug and DWM crashes, it will generate minidump file in the folder where you extracted DLL to and you should upload this minidump file to allow the bug to be fixed

--> THIS IS THE TEST VERSION, THUS IT LIMITS ITS REGULAR USAGE BY DISPLAYING WARNING MESSAGE PERIODICALLY. DO NOT ASK HOW TO REMOVE THIS MESSAGE !!!

--> THIS IS THE TESTING VERSION INTENDED FOR ADVANCED USERS ONLY, IF YOU ARE NOT ABLE TO UNDERSTAND THE INSTALLATION INSTRUCTIONS THEN YOU SHOULD NOT USE THIS SOFTWARE !!!

I hope you will like it :-)

http://www.msfn.org/board/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=35963

Follow the developer here http://www.msfn.org/board/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=35963

Other tools you may want:

AGTweaker v1.3.2 http://www.msfn.org/board/topic/162036-aero-glass-tweaker-gui-for-win8-v132/

Updated 07/07/2013 Aero Glass for Win8 RC4

Hey guys, made a new all in one installer for the latest version, I have tested it a fair amount but as always, make a backup or system restore before making any changes to your OS, the installer comes with a complete uninstaller as well, all registries keys are adding during installation and also removed when uninstalled, including color swatches, the installer can be used on x86 and x64 systems and all features are enabled by default, the installer also includes the modified simple version of AGTweaker and it will add a desktop shortcut as well as a context menu shortcut for AGTweaker.

Here are a few screen shots of the installer.

http://oi44.tinypic.com/33kc7qv.jpg http://oi40.tinypic.com/4rfep5.jpg http://oi39.tinypic.com/2iw7bz7.jpg http://oi44.tinypic.com/2hq84mx.jpg http://oi43.tinypic.com/308h1cm.jpg http://oi39.tinypic.com/v62h4g.jpg

http://oi39.tinypic.com/u81g.jpg

Update 17/07/2013:

Change Log

1. Fixed installer to create correct Registry Value to bypass Theme sinature. (Old value was incorrct and not functioning)

2. Fixed installer to create correct Registry Value to enable Shader target optimization. (Old value was incorrct and not functioning)

3. Fixed uninstall for Custom Color Swatches, now deletes the Control Panel Key for Custom Color Swatches and not just the Swatches values. (Removing just the Swatches Values and not removing the keys left Window Color and Appearance options blank)

4. Removed install option for Public Symbol downloading from MS Servers (Is now enabled by default and can not be disabled)

5. Added new safety option to revert to Default Aero theme during uninstall to prevent the Black Screen bug if you are using Aero Glass to bypass the theme signature.

6. Installer now requires a log off after install instead of just restarting explorer.exe and DWM to ensure the glass effect is rendered correctly and Public symbols are downloaded if needed.

Please unistall the previouis version before updating.

Download the Aero Glass RC4 AIO Installer from Mediafire.

http://www.mediafire.com/download/hwb5k2tj9xp42rv/Aero_Glass_RC4_v0.95.exe

Mr GRiM
June 3rd, 2013, 04:06 PM
I decided to make a context menu shortcut to disable and enable Aero Glass, only problem is that you needed elevated privileges to run the batch files so it wouldn't work, I then found a way to use autoit instead and those can be run as admin, all it does is move the DWMglass.dll to a temp directory inside the DWM folder and restarts dwm.exe to disable glass and to enable it again it moves it back to the DWM folder, deletes the temp folder and restarts dmw.exe again.

The EnableGlass.exe and DisableGlass.exe files need to go in the DWM folder.

Download here http://www.mediafire.com/?8ra7j6zvuglcbxs

If you want to know what is in the autoit exe here it is:


FileMove ( "C:\DWM\DWMGlass.dll", "C:\DWM\temp\DWMGlass.dll" , 8 )
Run('TASKKILL /F /PID ' & ProcessExists('dwm.exe'))


FileMove ( "C:\DWM\temp\DWMGlass.dll", "C:\DWM\DWMGlass.dll" )
DirRemove ( "C:\DWM\temp" )
Run('TASKKILL /F /PID ' & ProcessExists('dwm.exe'))

and the registry file:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\DesktopBackground\shell\Start Aero Glass]

[HKEY_CLASSES_ROOT\DesktopBackground\shell\Start Aero Glass\command]
@="C:\\DWM\\EnableGlass.exe"

[HKEY_CLASSES_ROOT\DesktopBackground\shell\Stop Aero Glass]

[HKEY_CLASSES_ROOT\DesktopBackground\shell\Stop Aero Glass\command]
@="C:\\DWM\\DisableGlass.exe"

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\DWM\\EnableGlass.exe"="~ RUNASADMIN"
"C:\\DWM\\DisableGlass.exe"="~ RUNASADMIN"

I also made a complete installer with x86 and x64 AeroGlass, AGTweaker mod by Tusticles, Context shortcuts for AGTweaker as well as enable disable aero glass shortcuts (good if you want to play a game or watch a movie) and a desktop shortcut, all components are optional and it also comes with a complete uninstaller that removes all traces of Aero Glass including any registry entries the installer makes.

Download my complete installer below

polterghozt
June 3rd, 2013, 04:17 PM
i had to get rid of it on my computer i understand that the sign that pops up on this application is there for a reason but what id like to know is when you uninstall the setup which there is not a uninstall feature in this software yet that i saw the prob i had after uninstalling it the sign would still pop up so inorder to get rid of this not knowing where this source was coming from i had to totally reinstall windows setup from scratch and start over

max68
June 3rd, 2013, 05:36 PM
I installed but do not understand much in its function hihihihihi are very poor in this regard see what happens

Mr GRiM
June 4th, 2013, 02:40 AM
i had to get rid of it on my computer i understand that the sign that pops up on this application is there for a reason but what id like to know is when you uninstall the setup which there is not a uninstall feature in this software yet that i saw the prob i had after uninstalling it the sign would still pop up so inorder to get rid of this not knowing where this source was coming from i had to totally reinstall windows setup from scratch and start over

If you download my installer from the post above yours it comes with a uninstaller as well as I mentioned and also give you the ability to turn it off when you don't want it running, for example watching a movie or playing a game, this is about the best workaround at the moment to stop the popups until Big Muscle releases a final version without it.

Mr GRiM
June 4th, 2013, 02:41 AM
I installed but do not understand much in its function hihihihihi are very poor in this regard see what happens

If you use my installer it will automatically run after it's complete, just go to your personalization menu and adjust the color intensity to adjust the transparency.

polterghozt
June 4th, 2013, 02:46 AM
thats kick ass bro like that feature however is the sign still there that pops up??

polterghozt
June 4th, 2013, 02:52 AM
i see it now very very nice work

max68
June 4th, 2013, 05:43 PM
If you use my installer it will automatically run after it's complete, just go to your personalization menu and adjust the color intensity to adjust the transparency.

ok i understand the mechanism as always thanks:givahand:

Mr GRiM
June 9th, 2013, 11:28 PM
AERO GLASS for Win8 RC3

* implemented public symbols downloading from MS symbol servers
--> this allows automatic adjusting when DWM version changes
--> it is not currently used, it is only to test whether symbols downloading works
--> requires internet connection
--> currently enabled by default but if it brings some problems or you don't want Aero Glass to connect to MS servers you can disabled it in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\DWM:EnableSymbolServer (DWORD 0x0 to disable, 0x1 to enable)

* implemented shader render target optimization
--> this works only on some video drivers
--> it takes less memory and increase speed of blurring as it avoids copying screen content to the intermediate buffer
--> disabled by default
--> it can be enabled in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\DWM:OptimizeShaderResource (DWORD 0x0 to disable / 0x1 to enable)

* implemented feature to enable using custom Windows themes
--> independent from UX DLLs versions
--> it has not been tested at all so it is currently only a candidate for future feature

* workaround to correctly refresh inactive frame color when colorization settings is changed
* some small bug fixes

--> THIS IS THE TEST VERSION, THUS IT LIMITS ITS REGULAR USAGE BY DISPLAYING WARNING MESSAGE PERIODICALLY. DO NOT ASK HOW TO REMOVE THIS MESSAGE !!!

--> THIS IS THE TESTING VERSION INTENDED FOR ADVANCED USERS ONLY, IF YOU ARE NOT ABLE TO UNDERSTAND THE INSTALLATION INSTRUCTIONS THEN YOU SHOULD NOT USE THIS SOFTWARE !!!

https://developer.berlios.de/project/showfiles.php?group_id=13124

I have updated the first post with the RC4 installer, enjoy and please give Big Muscle feedback especially if you find any bugs.

http://virtualcustoms.net/attachment.php?attachmentid=63626&d=1373985257

janekg16
July 5th, 2013, 06:56 AM
pls update to RC4

Mr GRiM
July 6th, 2013, 04:24 PM
Hey guys, made a new all in one installer for the latest version, I have tested it a fair amount but as always, make a backup or system restore before making any changes to your OS, the installer comes with a complete uninstaller as well, all registries keys are adding during installation and also removed when uninstalled, including color swatches, the installer can be used on x86 and x64 systems and all features are enabled by default, the installer also includes the modified simple version of AGTweaker and it will add a desktop shortcut as well as a context menu shortcut for AGTweaker.

Here are a few screen shots of the installer.

http://oi44.tinypic.com/33kc7qv.jpg http://oi40.tinypic.com/4rfep5.jpg http://oi39.tinypic.com/2iw7bz7.jpg http://oi44.tinypic.com/2hq84mx.jpg http://oi43.tinypic.com/308h1cm.jpg http://oi39.tinypic.com/v62h4g.jpg

http://oi39.tinypic.com/u81g.jpg

kungzila
July 8th, 2013, 04:54 PM
This is koo but is there a way to stop and remove the pop up ? it's annoying why would anyone want that popping up every 15-30mins is beyond me at least once after installing okay ..for now I'll uninstall

Mr GRiM
July 12th, 2013, 02:05 AM
This is koo but is there a way to stop and remove the pop up ? it's annoying why would anyone want that popping up every 15-30mins is beyond me at least once after installing okay ..for now I'll uninstall

Hopefully the final version will be out in a few days and then the message will be removed, this is a test build only and is only meant to be used by people who want to try it and report any problems they may have.

max68
July 12th, 2013, 12:56 PM
the message is annoying but bearable thanks to the work you do to make our fantastic pc
P.S
not me no problem from the soft and fabulous thanks

Mr GRiM
July 16th, 2013, 03:14 PM
Aero Glass RC4 AIO Installer

Update 17/07/2013:

Change Log

1. Fixed installer to create correct Registry Value to bypass Theme sinature. (Old value was incorrct and not functioning)

2. Fixed installer to create correct Registry Value to enable Shader target optimization. (Old value was incorrct and not functioning)

3. Fixed uninstall for Custom Color Swatches, now deletes the Control Panel Key for Custom Color Swatches and not just the Swatches values. (Removing just the Swatches Values and not removing the keys left Window Color and Appearance options blank)

4. Removed install option for Public Symbol downloading from MS Servers (Is now enabled by default and can not be disabled)

5. Added new safety option to revert to Default Aero theme during uninstall to prevent the Black Screen bug if you are using Aero Glass to bypass the theme signature.

6. Installer now requires a log off after install instead of just restarting explorer.exe and DWM to ensure the glass effect is rendered correctly and Public symbols are downloaded if needed.

Please unistall the previouis version before updating.

Download the Aero Glass RC4 AIO Installer from Mediafire.

http://www.mediafire.com/download/hwb5k2tj9xp42rv/Aero_Glass_RC4_v0.95.exe

JK41
July 28th, 2013, 12:09 PM
Super Work!!!!!! Thank you very much! Please donĀ“t stop with your work
JK41