Squeeto Posted October 11, 2006 Share Posted October 11, 2006 (edited) 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.icoSee 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.org/downloads/iswap104.zipThanks XPero Edited April 26, 2007 by Squeeto Link to comment Share on other sites More sharing options...
Squeeto Posted October 11, 2006 Author Share Posted October 11, 2006 (edited) 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.comIf 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.net/forum/viewtopic.php?t=2905 Edited January 22, 2007 by Squeeto Link to comment Share on other sites More sharing options...
Squeeto Posted October 11, 2006 Author Share Posted October 11, 2006 (edited) 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 button3_ wait until finished4_ reboot and run Iconswap again5_ press the Refresh buttonYou 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 JohnsonFile Zapper (zap.exe) by IBMGoRC.exe version 0.90.2 by Jeremy GordonIf 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.res1.zip Edited April 21, 2007 by Squeeto Link to comment Share on other sites More sharing options...
damian666 Posted October 12, 2006 Share Posted October 12, 2006 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 damian666 Link to comment Share on other sites More sharing options...
WildBill Posted October 17, 2006 Share Posted October 17, 2006 (edited) 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 October 17, 2006 by WildBill Link to comment Share on other sites More sharing options...
Targaff Posted October 17, 2006 Share Posted October 17, 2006 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. Link to comment Share on other sites More sharing options...
damian666 Posted October 17, 2006 Share Posted October 17, 2006 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 Link to comment Share on other sites More sharing options...
Squeeto Posted October 23, 2006 Author Share Posted October 23, 2006 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.bmpAnd 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. Link to comment Share on other sites More sharing options...
ricktendo Posted October 23, 2006 Share Posted October 23, 2006 Nice work Squeeto Cool Patch Link to comment Share on other sites More sharing options...
Squeeto Posted October 23, 2006 Author Share Posted October 23, 2006 (edited) 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 October 23, 2006 by Squeeto Link to comment Share on other sites More sharing options...
ricktendo Posted October 23, 2006 Share Posted October 23, 2006 Its not mine it Davids Cumps tutorial I just modified it a tad see http://weblogs.asp.net/cumpsd/pages/194736.aspx Link to comment Share on other sites More sharing options...
damian666 Posted October 24, 2006 Share Posted October 24, 2006 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 Link to comment Share on other sites More sharing options...
Squeeto Posted October 24, 2006 Author Share Posted October 24, 2006 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 limitation2. find the location of all resources for W2kI'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/board/index.php?showto...73157&st=15Dels 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 boxI just used the 'My Computer' icon from before (02.ico). Link to comment Share on other sites More sharing options...
damian666 Posted October 30, 2006 Share Posted October 30, 2006 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 luckdamian666 Link to comment Share on other sites More sharing options...
Kiki Burgh Posted October 30, 2006 Share Posted October 30, 2006 (edited) 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 October 30, 2006 by Kiki Burgh Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now