Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Daedalus Service - Alpha Blending Icons for NT4/2000

- - - - -

  • Please log in to reply
33 replies to this topic

#1
alexanrs

alexanrs

    Member

  • Member
  • PipPip
  • 149 posts
Hi, I'm here to present a nice little project I developed with the guys at winprj.net :rolleyes:

It is Daedalus, a project was meant to introduce 32-bit Alpha-Blended icons support in Windows NT 4, and later expanded to work on Windows 2000 too. It is implemented as a service, therefore can be started/stopped on demand, which can be useful in case some conflict arises, though ideally that should never happen :whistle:

Instructions, the changelog and the download can be found at the winprj.net's topic right here:
http://www.winprj.ne....php?f=13&t=399

Screenshot (combined with NT4 Visual Update 3 Beta 2):
Posted Image

Edited by alexanrs, 01 February 2009 - 07:01 AM.



How to remove advertisement from MSFN

#2
WildBill

WildBill

    Senior Member

  • Developer
  • 695 posts
  • OS:none specified
  • Country: Country Flag
Pretty neat. And it's in Delphi! Woohoo! :thumbup

One little nitpick: you have to use -d to uninstall, not -u. Some icons also come up blank when I run it, unfortunately. That said, even though I don't have MadCHook, I'm tempted to integrate it with SmoothText and try to fix the issues in it since SmoothText also overrides API calls.

#3
alexanrs

alexanrs

    Member

  • Member
  • PipPip
  • 149 posts
Windows 2000, right? And what icons, from ICO files or EXEs and DLLs?

#4
WildBill

WildBill

    Senior Member

  • Developer
  • 695 posts
  • OS:none specified
  • Country: Country Flag
The problem icons are all in the system tray:

- Sage TV 5
- Norton Internet Security 2002
- Palm Hotsync Manager

#5
alexanrs

alexanrs

    Member

  • Member
  • PipPip
  • 149 posts
I'll try to look into it, thanks ;)

#6
blackwingcat

blackwingcat

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 735 posts
  • OS:Windows 2000 Professional
  • Country: Country Flag
Hi, it works well. But it has some problems.

1. It prevents from load 16 colors icon.
Attached File  icon.jpg   61.78KB   11 downloads

2. Can't display 32bit icons example

Edited by win2000, 23 February 2009 - 05:19 AM.

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
BlackWingCat =^^=
http://blog.livedoor.jp/blackwingcat/
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

#7
marxo

marxo

    UI Designer

  • Member
  • PipPipPip
  • 474 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Can't display 32bit icons example


I don't wish to be rude, but you should read the official thread on WPC where it says that it can't sometimes load 32-bit icons from pure .ico file.

Posted Image
You don't wanna click there.


#8
WildBill

WildBill

    Senior Member

  • Developer
  • 695 posts
  • OS:none specified
  • Country: Country Flag
Wold this help?

IconViewer 1.4

I originally wrote it to remove the alpha-blending from icons so they wouldn't have the black halos on Win2k, but perhaps you could use the part that loads the icon files.

Edited by WildBill, 26 February 2009 - 10:08 PM.


#9
Colonel O'Neill

Colonel O'Neill

    Member

  • Member
  • PipPip
  • 256 posts
  • OS:none specified
  • Country: Country Flag
Does Daedalus suffer from the same drawbacks as Tihiy's RPL2K.DLL?

Such as reverting to 16 colour icons when:
- Active Desktop is on
- NetMeeting's Remote Desktop is on
- Places Bar on certain file open/save dialogs.

EDIT:

It apparently will not freak out when Active Desktop is on.
It does cause floating point errors in many programs.
- A bit of weird behavior that was remedied by a re-install.

Same red tinged alphas while dragging icons.
Alt+Tab is also not 32bit.

It seems like 98 is now better than 2000 at 32-bit icons.

Edited by Colonel O'Neill, 06 April 2009 - 04:41 PM.

T400: 7x86
X100e: 7x86, 2008R2 (in progress), 2000 (in progress).

#10
Colonel O'Neill

Colonel O'Neill

    Member

  • Member
  • PipPip
  • 256 posts
  • OS:none specified
  • Country: Country Flag
Major bug:

When the Daedalus Service is Started (services.msc) MS Word 2003 will crash and ask to recover my work and restart word. This will happen no matter what. Sometimes it will open to a new blank window, and further interaction with it causes the error. This is fixed by Stopping the Daedalus service from Services.msc.

Anyone else having the same problem?
T400: 7x86
X100e: 7x86, 2008R2 (in progress), 2000 (in progress).

#11
Colonel O'Neill

Colonel O'Neill

    Member

  • Member
  • PipPip
  • 256 posts
  • OS:none specified
  • Country: Country Flag
File cannot be downloaded:

"You do not have the required permissions to view the files attached to this post."
T400: 7x86
X100e: 7x86, 2008R2 (in progress), 2000 (in progress).

#12
marxo

marxo

    UI Designer

  • Member
  • PipPipPip
  • 474 posts
  • OS:Windows 7 x64
  • Country: Country Flag
You can't download if you are not registered, same as all other boards.

Posted Image
You don't wanna click there.


#13
Colonel O'Neill

Colonel O'Neill

    Member

  • Member
  • PipPip
  • 256 posts
  • OS:none specified
  • Country: Country Flag
