fix polygon selection and add steam deploy script

This commit is contained in:
2019-05-02 18:00:59 +02:00
parent 54c0df9ed6
commit d03f5441b0
6 changed files with 72 additions and 1 deletions

13
steam/build.bat Normal file
View File

@@ -0,0 +1,13 @@
@echo off
mkdir content
xcopy /I /D /Y /S "..\x64\Release\*.dll" content
xcopy /I /D /Y /S "..\data\*" content\data\
for /f %%i in ('git rev-parse --abbrev-ref HEAD') do set BRANCH=%%i
for /f %%i in ('git log "--pretty=format:%%h" -n 1') do set HASH=%%i
for /f %%i in ('git rev-list --count HEAD') do set COUNT=%%i
for /f %%i in ('git describe --tags "--abbrev=0"') do set TAG=%%i
set VERSION=%TAG%.%COUNT% (%HASH%-%BRANCH%)
echo Building version %VERSION%
set /p ID=<steamid.txt
steamcmd.exe +login %ID% +drm_wrap 954880 "%~dp0..\x64\Release\PanoPainter.exe" "%~dp0content\PanoPainter.exe" drmtoolp 0 +run_app_build -desc "%VERSION%" "%~dp0scripts\app_build_954880.vdf" +quit
pause

View File

@@ -0,0 +1,15 @@
"appbuild"
{
"appid" "954880"
"desc" "Your build description here" // 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"
{
"954881" "depot_build_954881.vdf"
}
}

View File

@@ -0,0 +1,31 @@
"DepotBuildConfig"
{
// Set your assigned depot ID here
"DepotID" "954881"
// Set a root for all content.
// All relative paths specified below (LocalPath in FileMapping entries, and FileExclusion paths)
// will be resolved relative to this root.
// If you don't define ContentRoot, then it will be assumed to be
// the location of this script file, which probably isn't what you want
// "ContentRoot" "D:\MyGame\rel\master\"
// 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"
}