C# 클래스 RocksmithToolkitLib.DLCPackage.Packer

파일 보기 프로젝트 열기: rscustom/rocksmith-custom-song-toolkit

공개 메소드들

메소드 설명
DeleteFixedAudio ( string sourcePath ) : void
GetPlatform ( this fullPath ) : Platform
Pack ( string sourcePath, string saveFileName, bool updateSng = false, Platform predefinedPlatform = null, bool updateManifest = false, bool fixShowlights = true ) : void
TryGetPlatformByEndName ( string fileName ) : Platform

Gets platform from name ending

Unpack ( string sourceFileName, string savePath, bool decodeAudio = false, bool overwriteSongXml = false, Platform predefinedPlatform = null ) : string

Unpack the specified File, returns unpacked dir.

비공개 메소드들

메소드 설명
ExtractPSARC ( string filename, string savePath, Stream inputStream, System.Platform platform, bool isExternalFile = true ) : void
GetHeaderValue ( this value ) : string
Pack2014 ( string sourcePath, string saveFileName, Platform platform, bool updateSng, bool updateManifest, bool fixShowlights = true ) : void
PackInnerPC ( Stream output, string directory ) : void
PackInnerXBox360 ( string sourcePath, string directory ) : void
PackPC ( string sourcePath, string saveFileName, bool useCryptography, bool updateSng ) : void
PackPS3 ( string sourcePath, string saveFileName, Platform platform, bool updateSng, bool updateManifest ) : void
PackXBox360 ( string sourcePath, string saveFileName, Platform platform, bool updateSng, bool updateManifest ) : void
UnpackPS3Package ( string sourceFileName, string savePath, Platform platform ) : void
UnpackXBox360Package ( string sourceFileName, string savePath, Platform platform ) : void
UpdateManifest2014 ( string songDirectory, Platform platform ) : void
UpdateShl ( string shlPath, bool fixShowlights = true ) : void

Fixes showlights and updates existing xml.

UpdateSng ( string songDirectory, Platform platform ) : void
UpdateSng2014 ( string songDirectory, Platform targetPlatform, bool fixShowlights = true ) : void
WalkThroughDirectory ( string baseDir, string directory, string>.Action action ) : void

메소드 상세

DeleteFixedAudio() 공개 정적인 메소드

public static DeleteFixedAudio ( string sourcePath ) : void
sourcePath string
리턴 void

GetPlatform() 공개 정적인 메소드

public static GetPlatform ( this fullPath ) : Platform
fullPath this
리턴 Platform

Pack() 공개 정적인 메소드

public static Pack ( string sourcePath, string saveFileName, bool updateSng = false, Platform predefinedPlatform = null, bool updateManifest = false, bool fixShowlights = true ) : void
sourcePath string
saveFileName string
updateSng bool
predefinedPlatform Platform
updateManifest bool
fixShowlights bool
리턴 void

TryGetPlatformByEndName() 공개 정적인 메소드

Gets platform from name ending
public static TryGetPlatformByEndName ( string fileName ) : Platform
fileName string Folder of File
리턴 Platform

Unpack() 공개 정적인 메소드

Unpack the specified File, returns unpacked dir.
public static Unpack ( string sourceFileName, string savePath, bool decodeAudio = false, bool overwriteSongXml = false, Platform predefinedPlatform = null ) : string
sourceFileName string Source file path.
savePath string Save path.
decodeAudio bool If set to true decode audio.
overwriteSongXml bool If set to true overwrite existing song (EOF) xml with SNG data
predefinedPlatform Platform Predefined source platform.
리턴 string