I made a search in the Help file but cannot find an explanation.
If I remember, settings of tools are registered in the cache files. But what else ?
Moderator: Kathy_9
Yes, perhaps...LeviFiction wrote:Thumbnails of resources I imagine.
I keep suggesting that Corel find a way to allow us to use our own custom icons for script binding and they just as assiduously keep ignoring me. : )Jean-Luc wrote:Some years ago, with a hex reader, I've found the location of the scripts icons and I tried to remplace them with diferent one more explicit. But it failed. I suppose PSP make an integrity check of its files during the load process.
If you can find a way to edit the file so that we can add our own icons it will likely be most warmly welcomed and appreciated by the community! Slower learners like me would likely need step by step instructions however.LeviFiction wrote:We all do. What I hate most of all is the button appearance dialog shows functionality that suggests we should be able to. Like they were planning on it and just stopped.
Oh, and kind of fun. If you edit the icon cache file the UI will show the edited icons. The program I used for editing broke the transparency so the icons look ugly, but it worked. So, just need the right program to edit the file while maintaining transparency. I wonder if it's actually just a bitmap or if it's a full ico file. I'll have to look into that when I have more time.
Keep in mind the icons shown in the Customize dialog will be the normal ones. But once you add the script to the UI it shows the cached icon from the file you edited.
It's late for me at the moment so just briefly read your post. But will definitely be looking for a decent icon editor and trying to follow your advice shortly. I'll get back once I've had time to try it out or, if necessary, get back for more detailed instructions!LeviFiction wrote: It's so simple, you just need an editor that support 32bpp BITMAP with transparency. To make this I used PixelFormer.
Go to C:\Users\Username\Appdata\Local\Corel PaintShop Pro\2018\Cache\
Open The Icon Cache file for your version of PSP (64-bit or 32-bit) and the size you have set in your preferences (Small, Medium, or large) with the editor. Now change the icon in the appropriate position. Icons are square, so the height of the image tells you how wide the icon can be. Then save. When you reload PSP the icon should appear as you've edited it to.
Thank you Levifiction !LeviFiction wrote: Open The Icon Cache file for your version of PSP (64-bit or 32-bit) and the size you have set in your preferences (Small, Medium, or large) with the editor.
The CoreXUIRC.dll contains icons too ...LeviFiction wrote:Yeah, no idea why large icons aren't showing a cache file. Unless the default icons are large and the medium and small icons are generated through scaling and that's why they need cache files.