|
@@ -2,7 +2,6 @@
|
|
|
|
|
|
## Notes
|
|
|
|
|
|
-* The general O3DE project-centric export script is still in development. For now the project-centric instructions will be calibrated using the MPS Gamelift Export Script. Once the general script is merged, the instructions will be updated.
|
|
|
* This instruction set assumes the host platform is Windows. Instructions for Linux coming shortly.
|
|
|
|
|
|
## Fresh Install and Setup
|
|
@@ -32,13 +31,32 @@ scripts\o3de register --all-gems-path \path\to\workspace\o3de-multiplayersample-
|
|
|
```
|
|
|
|
|
|
## Run Project Export
|
|
|
-Use the MPSGamelift export script to produce a game and server package.
|
|
|
+Use the O3DE project-centric export script to produce a game and server package.
|
|
|
|
|
|
-1. Create the directory you want to output the game and server, navigate to that directory, and run the export command:
|
|
|
+1. Create the directory you want to output the game and server.
|
|
|
+
|
|
|
+It is recommended to set the following environment variables with custom values according to your setup before running the export script:
|
|
|
+```bash
|
|
|
+# On Windows
|
|
|
+set O3DE_PATH="C:\path\to\o3de"
|
|
|
+set O3DE_PROJECT_PATH="C:\path\to\o3de-multiplayersample"
|
|
|
+set OUTPUT_PATH="C:\path\to\output"
|
|
|
+
|
|
|
+# On Linux
|
|
|
+export O3DE_PATH='/path/to/o3de'
|
|
|
+export O3DE_PROJECT_PATH='/path/to/o3de-multiplayersample'
|
|
|
+export OUTPUT_PATH='/path/to/output'
|
|
|
+```
|
|
|
+
|
|
|
+After setting those variables, navigate to that directory, and run the export command verbatim:
|
|
|
```bash
|
|
|
-mkdir \path\to\output
|
|
|
-cd \path\to\output
|
|
|
-\full\path\to\workspace\o3de\scripts\o3de export-project -es \full\path\to\workspace\o3de-multiplayersample\MPSGameLift\Scripts\export_gamelift_server_package.py --code --assets -ll INFO --package-gamelauncher
|
|
|
+
|
|
|
+# On Windows
|
|
|
+%O3DE_PATH%\scripts\o3de export-project -es %O3DE_PATH%\scripts\o3de\ExportScripts\export_standalone_monolithic_project_centric.py -pp %O3DE_PROJECT_PATH% -out %OUTPUT_PATH% -cfg release -a zip -nounified -gpfp launch_client.cfg -spfp launch_client.cfg -code -assets -ll INFO -sl \path\to\o3de-multiplayersample\AssetBundling\SeedLists\BasePopcornFxSeedList.seed -sl %O3DE_PROJECT_PATH%\AssetBundling\SeedLists\GameSeedList.seed -sl %O3DE_PROJECT_PATH%\AssetBundling\SeedLists\VFXSeedList.seed
|
|
|
+
|
|
|
+# On Linux
|
|
|
+$O3DE_PATH/scripts/o3de export-project -es $O3DE_PATH/scripts/o3de/ExportScripts/export_standalone_monolithic_project_centric.py -pp $O3DE_PROJECT_PATH -out $OUTPUT_PATH -cfg release -a zip -nounified -gpfp launch_client.cfg -spfp launch_client.cfg -code -assets -ll INFO -sl $O3DE_PROJECT_PATH/AssetBundling/SeedLists/BasePopcornFxSeedList.seed -sl $O3DE_PROJECT_PATH/AssetBundling/SeedLists/GameSeedList.seed -sl $O3DE_PROJECT_PATH/AssetBundling/SeedLists/VFXSeedList.seed
|
|
|
+
|
|
|
```
|
|
|
|
|
|
2. You should see two directories in your output folder: `MultiplayerSampleGamePackage` and `GameLiftPackageWindows`.
|