"Drive button icons can be replaced via external DLL&qu

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2CoolWater

As mentioned above I'm using 24-bit bitmaps.

2Lion

It's a general problem. The current implementation is quite limited. You'll not find a removable icon for all kinds of removable drives. A removable drive can be almost anything...
I'll soon post a suggestion in the german (maybe in the english) forum on how to improve the current situation.
User avatar
Lion
Junior Member
Junior Member
Posts: 55
Joined: 2003-05-26, 09:36 UTC
Location: Obninsk, Russia
Contact:

Post by *Lion »

Agreed, removable drive can be anything. Maybe one should build resource dll according to the type of device he use mostly. For me it is an usb flash drive, so I'll stick with this icon for now:

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name="DISKREMOVE3.bmp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="DISKREMOVE3.bmp"

Qk02BQAAAAAAADYEAAAoAAAAEAAAABAAAAABAAgAAAAAAAABAAAAAAAAAAAAAAABAAAAAQAAAAAA
AP///wAAAAAAmWZmAJdlZQCMYGAAhFtbAJ9ubgCPY2MAhl1dAIVcXACBW1sAfVhYAHhWVgBzU1MA
p3l5AHRUVABwUlIAkmxsAGtPTwBlTEwAnHZ2AJZ0dABcR0cA1qenAMygoABZRkYA/8zMAFVERACU
eHgAXk1NAE9BQQCqjo4A4r29AEo+PgDXtrYA/NfXALWbmwBHPT0ArpaWAOnLywDx09MAybCwAIJy
cgBCOjoAeWxsAP7k5ADaxMQAbWNjAIl9fQBPSEgAmYyMAGJbWwA7NzcA59jYAM7ExADHvb0AjIaG
AH55eQBJRkYA+vLyAOvj4wB6dnYAsKurAL+6ugCbl5cAuLW1AK6rqwA1NDQA7uvrANbT0wCenJwA
0tDQAMnHxwDBv78A6OfnAJOSkgA+QjUAyc/IAEhWRgAoSCUAAJkAAACWAAAAhgAAAHgAAABsAAAA
aQAAAGYAAAGaAgAFZQUABmYGAAZgBgAMZgw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lJi8C4rWhoSUlJSUlJSUlJ
SYu5r62imGhoSUlJSUlJSUmLrKuinJSNc2hJSUlJSUlJSYuVc3ONg4tJSUlJSUlJSUmLi0lJc3NJ
SUlJSUlJSUlJi0lJSUlJSUlJSUlJSUk=
FYI, it's from Windows' hotplug.dll
"It's all very simple: In a white cloak..." - M. Bulgakov. The Master and Margarita.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Lion

I will compile a new dll. One question: The two files for removable disks that you posted are quite large. Is there any reason for this?
User avatar
Lion
Junior Member
Junior Member
Posts: 55
Joined: 2003-05-26, 09:36 UTC
Location: Obninsk, Russia
Contact:

Post by *Lion »

Lefteous
I forgot to convert them from 8 to 24bit. The size after conversion = 822 bytes just like yours BMPs. I can repost the new versions...
"It's all very simple: In a white cloak..." - M. Bulgakov. The Master and Margarita.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

New drivelibs can find be found on my homepage
Last edited by Lefteous on 2004-01-30, 23:33 UTC, edited 1 time in total.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

It also works on Win9x machines in TC 6.01 :-)
Fixed: Couldn't load drive replacement icons on Win9x. Reason: LOAD_LIBRARY_AS_DATAFILE not understood
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Post by *Clo »

Boofo wrote:
djk wrote:If you have active "Show drive buttons" option (Configuration / Layout) - the icons for the drive buttons are just changed,
That's what I thought but after downloading this new dll, they look the same as before I installed it. ;)
Hi Bob!
:( I already replied, but the forum has crashed!
8) To get new drive-buttons, you must add the following in your <WINCMD.INI> file:
[Configuration]
DriveLib=C:\Totalcmd\...sub-dir-path...\Shell32DriveBitmapsCustomFTP.dll
:) That library can be found from this forum, please see other pages about the subject...
:wink: It works fine at home (with TC 32-bit versions!)
8) Friendly,
Claude
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

I now definetely found out that the TC 6.0 doesn't support the changing of drivelib under WIN98 - while 6.01 does.

By coincidence I started over the Network a TC instance at my w98 machine and suddenly the new dirve icons appeared. So I tested everything (compare the wincmd.ini; Location of them: copy the TC directory to a local one etc.). Finally I found out that all I had to do was simply copy the new totalcmd.exe in my TC directory - and then my custom drivebuttons appeared.

sheepdog
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Sheepdog

From history.txt
23.11.03 Fixed: Couldn't load drive replacement icons on Win9x. Reason: LOAD_LIBRARY_AS_DATAFILE not understood
TC 6.01 corrects many errors that have been found in 6.0.
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Post by *sas2000 »

 
Is it possible to use these drivelibs in \\My Pc\*.* ? , thanks.
 
I can do it with Axialis IconWorkshop 5 but i just want to change TC icons not Windows ones.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2sas2000
Is it possible to use these drivelibs in \\My Pc\*.* ? , thanks.
If you have access rights to this network folder it works fine, if not the standard the standard bitmaps will be used.
adacom
Junior Member
Junior Member
Posts: 43
Joined: 2009-01-02, 14:46 UTC
Location: uk

Post by *adacom »

a very old thread - does this still work in 8.51 - have tried it and it does not work - that may be me but would like to know it does work before i try and work out what i am doing wrong
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3896
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

does this still work in 8.51
Yes, it still works.
Using it with TC 8.51a on win7 64-bit.
#5767 Personal license
adacom
Junior Member
Junior Member
Posts: 43
Joined: 2009-01-02, 14:46 UTC
Location: uk

Post by *adacom »

thanks - knowing it worked prompted me to reread and recheck and i missed the fact that the link in the help file refers to drvbmps.dll which i just cut and pasted but the file name is drivebmp.dll

simple when i put my brain in gear

again thanks
Post Reply