Total7zip

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Total7zip

Post by *petermad »

2Christo
Hmm, I have Winrar 5.90, and it has always worked for me, also with previous RAR/Winrar versions.
I can copy AND move files AND folders into an open rar archives
I can copy but NOT move files and folders from an open rar archive. (I cannot move from any archive type, that is by design)
I can delete files AND folders in a open rar archive

The only thing I can think of, is that you have not written the path to winrar.exe correctly in the options.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Christo
Junior Member
Junior Member
Posts: 13
Joined: 2014-10-25, 11:30 UTC

Re: Total7zip

Post by *Christo »

I did come right.

When the 7zip and Totalzip plugins was both removed and "use internal un-rar if possible" was unselected.
Rar was working correctly. when using winrar.exe and not rar.exe.
When "use internal un-rar if possible" is selected some functions don't work, like the delete.

After installing Totalzip for 7zip to work again RaR stopped working again but I disabled RAR in the total7zip.template.xml and now both are working fine.

Thanks.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Total7zip

Post by *petermad »

Rar was working correctly. when using winrar.exe and not rar.exe.
When "use internal un-rar if possible" is selected some functions don't work, like the delete.
Not confirmed here.
For me both winrar.exe and rar.exe works, and I can delete files in the archive also with "use internal un-rar if possible" enabled.

I have these entries concerning rar in Total7zip.xml:

Code: Select all

		<format description="Rar" guid="{23170F69-40C1-278A-1000-000110030000}">
			<ext val="r00" />
			<ext val="rar" />
		</format>

Code: Select all

		<format description="Rar5" guid="{23170F69-40C1-278A-1000-000110CC0000}">
			<ext val="r00" />
			<ext val="rar" />
		</format>
These are my entries for the 7z and the Total7zip plugins in [PackerPlugins]:

Code: Select all

7zip=223,%COMMANDER_PATH%\PLUGINS\WCX\7zip\7zip.wcx
7z_7z=223,%COMMANDER_PATH%\PLUGINS\WCX\7zip\7zip.wcx
7z_jar=95,%COMMANDER_PATH%\PLUGINS\WCX\7zip\7zip.wcx
7z=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
wim=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
xz=731,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
flv=964,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_7z=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_zip=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_tar=733,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_gzip=731,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_bzip2=731,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_jar=212,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_arj=196,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_rar=196,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_cab=708,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
iso=196,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_xpi=212,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
Notice that I do not have an entry for rar in [PackerPlugins] only for 7zip_rar - in order not to collide with rar.exe / winrar.exe
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
beb
Senior Member
Senior Member
Posts: 430
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Total7zip

Post by *beb »

.md5, .sha, etc are the known common extensions of the CRC checksum text files generated by TC itself.

If I try to view such a .md5 file using Lister (F3) it is being opened by Lister via Total7zip, that is shown in the title bar "Lister (total7zip) - [p:\ath\to\some.md5]"

How to restrict this behavior and force Lister to view such files as text as they are?

At first, I've tried to set up <formatsDisabled> section in Total7zip.xml, but this doesn't work:
- I don't know what's the correct "format description" entry for that case,
- then, entirely omitting this entry makes Total7zip.xml corrupt, so that's not an option.

Code: Select all

<formatsDisabled>
<format description="?" guid="{?}"> 
<ext val="md5" /> 
</format> 
</formatsDisabled>
There're no any specific settings within [ListerPlugins] .ini section for Total7zip, there's no even 'detect' entry there as well.

Code: Select all

[ListerPlugins]
14=%COMMANDER_PATH%\Plugins\wcx\Total7zip\Total7zip.wcx

Also, I cannot see (find if there any) an option to set up how to exclude a specific extension (.md5 in my case) within the 'detect' entry, or to directly set up priority of internal Lister over Total7zip, or any other way to bypass Total7zip's interception of the said files in the Lister mode.

Please, help.
Last edited by beb on 2020-11-10, 14:07 UTC, edited 1 time in total.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Total7zip

Post by *Horst.Epp »

beb wrote: 2020-11-10, 13:34 UTC .md5, .sha, etc are the known common extensions of the CRC checksum text files generated by TC itself.

If I try to view such a .md5 file using Lister (F3) it is being opened by Lister via Total7zip, that is shown in the title bar "Lister (total7zip) - [p:\ath\to\some.md5]"

How to restrict this behavior and force Lister to view such files as text as they are?

At first, I've tried to set up <formatsDisabled> section in Total7zip.xml, but this doesn't work:
- I don't know what's the correct "format description" entry for that case,
- then, entirely omitting this entry makes Total7zip.xml corrupt, so that's not an option.

Code: Select all

<formatsDisabled>
<format description="?" guid="{?}"> 
<ext val="md5" /> 
</format> 
</formatsDisabled>
There're no any specific settings within [ListerPlugins] .ini section for Total7zip, there's no even 'detect' entry there as well.

Code: Select all

[ListerPlugins]
14=%COMMANDER_PATH%\Plugins\wcx\Total7zip\Total7zip.wcx

Also, I cannot see (find if there) an option to set up how to exclude a specific extension (.md5 in my case) within the 'detect' entry, or to directly set up priority of internal Lister over Total7zip, or any other way to bypass Total7zip's interception of the said files in the Lister mode.

Please, help.
I have Total7zip plugin installed and also 7zip itself installed.
No one of this stops TC to process md5 files if double clicked.
Lister shows them as text because I have set CudaLister for the md5 extension.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
beb
Senior Member
Senior Member
Posts: 430
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Total7zip

Post by *beb »

No one of this stops TC to process md5 files if double clicked.
2Horst.Epp

It's not an issue in my case as well. This function works as intended.
The question is only that md5 files are being intercepted by Total7zip while viewed in Lister [F3].
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
beb
Senior Member
Senior Member
Posts: 430
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Total7zip

Post by *beb »

Sorry. Finally, I've found a solution myself browsing TC GUI:

Steps to go:
[Main Menu]: Configuration - Options
[Configuration window]: Edit/View - Configure internal viewer
[Multimedia tab]: Define view method by file type...
[Button]: Add...
[Field]: Specify file type, e.g. *.txt, or RegEx with leading '<', like <(a|b)
[Action]: input/print text: *.md5
[Button]: OK
[Field]: Please choose default view modes
[Action]: opt up to 8 menu entries under the [+] button, or just input/print text: 1 in the field (where "1" is for "Text only")

Within .ini it renders this section:

Code: Select all

[ListerModes]
0exts=*.md5
0fields=1
Last edited by beb on 2020-11-10, 15:15 UTC, edited 3 times in total.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Total7zip

Post by *Dalai »

2beb
Total7zip doesn't register itself as Lister plugin by default. So the quesiton is: Why did you do so manually? If you don't need it as Lister plugin, just remove it as such (it still works as packer and/or content plugin). To answer your question: Extensions can be excluded by setting a _detect line in wincmd.ini, like this:

Code: Select all

14_detect="EXT!="MD5""
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
beb
Senior Member
Senior Member
Posts: 430
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Total7zip

Post by *beb »

Dalai wrote: 2020-11-10, 14:27 UTC To answer your question: Extensions can be excluded by setting a _detect line in wincmd.ini, like this:

Code: Select all

14_detect="EXT!="MD5""
That's great! Thank you a lot.
I like this way much more than the option I've described above.
I believed that something like that must exist, only somehow I couldn't google it myself.

As to your question, why do I use Total7zip's lister feature - I find it useful sometimes to get some basic properties of executables, dlls, etc.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Total7zip

Post by *Horst.Epp »

beb wrote: 2020-11-10, 15:07 UTC ...
As to your question, why do I use Total7zip's lister feature - I find it useful sometimes to get some basic properties of executables, dlls, etc.
Such info is much better to obtain with the FileInfo plugin.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Arch0Gabriel
New Member
New Member
Posts: 1
Joined: 2020-12-05, 17:42 UTC

Re: Total7zip

Post by *Arch0Gabriel »

Hi, great work! But may I ask you for registering 7z extension. After that it can add files to archive .Total7zip.7z Thank you.

[PackerPlugins]
7z=735,%TotalcmdPlugins%\wcx\Total7zip\Total7zip.wcx
Orochi
Junior Member
Junior Member
Posts: 58
Joined: 2011-10-09, 21:32 UTC

Re: Total7zip

Post by *Orochi »

Having a problem adding files to existing 7z sfx archive with Total7zip and Modern7z installed.
Very strange bug and I cannot figure out what's causing the problem.
So if we install total7zip and do not change any setting in copy configuration dialog, then everything works fine.
However, as soon as you change anything in the settings of 7z via copy menu, 7zip produces error when adding file or files to sfx archive.
I believe this has to do with Total7zip.xml
Anyone experienced this?

---------------------------
7-Zip
---------------------------
The parameter is incorrect.
---------------------------
OK
---------------------------
---------------------------
Plugin
---------------------------
Cannot open file!
---------------------------
OK
---------------------------
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Total7zip

Post by *Horst.Epp »

Orochi wrote: 2020-12-13, 14:29 UTC Having a problem adding files to existing 7z sfx archive with Total7zip and Modern7z installed.
Very strange bug and I cannot figure out what's causing the problem.
So if we install total7zip and do not change any setting in copy configuration dialog, then everything works fine.
However, as soon as you change anything in the settings of 7z via copy menu, 7zip produces error when adding file or files to sfx archive.
I believe this has to do with Total7zip.xml
Anyone experienced this?

---------------------------
7-Zip
---------------------------
The parameter is incorrect.
---------------------------
OK
---------------------------
---------------------------
Plugin
---------------------------
Cannot open file!
---------------------------
OK
---------------------------
No such problem here.
What do you change in the Configuration before you start the copy ?
May be the file Total7zip.xml in the plugin dir can't be written ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Orochi
Junior Member
Junior Member
Posts: 58
Joined: 2011-10-09, 21:32 UTC

Re: Total7zip

Post by *Orochi »

No such problem here.
What do you change in the Configuration before you start the copy ?
May be the file Total7zip.xml in the plugin dir can't be written ?
Ok try this.
Point to a file press Alt+F5 then set packer to 7z and press configure. A total7zip configuration will open, change few settings.
Set 7zip compression level to Ultra with LZMA2. Chose other archives types and change some settings there.
Press OK and and OK. An archive will be created. You can delete it.
Restart TC.
Now enter sfx archive with ctlr+pagedown and copy any file to the archive.
Let me know if it works.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Total7zip

Post by *Horst.Epp »

Orochi wrote: 2020-12-13, 19:18 UTC
No such problem here.
What do you change in the Configuration before you start the copy ?
May be the file Total7zip.xml in the plugin dir can't be written ?
Ok try this.
Point to a file press Alt+F5 then set packer to 7z and press configure. A total7zip configuration will open, change few settings.
Set 7zip compression level to Ultra with LZMA2. Chose other archives types and change some settings there.
Press OK and and OK. An archive will be created. You can delete it.
Restart TC.
Now enter sfx archive with ctlr+pagedown and copy any file to the archive.
Let me know if it works.
No problem doing so
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Post Reply