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 »

2Sven
If the file is protected with password '123' it is impossible to repack the file with password '123'."
In which program (version)? For what kind of archives?
Where did you read that?
I'm a bit confused about that statement :?:
It is possible to add the file name to the password dialog the password is requested for?
I guess it's possible.
Sven
Member
Member
Posts: 111
Joined: 2003-02-10, 21:32 UTC
Location: Varel, Germany
Contact:

Post by *Sven »

Lefteous wrote:2Sven
If the file is protected with password '123' it is impossible to repack the file with password '123'."
In which program (version)? For what kind of archives?
Where did you read that?
I'm a bit confused about that statement :?:
It was my interpretation for "It's currently impossible to reuse the unpack protection password for repacking."
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Sven
It was my interpretation for "It's currently impossible to reuse the unpack protection password for repacking."
Ah OK :)
tigerix
Junior Member
Junior Member
Posts: 32
Joined: 2006-02-28, 02:08 UTC

Post by *tigerix »

Thanks very much for your nice plugin!

I have found a bug:
If I activate "Auto Extract" (Options for standard self-extracting archives, Target System: Win32) the "command to execute" function is not working!

And the extraction dialog (progress window) is also not shown when I execute the SFX-Archive.

One more question: Could you add an "Activate SFX" Button in the SQX options instead of the internal TC "Create Self Extracting Zip Archive..." function, which always sets the archive format to zip if I click on it.

Thanks very much for your help and answers.
Greetings from London,
Tigerix.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2tigerix
If I activate "Auto Extract" (Options for standard self-extracting archives, Target System: Win32) the "command to execute" function is not working!
I can confirm this and agree that this should be improved.
And the extraction dialog (progress window) is also not shown when I execute the SFX-Archive.
Yes when auto extract is activated there is no visual feedback while unpacking. I agree that this should be improved.
Could you add an "Activate SFX" Button in the SQX options instead of the internal TC "Create Self Extracting Zip Archive..." function, which always sets the archive format to zip if I click on it.
I could add such a button easily but the configuration dialog has no information and no control about the filename to be created. That means that creating a self-extracting archive could result in an archive called Archive.sqx although it's actually a self-extracting archive. That would be quite confusing. I hope you agree.
I hope the self-extracting checkbox in TC's pack dialog will no longer default to ZIP in future TC versions.
tigerix
Junior Member
Junior Member
Posts: 32
Joined: 2006-02-28, 02:08 UTC

Post by *tigerix »

If I activate "Auto Extract" (Options for standard self-extracting archives, Target System: Win32) the "command to execute" function is not working!
I can confirm this and agree that this should be improved.
And the extraction dialog (progress window) is also not shown when I execute the SFX-Archive.
Yes when auto extract is activated there is no visual feedback while unpacking. I agree that this should be improved.
Thanks very much for your quick answer. I am glad to hear that my suggestions have been accepted.
Could you add an "Activate SFX" Button in the SQX options instead of the internal TC "Create Self Extracting Zip Archive..." function, which always sets the archive format to zip if I click on it.
I could add such a button easily but the configuration dialog has no information and no control about the filename to be created. That means that creating a self-extracting archive could result in an archive called Archive.sqx although it's actually a self-extracting archive. That would be quite confusing. I hope you agree.
I hope the self-extracting checkbox in TC's pack dialog will no longer default to ZIP in future TC versions.
Yeah. I agree with you.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

if you want to test the changes before 1.07 is released please download the latest beta version:
http://www.lefteous.de/tc/archives/totalsqx/totalsqx_1.07_beta_4.zip

Changes since 1.07 BETA 3:
FIXED: If only the first files were unpacked in an archive the whole archive were unpacked. The resulting files in the temporary directory were not deleted.
FIXED: Inconsistent setting in settings file concerning standard self-extracting archives fixed.
FIXED: State control in self-extracting archives dialog fixed.
CHANGED: When a password is required to update a solid archive a new dialog now asks for a repack passwords instead of an unpack password. The new dialog is not yet localized. The unpack protection password will be used for repacking if possible.

Please also test if there are any new problems.

Update instruction:
Install Total SQX 1.06 prior to installing the beta version. Backup your old TotalSQX.wcx then unpack the new TotalSQX.wcx to your TotalSQX directory.
User avatar
Monk
Junior Member
Junior Member
Posts: 2
Joined: 2006-02-25, 22:15 UTC

TotalSQX in separate thread

Post by *Monk »

Lefteous-

Nice plug-in.
I like 7-zip better than SQX, but the 7-zip TC plug-in is inferior. Since I am too lazy to deal with command-lines (or GUIs other than TC), I have switched to TotalSQX.

One thing - can you allow packing to go into a separate thread so that I may continue working without opening another TC?
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Monk
Nice plug-in.
Thanks :-)
an you allow packing to go into a separate thread so that I may continue working without opening another TC?
In general SQX supports packing in a seperate thread. Unfortunately TC's packer plug-in interface currently doesn't allow plug-ins like Total SQX to pack in a seperate thread. I hope this limitation will be derestricted in future TC releases.
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Lefteous
With 1.07 beta4 I now have some troubles with editing files in NON solid unpack protected archives. Try the following:

1. Select some files (ansi text files, only archive attribute set), no dirs.
2. Press Ctrl+Alt+F5
3. Choose sqx packer ("Also pack path names" is checked)
4. Click the Configure button
5. Deselect "Create solid archive" (SQX-version set to 2.0)
6. Click Security tab
7. Check "Protect unpacking files"
8. Enter password and confirm (256 Bit AES is chosen)
9. Click OK
10. Click OK - the archive is made.
11. Press Enter on the new archive
12. Press F4 to edit one of the (text) files (Metapad 3.51 LE)
13. Press Yes when TC asks if you want to unpack the file to edit it
14. Enter the password asked for by Total-SQX
15. Delete some characters in the file
16. Save the changes and exit the text editor.
17. Press Yes when TC asks if you want to repack the changed file.
18. Chose an OTHER password than the original when repacking.
19. Exit the archive (Ctrl+PgUp)
20. Shut down TC
21. Open TC again
22. Open the archive again
23. Press F4 on ANOTHER file than the previously edited file.
24. Now, TC freezes for a minute or so, and then finally comes up with the question for the unpack password. During this period there is heavy disk activity - and after that, the memory readings in for example task manager is weird - with more free memory than after a fresh boot. It mostly looks like Windows is calculating (and using) virtual memory as it where physichal memory.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2petermad
Hi,

I couldn't reproduce the described behavior. Are you really sure that your computer works fine? That doesn't sound like a problem related to the plug-in.
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Are you really sure that your computer works fine
Yes - it is top trimmed - and I am VERY careful about not installing a bunch of crap.

But I forgot 2 crucial steps (23 and 24 below) - try again:

1. Select some files (ansi text files, only archive attribute set), no dirs.
2. Press Ctrl+Alt+F5
3. Choose sqx packer ("Also pack path names" is checked)
4. Click the Configure button
5. Deselect "Create solid archive" (SQX-version set to 2.0)
6. Click Security tab
7. Check "Protect unpacking files"
8. Enter password and confirm (256 Bit AES is chosen)
9. Click OK
10. Click OK - the archive is made.
11. Press Enter on the new archive
12. Press F4 to edit one of the (text) files (Metapad 3.51 LE)
13. Press Yes when TC asks if you want to unpack the file to edit it
14. Enter the password asked for by Total-SQX
15. Delete some characters in the file
16. Save the changes and exit the text editor.
17. Press Yes when TC asks if you want to repack the changed file.
18. Chose an OTHER password than the original when repacking.
19. Exit the archive (Ctrl+PgUp)
20. Shut down TC
21. Open TC again
22. Open the archive again
23. Open the previously edited file for editing.
24. Close the file again.
25. Press F4 on ANOTHER file than the previously edited file.
26. Now, TC freezes.....

The idea is to have an archive with files with different passwords. Get totalSQX out of the memory (restarting TC or using cm_UnloadPlugins) - then open two files after each other that have DIFFERENT passwords - and open the file that got it's password changed as the first of the two files.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2petermad
Hi,

I still cannot reproduce what your described. Maybe it's more effective to record a video showing what your are doing?
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

record a video showing what your are doing
I don't have a video recorder prog. - and I am not keen on installing one - unless you can recommend one that does absolutely not write in Windows Registry and that only installs files in its own directory?

I just did the test on my wife's computer - same result.

So let me try and do it another way.

1. Go to the TotalSQX directory.
2. Mark the files: liesmich.htm, readme.htm and TotalSQX.ini
3. Press Alt-F5
4. Choose sqx packing
5. Click the Configure... button
6. Remove the checkmark (if any) at "Create solid archive"
7. Set SQX-version to 2.00
8. Click the "Security" tab
9. Check the "Protect unpacking files"
10. Enter the password "xx" twice
11. Click OK twice
12. Open the archive
13. Choose the TotalSQX.ini
14. Press F4
15. Click "Yes" to edit the file
16. Enter the password "xx" and click OK
17. Delete the first character in the file
18. Save the file and close the editor
19. Click "yes" to repack the file
20. Enter the password "yy" twice, and click OK - it is important to chose a new password.
21. Exit the archive
22. Close TC
23. Open TC
24. Open the archive
25. Press F3 on the file TotalSQX.ini
26. Enter the password "yy"
27. Close Lister again
28. Press F3 on the file liesmich.htm

NOW - you should see the problem

Just for the record: my totalSQX.ini:

Code: Select all

[Pack]
EnableAudioCompression=1
FileFormat=1
CompressionRate=4
SolidArchives=0
DictionarySize=3
ExeCompression=1
TextCompression=1
TextMemory=1
TextOrder=7
MultimediaCompression=1
AudioCompression=1
AudioChannels=1
AudioChannelsWidth=16
RGBCompression=1
UltraMatchLink=9
RecoveryData=0
ExternalRecoveryData=0
Encryption=4
CreateSignature=0
Envelope=2
SignatureFile=
StoreExtendedTimestamp=1
StoreSecurityAttributes=0
StoreStreams=1
AutoSaveComments=0
PerformExtendedTest=0
TempFolder=
VolumeSize=0
UserVolumeUnit=0
FileNames=1
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
gbo
Senior Member
Senior Member
Posts: 329
Joined: 2005-03-31, 19:58 UTC
Location: Lausanne (Switzerland)

Post by *gbo »

petermad wrote:
record a video showing what your are doing
I don't have a video recorder prog. - and I am not keen on installing one - unless you can recommend one that does absolutely not write in Windows Registry and that only installs files in its own directory?
Have a look at this thread if you are interested, I am using Icfu's suggestion : DemoStudio
Gil
Licence #17346

90% of coding is debugging. The other 10% is writing bugs.
Post Reply