PDA

View Full Version : How to compile KIconLib.dll


agam1991
12-05-2007, 05:58 AM
Surfing around the forum, when I read this thread ([Only registered and activated users can see links]), I noted that method provided by our friendly admin-hood, z, to compile KIconLib.dll (used to customize Icons of KMP associated filetypes, through Preferences->Association/Capture->Association) was rather technical, requiring Delphi (and some knowledge of it). Well, I know an easier method and here it is. It requires an application called Resource Hacker to edit a template KIconLib.dll and compile it (both included with the attachment).

1. Download the attachment below and unzip it.

2. Run ResHacker.exe and open KIconLib.dll, the one included with the attachment, in it.

3. Select Add a new Resource... from the Action menu. Click Open file with new resource... button and browse to an Icon (.ico) file. Enter 101 in the Resource Name field and click Add Resource button.

4. Repeat step 3 for all the icon files but use an incremental Resource Name for each one i.e 102, 103 and 104 for 2nd, 3rd and 4th icon. Note that Resource Name decides the order of icons in the Preferences dialog of KMP so 101 should be the Resource Name for ASF icon, 102 for ASX icon, 103 for AVI icon and so on.

5. Select Save from File menu and exit Resource Hacker.

6. You may now replace the KIconLib.dll in KMP folder (don't forget to make a backup first) with the custom one.

Skouliko
12-09-2007, 07:45 PM
;)ResHacker is very usefull.The problem is that all icons must sorted by name.I found a utility to show all icons inside the Library.IconsExtract can show all these icons and their numbers.Also new icons must be created for some filetypes.e.x WAVPACK FLV...e.tc.KMP can play various AMIGA SOUND Formats like Modules,s3m,iff,sid,c64,fasttracker,protracker.... .e.t.c.except MED (OCTAMED).THIS PLAYER MUST BE ALL IN ONE PLAYER!!!
I need help to find all available codecs for testing all AMIGA formats i can find.
Because ICONS means nothing if you don't have available codecs.
thank you for your help....awaiting for HELP.

barathn
12-10-2007, 11:26 AM
hi,

There are many resource editors available, where you can edit the resources inside an exe / dll.

any way. thanks.