Skip to content

akolman/EggDotNet

Repository files navigation

EggDotNet pipeline badge

A decompression library for the Egg file format (unegg for C#/.NET).

Supports both ALZ and EGG formats, encrypted entries, as well as split and solid compression.

What is Egg?

The EGG file format is an archive/file compression format developed by ESTSoft. It is similar to the ZIP format, but supported certain features (e.g. Unicode filenames, split volumes) earlier than ZIP. It is still in use today but primarily in South Korea. ALZ/EGG files are authored using ALZip on Windows. Not to be confused with Python Egg files.

Usage

Open an EGG archive from a Stream

using var inputArchiveStream = new FileStream("archive.egg");
using var archive = new EggArchive(inputArchiveStream);
using var firstEntryStream = archive.Entries.First().Open();

Extract an EGG file to a directory

EggFile.ExtractToDirectory("archive.egg", "me/output");

Pure, safe C# and completely managed with no dependencies. Compatible with netstandard2.0 and netstandard2.1.

Install using NuGet

Install-Package EggDotNet