Total SQX 1.10 (packer plug-in)

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
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2WatchUer
Hi,
Does the new beta2 version can't use a password to protect the archive?
It should work.
First I checked Encrypt (ZIP only) in TC's pack dialog, and input two times password, but didn't work.
Well ZIP only means ZIP only. This has absolutely no effect when creating a SQX archive.
Second I used the SQX's Configure dialog choosed from TC's pack dialog, I enter password in the Security page, but didn't work neither.
That should work. I have tested this some minztes ago and it worked fine.
Did you set an unpack or even a listing password protection?
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

WatchUer wrote:Does the new beta2 version can't use a password to protect the archive?

First I checked Encrypt (ZIP only) in TC's pack dialog, and input two times password, but didn't work.
Second I used the SQX's Configure dialog choosed from TC's pack dialog, I enter password in the Security page, but didn't work neither.
Maybe you only listed the content of the archive (while you did not protect listing explicit)?

You set the password in the configure dialog of SQXC plugin. Here it works fine with V 1.1.0.0 ß2.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Order of PWs

Post by *Clo »

2Sheepdog

:) Hello Stefan !

• It works fine here too. I guess that the order of the passwords to set is normal technically,
but a bit confusing for some users…
- In other words, they expect that setting the "Unpack" first protection in the dialogue, it is not possible to open (list) the archive… that is not correct, indeed.
Obviously, the most important protection is to prevent the unpacking !

:mrgreen: VG
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
WatchUer
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-22, 10:46 UTC
Location: China

Post by *WatchUer »

2Lefteous
Thx for the quick reply.

Strange, now the encrypt works.
Perhaps it's my fault, cause I forgot that TC can cache the password and misleaded by the Attr field(see my following the first question).

But I have two more question.

First: In the protected SQX archive, TC's Attr field can't indicate the encrypted file ie TC can't show the "e" in his Attr column for the encrpted file. The encrpted file in a ZIP archive can. I don't know whether it's a TC or plugin's problem...

Second: Does the SQX archive support different password for different files? I guess not by my test.

If SQX pack can use the TC's input password although it said ZIP only, it'll be more convenient.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2WatchUer
In the protected SQX archive, TC's Attr field can't indicate the encrypted file ie TC can't show the "e" in his Attr column for the encrpted file. The encrpted file in a ZIP archive can. I don't know whether it's a TC or plugin's problem...
It seems to be a hardcoded ZIP only "feature". The encrypted attribute is normally a NTFS feature which indicates that a file is encrypetd using NTFS.
To see if a SQX archive is encrypted use "Total SQX Content". This content plug-in has the fields
totalsqx.Unpack Protection
totalsqx.Has List Protection

You could use these fields for example to color encrypted NTFS files.

Download:
http://www.lefteous.de/tc/totalsqx_content_eng.htm

Does the SQX archive support different password for different files?
I'm not sure if I understood you here. You can set a new password (or 2 if you use list protection) for each new archive you create.
Each archive has exactly one listing password if set.
When creating an archive there is exactly one unpack password for all files in the archive. For non-solid archives a new unpack password can be used when adding files to this archive. In this case extracting the whole archive means it's required to enter multiple unpack passwords.
For solid archives there is only one unpack password per archive.

Please also note:
- Unpack and listing password must be different.
- After creating an archive the pack passwords are deleted. That means if you want to create another encrypted archive you need to enter the passwords again.
If SQX pack can use the TC's input password although it said ZIP only, it'll be more convenient.
This is impossible as TC doesn't inform Total SQX (and all other packer plug-ins) about these passwords.

2Clo
In other words, they expect that setting the "Unpack" first protection in the dialogue, it is not possible to open (list) the archive…
Please note that a listing protection can only be set when the archive has an unpack protection. This is why you need to enter the unpack password first.
User avatar
WatchUer
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-22, 10:46 UTC
Location: China

Post by *WatchUer »

Lefteous wrote:I'm not sure if I understood you here. You can set a new password (or 2 if you use list protection) for each new archive you create.
Each archive has exactly one listing password if set.
When creating an archive there is exactly one unpack password for all files in the archive. For non-solid archives a new unpack password can be used when adding files to this archive. In this case extracting the whole archive means it's required to enter multiple unpack passwords.
For solid archives there is only one unpack password per archive.
Now I understand, I've used solid archive. Thx!
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Total SQX 1.10 is available.

Download:
Total SQX 1.10


Changes in this version:
  • FIXED Testing password-protected archives didn't work properly.
  • ADDED The new option ArchiveOKMessage can be used to control the behavior after successfully testing an archive (0=No message, 1=Display message).
  • FIXED Packing wasn't finished when trying to pack just empty directories along with recovery data (SQX 6.0.4600).
  • FIXED Some files which contains alternate data streams couldn't be packed (SQX 6.0.4600).
  • FIXED Packing an archive with both archive and file protection in addtion with store security attributes resulted in non unpackable (using Total SQX) archive (SQX 6.0.4600).
  • CHANGED The option EnableAudioCompression has been removed. Audio compression can now be enabled always.
  • FIXED Audio compression should now work without crashes. The option to enable/disable audio compression has been removed (SQX 6.0.4600).
  • CHANGED From now on the SQX library 6.0.4600 is used. The files for creating self-extracting archives have been updated as well.
The supplementary package has been updated.
Nick222
Junior Member
Junior Member
Posts: 8
Joined: 2005-05-15, 03:35 UTC

Post by *Nick222 »

2Author
Pls, add URL of this forum on plagin page http://wincmd.ru/plugring/totalsqx.html - for direct navigation :)
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Nick222
Hi,

if you click:
"Все комментарии (10)" ( I guess this means all comments )
on http://wincmd.ru/plugring/totalsqx.html

and look at the first comment you'll be see a link to this thread.
Nick222
Junior Member
Junior Member
Posts: 8
Joined: 2005-05-15, 03:35 UTC

Post by *Nick222 »

Thank You, but many WinCmdRu plugin-pages content direct URL on forum. For example:
http://wincmd.ru/plugring/archview.html
Near "Download"...
Very comfortable :)
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Nick222
Thank You, but many WinCmdRu plugin-pages content direct URL on forum. For example:
http://wincmd.ru/plugring/archview.html
Near "Download"...
Very comfortable
A better idea would be to introduce a "support link" field. I'll contact ergo.
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

2Nick222
That is a feature for Russian forum only :). You can see that there're no links to this forum.
But if we could have them that would be better...
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

Total SQX 1.10, Windows XP 5.1 (Build 2600) (SP2), file system of source and target drive NTFS
If I create a sqx archive from a folder which is about 44 mb containing mostly dlls and one exe, I get a sqx archive with a size of 3.47 GB :shock: :D
Don't want to know what happens if the target drive has less then 3.47 GB of free space 8)
That he realy packed 3 GB can't be, because the time it took was too less (about 2 minutes).
Seems that it fills up the archive with empty data until 3.47 GB are reached.
What's going wrong there?
If I want to look into the archive, my compy can't be used for hours, so i didn't.


If I take a higher value for audio channels than the archive is 44 MB and seams to contain uncompressed data.
The same folder packed with 7-zip is 12.8 MB.

If I set text compression 2, text memory 2 and disable audio compression, I get an archive with a size of 19.9 MB.
Do I have to setup the compression parameters for every archive I want to create?

What are the best params for everything so there's no need to reconfigure evrytime?
Answer to myself:
If I set "Core compression", "Dictionary Size" and "Fine-tune" to highest values and in "Extended" set everything to "(let packer decide)" then everything is fine and the file has 11.8 MB but the packing process lasts about 6 minutes. OK, I can live with that :P

Here a part of the contents of totalsqx.ini (3.47 GB settings):

Code: Select all

[Pack]
FileFormat=1
CompressionRate=5
SolidArchives=1
DictionarySize=11
ExeCompression=2
TextCompression=2
TextMemory=32
TextOrder=32
MultimediaCompression=2
AudioCompression=2
AudioChannels=16
AudioChannelsWidth=16
RGBCompression=2
UltraMatchLink=9
RecoveryData=0
ExternalRecoveryData=0
Encryption=0
CreateSignature=0
Envelope=2
SignatureFile=
FileNames=1
StoreExtendedTimestamp=0
StoreSecurityAttributes=0
StoreStreams=0
AutoSaveComments=0
PerformExtendedTest=0
VolumeSize=0
UserVolumeUnit=0
EnableAudioCompression=0
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2TychoBarfy
Hi,
Don't want to know what happens if the target drive has less then 3.47 GB of free space
You'll get an out of disk space error message.
What's going wrong there?
You obviously forced all kind of packers (text, executable, multimedia, audio and image) which may lead to such undesirable results. Here is a quote from the documentation:
Total SQX documentation wrote:When this option is checked the special compression is used for this data type. If the files to be packed are really files of this type the compression will be accelerated enormously, because the time intensive data type detection can be skipped. The compression ratio doesn't improved compared to "Indeterminate (let packer decide)". If the files to be packed are not suitable for this special compressor the compression rate and speed suffers. This setting should be checked only if all files to be packed have the same data type only.
Do I have to setup the compression parameters for every archive I want to create?
This is up to you. The setting are made to choose between size and speed. This choice may vary from use to use - or not.
If I set ... in "Extended" set everything to "(let packer decide)" then everything is fine
Total SQX documentation wrote:Indeterminate (let packer decide): When this state is set the packer will try to detect if it makes sense to use the special compressor for this data type. This detection needs some time but results in a higher compression ratio compared to not using the special compressor at all. This is the default and recommended setting for all options in this dialog. The fine-tunings will be decided by the packer as well.
"Core compression", "Dictionary Size" and "Fine-tune" to highest values
packing process lasts about 6 minutes
Total SQX documentation wrote:Fine-tuning

This button will open a dialog which lets you fine-tune the compression ratio for the "Highest" compression setting. Please consider that this settings will always slow down compression a lot but not always create much smaller archives.
Don't hesitate to ask if you have more questions but please take a look in the documentation first. Many questions are answered there.
TychoBarfy
Senior Member
Senior Member
Posts: 350
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

Thanks Lefteous for your detailed answers :T
I only was surprised about this 3.47 GB result.
As you saw at the end of my post, I allmost had found my settings.
Post Reply