Posted to tcl by patthoyts at Fri Nov 27 15:32:35 GMT 2009view raw
- [14:01] patthoyts Is <lyon> still about?
- [14:02] patthoyts jdc too. In the lastest tclkit858 for windows I replaced the old ico file with the one that is now in tclsh. This works much better for vista and windows7 where having some higher resolution icons makes a big difference.
- [14:03] patthoyts The icon replacement code in sdx.kit is pretty flaky at the best of times and I think its now mostly busted.
- [14:03] patthoyts So the best option for icon replacement is to take a copy of tclkit858.exe, split it, upx decompress then replace the icon resource using visual studio or some other resource editor. Then reassemble the tclkit exe.
- [14:04] patthoyts so: sdx mksplit mytclkit.exe; ren mytclkit.head mytclkit.head.exe ; upx -d mytclkit.head.exe
- [14:04] patthoyts edit the resource
- [14:04] jdc thanks pat. maybe you should mention this on the wiki as it's a FAQ.
- [14:05] patthoyts upx --best mytclkit.head.exe ; copy /b mytclkit.head + mytclkit.tail mytclkit.exe
- [14:06] patthoyts For the tkchat starpacks I just replace the icon in the build tree and relink kit-gui.exe which achieves the same effect.
- [14:06] patthoyts Rox has provided an improved icon replacement patch but i had trouble with it and its not ready yet.
- [14:07] patthoyts The tclkit.inf file for replacing the version resource strings is working ok though.
- [14:07] jdc that's great. was one of the reasons i had to built tclkits myself.
- [14:08] patthoyts I added some padding to it so it can accept longer strings than previously.
Comments
Posted by lyon at Fri Nov 27 15:37:43 GMT 2009 [text] [code]
Thank you for the hint. I did find out myself, the hard way... :D The nice side effect is that I learned a lot about sdx and tclkit...