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

Icon Swap software

- - - - -

  • Please log in to reply
71 replies to this topic

#1
Squeeto

Squeeto

    Member

  • Member
  • PipPipPip
  • 302 posts
  • Joined 03-December 05
Updated Jan, 2007: This now works for XP.

IconSwap changes system resources such as icons, bitmaps, avis, dialogs, etc. It is freeware.
I wrote IconSwap because I was so bored with my default icons. I'd like to XPize my system but I run Windows 2000.

IconSwap is based on XPize by XPero but it is designed for Windows 2000. Thanks go to XPero for donating avi's, bitmaps, etc.

Unfortunately, Win2k won't display 32-bit icon alpha channel transparencies. Essentially, Xp desktop icons look like crap. So IconSwap was designed to replace any icon set you like. There are many available around the net. Actually, every resource can be user defined.

The idea is you put your new icons (bitmaps, avis, etc) in a directory with a .txt file (I call mine iconset.txt) that tells IconSwap where to put the icons. If I get bored with a set, I just load in another set.

The download (coming later) only changes 'My Computer' and 'Recycle' icons. The executable (iconswap.exe) will do far more if you add to the iconset.txt file but for now, 3 icons is fine to get you started.

This is how iconset.txt looks for changing these three icons:

[Icon Group]
%WinDir%\explorer.exe, 100, MyComp.ico
%SysDir%\shell32.dll, 32, Trash.ico
%SysDir%\shell32.dll, 33, TrashFul.ico

See pics for the before and afters.

Edit February 2007:
The (nearly) complete iconset.txt file for all Win2k and XP resources can be found at post #28 (end edit).

All the original icons (bitmaps, avis, etc) get saved in a restore directory so you can change things back to original if you like.

Thanks go to Damian from the Netherlands for being the first to alpha test this for me.

Download:
http://xpero.msfn.or...ds/iswap104.zip

Thanks XPero

Attached Files

  • Attached File  1.png   6.15KB   68 downloads
  • Attached File  2.png   5.48KB   55 downloads
  • Attached File  v.PNG   9.7KB   31 downloads

Edited by Squeeto, 26 April 2007 - 11:39 AM.



How to remove advertisement from MSFN

#2
Squeeto

Squeeto

    Member

  • Member
  • PipPipPip
  • 302 posts
  • Joined 03-December 05
Here are some more pics from my system.
The boot screen is mine and I'll provide a download.
The Window banners are XPero's and were modified by WildBill and then myself.

The desktop icons are by Paul Boyer (Mormegill) called LaSTCobaltXPV1-1. Because they were designed for XP, you can see that they don't display quite right on Win2k. I won't provide a download for these but you can find them at Stardock.com

If anyone knows how to modify explorer.exe to view these icons properly, please post it here and I will program it in to IconSwap.

The run dialog bitmap can be grabbed at:
http://www.ryanvm.ne...opic.php?t=2905

Attached Files


Edited by Squeeto, 22 January 2007 - 02:30 PM.


#3
Squeeto

Squeeto

    Member

  • Member
  • PipPipPip
  • 302 posts
  • Joined 03-December 05
The download for IconSwap has been moved to the first post.

Steps:
1_ press Browse button and select 'NewIcons' and 'iconset.txt'
2_ press Replace button
3_ wait until finished
4_ reboot and run Iconswap again
5_ press the Refresh button

You may need to turn off virus protection.
I have found that if you do a lot of computer activity during Step3, IconSwap may miss cancelling a Windows File Protection error as they pop up. So '3_ wait until finished'.
You should have a new MyComputer icon and trash bin icons.

Known or possible issues:
1. non-English Win2k might have to close a Windows File Protection dialog box.

A note to all. If Windows complains that system files are being modified and wants you to insert your Win2k installer disc, don't. We are hacking protected Windows system files and of course it is going to complain. Also let me know if you get one of these messages. I am trying to program iconswap to catch all of these so that they don't display.

The file res1.zip contains a few of the resources (icons, avis, bitmaps, etc) that XPero or I have made. You can see these in the previous pictures. I will probably rename this (increment the number) as I add to it.

This uses the following software:
Resource Hacker (reshacker.exe) version 3.4.0.79 by Angus Johnson
File Zapper (zap.exe) by IBM
GoRC.exe version 0.90.2 by Jeremy Gordon

If any of the three complain that I am including their software in my download, I will remove them. You will have to get them on your own and put them in the \bin directory.

