Opendlc

Opening up DLC formats.

This project is maintained by nikeee

OpenDLC Travis Build Status Windows Build status NuGet

Opening up DLC formats.

RSDF

var container = await RsdfContainer.FromFileAsync(pathToFile);
Console.WriteLine("All link in this file:");
foreach(RsdfEntry currentLink in container)
{
    Console.WriteLine(currentLink);
}

CCF

var container = await CcfContainer.FromFileAsync(pathToFile);
Console.WriteLine("All link in this file:");
foreach(CcfPackage currentPackage in container)
{
    foreach(CcfEntry currentLink in currentPackage)
    {
        Console.WriteLine(currentLink);
    }
}

Pretty much the same. You can even join the links together.

var someRsdf = await RsdfContainer.FromFileAsync(pathToFile);
var someCcf = await CcfContainer.FromFileAsync(pathToFile);
IEnumerable<DownloadEntry> allLinks = someRsdf.Concat(someCcf.Packages.Concat());
Console.WriteLine("All links in CCF/RSDF:");
foreach(DownloadEntry currentLink in allLinks)
{
    Console.WriteLine(currentLink);
}