MultiArc - UHA

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
DRP535
Senior Member
Senior Member
Posts: 305
Joined: 2003-03-03, 11:25 UTC

MultiArc - UHA

Post by *DRP535 »

Does anyone have a working ini script for UHARC v0.6a archives? I've tried the standard included one for v0.4 archives but it errors on v0.6a archives.

Code: Select all

[Uharc]
ID=55 48 41 
IDPos=0
Extension=UHA
Archiver="c:\Program files\winuha\uharc.exe"
List="%P l %a"
Start="^-------------------------------------------------------------------------------"
End="^-------------------------------------------------------------------------------"
Extract="%P x -y -d1 %a @%LQ"
Test="%P t %a"
Add="%P a -d1 -mz %AQ @%LQ"
Move="%P m -d1 -mz %AQ @%LQ"
Description="UHARC 0.4"
Format0=nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn  zzzzzzz  dd-TTT-yyyy  hh:mm  aaaa
IgnoreErrors=0
Debug=0
UnixPath=0
SkipDirsInFileList=0
SkipEmptyNames=1
BatchUnpack=0
SearchForUglyDirs=0
[MultiArc]
ConMode=1
ConMinimize=1
ConExclude=1
ConAClose=1
ConDelay=4
ConLines=0
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Archives created with Uharc v0.6a are'nt compatible to v0.4 archives.

Code: Select all

[Uharc v0.6a] 
ID=55 48 41
Extension=uha
Archiver=uharc.exe
BatchUnpack=1
SkipDirsInFileList=1 
SkipLIST=1
Start="^--"
End="^--"
Format0="nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
Format1="                              zzzzzzzzzz  dd TTT yyyy  hh mm ss  aaaa"
List=%P l -b32784 -d2 -y %AQA
Extract=%P e -b32784 -y %AQA @%LQ
ExtractWithPath=%P x -b32784 -y %AQA @%LQ
Add=%P a -b32784 -d0 -ed+ -m3 -mdp -y {%S} %AQ @%LQ
Move=%P m -b32784 -d0 -ed+ -m3 -mdp -y {%S} %AQ @%LQ
AskMode=2
AskHistory0=-mx
Note: Format0= string was shortened to 64 x char 'n' for readability in browser, change to 256 x char 'n'.


Regards,
deus-ex
Last edited by deus-ex on 2005-10-22, 15:41 UTC, edited 1 time in total.
User avatar
DRP535
Senior Member
Senior Member
Posts: 305
Joined: 2003-03-03, 11:25 UTC

Post by *DRP535 »

Thanks for that but it works no better. These are the error dialogs I get.

Image: http://img369.imageshack.us/img369/1792/image16zq.gif

Image: http://img369.imageshack.us/img369/9364/image23de.gif
User avatar
Gral
Power Member
Power Member
Posts: 1600
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

Try standard 0.4 Uharc Addon with one small change:

Code: Select all

ID=55 48 41 06
As for me works fine - both pack and unpack
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

DRP535 wrote:Thanks for that but it works no better. These are the error dialogs I get.

Image: http://img369.imageshack.us/img369/1792/image16zq.gif

Image: http://img369.imageshack.us/img369/9364/image23de.gif
Second image reveals that there is an error in your commandline. Somehow you managed to add an '\' right after the -y switch which does'nt belong there. Probably the error is to be found in the Multiarc.ini.


Regards,
deus-ex
User avatar
DRP535
Senior Member
Senior Member
Posts: 305
Joined: 2003-03-03, 11:25 UTC

Post by *DRP535 »

Gral wrote:Try standard 0.4 Uharc Addon with one small change:

Code: Select all

ID=55 48 41 06
As for me works fine - both pack and unpack
Will open the archive but can't see any files inside. Extraction doesn't work at all.
User avatar
DRP535
Senior Member
Senior Member
Posts: 305
Joined: 2003-03-03, 11:25 UTC

Post by *DRP535 »

Second image reveals that there is an error in your commandline. Somehow you managed to add an '\' right after the -y switch which does'nt belong there. Probably the error is to be found in the Multiarc.ini.
There is no \ after the -y switch at all. I cut 'n' pasted your entire script lock stock and barrel and overwrote everything in the multiarc.ini file.
User avatar
DRP535
Senior Member
Senior Member
Posts: 305
Joined: 2003-03-03, 11:25 UTC

Post by *DRP535 »

Surely the rogue \ should in fact be a | instead??

Why is the script producing a \ instead of a |?
User avatar
van Dusen
Power Member
Power Member
Posts: 684
Joined: 2004-09-16, 19:30 UTC
Location: Sinzig (Rhein), Germany

Post by *van Dusen »

2DRP535
Did you try the config, I've already recommended here?

Maybe, you was running in the same problems as me (as written here): MultiArc can't be used to add directories to an UHarc archive, because TC or MultiArc always add a trailing "\" to directory paths... it is not possible to avoid this, there is no workaround (AFAIK). These trailing "\" will cause the problems, which yields really odd results :(
User avatar
DRP535
Senior Member
Senior Member
Posts: 305
Joined: 2003-03-03, 11:25 UTC

Post by *DRP535 »

I've just tried it and it still doesn't work. The error messages are slightly different but the end result is the same - it doesn't work.

Oh well, I guess that's it then. Not possible to get UHA working with TC. Shame. UHarc is really a quite useful archiver. It nicely covers the middle ground when RAR/ACE/ZIP etc. aren't quite good enough but without the ridiculously over-the-top long times of WinRK or PAQAR
User avatar
deus-ex
Power Member
Power Member
Posts: 979
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

van Dusen wrote:MultiArc can't be used to add directories to an UHarc archive, because TC or MultiArc always add a trailing "" to directory paths... it is not possible to avoid this, there is no workaround (AFAIK). These trailing "" will cause the problems, which yields really odd results :(
You're right, i did'nt recognice the ""-issue in this particular situation. I'm using TC's usermenu to call archivers for creating archives, Multiarc is used for viewing/extracting of archives only.
The root of the ""-problem seems to be TC itself as for instance there is no parameter for path without trailing backslash available which is why i can't use the usermenu to call DOSBox with a given path to open as drive C: as DOSBox requires the path paramter without trailing backslash, only the drive can have a trailing backslash.


Maybe Christian Ghisler can add additional paramter-functionality to the next version of TC?


Regards,
deus-ex
Post Reply