Attached Files

  • Attached File  res1.zip   128.6KB   94 downloads

Edited by Squeeto, 21 April 2007 - 02:40 PM.


#4
damian666

damian666

    creator of the vistapack

  • Developer
  • 683 posts
  • Joined 19-July 06
  • OS:Windows 8.1 x64
  • Country: Country Flag
ah finally, were on our own thread.
good luck with this squeeto.
let me know if i can do something more for you.

and thanx for the credit :blushing:

damian666

untitled.png


#5
WildBill

WildBill

    Senior Member

  • Developer
  • 697 posts
  • Joined 09-August 05
  • OS:none specified
  • Country: Country Flag
I migth eventually try another stab at getting 32-bit icons to work in Win2k, but at the moment I'm trying to get TClock3 0.2.3 firmed up (it's pretty much been re-architected from top to bottom but the maximize/minimize/close button halo feature isn't as stable as I want it to be yet--the rest is just about bulletproof at this point and even runs on XP).

I've learned a lot about the 32-bit icon problem, though, and it looks like it's most likely a problem with the treeview component. It looks like the treeview component stores all icons in a single giant image file, and when I send the command to retrieve the image file the alpha values in it are wrong. This tells me that any solution would necessarily involve somehow overriding how the treeview component works, at least in the EXPLORER.EXE process. I don't yet know if this is doable without investigating, but I have a sample of code that overrides existing Windows code in a running process (for capturing window contents), so it seems at least *theoretically* possible (though I can't say how easy or difficult it would be without digging a lot deeper). It's also possible that the problem isn't the treeview component itself but the mechanism for loading icon resources; in that case I would have to find where that happens and possibly override that, but no guarantees. It looks like a really tough problem to solve, but possible at least in the theoretical sense. For all I know, it might involve overriding both the treeview component (for painting the icons) as well as loading them...

Edited by WildBill, 16 October 2006 - 09:24 PM.


#6
Targaff

Targaff

    Junior

  • Member
  • Pip
  • 88 posts
  • Joined 22-August 05
  • OS:none specified
  • Country: Country Flag
Since we're talking about replacing resources and theoretical stuff, wouldn't it theoretically be possible to edit ntoskrnl.exe so that rather than call the boot logo that's stored internally it instead loads an external one - and also to set a higher resolution and colour depth in the process? I imagine it'd involve a fair amount of step-through work to see what happens where/when, but setting screen resolutions and displaying bitmaps seems relatively uncomplicated to me compared to some of what people here get up to.

Just pondering.

#7
damian666

damian666

    creator of the vistapack

  • Developer
  • 683 posts
  • Joined 19-July 06
  • OS:Windows 8.1 x64
  • Country: Country Flag
well, i dont think its possible to increase the color depth because there are no drivers loaded for your videocard yet.
but maybe im wrong?
and changing the bootscreen is already possible.

damian666

untitled.png


#8
Squeeto

Squeeto

    Member

  • Member
  • PipPipPip
  • 302 posts
  • Joined 03-December 05
I found another icon, see pic. Actually they are not too hard to find; I have been busy with another project this week.
The download has been up for about a week now and no complaints so here is my iconset.txt. So more for you to try:
[Icon Group]
%WinDir%\explorer.exe, 100, 02.ico;My Comp
%SysDir%\shell32.dll, 32, 06.ico ;trash
%SysDir%\shell32.dll, 33, 07.ico ;trash full
%SysDir%\shell32.dll, 18, 03.ico ;Netwk Places
%WinDir%\notepad.exe, 1, 74.ico ;notepad
%SysDir%\notepad.exe, 1, 74.ico ;notepad
%SysDir%\shell32.dll, 152, 74mod.ico ;txt files
%SysDir%\user32.dll, 105, start.ico;Start Button
%SysDir%\stobject.dll, 230, volume.ico;Sound Volume
%SysDir%\stobject.dll, 231, volmute.ico;Sound Volume
%SysDir%\shell32.dll, 25, run.ico ;run box icon in menu
%SysDir%\shell32.dll, 25, run.ico ;run box icon in menu
%SysDir%\netshell.dll, 190, 190.ico ;network activity, front front
%SysDir%\netshell.dll, 191, 191.ico ;network front back
%SysDir%\netshell.dll, 192, 192.ico ;network back front
%SysDir%\netshell.dll, 193, 193.ico ;network back back
%SysDir%\netshell.dll, 195, 195.ico ;network unplugged