Ahh, used bugmenot the first time. ;)
T400: 7x86
X100e: 7x86, 2008R2 (in progress), 2000 (in progress).

#14
bob2000

bob2000

    Newbie

  • Member
  • 15 posts
Daedalus is great !

The only bug I have found is that IconTweaker will not start (or run properly) if the Deadalus service is running.
So when I want to use IconTweaker, I must stop the service first, make the icon changes, and then re-start the service (and sometimes the shell icon cache needs to be cleared).

This happens on Windows 2000 Professional and Windows 2000 Server.

Apologies if this problem has already been reported: seeing as IconTweaker is what many use to update their system icons, I though I'd mention this issue.

Edited by bob2000, 25 April 2009 - 10:51 AM.


#15
Colonel O'Neill

Colonel O'Neill

    Member

  • Member
  • PipPip
  • 256 posts
  • OS:none specified
  • Country: Country Flag
It appears to do the same thing to Office 2003 applications... :(
T400: 7x86
X100e: 7x86, 2008R2 (in progress), 2000 (in progress).

#16
WildBill

WildBill

    Senior Member

  • Developer
  • 695 posts
  • OS:none specified
  • Country: Country Flag
Hello, folks :hello: I've been working intensely on the next version of SmoothText, and I've run into a situation where I really need support for 32-bit icons. So, I've download the Daedalus source and after a lot of Googling I've manged to find the files I need to get it to recompile. I have it running, though so far all I've done is perform a MASSIVE cleanup of the code (and add things like try...finally blocks to try to make it more bulletproof). I don't have much experience with Daedalus but I know that there are some issues with it. If some kind soul would care to put together a concise list of the issues and what I would have to do to reproduce them, maybe I can improve it a bit. I'm still trying to understand how the code works, but now that it's all cleaned up I hope to be able to do something with it.

Why do I need it for SmoothText? I want to add support for custom Explorer toolbar icons, and the ones I want to test with use alpha blending. So this is something I have to deal with.

#17
WildBill

WildBill

    Senior Member

  • Developer
  • 695 posts
  • OS:none specified
  • Country: Country Flag
Just as an FYI, I've found a couple of bugs in daedalus:

1. In the override for ImageList_Create, the line that changes the flags should read:

Flags := (Flags And (Not ILC_COLORDDB)) Or ILC_COLOR32;

This is because you can use only one ILC_COLORx flag at a time.


2. In TOOLBAR_DrawGrayImage, the line that reads "DeleteObject($FFFFFF);" should read "DeleteObject(timl);".

I'm still tracking down other issues, but fixing those fixed some problems with Windows Explorer.

#18
WildBill

WildBill

    Senior Member

  • Developer
  • 695 posts
  • OS:none specified
  • Country: Country Flag
I've made a few changes, and have posted a version of Daedalus here:

http://www.mediafire...php?iywh3dmddav

If anyone is willing to give it a try, maybe it will fix some of the outstanding issues.

#19
WildBill

WildBill

    Senior Member

  • Developer
  • 695 posts
  • OS:none specified
  • Country: Country Flag
I've made another improvement that should fix some issues with 32-bit icons not always showing up. You can get it here:

http://www.mediafire...php?mizdjzmdzne

#20
Dave.Net

Dave.Net

    Member

  • Member
  • PipPip
  • 139 posts
Thanks for updating this great (and almost dead) project. I'm running this last version right now and I see none of the old bugs. No more corrupted icons in "Places Bar". That's nice. :thumbup

#21
WildBill

WildBill

    Senior Member

  • Developer
  • 695 posts
  • OS:none specified
  • Country: Country Flag
In using it I found myself running into the memory leak that people have mentioned that arises when both Daedalus and SmoothText are running. I made another change to Daedalus that I hope will fix the problem. It certainly sped it up considerably. Here's hoping that the leak is gone for good :rolleyes:

http://www.mediafire...php?12jzifkyyjn

#22
Dave.Net

Dave.Net

    Member

  • Member
  • PipPip
  • 139 posts
It's much faster now. Thanks!

I'd like to point out two bugs i've found.

1) If both 32-bit AND 8-bit images are present inside an icon, Places Bar prefers the 8-bit version no matter what.

2) Title bars in MDI appz like Adobe Photoshop show messed-up icons.

#23
WildBill

WildBill

    Senior Member

  • Developer
  • 695 posts
  • OS:none specified
  • Country: Country Flag
Would you mind posting screenshots?

#24
Dave.Net

Dave.Net

    Member

  • Member
  • PipPip
  • 139 posts

Would you mind posting screenshots?


Here they are:

Posted Image

1) Places bar showing 8-bit icons only.
2) Corrupted child window icon in an MDI app (Photoshop in this case)
3) Folder icons looking weird in taskbar. So far this is the only icon that shows up wrong the whole time, but sometimes icons in taskbar lose their alpha channels for a less than a second when you click them.

#25
WildBill

WildBill

    Senior Member

  • Developer
  • 695 posts
  • OS:none specified
  • Country: Country Flag
In working on SmoothText 1.0.5 I've uncovered some more bugs in Daedalus2 and have posted a new version...

http://www.mediafire...php?yux1wut3thw




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN