-
-
Notifications
You must be signed in to change notification settings - Fork 294
Welcome to CompactGUI Discussions! #244
-
Welcome!We're using Discussions as a place to connect with other members of our community. We hope that you:
|
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 4 comments 6 replies
-
|
Can't wait for v3 |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
v3 isn't configurable (to add/remove poorly compressed file types, ect), you can't put it in the right-click menu (using archaic "select a folder" in 2022 is absurd, and there's a bunch of GUIs already that can't use the RMB menu or drag-and-drop as well - Compactor, for example), and it's causing a ton of slowdown due to a lot (16, in my case, for example) of parallel write operations on top of that (i.e. isn't mechanical HDD friendly, and can easily kill a cheap SSD/NVMe with a weak controller). And you can't even compress the folder once again (for example, if the 5 out of 100 files have been modified, so only those 5 files will be compressed, which happens to, you know ... Steam games after an update) - it just proudly shows me the percentage saved. Thanks, but I'll stick to v2.6.2, which doesn't have any of these downsides. |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
v3 isn't complete yet - did you notice the alpha tag?
|
Beta Was this translation helpful? Give feedback.
All reactions
-
|
I haven't used v3 yet, but if it still invokes compact.exe under the hood, I would suggest leaving that idea behind and use the Windows API directly. There is a project called Compactor which does exactly that, however it lacks context menu integration like CompactGUI. It's compression speed is much greater because it does not have the overhead of spawning a compact.exe instance for every file it compresses. |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
It's something I've wanted to do for ages (I've been following this thread) but I hate using PInvoke especially in vb.net, there's a lot of stumbling blocks that don't exist in C# and other languages which makes it slow going. However, you might find that v3 works almost as fast as just compressing via compact.exe anyway :). By spawning parallel processes the overhead of each I will also say Compactor's creator is a far more talented programmer using a better language too :) |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Okay so I was bored today. tl;drexpect to see a new alpha using the Windows API soon. The long version:I just spent the last 6ish hours trying to get this working. Public Function WofIsExternalFile(Filepath As String) As Integer End Function Rather than using all the optional system.accessviolationexception: attempted to read or write protected memoryI was ready to tear my hair out.
So now I knew it wasn't working in C# either, and that's Microsoft's favourite child (not the cripple that they've left VB become). Maybe the problem wasn't with me, but with the docs? You see those four unassuming, innocent words next to each parameter that says OPTIONAL MY ARSE All that time wasted, and all I had to do was use every parameter and it works fine And then I turned to the actual problem (so I thought) of how to safely recreate a file as sparse. |
Beta Was this translation helpful? Give feedback.
All reactions
-
1
-
|
@kwencel try out the new release :) |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Hello, |
Beta Was this translation helpful? Give feedback.
All reactions
-
It would indeed, but I wouldn't know how to make that accurate, seems to be a lot of issues around that online as it is.
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Regarding entropy https://github.com/horsicq/Detect-It-Easy/ tool can calculate the entropy and says if the file is likely compressed, |
Beta Was this translation helpful? Give feedback.