Prevented server from compressing pak files.

Enabled compression on windows for some pak files.

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: daniel.lamb
#ROBOMERGE-SOURCE: CL 4905053 via CL 4916232 via CL 4916287
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5016760 by daniel lamb in Dev-Core branch]
This commit is contained in:
daniel lamb
2019-02-16 01:14:46 -05:00
2 changed files with 14 additions and 9 deletions

View File

@@ -178,13 +178,14 @@ public abstract class BaseWinPlatform : Platform
public override string GetPlatformPakCommandLine(ProjectParams Params, DeploymentContext SC)
{
string PakParams = " -patchpaddingalign=2048";
/*
string OodleDllPath = DirectoryReference.Combine(SC.ProjectRoot, "Binaries/ThirdParty/Oodle/Win64/UnrealPakPlugin.dll").FullName;
if (File.Exists(OodleDllPath))
if (!SC.DedicatedServer)
{
PakParams += String.Format(" -customcompressor=\"{0}\"", OodleDllPath);
string OodleDllPath = DirectoryReference.Combine(SC.ProjectRoot, "Binaries/ThirdParty/Oodle/Win64/UnrealPakPlugin.dll").FullName;
if (File.Exists(OodleDllPath))
{
PakParams += String.Format(" -customcompressor=\"{0}\"", OodleDllPath);
}
}
*/
return PakParams;
}