Files
ggpo/bin/start_vectorwar_2p_4s.cmd
Patrick Rećko a4ad73d0bc Feature: Enhanced CMake Build Script
This extends and refactors the original CMake script to make it nicer.
The structure of it is loosely based on that used in bs::framework project.

- Separate the Main SDK build definitions to its own CMakeLists.txt.
  Source file lists for each project were also moved to file CMakeSources.cmake,
  cataloged based on a folder they're in and the filter definitions for VS were added.
- During build the executable/library artifacts are now stored in
  <BUILD_DIR>/<BIN_OR_LIB>/<ARCHITECTURE>/<BUILD_TYPE>. The scripts were
  modified to reflect that change.
- Added most of the build flags from the original VS project
  with some new one.
- Added some properties to explicitly configure the build environment.
- Add ability to install the libraries for distribution.
- Other small renaming, cleanups and things that I've forgotten.
2019-10-12 17:19:58 +02:00

31 lines
971 B
Batchfile

@echo off
REM Test the vectorwar sample by starting 2 clients connected
REM back to each other.
REM
REM Controls: Arrows to move
REM Press 'D' to fire
REM Press 'P' to show performance monitor
REM Shift to strafe
pushd ..\build\bin\x64\Release
del *.log
:: no spectators
::start VectorWar.exe 7000 2 local 127.0.0.1:7001
::start VectorWar.exe 7001 2 127.0.0.1:7000 local
:: 1 spectator
::start VectorWar.exe 7000 2 local 127.0.0.1:7001 127.0.0.1:7005
::start VectorWar.exe 7001 2 127.0.0.1:7000 local
::start VectorWar.exe 7005 2 spectate 127.0.0.1:7000
:: 4 spectators
start VectorWar.exe 7000 2 local 127.0.0.1:7001 127.0.0.1:7005 127.0.0.1:7006 127.0.0.1:7007 127.0.0.1:7008
start VectorWar.exe 7001 2 127.0.0.1:7000 local
start VectorWar.exe 7005 2 spectate 127.0.0.1:7000
start VectorWar.exe 7006 2 spectate 127.0.0.1:7000
start VectorWar.exe 7007 2 spectate 127.0.0.1:7000
start VectorWar.exe 7008 2 spectate 127.0.0.1:7000
popd