mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #1050] [CLOSED] Add ACE archive support (read-only, stored entries) #1471
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/1050
Author: @Copilot
Created: 11/29/2025
Status: ❌ Closed
Base:
master← Head:copilot/add-ace-archive-support📝 Commits (4)
7149781Initial plan6ae63f6Add ACE archive support with reader implementationc783a83Address code review feedback for ACE archive supportf796aa1Add ACE 2.0 format reading support📊 Changes
13 files changed (+700 additions, -2 deletions)
View changed files
📝
FORMATS.md(+3 -1)➕
src/SharpCompress/Common/Ace/AceEntry.cs(+58 -0)➕
src/SharpCompress/Common/Ace/AceEntryHeader.cs(+339 -0)➕
src/SharpCompress/Common/Ace/AceFilePart.cs(+59 -0)➕
src/SharpCompress/Common/Ace/AceVolume.cs(+13 -0)📝
src/SharpCompress/Common/ArchiveType.cs(+1 -0)📝
src/SharpCompress/Common/CompressionType.cs(+2 -0)➕
src/SharpCompress/Factories/AceFactory.cs(+64 -0)📝
src/SharpCompress/Factories/Factory.cs(+1 -0)➕
src/SharpCompress/Readers/Ace/AceReader.cs(+67 -0)📝
src/SharpCompress/Readers/ReaderFactory.cs(+1 -1)➕
tests/SharpCompress.Test/Ace/AceReaderTests.cs(+92 -0)➕
tests/TestArchives/Archives/Ace.stored.ace(+0 -0)📄 Description
Adds support for reading ACE archives (version 1.0 and 2.0 formats) as requested in #875. Due to the proprietary nature of ACE compression algorithms, only stored (uncompressed) entries can be extracted.
Changes
AceReader,AceEntry,AceEntryHeader,AceFilePart,AceVolume,AceFactoryAcevalueAceandAce2values for ACE 1.0 and 2.0 compressionAceFactoryregistered for automatic format detection via**ACE**signature at offset 7Usage
Limitations
Read-only (no write support)
Only stored/uncompressed entries extractable
Compressed entries (ACE LZ77 and ACE 2.0 improved LZ77) throw
NotSupportedExceptiondue to proprietary algorithmsNo Archive API (reader-only, like Arj)
Fixes adamhathcock/sharpcompress#875
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.