CompactGUI icon indicating copy to clipboard operation
CompactGUI copied to clipboard

Cannot decompress folders compressed with LZNT1 (Windows default folder compression)

Open SyedOmarNoor opened this issue 2 years ago • 7 comments

this new release looks nice when i ran it, i opened a compressed folder, and pressed "uncompress", which went through all the files. after that, it still showed the "uncompress" option. decompressing it legit using file explorer takes way longer, so compactgui definitely wasn't doing anything

SyedOmarNoor avatar Jun 06 '22 02:06 SyedOmarNoor

@SyedOmarNoor there's not enough information in that to help. Can you provide more details? For starters, what folder are you compressing/uncompressing, how large is it, what type of files does it contain

Iridium-IO avatar Jun 06 '22 09:06 Iridium-IO

a folder with lots of PDFs on my desktop. about 5gb. further testing on folders in some areas reveals normal results (decompresses, doesn't show "uncompress" after), and bad behaviour in others i'll come back to testing more later

SyedOmarNoor avatar Jun 10 '22 23:06 SyedOmarNoor

de/compressing python310 works as expected

SyedOmarNoor avatar Jun 11 '22 00:06 SyedOmarNoor

Have you enabled the "compress contents to save disk space" option in the folder's properties menu from within Windows Explorer?

Iridium-IO avatar Jun 11 '22 04:06 Iridium-IO

turning the default compression on on the python310 folder leads to the problematic behaviour. no files are decompressed. i have noticed that on the previous problematic folder tested (on desktop), only the subfolders that were OS compressed were skipped it seems that the problem is that it isn't decompressing the normal algorithm, which, after some testing, v2 doesn't do on the same folder either (analyse-uncompress loop)

SyedOmarNoor avatar Jun 12 '22 10:06 SyedOmarNoor

Correct, it can't decompress the "normal" algorithm so you can't use that option with CompactGUI.

I'm planning on adding the ability to undo that, but it's a bit more work since it works differently.

For now, disable folder compression from the properties menu if you want to use CompactGUI :)

Iridium-IO avatar Jun 13 '22 06:06 Iridium-IO

you can use compact.exe to manipulate normal Windows (LZNT1) compression instead of the usual "compact.exe /u /exe" simply use "compact.exe /u" (no /exe) i just tried it now to confirm and it works it'd simply be a copy of the current methods but with another call to compact.exe, and maybe another checkbox for the option

SyedOmarNoor avatar Jun 14 '22 06:06 SyedOmarNoor