[Bitmap]
%SysDir%\ntoskrnl.exe, 1, bootscr.bmp ;boot screen
%SysDir%\msgina.dll, 101, 101.bmp ;Windows banner
%SysDir%\msgina.dll, 107, 107.bmp ;Windows banner

[Avi]
%SysDir%\shell32.dll, 161, 161.avi ;file copy

[Dialog]
%SysDir%\shell32.dll, 1003, run_dlg.rc

[Add Bitmap]
%SysDir%\shell32.dll, RUN_DLG, run_dlg.bmp



And this is the run_dlg.rc text for that cool run dialog box:

1003 DIALOGEX 0, 0, 188, 83 
STYLE DS_FIXEDSYS | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU 
CAPTION "Run" 
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 
FONT 8, "MS SHELL DLG" 
{ 
   CONTROL "", 12298, COMBOBOX, CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_DISABLENOSCROLL | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 3, 53, 181, 198 
   CONTROL "R", 12306, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_DISABLED | WS_TABSTOP, 21, 90, 1, 1 
   CONTROL "Run", 1, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 3, 67, 59, 14 , 0x00020000 
   CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 63, 67, 59, 14 , 0x00020000 
   CONTROL "Find", 12288, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 124, 67, 59, 14 , 0x00020000 
   CONTROL "RUN_DLG", 0, STATIC, SS_BITMAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 3, 3, 181, 48 
}


res1.zip from post #3 has been updated.

Attached Files



#9
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,310 posts
  • Joined 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag
Nice work Squeeto Cool Patch :)

#10
Squeeto

Squeeto

    Member

  • Member
  • PipPipPip
  • 302 posts
  • Joined 03-December 05
ricktendo64
Thanks go to you for the Run dialog box. The link to your tut. at RyanVM is in post #2 of this thread.

Edited by Squeeto, 23 October 2006 - 12:10 PM.


#11
ricktendo

ricktendo

    Group: Banned Members

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,310 posts
  • Joined 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag
Its not mine it Davids Cumps tutorial I just modified it a tad see http://weblogs.asp.n...ges/194736.aspx

#12
damian666

damian666

    creator of the vistapack

  • Developer
  • 683 posts
  • Joined 19-July 06
  • OS:Windows 8.1 x64
  • Country: Country Flag
well who it did, its fantastic!
oh and squeeto, im stuck with the vista theme because the icons wont show nice in win2000?
do you know how to fix that?
anyone?

damian666 :wacko:

untitled.png


#13
Squeeto

Squeeto

    Member

  • Member
  • PipPipPip
  • 302 posts
  • Joined 03-December 05

do you know how to fix that?

Nope. My hope is that someone can though. WildBill (see post #5) is making a stab at it. Maybe Tihiy (of Revolutions 98) knows the trick.

I would like to see 2 things:
1. fix this icon display limitation
2. find the location of all resources for W2k

I'll bet that there are quite a few hackers that have changed all of the icons already. Kramy comes to mind.
http://www.msfn.org/...o...73157&st=15
Dels too.


Found a couple more:

[Icon Group]
...
%SysDir%\shell32.dll, 28, 02.ico ;shutdown in menu
%SysDir%\msgina.dll, 22, 02.ico ;shutdown in dialog box

I just used the 'My Computer' icon from before (02.ico).

Attached Files



#14
damian666

damian666

    creator of the vistapack

  • Developer
  • 683 posts
  • Joined 19-July 06
  • OS:Windows 8.1 x64
  • Country: Country Flag
well squeeto, than i can only do one thing, and thats look for icons that are made by other people for 2000 that are vista like.
i dont know if there are any, but i will try.
good luck

damian666

untitled.png


#15
Kiki Burgh

Kiki Burgh

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,426 posts
  • Joined 06-January 06
ey Squeeto! here you are ... :) just found this while browsing ... i remember the boot screen ... it was the sample you shared with me ... kudos to you!

Edited by Kiki Burgh, 30 October 2006 - 11:53 AM.

Posted Image

#16
Squeeto

Squeeto

    Member

  • Member
  • PipPipPip
  • 302 posts
  • Joined 03-December 05
KiKi
Thanks. Seems this big world is not so big.

Damian
WildBill has a app. called IconViewer that (with other functions) removes the alpha channel from the XP type icons so that Win2k can use XPize. I think, though I have not tried, you can just use the alpha channel modification part and then use the modified icons in IconSwap.

http://www.msfn.org/...o...55706&st=30

#17
damian666

