Aqua-Soft Forums: Changing batmeter.dll in Vista to look like Mac - Aqua-Soft Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Changing batmeter.dll in Vista to look like Mac Rate Topic: -----

#1 User is offline   zkvvoob Icon

  • Group: Member
  • Posts: 19
  • Joined: 01-January 09

Posted 06 January 2009 - 05:27 PM

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

Attached File(s)


0

#2 User is offline   Phoshi Icon

  • Group: Member
  • Posts: 996
  • Joined: 03-April 08

Posted 06 January 2009 - 05:29 PM

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

#3 User is offline   zkvvoob Icon

  • Group: Member
  • Posts: 19
  • Joined: 01-January 09

Posted 06 January 2009 - 05:32 PM

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?

Attached File(s)


0

#4 User is offline   Phoshi Icon

  • Group: Member
  • Posts: 996
  • Joined: 03-April 08

Posted 06 January 2009 - 06:19 PM

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

#5 User is offline   zkvvoob Icon

  • Group: Member
  • Posts: 19
  • Joined: 01-January 09

Posted 06 January 2009 - 06:24 PM

Phoshi;519478 said:

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

#6 User is offline   matonga Icon

  • Group: Developers
  • Posts: 1,286
  • Joined: 04-September 06

Posted 06 January 2009 - 06:53 PM

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

#7 User is offline   Phoshi Icon

  • Group: Member
  • Posts: 996
  • Joined: 03-April 08

Posted 06 January 2009 - 07:54 PM

Alpha channel? Oh god, MS, Why? :S
0

#8 User is offline   zkvvoob Icon

  • Group: Member
  • Posts: 19
  • Joined: 01-January 09

Posted 06 January 2009 - 08:51 PM

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

#9 User is offline   Phoshi Icon

  • Group: Member
  • Posts: 996
  • Joined: 03-April 08

Posted 06 January 2009 - 08:56 PM

Rotate by 90 degrees? :3
0

#10 User is offline   zkvvoob Icon

  • Group: Member
  • Posts: 19
  • Joined: 01-January 09

Posted 06 January 2009 - 08:59 PM

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

#11 User is offline   XxEmoVampyxX Icon

  • Group: Member
  • Posts: 1
  • Joined: 23-May 09

Posted 24 May 2009 - 07:17 AM

i dont know if you still want this but someone has made it.

[Here]
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic