crc32tag content plugin (support, feedback, ect...)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: sheep, Hacker, Stefan2, white

User avatar
byblo
Senior Member
Senior Member
Posts: 227
Joined: 2005-02-20, 21:13 UTC

crc32tag content plugin (support, feedback, ect...)

Post by *byblo »

Hi :)

I wrote a content plugin which can be downloaded here : http://www.totalcmd.net/plugring/crc32tag.html


You'll find support in this topic, and do not hesitate to report bugs or to give feedbacks.

User avatar
byblo
Senior Member
Senior Member
Posts: 227
Joined: 2005-02-20, 21:13 UTC

Post by *byblo »

Hi, for the next version I'll add a language file (.lng).
If you want to correct it or add a new language before the release, here is the sample file :

crc32tag.lng

Code: Select all


[fra]
GetCrc32From=Recuperer depuis
	Tag_Crc32=Tag (crc32)
	Tag_YesNo=Tag (oui/non)
	Sfv_Crc32=Sfv (crc32)
	Sfv_YesNo=Sfv (oui/non)
	Auto_Crc32=Automatique (crc32)
	Auto_Result=Automatique (tag/sfv)

GetCrc32FromFile=Recuperer crc32 depuis fichier
	NoBrackets=Sans crochets (NULL si tag)
	WithBrackets=Avec crochets (NULL si tag)
	Force_NoBrackets=Forcer sans crochets
	Force_WithBrackets=Forcer avec crochets
	OnlyOnDemand=Sur demande
	OnDemand_IfTagName=Sur demande si tag present
	OnDemand_IfBiggerThanSize1=Sur demande si plus grand que Size1
	OnlyIfLesserThanSize2=Seulement si plus petit que Size2

CheckCrcFrom=Verifier crc32 depuis
	Tag=Tag
	Tag_OnlyOnDemand=Tag sur demande
	Sfv=Sfv
	Sfv_OnlyOnDemand=Sfv sur demande
	Auto=Automatique
	Auto_OnlyOnDemand=Automatique sur demande
	Auto_OnDemand_IfBiggerThanSize3=Auto sur demande si plus grand que Size3

;---------------------------------------------------------

[esp]
GetCrc32From=Recuperar desde
	Tag_Crc32=Tag (crc32)
	Tag_YesNo=Tag (si/no)
	Sfv_Crc32=Sfv (crc32)
	Sfv_YesNo=Sfv (si/no)
	Auto_Crc32=Automatico (crc32)
	Auto_Result=Automatico (tag/sfv)

GetCrc32FromFile=Recuperar crc32 desde fichero
	NoBrackets=Sin ganchos (NULL si tag)
	WithBrackets=Con ganchos (NULL si tag)
	Force_NoBrackets=Forzar sin ganchos
	Force_WithBrackets=Forzar con ganchos
	OnlyOnDemand=Al solicitar
	OnDemand_IfTagName=Al solicitar si tag presente
	OnDemand_IfBiggerThanSize1=Al solicitar si mas grande que Size1
	OnlyIfLesserThanSize2=Solamente si mas pequeno que Size2


CheckCrcFrom=Verificar crc32 desde
	Tag=Tag
	Tag_OnlyOnDemand=Tag al solicitar
	Sfv=Sfv
	Sfv_OnlyOnDemand=Sfv al solicitar
	Auto=Automatico
	Auto_OnlyOnDemand=Automatico al solicitar
	Auto_OnDemand_IfBiggerThanSize3=Auto al solicitar si mas grande que Size3

;---------------------------------------------------------
Just post here the result or send it to me at byblo@hotmail.com

User avatar
byblo
Senior Member
Senior Member
Posts: 227
Joined: 2005-02-20, 21:13 UTC

Post by *byblo »

Added the DEU language (contribution from TychoBarfy, thank you!)

It will be added in the next release of the plugin (0.17b) :

crc32tag.lng

Code: Select all


[fra]
GetCrc32From=Recuperer crc32 depuis
	Tag_Crc32=Tag (crc32)
	Tag_YesNo=Tag (oui/non)
	Sfv_Crc32=Sfv (crc32)
	Sfv_YesNo=Sfv (oui/non)
	Auto_Crc32=Automatique (crc32)
	Auto_Result=Automatique (tag/sfv)

GetCrc32FromFile=Recuperer crc32 depuis fichier
	NoBrackets=Sans crochets (NULL si tag)
	WithBrackets=Avec crochets (NULL si tag)
	Force_NoBrackets=Forcer sans crochets
	Force_WithBrackets=Forcer avec crochets
	OnlyOnDemand=Sur demande
	OnDemand_IfTagName=Sur demande si tag present
	OnDemand_IfBiggerThanSize1=Sur demande si plus grand que Size1
	OnlyIfLesserThanSize2=Uniquement si plus petit que Size2

CheckCrcFrom=Verifier crc32 depuis
	Tag=Tag
	Tag_OnlyOnDemand=Tag sur demande
	Sfv=Sfv
	Sfv_OnlyOnDemand=Sfv sur demande
	Auto=Automatique
	Auto_OnlyOnDemand=Automatique sur demande
	Auto_OnDemand_IfBiggerThanSize3=Auto sur demande si plus grand que Size3

;---------------------------------------------------------

[esp]
GetCrc32From=Recuperar crc32 desde
	Tag_Crc32=Tag (crc32)
	Tag_YesNo=Tag (si/no)
	Sfv_Crc32=Sfv (crc32)
	Sfv_YesNo=Sfv (si/no)
	Auto_Crc32=Automatico (crc32)
	Auto_Result=Automatico (tag/sfv)

GetCrc32FromFile=Recuperar crc32 desde fichero
	NoBrackets=Sin ganchos (NULL si tag)
	WithBrackets=Con ganchos (NULL si tag)
	Force_NoBrackets=Forzar sin ganchos
	Force_WithBrackets=Forzar con ganchos
	OnlyOnDemand=Al solicitar
	OnDemand_IfTagName=Al solicitar si tag presente
	OnDemand_IfBiggerThanSize1=Al solicitar si mas grande que Size1
	OnlyIfLesserThanSize2=Unicamente si mas pequeno que Size2


CheckCrcFrom=Verificar crc32 desde
	Tag=Tag
	Tag_OnlyOnDemand=Tag al solicitar
	Sfv=Sfv
	Sfv_OnlyOnDemand=Sfv al solicitar
	Auto=Automatico
	Auto_OnlyOnDemand=Automatico al solicitar
	Auto_OnDemand_IfBiggerThanSize3=Auto al solicitar si mas grande que Size3

;---------------------------------------------------------

[deu]
GetCrc32From=Ermittle CRC32 von
	Tag_Crc32=Tag (CRC32)
	Tag_YesNo=Tag (ja/nein)
	Sfv_Crc32=SFV (CRC32)
	Sfv_YesNo=SFV (ja/nein)
	Auto_Crc32=Automatisch (CRC32)
	Auto_Result=Automatisch (TAG/SFV)

GetCrc32FromFile=Ermittle CRC32 von Datei
	NoBrackets=Ohne Klammern (NULL bei Tag)
	WithBrackets=Mit Klammern (NULL bei Tag)
	Force_NoBrackets=Ohne Klammern erzwingen
	Force_WithBrackets=Mit Klammern erzwingen
	OnlyOnDemand=Nur auf Anforderung
	OnDemand_IfTagName=Auf Anforderung wenn Tag präsent
	OnDemand_IfBiggerThanSize1=Auf Anforderung wenn größer als Size1
	OnlyIfLesserThanSize2=Einmalig wenn kleiner als Size2

CheckCrcFrom=Verifiziere CRC32 von
	Tag=Tag
	Tag_OnlyOnDemand=Tag auf Anforderung
	Sfv=SFV
	Sfv_OnlyOnDemand=SFV auf Anforderung
	Auto=Automatisch
	Auto_OnlyOnDemand=Automatisch auf Anforderung
	Auto_OnDemand_IfBiggerThanSize3=Auto auf Anforderung wenn größer als Size3

;---------------------------------------------------------


Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

byblo
Nice plugin. Thank you!
What are you thinking about save and load CRC32s and MD5s using file streams?

BTW. Storing can be done already with the help of Summary Plugin, but I would prefer complete internal handling. Please take a look at http://www.totalcmd.net/plugring/NTFSFileStreams.html sources.

User avatar
byblo
Senior Member
Senior Member
Posts: 227
Joined: 2005-02-20, 21:13 UTC

Post by *byblo »

Postkutscher wrote:byblo
Nice plugin. Thank you!
What are you thinking about save and load CRC32s and MD5s using file streams?

BTW. Storing can be done already with the help of Summary Plugin, but I would prefer complete internal handling. Please take a look at http://www.totalcmd.net/plugring/NTFSFileStreams.html sources.
Thank you :)

About md5 support, I'm planning to add it someday.

For NTFS files streams, I don't really like hidden things; There is a lot of situation that these files could be lost on moving (moving to FAT32, ...) I prefer to centralize everything on a cache file and sfv files. But I could make an optional swich, why not ?

Also, and unfortunately, I'm on others projects, so I don't know when this will be done. Maybe I should release the sources ?

Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

byblo wrote:Also, and unfortunately, I'm on others projects, so I don't know when this will be done. Maybe I should release the sources ?
C++ ?
Would be nice.

User avatar
byblo
Senior Member
Senior Member
Posts: 227
Joined: 2005-02-20, 21:13 UTC

Post by *byblo »


Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

Thank you thery much. I will take a look this weekend.

User avatar
byblo
Senior Member
Senior Member
Posts: 227
Joined: 2005-02-20, 21:13 UTC

Post by *byblo »

If you using the 0.21b, please update to 0.22b : http://www.totalcmd.net/plugring/crc32tag.html

Code: Select all

* 0.22b,
- Fixed a bug where the WithoutMETADATA value wasn't returned correctly (showing sometimes a wrong crc32...)
- Since this version, c++ sources files will be included in binaries archive.
:?

User avatar
Sombra
Power Member
Power Member
Posts: 795
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

Hi byblo,
The file seems be wrong. 0 bytes in wdx_crc32tag022b.zip
Downloaded with firefox and ie
I can read English, but... I write like Tarzan. (sorry)

User avatar
byblo
Senior Member
Senior Member
Posts: 227
Joined: 2005-02-20, 21:13 UTC

Post by *byblo »

Indeed, something messed.
Its now fixed to : wdx_crc32tag022b(2).zip

Thanks for the report.

User avatar
Sombra
Power Member
Power Member
Posts: 795
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

Fixed. Thank you by the plugin update :)
I can read English, but... I write like Tarzan. (sorry)

Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

post deleted
Last edited by Postkutscher on 2008-04-05, 00:36 UTC, edited 1 time in total.

User avatar
fenix_productions
Power Member
Power Member
Posts: 1956
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Postkutscher
Please upload it some other place.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099

User avatar
byblo
Senior Member
Senior Member
Posts: 227
Joined: 2005-02-20, 21:13 UTC

Post by *byblo »

Thank you for sharing the support of md5 and ntfs filesteam, I appreciate.

However, some littles notes about it :
* By default, md5 string value do not need to be converted to uppercase.

* md5 should share the unique cachelist with crc32 and maybe future types (to also avoid multiple log files).

* There are too much entries now, and some of them need to be merged or deleted (like a new detection type at once : md5/sfv/tagsfv/tagmd5/nfs/ect...). It was a mess since the beginning then I will remade them when I can (It is planned to also add ed2k file id, someday...).

* The sources are free, but please don't use them to release something that looks "official", when it is not the case ;) Latest version remain 0.22b, not 0.25b.

Post Reply