damian666

    creator of the vistapack

  • Developer
  • 683 posts
  • Joined 19-July 06
  • OS:Windows 8.1 x64
  • Country: Country Flag
hi squeeto, i tried to find that app you named, but its a no go.
and when i search on google i get enough hits of it but thats of another maker?

help!

damian666 :hello:

untitled.png


#18
Squeeto

Squeeto

    Member

  • Member
  • PipPipPip
  • 302 posts
  • Joined 03-December 05
I'll try to post it up here.

Nope.

The total filespace required to upload all the attached files is greater than your per post or global limit. Please reduce the number of attachments or the size of the attachments.


I'll send an email.

#19
damian666

damian666

    creator of the vistapack

  • Developer
  • 683 posts
  • Joined 19-July 06
  • OS:Windows 8.1 x64
  • Country: Country Flag
thanx squeeto, i will get right on it.

:thumbup

damian666

untitled.png


#20
damian666

damian666

    creator of the vistapack

  • Developer
  • 683 posts
  • Joined 19-July 06
  • OS:Windows 8.1 x64
  • Country: Country Flag
hi squeeto, itried it and its getting better than it was, not perfect but he!
what to expect, its 2000 so we will have to do with it :D

i will let you know when its done

damian666 :thumbup

untitled.png


#21
Squeeto

Squeeto

    Member

  • Member
  • PipPipPip
  • 302 posts
  • Joined 03-December 05

itried it and its getting better than it was


Keep a copy of the original 32bit icons because I know that someone will figure out the fix for 2000 :)

A few more icon locations to play with:
%SysDir%\shell32.dll, 20, 20.ico ;Programs in menu
%SysDir%\shell32.dll, 37, 20.ico ;Programs in menu
%SysDir%\shell32.dll, 22, 22.ico ;Settings in menu
%SysDir%\shell32.dll, 23, 23.ico ;Search in menu
%SysDir%\shell32.dll, 134, 23.ico ;Search in menu

Once again, of course, substitute your.ico files for the ones that I am using.
So far, I have only used 16x16,32x32,48x48 multi-icons which are mostly 32bit. Win2k doesn't seem to care but will display them 8bit (256 colors), whatever.

I haven't been able to find the battery icons for laptops for the tray. Any idea?

#22
damian666

damian666

    creator of the vistapack

  • Developer
  • 683 posts
  • Joined 19-July 06
  • OS:Windows 8.1 x64
  • Country: Country Flag
yeah i think thats found in batt.dll just like in XP.
i have found all of those in xp, and maybe they are in 2ooo on the same place.
i will look in to it and then send you a list.
see you after the weekend.

bye bye damian666 :hello:

untitled.png


#23
Squeeto

Squeeto

    Member

  • Member
  • PipPipPip
  • 302 posts
  • Joined 03-December 05
Hey D.
Nope, my batt.dll only holds the icon shown.
BTW, don't know if you can tell but my screen is set to your V_sta pack.
I am actually running (right now) your pack but some of the icons aren't quite the same so I guess it is set up for XP?

My 3 year old wants a few happy faces. She wants the do-do-do and the red blah-blah-blah and the heart one:
:whistle: :realmad: :wub:

Attached Files



#24
damian666

damian666

    creator of the vistapack

  • Developer
  • 683 posts
  • Joined 19-July 06
  • OS:Windows 8.1 x64
  • Country: Country Flag
hi squeeto, well i have had a look, and found a whole bunch of the icons in 2000.
i tried it on my 2000 installation by integrating them in my setup files.
and it works fine!
and that first v_sta pack is really made for 2000.
so maybe its a mistake :blushing: or something thats not done yet.
i will send you what i got so far.
umm its 10mb so i dont know if i can send it by email.
ill try.


damian666

untitled.png


#25
Squeeto

Squeeto

    Member

  • Member
  • PipPipPip
  • 302 posts
  • Joined 03-December 05

i will send you what i got so far.
umm its 10mb so i dont know if i can send it by email.


Got it .... Wow.
That is a lot of work. Is that every icon finished now?

You should post this for others.
If you do post, attach a small readme.txt to it so that people know to copy their I386 folder to D:\WIN2000 before running the 1-collect.cmd (etc.) files.

I just reinstalled Win2k (I mean like yesterday!) so I probably won't try your V_sta pack until I need to do that chore again.

Also, just thought, do you need a modified SFC.dll or SFCFILES.dll for this to work? If so, include this in an INCLUDE folder to be automatically copied as well.


Outstanding!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users