Sign in to follow this  
Followers 0

Changing batmeter.dll in Vista to look like Mac

11 posts in this topic

Hello, guys,

I've found the battery tray icons that Mac OS uses and I'd very much like to have them in my Vista. But there are several problems:

- in Mac, there seem to be fewer icons than in Vista;

- the bmp file in batmeter.dll is with black background, while the Mac icons are also black.

So, could anyone help me and mod the files (attached) so that one can enjoy a Mac-like battery meter?

Thanks a lot for the help!!!

battery_vista.bmp

post-93314-1231262870_thumb.png

0

Share this post


Link to post
Share on other sites

Well, the system can tell the difference between #000000 and #000001, while your eyes can't, so the black thing is an easy fix.

As for the numbers, just repeat the icons?

0

Share this post


Link to post
Share on other sites

I didn't quite get it: you suggest that I copy the Mac icons over the Vista ones and no meter if I can see their borders, the system should be able to display them?

================================

EDIT: Well, anyway, here's what I've come up with (see the attachment). The problem is that I can't replace the bitmap in batmeter.dll, because Resource Hacker say there's an "access violation at address 00402791...".

Could anyone do the replacing for me and send me the compiled dll? Or perhaps give me another idea how to get the work done?

Thanks!

================================

EDIT2: Unfortunately, simply changing the images in the bitmaps didn't do the trick (see the screenshots). Anyone has better ideas? Please?

battery_mac_16.bmp

battery_mac_20.bmp

post-93314-1231263177_thumb.jpg

post-32-1231263177.jpg

0

Share this post


Link to post
Share on other sites

No, I mean just shift the colours 1 up, because assuming Vista uses the black as transparency, it won't use #000001 as transparent, and nor will your eyes think it less black :)

No experience with reshacker, though, sorry :(

0

Share this post


Link to post
Share on other sites
No, I mean just shift the colours 1 up, because assuming Vista uses the black as transparency, it won't use #000001 as transparent, and nor will your eyes think it less black :)

No experience with reshacker, though, sorry :(

Obviously, there's something wrong with black being the "transparent" colour, as it appears behind the new icons (check the screenshots in my previous post).

Judging from the shape on the shots, I guess Vista would not accept a horizontal battery icons. So if anyone has better skills modding dlls, please let me know, I could help with the graphic part.

0

Share this post


Link to post
Share on other sites

Hi, I examined the bitmap toroughly and found something really interesting:

This bitmap has 32 bits per pixel. The alpha channel is used here. Yeah. Something really strange coming from Microsoft.

So, instead of debating about using #000000 or #000001, it is a matter of using #00000000 or #FF000000 :D

Macromedia Flash MX 2004 can export 32 bits per pixel bitmaps (.bmp files) with alpha information. XnView can do that in recent versions too.

So it is just a matter of reassembling battery.png into battery_vista.bmp by using either Macromedia Flash, or XnView, or whatever able to export 32-bit .bmp files.

0

Share this post


Link to post
Share on other sites

I used Photoshop to compile the bmp. Can't it use alpha channel?

But there's still the issue of the icon being horizontal, while the spot remains vertial. :(

0

Share this post


Link to post
Share on other sites

Haha, well, this is easy, but then it wouldn't look like real Mac. Is there no other option? I can't believe noone is actually interested in the matter. I mean, there are numerous communities like this one, dedicated to Mac-like customization and noone even bothers with such apparent things like the status bar icons...

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0