From 6c3d05ff1b6004786b33fe4276892c27d5ecd6af Mon Sep 17 00:00:00 2001 From: hgn Date: Mon, 10 Oct 2022 17:17:18 +0100 Subject: [PATCH] added steam scripts --- .gitignore | 1 + steam_build_script.vdf | 30 ++++++++++++++++++++++++++++++ upload_to_steam.sh | 1 + 3 files changed, 32 insertions(+) create mode 100644 steam_build_script.vdf create mode 100644 upload_to_steam.sh diff --git a/.gitignore b/.gitignore index 988d57d..de30e43 100755 --- a/.gitignore +++ b/.gitignore @@ -51,3 +51,4 @@ dist/ !*.ogg !*.txt !*.tga +!*.vdf diff --git a/steam_build_script.vdf b/steam_build_script.vdf new file mode 100644 index 0000000..6636a31 --- /dev/null +++ b/steam_build_script.vdf @@ -0,0 +1,30 @@ +"AppBuild" +{ + "AppID" "2103940" + "Desc" "SR Multi-build" + + "ContentRoot" "/home/harry/Documents/carve/dist/bin/" + "BuildOutput" "dist/steam_cache" + + "Depots" + { + "2103942" // Linux depot + { + "FileMapping" + { + "LocalPath" "linux/*" + "DepotPath" "." + "recursive" "1" + } + } + "2103941" // Windoes + { + "FileMapping" + { + "LocalPath" "win32/*" + "DepotPath" "." + "recursive" "1" + } + } + } +} diff --git a/upload_to_steam.sh b/upload_to_steam.sh new file mode 100644 index 0000000..9db81a2 --- /dev/null +++ b/upload_to_steam.sh @@ -0,0 +1 @@ +steamworks_sdk/tools/ContentBuilder/builder_linux/steamcmd.sh +login $1 $2 +run_app_build steam_build_script.vdf -- 2.25.1