DirSizeCalc 2.22 (content plugin)
Moderators: Hacker, petermad, Stefan2, white
WinXP Pro SP3, admin, English
TC 7.5pb1, portable, English
The Unicode version of the plugin does not load the English strings from the DirSizeCalc.lng file.
I have made changes in the language file which is why I noticed this issue, specifically:
- Empty strings: "0" instead of "No files" (this one I noticed immediately)
- directory strings: "<DIR>", "<MOUNT>" and "<JUNCT>"
- Access Denied strings: "X" instead of "AD"
Currently I have disabled the Unicode version (renamed the DirSizeCalc.uwdx), because the ANSI version works fine for me.
I am using only the Size column, loaded automatically, in background.
From time to time I need Unicode support (which is why I installed TC 7.5 immediately, even though it's still beta), but seems the ANSI plugin version works for my current usage, so it's not an urgent issue for me.
TC 7.5pb1, portable, English
The Unicode version of the plugin does not load the English strings from the DirSizeCalc.lng file.
I have made changes in the language file which is why I noticed this issue, specifically:
- Empty strings: "0" instead of "No files" (this one I noticed immediately)
- directory strings: "<DIR>", "<MOUNT>" and "<JUNCT>"
- Access Denied strings: "X" instead of "AD"
Currently I have disabled the Unicode version (renamed the DirSizeCalc.uwdx), because the ANSI version works fine for me.
I am using only the Size column, loaded automatically, in background.
From time to time I need Unicode support (which is why I installed TC 7.5 immediately, even though it's still beta), but seems the ANSI plugin version works for my current usage, so it's not an urgent issue for me.
aNDreas Bolotă
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
TC 7.50 pb1 + DirSizeCalc 2.10
Custom columns with the fields "Empty" and "Contains files" are working correctly.
But the search for these fields:
Empty = Yes
Empty = No
Contains files = Yes
Contains files = No
does not find anything.
At the same time, search the field "Size = 0" allows to find empty folders.
TC 7.04a + DirSizeCalc 2.10 has no such problems.
Custom columns with the fields "Empty" and "Contains files" are working correctly.
But the search for these fields:
Empty = Yes
Empty = No
Contains files = Yes
Contains files = No
does not find anything.
At the same time, search the field "Size = 0" allows to find empty folders.
TC 7.04a + DirSizeCalc 2.10 has no such problems.
- ghisler(Author)
- Site Admin
- Posts: 50394
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sounds like a general problem with boolean (Yes/No) fields. I will check that.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50394
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have just checked it: The documentation explains that multiple choice fields are always ANSI, not Unicode. I check with your plugin, and it return Unicode data in ContentGetValue for type ft_multiplechoice. Please change it to Ansi, and it will work.
The Unicode support in these muiltiple choice fields is done via the translation, the data returned via ContentGetValue should be plain English only.
The Unicode support in these muiltiple choice fields is done via the translation, the data returned via ContentGetValue should be plain English only.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hi, Lefteous
I've just installed version 2.10 of DirSizeCalc on TC 7.5 b1
First of all, thanks for writing this great plugin, it's very useful.
But I've been trying to get DirSizeCalc to display directory sizes in the same way as the "dynamic display" does and I just can't. To better explain myself, I'm referring to TC's setting in: Configuration -> Display ->Tabstops -> Size Display: dynamic (x k/M/G)
That's to say, I'd like to replace DirSizeCalc's "kiB/MiB/GiB" for "k/M/G". Is it possible? I've already created a custom unit, but I can't choose how units are displayed.
If it isn't possible in the current version, would you consider adding such an option in future versions?
Thanks
I've just installed version 2.10 of DirSizeCalc on TC 7.5 b1
First of all, thanks for writing this great plugin, it's very useful.
But I've been trying to get DirSizeCalc to display directory sizes in the same way as the "dynamic display" does and I just can't. To better explain myself, I'm referring to TC's setting in: Configuration -> Display ->Tabstops -> Size Display: dynamic (x k/M/G)
That's to say, I'd like to replace DirSizeCalc's "kiB/MiB/GiB" for "k/M/G". Is it possible? I've already created a custom unit, but I can't choose how units are displayed.
If it isn't possible in the current version, would you consider adding such an option in future versions?
Thanks
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
Lefteous:
I want to thank you for the readme file in this plugin. As long as I have been using TC, I never messed with the custom columns or never really knew what they were used for. Your detailed instructions have made it possible for me to set up other content plugins properly. If more plugin authors took the time and steps you did in the readme file to explain EXACTLY what to do, then there would be a lot less newbie sounding questions, I'm sure. You are to be commended, sir and I thank you very much. I learned something new today.
I want to thank you for the readme file in this plugin. As long as I have been using TC, I never messed with the custom columns or never really knew what they were used for. Your detailed instructions have made it possible for me to set up other content plugins properly. If more plugin authors took the time and steps you did in the readme file to explain EXACTLY what to do, then there would be a lot less newbie sounding questions, I'm sure. You are to be commended, sir and I thank you very much. I learned something new today.

Mainly how the prefix is displayed. I'd like to be able to choose what kind of unit I want, decimal or binary, just like now, but with the option of defining how the prefix/unit is displayed. Right now, if I choose "decimal", the unit displays as "kB", or "MB", etc. Whereas if I choose "binary", the unit displays as "KiB", or "MiB", etc., with no option to change it (or at least I haven't found the way to do that)Lefteous wrote:Do you mean just how the prefix is displayed or which unit is used or both?
I'd like to be able to customize that, so that DirSizeCalc displays units just like Total Commander does with its "native" Size column (i.e. "B", "k", "M" and "G"), with the "dynamic" option (see my previous post)
By the way, I noticed that DirSizeCalc has its own style regarding fonts. If I want to change which font it uses, do I have to manually edit the layout.css file? Or is there any other way?
Thank you
2Boofo
Thank you
I noticed that I had to answer the same questions again and again. My plugin seems to be the first content plugin that people install so they ask me how content plugins can be used. So I decided to create a task-oriented documentation.
2city_zen
To change the text used for the prefix you have to edit the language file and change the string in your language section.
To change the unit itself use the settings utility which van be found in the plugin directory.
Thank you

2city_zen
To change the text used for the prefix you have to edit the language file and change the string in your language section.
To change the unit itself use the settings utility which van be found in the plugin directory.
The style sheet is only used for the German and English readme files.I noticed that DirSizeCalc has its own style regarding fonts
Current version 2.11
A new version is ready for download. It fixes some Unicode related issues.
The complete list of changes can be viewed online.
Plugin page: Download, description und documentation
totalcmd.net
My website
A new version is ready for download. It fixes some Unicode related issues.
The complete list of changes can be viewed online.
Plugin page: Download, description und documentation
totalcmd.net
My website
Hi Lefteous,
Thanks for your essential plugin from me too.
I noticed something odd about displayed file sizes from (decimal) 1024000 through 1048000:
Shouldn't they all read 1.0 MiB? Strangely, only at 1049000 (dec bytes) does the display switch to 1.0 MiB. Is this deliberate?
Btw, I'm using DirSizeCalc v2.11.
Thanks for your essential plugin from me too.
I noticed something odd about displayed file sizes from (decimal) 1024000 through 1048000:
Code: Select all
FileName Size
900000 (dec) 878.9 KiB
999000 (dec) 975.6 KiB
1000000 (dec) 976.6 KiB
1024000 (dec) 1,000.0 KiB
1039000 (dec) 1,014.6 KiB
1045000 (dec) 1,020.3 KiB
1046000 (dec) 1,021.5 KiB
1047000 (dec) 1,022.5 KiB
1048000 (dec) 1,023.4 KiB
1049000 (dec) 1.0 MiB
1050000 (dec) 1.0 MiB
1099000 (dec) 1.0 MiB
1124000 (dec) 1.1 MiB
1145000 (dec) 1.1 MiB
1148000 (dec) 1.1 MiB
Btw, I'm using DirSizeCalc v2.11.
Did you mean the .ini file? Here it is:
[FieldConfig_Size]
FieldIndex=0
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=1
FileLimit=0
[FieldConfig_Compressed Size]
FieldIndex=1
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=1
FileLimit=0
[FieldConfig_Compression Ratio]
FieldIndex=2
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=1
FileLimit=0
[FieldConfig_Directory Count]
FieldIndex=3
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=1
FileLimit=0
[FieldConfig_File Count]
FieldIndex=4
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=1
FileLimit=0
[FieldConfig_Empty]
FieldIndex=5
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=0
FileLimit=0
[FieldConfig_Contains Files]
FieldIndex=6
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=0
FileLimit=0
[FieldConfig_Contains Subdirectories]
FieldIndex=7
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=0
FileLimit=0
[UnitConfig_B]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=1
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=0
WantPrefix=1
[UnitConfig_KiB]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=2
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=1
WantPrefix=1
[UnitConfig_MiB]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=4
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=1
WantPrefix=1
[UnitConfig_GiB]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=8
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=1
WantPrefix=1
[UnitConfig_kB]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=2
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=2
WantPrefix=1
[UnitConfig_MB]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=4
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=2
WantPrefix=1
[UnitConfig_GB]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=8
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=2
WantPrefix=1
[CustomUnitConfig_KB]
NumberOfDigits=2
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=2
MinFileSizeK=1024
MinFileSizeM=1048576
MinFileSizeG=1073741824
LeadingZero=1
WantByteDigits=1
SizeDisplayType=1
WantPrefix=1
[CustomUnitConfig_All_Dims]
NumberOfDigits=1
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=15
MinFileSizeK=1024
MinFileSizeM=1048576
MinFileSizeG=1073741824
LeadingZero=1
WantByteDigits=0
SizeDisplayType=1
WantPrefix=1
[CustomUnitConfig_GB]
NumberOfDigits=6
DecimalSeparator=.
WantThousandSeparator=0
AllowedUnits=8
MinFileSizeK=1024
MinFileSizeM=1048576
MinFileSizeG=1073741824
LeadingZero=1
WantByteDigits=0
SizeDisplayType=1
WantPrefix=1
[CustomUnitConfig_Custom unit 0]
NumberOfDigits=1
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=15
MinFileSizeK=1024
MinFileSizeM=1048576
MinFileSizeG=1073741824
LeadingZero=1
WantByteDigits=0
SizeDisplayType=2
WantPrefix=1
[FieldConfig_Size]
FieldIndex=0
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=1
FileLimit=0
[FieldConfig_Compressed Size]
FieldIndex=1
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=1
FileLimit=0
[FieldConfig_Compression Ratio]
FieldIndex=2
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=1
FileLimit=0
[FieldConfig_Directory Count]
FieldIndex=3
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=1
FileLimit=0
[FieldConfig_File Count]
FieldIndex=4
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=1
FileLimit=0
[FieldConfig_Empty]
FieldIndex=5
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=0
FileLimit=0
[FieldConfig_Contains Files]
FieldIndex=6
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=0
FileLimit=0
[FieldConfig_Contains Subdirectories]
FieldIndex=7
CalcMode=0
FollowJunctionPoints=1
FollowMountPoints=1
Recursive=1
UseCache=0
FileLimit=0
[UnitConfig_B]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=1
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=0
WantPrefix=1
[UnitConfig_KiB]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=2
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=1
WantPrefix=1
[UnitConfig_MiB]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=4
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=1
WantPrefix=1
[UnitConfig_GiB]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=8
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=1
WantPrefix=1
[UnitConfig_kB]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=2
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=2
WantPrefix=1
[UnitConfig_MB]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=4
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=2
WantPrefix=1
[UnitConfig_GB]
NumberOfDigits=0
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=8
MinFileSizeK=0
MinFileSizeM=0
MinFileSizeG=0
LeadingZero=1
WantByteDigits=1
SizeDisplayType=2
WantPrefix=1
[CustomUnitConfig_KB]
NumberOfDigits=2
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=2
MinFileSizeK=1024
MinFileSizeM=1048576
MinFileSizeG=1073741824
LeadingZero=1
WantByteDigits=1
SizeDisplayType=1
WantPrefix=1
[CustomUnitConfig_All_Dims]
NumberOfDigits=1
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=15
MinFileSizeK=1024
MinFileSizeM=1048576
MinFileSizeG=1073741824
LeadingZero=1
WantByteDigits=0
SizeDisplayType=1
WantPrefix=1
[CustomUnitConfig_GB]
NumberOfDigits=6
DecimalSeparator=.
WantThousandSeparator=0
AllowedUnits=8
MinFileSizeK=1024
MinFileSizeM=1048576
MinFileSizeG=1073741824
LeadingZero=1
WantByteDigits=0
SizeDisplayType=1
WantPrefix=1
[CustomUnitConfig_Custom unit 0]
NumberOfDigits=1
DecimalSeparator=.
WantThousandSeparator=1
ThousandSeparator=,
AllowedUnits=15
MinFileSizeK=1024
MinFileSizeM=1048576
MinFileSizeG=1073741824
LeadingZero=1
WantByteDigits=0
SizeDisplayType=2
WantPrefix=1