package.bat 1.5 KB

12345678910111213141516171819202122232425262728
  1. REM --------------------------------------------------------------------------------------------------
  2. REM
  3. REM Copyright (c) Contributors to the Open 3D Engine Project.
  4. REM For complete copyright and license terms please see the LICENSE at the root of this distribution.
  5. REM
  6. REM SPDX-License-Identifier: Apache-2.0 OR MIT
  7. REM
  8. REM --------------------------------------------------------------------------------------------------
  9. REM This script is meant to export the project into a standalone shippable project that others can run.
  10. REM However, the project developer is expected to modify it to add steps or change it to their needs.
  11. REM
  12. REM To get more information about the possible tweakable parameters, run
  13. REM (engine folder)\scripts\o3de.bat export-project -es ExportScripts/export_source_built_project.py --script-help
  14. set O3DE_PATH=${EnginePath}
  15. set O3DE_PROJECT_PATH=${ProjectPath}
  16. set O3DE_PROJECT_SEEDLIST=%O3DE_PROJECT_PATH%\AssetBundling\SeedLists\Example.seed
  17. set OUTPUT_PATH=%O3DE_PROJECT_PATH%\ProjectPackages
  18. REM change this to release or debug if you want it to make a release or debug package
  19. REM (Only works if the installer you have actually includes release and debug binaries)
  20. set OUTPUT_CONFIGURATION=profile
  21. %O3DE_PATH%\scripts\o3de.bat export-project -es ExportScripts\export_source_built_project.py --project-path %O3DE_PROJECT_PATH% --no-monolithic-build --log-level INFO -assets --config %OUTPUT_CONFIGURATION% --archive-output zip --seedlist %O3DE_PROJECT_SEEDLIST% -out %OUTPUT_PATH%