配置Total Commander插件multiArc

作者:tacy lee

Total Commander对于各类压缩包的查看有很多插件,包括大家最常使用的7zip plugin,但是在使用7zip的时候,你会发现很不爽的地方:7zip本来支持iso等各类压缩包查看,用这个插件的时候却发现即使配置iso扩展名支持,也不能查看iso文件。

这可能是因为7zip plugin是用7zip的核心源码编译,好像只包括zip文件类型支持。那有没有办法在TC中用真正的7zip查看压缩包呢?

下面我们要介绍的插件multiArc就可以实现这个功能,用它你就可以配置Total Commander使用7zip来方便的查看各类支持的文件类型。

具体配置方法:

首先下载必须的软件包

1. 下载7zip并安装(www.7-zip.org)
2. 下载multiArc(wcx.sourceforge.net)
3. 解压缩multiArc到D:\Program Files\totalcmd\Plugins\wcx目录下(你的TotalCommander安装目录)
4. 在MultiArc目录下创建addons目录,并在目录下创建以下几个文件(注意每个文件中的Acchiver行,请用你的7zip安装目录替换)

a)7z.addon
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; Archiver:
7-Zip
; Homepage: http:
//7-zip.org
; Addon   : v1.0, August 11 2007
; Author  : deus
-ex
; Comments: Requires MultiArc v1.
4 or higher
;           and
7-Zip v4.52 or higher
;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;
[
7-ZIP]
Description
="7-Zip"
Archiver
=d:\Program Files\7-Zip\7z.exe
Extension
=7z
ID
=37 7A BC AF
IDPos
=0x0, 0xA08E, 0xA09E, 0xA29E, 0xA48E, 0xA49E, 0xA69E, 0xB298, 0xB29C, 0xB498, 0xC85E, 0xD051, 0xEA00, 0x10C00, 0x10E00, 0x11200, 0x11400, 0x11800, 0x11A00, 0x12400, 0x12600, 0x12800, 0x12A00, 0x13200, 0x13400, 0x15400, 0x15A00, 0x15E00, 0x16200, 0x16A00, 0x18651, 0x1865E, 0x1869C, 0x18800, 0x18898, 0x1DA00, 0x1E600, 0x1E800, 0x1F400, 0x1FC00, 0x1FE00, 0x20000, 0x20200, 0x20400, 0x20800, 0x20E00, 0x24A00, 0x24C00, 0x25200, 0x25400, 0x25600, 0x25800, 0x25A00, 0x25E00, 0x26800, 0x26A00, 0x27000, 0x27E00, 0x28400, 0x28600, 0x29800, 0x2A400, 0x2AA00, 0x2AC00, 0x2B000
BatchUnpack
=1
Start
="^--"
End
="^--"
Format0
="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp  nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
List
=%P l %AAQ
ExtractWithPath
=%P x -scsdos -y %AAQ @%LQ
Add
=%P a -mx=9 -y {%S} %AQ @%LQ
Move
=%P u -mx=9 -y {%S} %AQ @%LQ
Test
=%P t -y {%S} %AQ
Delete
=%P d -r -y {%S} %AQ @%LQ
AskMode
=2
AskHistory0
=-tzip -mfb=258
; create ZIP archives
AskHistory1
=-tzip -mm=Deflate64 -mfb=257 -mpass=15
; create ZIP(Deflate64) archives
AskHistory2
=-m0=PPMd:mem30:o32
; optimized compression
for Text files
AskHistory3
=-m0=BCJ2 -mb0:1 -mb0s1:2 -mb0s2:3 -m1=LZMA -m2=LZMA:d19 -m3=LZMA:d19
; compression using BCJ2 encoder
;

b)Iso.addon
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; Archiver:
7-Zip
; Homepage: http:
//7-zip.org
; Addon   : v1.0, August 11 2007
; Author  : deus
-ex
; Comments: Requires MultiArc v1.
4 or higher
;           and
7-Zip v4.52 or higher
;           Supports extraction only
;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;
[ISO]
Description
="ISO 9660 file system diskimage"
Archiver
=d:\Program Files\7-Zip\7z.exe
Extension
=iso
Start
="^--"
End
="^--"
Format0
="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp  nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
List
=%P l %AAQ
BatchUnpack
=1
ExtractWithPath
=%P x -scsdos -y %AAQ @%LQ
;

c)Chm.addon
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; Archiver:
7-Zip
; Homepage: http:
//7-zip.org
; Addon   : v1.0, August 11 2007
; Author  : deus
-ex
; Comments: Requires MultiArc v1.
4 or higher
;           and
7-Zip v4.52 or higher
;           Supports extraction only
;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;
[CHM]
Description
="Compressed Help Module"
Archiver
=d:\Program Files\7-Zip\7z.exe
Extension
=chm
ID
=49 54 53 46
Start
="^--"
End
="^--"
Format0
="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp  nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
List
=%P l %AAQ
BatchUnpack
=1
ExtractWithPath
=%P x -scsdos -y %AAQ @%LQ
;

d)Bz2.addon
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; Archiver:
7-Zip
; Homepage: http:
//7-zip.org
; Addon   : v1.0, August 11 2007
; Author  : deus
-ex
; Comments: Requires MultiArc v1.
4 or higher
;           and
7-Zip v4.52 or higher
;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;
[BZIP2]
Description
="BZip2"
Archiver
=d:\Program Files\7-Zip\7z.exe
Extension
=bz2
ID
=42 5A 68
Start
="^--"
End
="^--"
Format0
="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp  nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
List
=%P l %AAQ
Add
=%P a -tbzip2 -mx=9 -mpass=10 -y {%S} %AQ @%LQ
Move
=%P u -mx=9 -mpass=10 -y {%S} %AQ @%LQ
Test
=%P t -y {%S} %AQ
Delete
=%P d -r -y {%S} %AQ @%LQ
BatchUnpack
=1
ExtractWithPath
=%P x -scsdos -y %AAQ @%LQ
;

e)Jar.addon
; -----------------------------------------------------------------------
; WC MultiArc config addon
for JAR archives
; To install, copy contents of
this file to multiarc.ini and edit
;
"Archiver" key to adjust it to real placement of your Jar32.exe.
;
-----------------------------------------------------------------------
; Version: JAR
1.02 Copyright (c) 1996-97 ARJ Software, Inc.  Aug 11 1997
; Available at: http:
//www.arjsoft.com
; Comments: none
; Warnings: none
;
-----------------------------------------------------------------------
;
[JAR]
ID
=1a 4a 61 72 1b 00
IDPos
=14
Debug
=0
Extension
=jar,epp,epj,ecd
BatchUnpack
= 0
Description
=JAR 1.02 by ARJ Software, Inc.
Start
="^-------"
End
="^Total files listed: "
Format0
="* nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
Format1
="zzzzzzzzzz aaaaa                        yyyy tt dd hh mm ss"
Format2
=" "
Archiver
=d:\Program Files\7-Zip\7z.exe
List
=%P v -y %AQA
Extract
=%P e -y %AQA @%LQ
ExtractWithPath
=%P x -y %AQA @%LQ
Test
=%P t -y %AQA
Delete
=%P d -y %AQA @%LQ
Add
=%P a -y %AQA @%LQ
Move
=%P m -y %AQA @%LQ


配置安装MultiArc

先安装MultiArc插件,推荐使用TC Plugins Manager(www.totalcmd.net)安装
1.启动TC Plugins Manager
2.选择install安装MultiArc
3.选择Configure,然后用Import addon导入我们刚刚建立的所有addon目录下的文件
4.导入后,请用Tweak功能新建7z,iso,bz2,chm文件扩展
6.重启Total Commander之后就可以查看上面配置的文件类型。

当然,multiArc还支持很多的压缩格式,你可以自己扩展配置文件,前提当然是你有相应的压缩包操作工具了

注:这样配置之后,你会发现,在Total Commander中可以搜索上面压缩格式文件中的内容(这个功能可是相当好用,尤其是在搜索如class、配置文件之类的东西)

posted on 2007-09-10 19:17 tacy lee 阅读(1905) 评论(0)  编辑  收藏 所属分类: 我常用的工具


只有注册用户登录后才能发表评论。


网站导航: