AmpHelper
Static Public Member Functions | List of all members
AmpHelper.Ark Class Reference

Contains methods for packing and unpacking ark files. More...

Static Public Member Functions

static Task PackAsync (string inputPath, string headerFile, ProgressAction progress=null)
 Packs a directory into ark files and a header. More...
 
static Task PackAsync (string inputPath, string headerFile, ConsoleType consoleType, ProgressAction progress=null)
 Packs a directory into ark files and a header. More...
 
static Task PackAsync (DirectoryInfo inputPath, FileInfo headerFile, ProgressAction progress=null)
 Packs a directory into ark files and a header. More...
 
static Task PackAsync (DirectoryInfo inputPath, FileInfo headerFile, ConsoleType consoleType, ProgressAction progress=null)
 Packs a directory into ark files and a header. More...
 
static void Pack (string inputPath, string headerFile, ProgressAction progress=null)
 Packs a directory into ark files and a header. More...
 
static void Pack (string inputPath, string headerFile, ConsoleType consoleType, ProgressAction progress=null)
 Packs a directory into ark files and a header. More...
 
static void Pack (DirectoryInfo inputPath, FileInfo headerFile, ProgressAction progress=null)
 Packs a directory into ark files and a header. More...
 
static void Pack (DirectoryInfo inputPath, FileInfo headerFile, ConsoleType consoleType, ProgressAction progress=null)
 Packs a directory into ark files and a header. More...
 
static Task UnpackAsync (string headerFile, string outputPath, bool dtbConversion, bool keepOriginalDtb, ProgressAction progress=null)
 Unpacks ark files and a header file to a directory. More...
 
static Task UnpackAsync (string headerFile, string outputPath, bool dtbConversion, bool keepOriginalDtb, ConsoleType consoleType, ProgressAction progress=null)
 Unpacks ark files and a header file to a directory. More...
 
static Task UnpackAsync (FileInfo headerFile, DirectoryInfo outputPath, bool dtbConversion, bool keepOriginalDtb, ProgressAction progress=null)
 Unpacks ark files and a header file to a directory. More...
 
static Task UnpackAsync (FileInfo headerFile, DirectoryInfo outputPath, bool dtbConversion, bool keepOriginalDtb, ConsoleType consoleType, ProgressAction progress=null)
 Unpacks ark files and a header file to a directory. More...
 
static void Unpack (string headerFile, string outputPath, bool dtbConversion, bool keepOriginalDtb, ProgressAction progress=null)
 Unpacks ark files and a header file to a directory. More...
 
static void Unpack (string headerFile, string outputPath, bool dtbConversion, bool keepOriginalDtb, ConsoleType consoleType, ProgressAction progress=null)
 Unpacks ark files and a header file to a directory. More...
 
static void Unpack (FileInfo headerFile, DirectoryInfo outputPath, bool dtbConversion, bool keepOriginalDtb, ProgressAction progress=null)
 Unpacks ark files and a header file to a directory. More...
 
static void Unpack (FileInfo headerFile, DirectoryInfo outputPath, bool dtbConversion, bool keepOriginalDtb, ConsoleType consoleType, ProgressAction progress=null)
 Unpacks ark files and a header file to a directory. More...
 
static Task CompactAsync (string headerFile, ProgressAction progress=null)
 Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files. More...
 
static Task CompactAsync (string headerFile, ConsoleType consoleType, ProgressAction progress=null)
 Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files. More...
 
static Task CompactAsync (FileInfo headerFile, ProgressAction progress=null)
 Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files. More...
 
static Task CompactAsync (FileInfo headerFile, ConsoleType consoleType, ProgressAction progress=null)
 Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files. More...
 
static void Compact (string headerFile, ProgressAction progress=null)
 Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files. More...
 
static void Compact (string headerFile, ConsoleType consoleType, ProgressAction progress=null)
 Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files. More...
 
static void Compact (FileInfo headerFile, ProgressAction progress=null)
 Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files. More...
 
static void Compact (FileInfo headerFile, ConsoleType consoleType, ProgressAction progress=null)
 Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files. More...
 

Detailed Description

Contains methods for packing and unpacking ark files.

Member Function Documentation

◆ Compact() [1/4]

static void AmpHelper.Ark.Compact ( FileInfo  headerFile,
ConsoleType  consoleType,
ProgressAction  progress = null 
)
inlinestatic

Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
consoleTypeThe console type.
progressAn action that will be invoked with a message and the progress.
Exceptions
ArgumentException

◆ Compact() [2/4]

static void AmpHelper.Ark.Compact ( FileInfo  headerFile,
ProgressAction  progress = null 
)
static

Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
progressAn action that will be invoked with a message and the progress.
Exceptions
ArgumentException

◆ Compact() [3/4]

static void AmpHelper.Ark.Compact ( string  headerFile,
ConsoleType  consoleType,
ProgressAction  progress = null 
)
static

Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
consoleTypeThe console type.
progressAn action that will be invoked with a message and the progress.
Exceptions
ArgumentException

◆ Compact() [4/4]

static void AmpHelper.Ark.Compact ( string  headerFile,
ProgressAction  progress = null 
)
static

Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
progressAn action that will be invoked with a message and the progress.
Exceptions
ArgumentException

◆ CompactAsync() [1/4]

static Task AmpHelper.Ark.CompactAsync ( FileInfo  headerFile,
ConsoleType  consoleType,
ProgressAction  progress = null 
)
static

Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
consoleTypeThe console type.
progressAn action that will be invoked with a message and the progress.
Exceptions
ArgumentException

◆ CompactAsync() [2/4]

static Task AmpHelper.Ark.CompactAsync ( FileInfo  headerFile,
ProgressAction  progress = null 
)
static

Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
progressAn action that will be invoked with a message and the progress.
Exceptions
ArgumentException

◆ CompactAsync() [3/4]

static Task AmpHelper.Ark.CompactAsync ( string  headerFile,
ConsoleType  consoleType,
ProgressAction  progress = null 
)
static

Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
consoleTypeThe console type.
progressAn action that will be invoked with a message and the progress.
Exceptions
ArgumentException

◆ CompactAsync() [4/4]

static Task AmpHelper.Ark.CompactAsync ( string  headerFile,
ProgressAction  progress = null 
)
static

Unpacks and repacks an ark file to reduce the number of arks and remove unreferenced files.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
progressAn action that will be invoked with a message and the progress.
Exceptions
ArgumentException

◆ Pack() [1/4]

static void AmpHelper.Ark.Pack ( DirectoryInfo  inputPath,
FileInfo  headerFile,
ConsoleType  consoleType,
ProgressAction  progress = null 
)
inlinestatic

Packs a directory into ark files and a header.

Parameters
inputPathThe path to the unpacked files.
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
consoleTypeThe console type.
progressAn action that will be invoked with a message and the progress.
Exceptions
ArgumentException
DirectoryNotFoundException
NotSupportedException

◆ Pack() [2/4]

static void AmpHelper.Ark.Pack ( DirectoryInfo  inputPath,
FileInfo  headerFile,
ProgressAction  progress = null 
)
static

Packs a directory into ark files and a header.

Parameters
inputPathThe path to the unpacked files.
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
progressAn action that will be invoked with a message and the progress.

◆ Pack() [3/4]

static void AmpHelper.Ark.Pack ( string  inputPath,
string  headerFile,
ConsoleType  consoleType,
ProgressAction  progress = null 
)
static

Packs a directory into ark files and a header.

Parameters
inputPathThe path to the unpacked files.
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
consoleType
progressAn action that will be invoked with a message and the progress.

◆ Pack() [4/4]

static void AmpHelper.Ark.Pack ( string  inputPath,
string  headerFile,
ProgressAction  progress = null 
)
static

Packs a directory into ark files and a header.

Parameters
inputPathThe path to the unpacked files.
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
progressAn action that will be invoked with a message and the progress.

◆ PackAsync() [1/4]

static Task AmpHelper.Ark.PackAsync ( DirectoryInfo  inputPath,
FileInfo  headerFile,
ConsoleType  consoleType,
ProgressAction  progress = null 
)
static

Packs a directory into ark files and a header.

Parameters
inputPathThe path to the unpacked files.
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
consoleTypeThe console type.
progressAn action that will be invoked with a message and the progress.
Exceptions
ArgumentException
DirectoryNotFoundException
NotSupportedException

◆ PackAsync() [2/4]

static Task AmpHelper.Ark.PackAsync ( DirectoryInfo  inputPath,
FileInfo  headerFile,
ProgressAction  progress = null 
)
static

Packs a directory into ark files and a header.

Parameters
inputPathThe path to the unpacked files.
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
progressAn action that will be invoked with a message and the progress.

◆ PackAsync() [3/4]

static Task AmpHelper.Ark.PackAsync ( string  inputPath,
string  headerFile,
ConsoleType  consoleType,
ProgressAction  progress = null 
)
static

Packs a directory into ark files and a header.

Parameters
inputPathThe path to the unpacked files.
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
consoleType
progressAn action that will be invoked with a message and the progress.

◆ PackAsync() [4/4]

static Task AmpHelper.Ark.PackAsync ( string  inputPath,
string  headerFile,
ProgressAction  progress = null 
)
static

Packs a directory into ark files and a header.

Parameters
inputPathThe path to the unpacked files.
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
progressAn action that will be invoked with a message and the progress.

◆ Unpack() [1/4]

static void AmpHelper.Ark.Unpack ( FileInfo  headerFile,
DirectoryInfo  outputPath,
bool  dtbConversion,
bool  keepOriginalDtb,
ConsoleType  consoleType,
ProgressAction  progress = null 
)
inlinestatic

Unpacks ark files and a header file to a directory.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
outputPathThe path to unpack the files to.
dtbConversionConvert dtb files to dta.
keepOriginalDtbKeep the original dtb files
consoleTypeThe console type
progressAn action that will be invoked with a message and the progress.

◆ Unpack() [2/4]

static void AmpHelper.Ark.Unpack ( FileInfo  headerFile,
DirectoryInfo  outputPath,
bool  dtbConversion,
bool  keepOriginalDtb,
ProgressAction  progress = null 
)
static

Unpacks ark files and a header file to a directory.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
outputPathThe path to unpack the files to.
dtbConversionConvert dtb files to dta.
keepOriginalDtbKeep the original dtb files
progressAn action that will be invoked with a message and the progress.

◆ Unpack() [3/4]

static void AmpHelper.Ark.Unpack ( string  headerFile,
string  outputPath,
bool  dtbConversion,
bool  keepOriginalDtb,
ConsoleType  consoleType,
ProgressAction  progress = null 
)
static

Unpacks ark files and a header file to a directory.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
outputPathThe path to unpack the files to.
dtbConversionConvert dtb files to dta.
keepOriginalDtbKeep the original dtb files
consoleTypeThe console type
progressAn action that will be invoked with a message and the progress.

◆ Unpack() [4/4]

static void AmpHelper.Ark.Unpack ( string  headerFile,
string  outputPath,
bool  dtbConversion,
bool  keepOriginalDtb,
ProgressAction  progress = null 
)
static

Unpacks ark files and a header file to a directory.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
outputPathThe path to unpack the files to.
dtbConversionConvert dtb files to dta.
keepOriginalDtbKeep the original dtb files
progressAn action that will be invoked with a message and the progress.

◆ UnpackAsync() [1/4]

static Task AmpHelper.Ark.UnpackAsync ( FileInfo  headerFile,
DirectoryInfo  outputPath,
bool  dtbConversion,
bool  keepOriginalDtb,
ConsoleType  consoleType,
ProgressAction  progress = null 
)
static

Unpacks ark files and a header file to a directory.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
outputPathThe path to unpack the files to.
dtbConversionConvert dtb files to dta.
keepOriginalDtbKeep the original dtb files
consoleTypeThe console type
progressAn action that will be invoked with a message and the progress.

◆ UnpackAsync() [2/4]

static Task AmpHelper.Ark.UnpackAsync ( FileInfo  headerFile,
DirectoryInfo  outputPath,
bool  dtbConversion,
bool  keepOriginalDtb,
ProgressAction  progress = null 
)
static

Unpacks ark files and a header file to a directory.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
outputPathThe path to unpack the files to.
dtbConversionConvert dtb files to dta.
keepOriginalDtbKeep the original dtb files
progressAn action that will be invoked with a message and the progress.

◆ UnpackAsync() [3/4]

static Task AmpHelper.Ark.UnpackAsync ( string  headerFile,
string  outputPath,
bool  dtbConversion,
bool  keepOriginalDtb,
ConsoleType  consoleType,
ProgressAction  progress = null 
)
static

Unpacks ark files and a header file to a directory.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
outputPathThe path to unpack the files to.
dtbConversionConvert dtb files to dta.
keepOriginalDtbKeep the original dtb files
consoleTypeThe console type
progressAn action that will be invoked with a message and the progress.

◆ UnpackAsync() [4/4]

static Task AmpHelper.Ark.UnpackAsync ( string  headerFile,
string  outputPath,
bool  dtbConversion,
bool  keepOriginalDtb,
ProgressAction  progress = null 
)
static

Unpacks ark files and a header file to a directory.

Parameters
headerFileThe path to the main_ps3.hdr / main_ps4.hdr file.
outputPathThe path to unpack the files to.
dtbConversionConvert dtb files to dta.
keepOriginalDtbKeep the original dtb files
progressAn action that will be invoked with a message and the progress.

The documentation for this class was generated from the following file: