-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix 4.27 error * update submodule * optimize impl * support 5.1 * fix 5.1 WP error * optimize impl * optimize impl * optimize impl * optimize impl * optimize impl * update version to v78.1 * fix compile error * update mods * fix shipping error & update version to v79.0 * split ByGameFeature as GameFeaturePacker * add ShaderPatcher Mod * optimize mod * delete GameFeature Mod * add GameFeaturePacker Mod * add HDiffPatchUE Mod * update version to v80 * optimize impl * fix Property Category issue * update Mod * update Mods * support UE5.1 * update Mods commit * Update UpdaterWidget * optimize Mod impl * update Updater * fix Localization key dumplicate * remove GameFeaturePacker * add GameFeaturePacker Mod * update Mods * optimize mod impl * rm ShaderPacther Mod * add ShaderPatcher Mod * delete mod * add ShaderPatcherUE Mod * fix -ddcurl= issue * update Mods * optimize CmdHandler/MultiCooker * update MultiCooker Mod * optimize DDC Backend Hierarchy * update * update mods * add PakAnalyzerUE Mod * UpdateMods * optimize impl * add submodule * update * fix multi-thread assetparser issue * optimize impl * fix ushaderbytecode ignore issue * 1. 修复TargetPlatform注册时机晚于CDO的问题 2. 支持获取参与打包的资源列表 3. 修复PackageTracker的资源没有进包的问题(PackageTracker的资源会进行ForceSkip检测) * update submodule * optimize/fix forceskip directory/asset issue * fix issue * update submodule * support override property by cmdlet * optimize impl * update version to v80.1 --------- Co-authored-by: lipengzha <[email protected]>
- Loading branch information
Showing
27 changed files
with
250 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,6 @@ | |
[submodule "Mods/ShaderPatcherUE"] | ||
path = Mods/ShaderPatcherUE | ||
url = [email protected]:hxhb/ShaderPatcherUE.git | ||
[submodule "Mods/PakAnalyzerUE"] | ||
path = Mods/PakAnalyzerUE | ||
url = [email protected]:hxhb/PakAnalyzerUE.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -181,4 +181,4 @@ TArray<FString> CommandletHelper::GetCookCommandletTargetPlatformName() | |
} | ||
|
||
return result; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
HotPatcher/Source/HotPatcherRuntime/Private/BaseTypes/FAssetScanConfig.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,38 @@ | ||
#include "BaseTypes/FAssetScanConfig.h" | ||
|
||
bool FAssetScanConfig::IsMatchForceSkip(const FSoftObjectPath& ObjectPath,FString& OutReason) | ||
{ | ||
SCOPED_NAMED_EVENT_TEXT("IsMatchForceSkip",FColor::Red); | ||
bool bSkip = false; | ||
if(bForceSkipContent) | ||
{ | ||
bool bSkipAsset = ForceSkipAssets.Contains(ObjectPath); | ||
if(bSkipAsset) | ||
{ | ||
OutReason = FString::Printf(TEXT("IsForceSkipAsset")); | ||
} | ||
bool bSkipDir = false; | ||
for(const auto& ForceSkipDir:ForceSkipContentRules) | ||
{ | ||
if(ObjectPath.GetLongPackageName().StartsWith(ForceSkipDir.Path)) | ||
{ | ||
bSkipDir = true; | ||
OutReason = FString::Printf(TEXT("ForceSkipDir %s"),*ForceSkipDir.Path); | ||
break; | ||
} | ||
} | ||
bool bSkipClasses = false; | ||
FName AssetClassesName = UFlibAssetManageHelper::GetAssetType(ObjectPath); | ||
for(const auto& Classes:ForceSkipClasses) | ||
{ | ||
if(Classes->GetFName().IsEqual(AssetClassesName)) | ||
{ | ||
OutReason = FString::Printf(TEXT("ForceSkipClasses %s"),*Classes->GetName()); | ||
bSkipClasses = true; | ||
break; | ||
} | ||
} | ||
bSkip = bSkipAsset || bSkipDir || bSkipClasses; | ||
} | ||
return bSkip; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.