From fbf0afbf2cec207e61e835820d91f2b214846bf0 Mon Sep 17 00:00:00 2001 From: titiger Date: Thu, 23 Mar 2017 01:03:22 +0100 Subject: [PATCH] steam scripts to have the editor in the tools section of steam --- .../tools/ContentBuilder/run_build_editor.sh | 6 +++++ .../ContentBuilder/run_build_win_editor.sh | 6 +++++ ...611990.vdf => editor_app_linux_611990.vdf} | 4 +-- .../scripts/editor_app_win_611990.vdf | 16 ++++++++++++ .../scripts/editor_depot_linux_x64_611991.vdf | 26 +++++++++++++++++++ .../scripts/editor_depot_win_x64_611992.vdf | 25 ++++++++++++++++++ .../scripts/editor_depot_win_x86_611993.vdf | 25 ++++++++++++++++++ 7 files changed, 106 insertions(+), 2 deletions(-) create mode 100755 mk/steamworks_sdk/sdk/tools/ContentBuilder/run_build_editor.sh create mode 100755 mk/steamworks_sdk/sdk/tools/ContentBuilder/run_build_win_editor.sh rename mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/{megaglest_editor_build_linux_611990.vdf => editor_app_linux_611990.vdf} (78%) create mode 100644 mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_app_win_611990.vdf create mode 100644 mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_depot_linux_x64_611991.vdf create mode 100644 mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_depot_win_x64_611992.vdf create mode 100644 mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_depot_win_x86_611993.vdf diff --git a/mk/steamworks_sdk/sdk/tools/ContentBuilder/run_build_editor.sh b/mk/steamworks_sdk/sdk/tools/ContentBuilder/run_build_editor.sh new file mode 100755 index 00000000..30d0ead0 --- /dev/null +++ b/mk/steamworks_sdk/sdk/tools/ContentBuilder/run_build_editor.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +STEAMROOT="$(cd "${0%/*}" && echo $PWD)" +STEAMCMD=`basename "$0" .sh` + +./builder_linux/steamcmd.sh +login megaglest_team $1 +run_app_build_http ../scripts/editor_app_linux_611990.vdf +quit diff --git a/mk/steamworks_sdk/sdk/tools/ContentBuilder/run_build_win_editor.sh b/mk/steamworks_sdk/sdk/tools/ContentBuilder/run_build_win_editor.sh new file mode 100755 index 00000000..3bf1b92c --- /dev/null +++ b/mk/steamworks_sdk/sdk/tools/ContentBuilder/run_build_win_editor.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +STEAMROOT="$(cd "${0%/*}" && echo $PWD)" +STEAMCMD=`basename "$0" .sh` + +./builder_linux/steamcmd.sh +login megaglest_team $1 +run_app_build_http ../scripts/editor_app_win_611990.vdf +quit diff --git a/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/megaglest_editor_build_linux_611990.vdf b/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_app_linux_611990.vdf similarity index 78% rename from mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/megaglest_editor_build_linux_611990.vdf rename to mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_app_linux_611990.vdf index b9bf86b1..168eab98 100644 --- a/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/megaglest_editor_build_linux_611990.vdf +++ b/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_app_linux_611990.vdf @@ -1,7 +1,7 @@ "appbuild" { "appid" "611990" - "desc" "MegaGlest Editor" // description for this build + "desc" "MegaGlest Editor Linux" // description for this build "buildoutput" "..\output\" // build output folder for .log, .csm & .csd files, relative to location of this file "contentroot" "..\content\" // root content folder, relative to location of this file "setlive" "" // branch to set live after successful build, non if empty @@ -10,6 +10,6 @@ "depots" { - "578871" "linux_x64_build_578871.vdf" + "611991" "editor_depot_linux_x64_611991.vdf" } } diff --git a/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_app_win_611990.vdf b/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_app_win_611990.vdf new file mode 100644 index 00000000..25e59a63 --- /dev/null +++ b/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_app_win_611990.vdf @@ -0,0 +1,16 @@ +"appbuild" +{ + "appid" "611990" + "desc" "MegaGlest Editor Windows" // description for this build + "buildoutput" "..\output\" // build output folder for .log, .csm & .csd files, relative to location of this file + "contentroot" "..\content\" // root content folder, relative to location of this file + "setlive" "" // branch to set live after successful build, non if empty + "preview" "0" // to enable preview builds + "local" "" // set to flie path of local content server + + "depots" + { + "611992" "editor_depot_win_x64_611992.vdf" + "611993" "editor_depot_win_x86_611993.vdf" + } +} diff --git a/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_depot_linux_x64_611991.vdf b/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_depot_linux_x64_611991.vdf new file mode 100644 index 00000000..2798f87e --- /dev/null +++ b/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_depot_linux_x64_611991.vdf @@ -0,0 +1,26 @@ +"DepotBuildConfig" +{ + // Set your assigned depot ID here + "DepotID" "611991" + "ContentRoot" "..\content\editor_linux_x64\" + + // include all files recursivley + "FileMapping" + { + // This can be a full path, or a path relative to ContentRoot + "LocalPath" "*" + + + // This is a path relative to the install folder of your game + "DepotPath" "." + + // If LocalPath contains wildcards, setting this means that all + // matching files within subdirectories of LocalPath will also + // be included. + "recursive" "1" + } + + // but exclude all symbol files + // This can be a full path, or a path relative to ContentRoot + "FileExclusion" "*.pdb" +} diff --git a/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_depot_win_x64_611992.vdf b/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_depot_win_x64_611992.vdf new file mode 100644 index 00000000..741072d6 --- /dev/null +++ b/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_depot_win_x64_611992.vdf @@ -0,0 +1,25 @@ +"DepotBuildConfig" +{ + // Set your assigned depot ID here + "DepotID" "611992" + "ContentRoot" "..\content\editor_win_x64\" + + // include all files recursivley + "FileMapping" + { + // This can be a full path, or a path relative to ContentRoot + "LocalPath" "*" + + // This is a path relative to the install folder of your game + "DepotPath" "." + + // If LocalPath contains wildcards, setting this means that all + // matching files within subdirectories of LocalPath will also + // be included. + "recursive" "1" + } + + // but exclude all symbol files + // This can be a full path, or a path relative to ContentRoot + "FileExclusion" "*.pdb" +} diff --git a/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_depot_win_x86_611993.vdf b/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_depot_win_x86_611993.vdf new file mode 100644 index 00000000..321635b1 --- /dev/null +++ b/mk/steamworks_sdk/sdk/tools/ContentBuilder/scripts/editor_depot_win_x86_611993.vdf @@ -0,0 +1,25 @@ +"DepotBuildConfig" +{ + // Set your assigned depot ID here + "DepotID" "611993" + "ContentRoot" "..\content\editor_win_x86\" + + // include all files recursivley + "FileMapping" + { + // This can be a full path, or a path relative to ContentRoot + "LocalPath" "*" + + // This is a path relative to the install folder of your game + "DepotPath" "." + + // If LocalPath contains wildcards, setting this means that all + // matching files within subdirectories of LocalPath will also + // be included. + "recursive" "1" + } + + // but exclude all symbol files + // This can be a full path, or a path relative to ContentRoot + "FileExclusion" "*.pdb" +}