Skip to content
This repository has been archived by the owner on Aug 8, 2020. It is now read-only.

Download Fortnite's files without the Epic Games launcher.

License

Notifications You must be signed in to change notification settings

WorkingRobot/FortniteDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FortniteDownloader

A NuGet package is available as well if you don't want to download the dll.

Usage

Authentication

var auth = new Authorization("ninja@gmail.com", "p@ssword");
await auth.Login();

Downloading

using (var downloader = new Downloader(auth))
using (var stream = await downloader.OpenFile("FortniteGame/Content/Movies/Onboarding_Appended_Intro.mp4"))
using (var outStream = File.OpenWrite("out.mp4"))
    await stream.CopyToAsync(outStream);

Downloading with a Progress Bar

using (var downloader = new Downloader(auth))
using (var stream = await downloader.OpenFile("FortniteGame/Content/Movies/Onboarding_Appended_Intro.mp4"))
using (var outStream = File.OpenWrite("out.mp4"))
{
    double progress = 0;
    byte[] buffer = new byte[1024 * 1024]; // 1 MB
    int read;
    while ((read = await stream.ReadAsync(buffer, 0, buffer.Length).ConfigureAwait(false)) > 0)
    {
        await outStream.WriteAsync(buffer, 0, read).ConfigureAwait(false);

        // report progress back
        progress += (double)read / stream.Length * 100;
        Console.Write($"\r{new string('=', (int)progress / 2)}{new string('-', (int)(100 - progress) / 2)} {Math.Round(progress, 2)}%");
    }
}

Just look into the files for documentation if necessary. I might add some later.

About

Download Fortnite's files without the Epic Games launcher.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages