C# Class RocksmithToolkitLib.DLCPackage.DLCPackageCreator

Afficher le fichier Open project: rscustom/rocksmith-custom-song-toolkit Class Usage Examples

Méthodes publiques

Méthode Description
BuildXBox360Package ( string songFileName, DLCPackageData info, IEnumerable xboxFiles, GameVersion gameVersion, DLCPackageType dlcType = DLCPackageType.Song ) : void
EncryptPS3EdatFiles ( string songFileName, System.Platform platform ) : void
Generate ( string packagePath, DLCPackageData info, System.Platform platform, DLCPackageType dlcType = DLCPackageType.Song, int pnum = -1 ) : void

Generates CDLC package into packagePath.

GenerateAppId ( Stream output, string appId, System.Platform platform ) : void
GenerateSNG ( Arrangement arr, System.Platform platform ) : void
GenerateToolkitVersion ( Stream output, string packageAuthor = null, string packageVersion = null, string packageComment = null ) : void
GetPathName ( this platform ) : string[]
ToDDS ( List filesToConvert, DLCPackageType dlcType = DLCPackageType.Song ) : void
UpdateToneDescriptors ( DLCPackageData info ) : void

Private Methods

Méthode Description
DeleteTmpFiles ( List files ) : void
GeneratePackageList ( Stream output, string dlcName ) : void
GeneratePsarcsForRS1 ( Stream output, DLCPackageData info, System.Platform platform ) : void
GenerateRS2014InlayPsarc ( Stream output, DLCPackageData info, System.Platform platform ) : void
GenerateRS2014SongPsarc ( Stream output, DLCPackageData info, System.Platform platform, int pnum = -1 ) : void
GenerateSongPackageId ( Stream output, string dlcName ) : void
GenerateSongPsarcRS1 ( Stream output, DLCPackageData info, System.Platform platform ) : void
GenerateTonePackageId ( Stream output, string toneKey ) : void
GenerateTonePsarc ( Stream output, string toneKey, RocksmithToolkitLib.DLCPackage.Manifest.Tone.Tone tone ) : void
GetSTFSHeader ( this info, GameVersion gameVersion, DLCPackageType dlcType ) : X360.STFS.HeaderData
WriteTmpFile ( this memoryStream, string fileName, System.Platform platform ) : void

Method Details

BuildXBox360Package() public static méthode

public static BuildXBox360Package ( string songFileName, DLCPackageData info, IEnumerable xboxFiles, GameVersion gameVersion, DLCPackageType dlcType = DLCPackageType.Song ) : void
songFileName string
info DLCPackageData
xboxFiles IEnumerable
gameVersion GameVersion
dlcType DLCPackageType
Résultat void

EncryptPS3EdatFiles() public static méthode

public static EncryptPS3EdatFiles ( string songFileName, System.Platform platform ) : void
songFileName string
platform System.Platform
Résultat void

Generate() public static méthode

Generates CDLC package into packagePath.
public static Generate ( string packagePath, DLCPackageData info, System.Platform platform, DLCPackageType dlcType = DLCPackageType.Song, int pnum = -1 ) : void
packagePath string Package path.
info DLCPackageData DLCPackageData.
platform System.Platform Target platform.
dlcType DLCPackageType Package type.
pnum int Packages left. Used to control art cache.
Résultat void

GenerateAppId() public static méthode

public static GenerateAppId ( Stream output, string appId, System.Platform platform ) : void
output Stream
appId string
platform System.Platform
Résultat void

GenerateSNG() public static méthode

public static GenerateSNG ( Arrangement arr, System.Platform platform ) : void
arr Arrangement
platform System.Platform
Résultat void

GenerateToolkitVersion() public static méthode

public static GenerateToolkitVersion ( Stream output, string packageAuthor = null, string packageVersion = null, string packageComment = null ) : void
output Stream
packageAuthor string
packageVersion string
packageComment string
Résultat void

GetPathName() public static méthode

public static GetPathName ( this platform ) : string[]
platform this
Résultat string[]

ToDDS() public static méthode

public static ToDDS ( List filesToConvert, DLCPackageType dlcType = DLCPackageType.Song ) : void
filesToConvert List
dlcType DLCPackageType
Résultat void

UpdateToneDescriptors() public static méthode

public static UpdateToneDescriptors ( DLCPackageData info ) : void
info DLCPackageData
Résultat void