Freaky / Compactor

A user interface for Windows 10 filesystem compression
MIT License
1.16k stars 47 forks source link

Fixed reference to web-view #2

Closed Mart-Bogdan closed 5 years ago

Mart-Bogdan commented 5 years ago

Provided commit hash wasn't present in repo:

error: failed to load source for a dependency on `web-view`

Caused by:
  Unable to update https://github.com/Freaky/web-view.git?rev=87a108fba963e701dc71a16d2f60ac54d96a09b5#87a108fb

Caused by:
  revspec '87a108fba963e701dc71a16d2f60ac54d96a09b5' not found; class=Reference (4); code=NotFound (-3)

I've tried fix-calling-convention branch first, but in it, FileOpenDialog wasn't working. So I've chosen alternate-upstream and it works like a charm.

P.S. You mentioned In readme to ping you about alternatives.

Windows had UI for compression since XP: image But it's not granular, it's either whole folder or nothing. I'm actually using this feature quite heavily, compressing games. Sometimes manually excluding files.

It's a really nice hat your tool has a blacklist feature.

Also, thank you for this awesome repo, I was just reading about Rust web-view yesterday, now I'm 100% sure that It's a way to the future for Rust UI ecosystem.

Thanks for your work!

Freaky commented 5 years ago

Whoops, that was a good start, I forgot to push my last commit, and tagged the wrong one. Breakage is due to force-pushing the web.?view repositories to get the submodules updated correctly. Sorry about that.

Master should work now, pointing at the branches rather than the refs. Probably fair to leave it at that given the Cargo.lock.

Good point on the old LZNT1 compression. I should probably mention it, but note it is a completely different system - it's integrated into NTFS, while the modern compression is layered on top using reparse points and a filter driver (Windows Overlay Filesystem).

I should probably do some comparisons to add to the table in the README while I'm at it.

Mart-Bogdan commented 5 years ago

Oh, didn't know about new algorithms. New algorithms were added to Windows Kernel? It's on top of the old system, so on plain archives are stored? Any info regarding would FS be correctly read with older windows version/ntfs-3g on Linux?

Freaky commented 5 years ago

Yep, a family of algorithms under the name "Xpress", and laid on top using a filter driver rather than changing the filesystem code directly.

I think the filesystem will still work on systems lacking support, but compressed files will be inaccessible - seemingly empty, with their contents hidden away in alternate streams. It seems NTFS-3G does have optional support - see the "System Compressed Files" section.