networking
This commit is contained in:
BIN
external/steamworks/tools/ContentBuilder/builder/steamcmd.exe
vendored
Normal file
BIN
external/steamworks/tools/ContentBuilder/builder/steamcmd.exe
vendored
Normal file
Binary file not shown.
BIN
external/steamworks/tools/ContentBuilder/builder_linux/linux32/crashhandler.so
vendored
Normal file
BIN
external/steamworks/tools/ContentBuilder/builder_linux/linux32/crashhandler.so
vendored
Normal file
Binary file not shown.
BIN
external/steamworks/tools/ContentBuilder/builder_linux/linux32/libstdc++.so.6
vendored
Normal file
BIN
external/steamworks/tools/ContentBuilder/builder_linux/linux32/libstdc++.so.6
vendored
Normal file
Binary file not shown.
BIN
external/steamworks/tools/ContentBuilder/builder_linux/linux32/steamcmd
vendored
Normal file
BIN
external/steamworks/tools/ContentBuilder/builder_linux/linux32/steamcmd
vendored
Normal file
Binary file not shown.
BIN
external/steamworks/tools/ContentBuilder/builder_linux/linux32/steamerrorreporter
vendored
Normal file
BIN
external/steamworks/tools/ContentBuilder/builder_linux/linux32/steamerrorreporter
vendored
Normal file
Binary file not shown.
40
external/steamworks/tools/ContentBuilder/builder_linux/steamcmd.sh
vendored
Normal file
40
external/steamworks/tools/ContentBuilder/builder_linux/steamcmd.sh
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
STEAMROOT="$(cd "${0%/*}" && echo $PWD)"
|
||||
STEAMEXE=`basename "$0" .sh`
|
||||
|
||||
UNAME=`uname`
|
||||
if [ "$UNAME" == "Linux" ]; then
|
||||
PLATFORM=linux32
|
||||
export LD_LIBRARY_PATH="$STEAMROOT/$PLATFORM:$LD_LIBRARY_PATH"
|
||||
else # if [ "$UNAME" == "Darwin" ]; then
|
||||
PLATFORM=osx32
|
||||
export DYLD_LIBRARY_PATH="$STEAMROOT/$PLATFORM:$DYLD_LIBRARY_PATH"
|
||||
fi
|
||||
|
||||
ulimit -n 2048
|
||||
|
||||
MAGIC_RESTART_EXITCODE=42
|
||||
|
||||
if [ "$DEBUGGER" == "gdb" ] || [ "$DEBUGGER" == "cgdb" ]; then
|
||||
ARGSFILE=$(mktemp $USER.steam.gdb.XXXX)
|
||||
|
||||
# Set the LD_PRELOAD varname in the debugger, and unset the global version.
|
||||
if [ "$LD_PRELOAD" ]; then
|
||||
echo set env LD_PRELOAD=$LD_PRELOAD >> "$ARGSFILE"
|
||||
echo show env LD_PRELOAD >> "$ARGSFILE"
|
||||
unset LD_PRELOAD
|
||||
fi
|
||||
|
||||
$DEBUGGER -x "$ARGSFILE" "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
|
||||
rm "$ARGSFILE"
|
||||
else
|
||||
$DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
|
||||
fi
|
||||
|
||||
STATUS=$?
|
||||
|
||||
if [ $STATUS -eq $MAGIC_RESTART_EXITCODE ]; then
|
||||
exec "$0" "$@"
|
||||
fi
|
||||
exit $STATUS
|
||||
BIN
external/steamworks/tools/ContentBuilder/builder_osx/crashhandler.dylib
vendored
Normal file
BIN
external/steamworks/tools/ContentBuilder/builder_osx/crashhandler.dylib
vendored
Normal file
Binary file not shown.
BIN
external/steamworks/tools/ContentBuilder/builder_osx/steamcmd
vendored
Normal file
BIN
external/steamworks/tools/ContentBuilder/builder_osx/steamcmd
vendored
Normal file
Binary file not shown.
45
external/steamworks/tools/ContentBuilder/builder_osx/steamcmd.sh
vendored
Normal file
45
external/steamworks/tools/ContentBuilder/builder_osx/steamcmd.sh
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
STEAMROOT="$(cd "${0%/*}" && echo $PWD)"
|
||||
STEAMCMD=`basename "$0" .sh`
|
||||
|
||||
UNAME=`uname`
|
||||
if [ "$UNAME" == "Linux" ]; then
|
||||
STEAMEXE="${STEAMROOT}/linux32/${STEAMCMD}"
|
||||
PLATFORM="linux32"
|
||||
export LD_LIBRARY_PATH="$STEAMROOT/$PLATFORM:$LD_LIBRARY_PATH"
|
||||
else # if [ "$UNAME" == "Darwin" ]; then
|
||||
STEAMEXE="${STEAMROOT}/${STEAMCMD}"
|
||||
if [ ! -x ${STEAMEXE} ]; then
|
||||
STEAMEXE="${STEAMROOT}/Steam.AppBundle/Steam/Contents/MacOS/${STEAMCMD}"
|
||||
fi
|
||||
export DYLD_LIBRARY_PATH="$STEAMROOT:$DYLD_LIBRARY_PATH"
|
||||
export DYLD_FRAMEWORK_PATH="$STEAMROOT:$DYLD_FRAMEWORK_PATH"
|
||||
fi
|
||||
|
||||
ulimit -n 2048
|
||||
|
||||
MAGIC_RESTART_EXITCODE=42
|
||||
|
||||
if [ "$DEBUGGER" == "gdb" ] || [ "$DEBUGGER" == "cgdb" ]; then
|
||||
ARGSFILE=$(mktemp $USER.steam.gdb.XXXX)
|
||||
|
||||
# Set the LD_PRELOAD varname in the debugger, and unset the global version.
|
||||
if [ "$LD_PRELOAD" ]; then
|
||||
echo set env LD_PRELOAD=$LD_PRELOAD >> "$ARGSFILE"
|
||||
echo show env LD_PRELOAD >> "$ARGSFILE"
|
||||
unset LD_PRELOAD
|
||||
fi
|
||||
|
||||
$DEBUGGER -x "$ARGSFILE" "$STEAMEXE" "$@"
|
||||
rm "$ARGSFILE"
|
||||
else
|
||||
$DEBUGGER "$STEAMEXE" "$@"
|
||||
fi
|
||||
|
||||
STATUS=$?
|
||||
|
||||
if [ $STATUS -eq $MAGIC_RESTART_EXITCODE ]; then
|
||||
exec "$0" "$@"
|
||||
fi
|
||||
exit $STATUS
|
||||
0
external/steamworks/tools/ContentBuilder/content/your game content lives here.txt
vendored
Normal file
0
external/steamworks/tools/ContentBuilder/content/your game content lives here.txt
vendored
Normal file
0
external/steamworks/tools/ContentBuilder/output/for build logs and intermediate files.txt
vendored
Normal file
0
external/steamworks/tools/ContentBuilder/output/for build logs and intermediate files.txt
vendored
Normal file
1
external/steamworks/tools/ContentBuilder/readme.txt
vendored
Normal file
1
external/steamworks/tools/ContentBuilder/readme.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
run_build.bat shows how to run a Steam content build for AppID 1000 which has one depot 1001.
|
||||
1
external/steamworks/tools/ContentBuilder/run_build.bat
vendored
Normal file
1
external/steamworks/tools/ContentBuilder/run_build.bat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
builder\steamcmd.exe +login account password +run_app_build ..\scripts\simple_app_build.vdf +quit
|
||||
17
external/steamworks/tools/ContentBuilder/scripts/app_build_1000.vdf
vendored
Normal file
17
external/steamworks/tools/ContentBuilder/scripts/app_build_1000.vdf
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
"AppBuild"
|
||||
{
|
||||
"AppID" "1000" // Your AppID
|
||||
"Desc" "Your build description here" // internal description for this build
|
||||
"Preview" "1" // make this a preview build only, nothing is uploaded
|
||||
"Local" "..\..\ContentServer\htdocs" // put content on local content server instead of uploading to Steam
|
||||
"SetLive" "AlphaTest" // set this build live on beta branch AlphaTest
|
||||
"ContentRoot" "..\content\" // content root folder relative to this script file
|
||||
"BuildOutput" "D:\build_output\" // put build cache and log files on different drive for better performance
|
||||
"verbose" "0" // spew more build details in console
|
||||
"Depots"
|
||||
{
|
||||
// file mapping instructions for each depot are in separate script files
|
||||
"1001" "depot_build_1001.vdf"
|
||||
"1002" "depot_build_1002.vdf"
|
||||
}
|
||||
}
|
||||
20
external/steamworks/tools/ContentBuilder/scripts/depot_build_1001.vdf
vendored
Normal file
20
external/steamworks/tools/ContentBuilder/scripts/depot_build_1001.vdf
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
"DepotBuild"
|
||||
{
|
||||
// Set your assigned depot ID here
|
||||
"DepotID" "1001"
|
||||
|
||||
// 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"
|
||||
}
|
||||
}
|
||||
40
external/steamworks/tools/ContentBuilder/scripts/depot_build_1002.vdf
vendored
Normal file
40
external/steamworks/tools/ContentBuilder/scripts/depot_build_1002.vdf
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
"DepotBuild"
|
||||
{
|
||||
"DepotID" "1002"
|
||||
|
||||
"ContentRoot" "D:\content\depot1002" // override ContentRoot from app build script
|
||||
|
||||
"FileMapping"
|
||||
{
|
||||
// all source files and folders in ".\bin" will be mapped into folder ".\executables" in depot
|
||||
"LocalPath" "bin\*"
|
||||
"DepotPath" "executables\"
|
||||
"Recursive" "1" // include all subfolders
|
||||
}
|
||||
|
||||
"FileMapping"
|
||||
{
|
||||
// override audio files in \\audio with German versions
|
||||
"LocalPath" "localization\german\audio\*"
|
||||
"DepotPath" "audio\"
|
||||
}
|
||||
|
||||
"FileMapping"
|
||||
{
|
||||
// copy install script for german version into depot root folder
|
||||
"LocalPath" "localization\german\german_installscript.vdf"
|
||||
"DepotPath" "."
|
||||
}
|
||||
|
||||
"FileExclusion" "bin\server.exe" // exclude this file
|
||||
"FileExclusion" "*.pdb" // exclude all .PDB files everywhere
|
||||
"FileExclusion" "bin\tools*" // exclude all files under bin/tools/
|
||||
|
||||
"InstallScript" "localization\german\german_installscript.vdf"
|
||||
|
||||
"FileProperties"
|
||||
{
|
||||
"LocalPath" "bin\setup.cfg"
|
||||
"Attributes" "userconfig" // this file will be modified during runtime
|
||||
}
|
||||
}
|
||||
23
external/steamworks/tools/ContentBuilder/scripts/simple_app_build.vdf
vendored
Normal file
23
external/steamworks/tools/ContentBuilder/scripts/simple_app_build.vdf
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
"AppBuild"
|
||||
{
|
||||
"AppID" "1000" // your AppID
|
||||
"Desc" "This is a simple build script" // internal description for this build
|
||||
"verbose" "0" // spew more build details in console
|
||||
"preview" "0" // make this a preview build only, nothing is uploaded
|
||||
|
||||
"ContentRoot" "..\content\" // root content folder, relative to location of this file
|
||||
"BuildOutput" "..\output\" // build output folder for build logs and build cache files
|
||||
|
||||
"Depots"
|
||||
{
|
||||
"1001" // your DepotID
|
||||
{
|
||||
"FileMapping"
|
||||
{
|
||||
"LocalPath" "*" // all files from contentroot folder
|
||||
"DepotPath" "." // mapped into the root of the depot
|
||||
"recursive" "1" // include all subfolders
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user