This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #804 from spatialos/0.3.0-rc
0.3.0 rc
- Loading branch information
Showing
131 changed files
with
3,429 additions
and
1,710 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Increment the below number whenever it is required to run Setup.bat as part of a new commit. | ||
Our git hooks will detect this file has been updated and automatically run Setup.bat on pull. | ||
|
||
8 | ||
14 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ exit 1 | |
|
||
|
||
// This is for internal use only. We do not support Linux clients. | ||
private const string FakeClientWorkerShellScript = | ||
private const string SimulatedPlayerWorkerShellScript = | ||
@"#!/bin/bash | ||
NEW_USER=unrealworker | ||
WORKER_ID=$1 | ||
|
@@ -158,16 +158,34 @@ public static void Main(string[] args) | |
}); | ||
|
||
var windowsNoEditorPath = Path.Combine(stagingDir, "WindowsNoEditor"); | ||
|
||
// Add a _ to the start of the exe name, to ensure it is the exe selected by the launcher. | ||
// TO-DO: Remove this once LAUNCH-341 has been completed, and the _ is no longer necessary. | ||
var oldExe = Path.Combine(windowsNoEditorPath, $"{gameName}.exe"); | ||
var renamedExe = Path.Combine(windowsNoEditorPath, $"_{gameName}.exe"); | ||
if (File.Exists(oldExe)) | ||
{ | ||
File.Move(oldExe, renamedExe); | ||
} | ||
else | ||
{ | ||
Console.WriteLine("Could not find the executable to rename."); | ||
} | ||
|
||
Common.RunRedirected(@"%UNREAL_HOME%\Engine\Build\BatchFiles\RunUAT.bat", new[] | ||
{ | ||
"ZipUtils", | ||
"-add=" + Quote(windowsNoEditorPath), | ||
"-archive=" + Quote(Path.Combine(outputDir, "[email protected]")), | ||
}); | ||
} | ||
else if (gameName == baseGameName + "FakeClient") // This is for internal use only. We do not support Linux clients. | ||
else if (gameName == baseGameName + "FakeClient") | ||
{ | ||
Common.WriteWarning("'FakeClient' has been renamed to 'SimulatedPlayer', please use this instead. It will create the same assembly under a different name: [email protected]."); | ||
} | ||
else if (gameName == baseGameName + "SimulatedPlayer") // This is for internal use only. We do not support Linux clients. | ||
{ | ||
Common.WriteHeading(" > Building fakeclient."); | ||
Common.WriteHeading(" > Building simulated player."); | ||
Common.RunRedirected(@"%UNREAL_HOME%\Engine\Build\BatchFiles\RunUAT.bat", new[] | ||
{ | ||
"BuildCookRun", | ||
|
@@ -196,8 +214,8 @@ public static void Main(string[] args) | |
additionalUATArgs | ||
}); | ||
|
||
var linuxFakeClientPath = Path.Combine(stagingDir, "LinuxNoEditor"); | ||
File.WriteAllText(Path.Combine(linuxFakeClientPath, "StartWorker.sh"), FakeClientWorkerShellScript.Replace("\r\n", "\n"), new UTF8Encoding(false)); | ||
var linuxSimulatedPlayerPath = Path.Combine(stagingDir, "LinuxNoEditor"); | ||
File.WriteAllText(Path.Combine(linuxSimulatedPlayerPath, "StartWorker.sh"), SimulatedPlayerWorkerShellScript.Replace("\r\n", "\n"), new UTF8Encoding(false)); | ||
|
||
var workerCoordinatorPath = Path.GetFullPath(Path.Combine("../spatial", "build", "dependencies", "WorkerCoordinator")); | ||
if (Directory.Exists(workerCoordinatorPath)) | ||
|
@@ -207,18 +225,19 @@ public static void Main(string[] args) | |
"/I", | ||
"/Y", | ||
workerCoordinatorPath, | ||
linuxFakeClientPath | ||
linuxSimulatedPlayerPath | ||
}); | ||
} else | ||
{ | ||
Console.WriteLine("worker coordinator path did not exist"); | ||
} | ||
|
||
var archiveFileName = "[email protected]"; | ||
Common.RunRedirected(@"%UNREAL_HOME%\Engine\Build\BatchFiles\RunUAT.bat", new[] | ||
{ | ||
"ZipUtils", | ||
"-add=" + Quote(linuxFakeClientPath), | ||
"-archive=" + Quote(Path.Combine(outputDir, "[email protected]")), | ||
"-add=" + Quote(linuxSimulatedPlayerPath), | ||
"-archive=" + Quote(Path.Combine(outputDir, archiveFileName)), | ||
}); | ||
} | ||
else if (gameName == baseGameName + "Server") | ||
|
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
Binary file added
BIN
+9.21 KB
SpatialGDK/Documentation/assets/screen-grabs/porting-solution-config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.5 KB
SpatialGDK/Documentation/assets/screen-grabs/toolbar/inspector-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.79 KB
(120%)
SpatialGDK/Documentation/assets/screen-grabs/toolbar/schema-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.62 KB
(120%)
SpatialGDK/Documentation/assets/screen-grabs/toolbar/snapshot-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.5 KB
SpatialGDK/Documentation/assets/screen-grabs/toolbar/start-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.52 KB
(110%)
SpatialGDK/Documentation/assets/screen-grabs/toolbar/toolbar-buttons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-18.1 KB
(73%)
SpatialGDK/Documentation/assets/screen-grabs/toolbar/toolbar-checkboxes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-132 Bytes
(99%)
SpatialGDK/Documentation/assets/screen-grabs/toolbar/toolbars-basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.44 KB
(96%)
SpatialGDK/Documentation/assets/screen-grabs/toolbar/toolbars.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4.23 KB
(110%)
SpatialGDK/Documentation/assets/screen-grabs/toolbar/window-access.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-15 KB
(76%)
SpatialGDK/Documentation/assets/set-up-template/template-multiplayer-options.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added
BIN
+3.51 MB
SpatialGDK/Documentation/assets/tutorial/shooting-across-boundaries.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.