Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2729


Ignore:
Timestamp:
Mar 2, 2009, 1:56:50 PM (16 years ago)
Author:
rgrieder
Message:
  • Added run script for the dedicated server
  • Removed directory changes and used full path instead (build tree only uses absolute paths anyway)
Location:
code/trunk/bin
Files:
9 edited
2 copied

Legend:

Unmodified
Added
Removed
  • code/trunk/bin/CMakeLists.txt

    r2723 r2729  
    2929  SET(RUN_SCRIPTS run.bat client1.bat client2.bat server.bat)
    3030ELSEIF(UNIX)
    31   SET(RUN_SCRIPTS run client1 client2 server)
     31  SET(RUN_SCRIPTS run client1 client2 server dedicated)
    3232ENDIF()
    3333
  • code/trunk/bin/client1.bat.in

    r2710 r2729  
    11title @PROJECT_NAME@
    22path @ORXONOX_RUNTIME_LIBRARY_DIRECTORY_WINDOWS@;%path%
    3 @WINDOWS_DRIVE_CHANGE@
    4 cd @CURRENT_RUNTIME_DIR_WINDOWS@
    5 @ORXONOX_EXECUTABLE_NAME@ --state client --directory client1
     3@CURRENT_RUNTIME_DIR_WINDOWS@\@ORXONOX_EXECUTABLE_NAME@ --state client --directory client1
    64pause
  • code/trunk/bin/client1.in

    r2710 r2729  
    22# convenience script for starting orxonox on Linux
    33
    4 cd @CURRENT_RUNTIME_DIR@ && exec ./@ORXONOX_EXECUTABLE_NAME@ --state client --directory client1 $@
     4exec .@CURRENT_RUNTIME_DIR@/@ORXONOX_EXECUTABLE_NAME@ --state client --directory client1 $@
  • code/trunk/bin/client2.bat.in

    r2710 r2729  
    11title @PROJECT_NAME@
    22path @ORXONOX_RUNTIME_LIBRARY_DIRECTORY_WINDOWS@;%path%
    3 @WINDOWS_DRIVE_CHANGE@
    4 cd @CURRENT_RUNTIME_DIR_WINDOWS@
    5 @ORXONOX_EXECUTABLE_NAME@ --state client --directory client2
     3@CURRENT_RUNTIME_DIR_WINDOWS@\@ORXONOX_EXECUTABLE_NAME@ --state client --directory client2
    64pause
  • code/trunk/bin/client2.in

    r2710 r2729  
    22# convenience script for starting orxonox on Linux
    33
    4 cd @CURRENT_RUNTIME_DIR@ && exec ./@ORXONOX_EXECUTABLE_NAME@ --state client --directory client2 $@
     4exec .@CURRENT_RUNTIME_DIR@/@ORXONOX_EXECUTABLE_NAME@ --state client --directory client2 $@
  • code/trunk/bin/dedicated.bat.in

    r2719 r2729  
    11title @PROJECT_NAME@
    22path @ORXONOX_RUNTIME_LIBRARY_DIRECTORY_WINDOWS@;%path%
    3 @WINDOWS_DRIVE_CHANGE@
    4 cd @CURRENT_RUNTIME_DIR_WINDOWS@
    5 @ORXONOX_EXECUTABLE_NAME@ --state server --directory server
     3@CURRENT_RUNTIME_DIR_WINDOWS@\@ORXONOX_EXECUTABLE_NAME@ --state dedicated --directory dedicated
    64pause
  • code/trunk/bin/dedicated.in

    r2719 r2729  
    22# convenience script for starting orxonox on Linux
    33
    4 cd @CURRENT_RUNTIME_DIR@ && exec ./@ORXONOX_EXECUTABLE_NAME@ --state server --directory server $@
     4cd @CURRENT_RUNTIME_DIR@ && exec ./@ORXONOX_EXECUTABLE_NAME@ --state dedicated --directory dedicated $@
  • code/trunk/bin/run.bat.in

    r2710 r2729  
    11title @PROJECT_NAME@
    22path @ORXONOX_RUNTIME_LIBRARY_DIRECTORY_WINDOWS@;%path%
    3 @WINDOWS_DRIVE_CHANGE@
    4 cd @CURRENT_RUNTIME_DIR_WINDOWS@
    5 @ORXONOX_EXECUTABLE_NAME@
     3@CURRENT_RUNTIME_DIR_WINDOWS@\@ORXONOX_EXECUTABLE_NAME@
    64pause
  • code/trunk/bin/run.in

    r2710 r2729  
    22# convenience script for starting orxonox on Linux
    33
    4 cd @CURRENT_RUNTIME_DIR@ && exec ./@ORXONOX_EXECUTABLE_NAME@ $@
     4exec .@CURRENT_RUNTIME_DIR@/@ORXONOX_EXECUTABLE_NAME@ $@
  • code/trunk/bin/server.bat.in

    r2710 r2729  
    11title @PROJECT_NAME@
    22path @ORXONOX_RUNTIME_LIBRARY_DIRECTORY_WINDOWS@;%path%
    3 @WINDOWS_DRIVE_CHANGE@
    4 cd @CURRENT_RUNTIME_DIR_WINDOWS@
    5 @ORXONOX_EXECUTABLE_NAME@ --state server --directory server
     3@CURRENT_RUNTIME_DIR_WINDOWS@\@ORXONOX_EXECUTABLE_NAME@ --state server --directory server
    64pause
  • code/trunk/bin/server.in

    r2710 r2729  
    22# convenience script for starting orxonox on Linux
    33
    4 cd @CURRENT_RUNTIME_DIR@ && exec ./@ORXONOX_EXECUTABLE_NAME@ --state server --directory server $@
     4exec .@CURRENT_RUNTIME_DIR@/@ORXONOX_EXECUTABLE_NAME@ --state server --directory server $@
Note: See TracChangeset for help on using the changeset viewer.