Jump to content

Changing batmeter.dll in Vista to look like Mac


Recommended Posts

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

Link to comment

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

Link to comment
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.

Link to comment

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.

Link to comment

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...

Link to comment
  • 4 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...