[TeamTalk 357]: [893] trunk/TeamTalk: 1) TeamTalkVirtRun. bat sets the BTHSIM_SERVER variable to rampsold.speech.cs.cmu. edu by default, but the the user can easily change the setting in the 4th line of the batch file

bfrisch@edam.speech.cs.cmu.edu bfrisch at edam.speech.cs.cmu.edu
Tue Jan 8 15:09:55 EST 2008


An HTML attachment was scrubbed...
URL: http://mailman.srv.cs.cmu.edu/pipermail/teamtalk-developers/attachments/20080108/a671b0bb/attachment.html
-------------- next part --------------
Modified: trunk/TeamTalk/Configurations/DesktopConfiguration/startlist-virtual.config
===================================================================
--- trunk/TeamTalk/Configurations/DesktopConfiguration/startlist-virtual.config	2007-12-27 20:50:49 UTC (rev 892)
+++ trunk/TeamTalk/Configurations/DesktopConfiguration/startlist-virtual.config	2008-01-08 20:09:55 UTC (rev 893)
@@ -1,69 +1,8 @@
-EXPAND: $OLYMPUS_ROOT %OLYMPUS_ROOT
-EXPAND: $OLYMPUS_BIN $OLYMPUS_ROOT/Bin/x86-nt
+INCLUDE: startlist-desktop.config
+
 EXPAND: $UT2004 %UT2K4_ROOT%
+EXPAND: $BTHSIM_SERVER %BTHSIM_SERVER%
 
-EXPAND: $TEAMTALK ..\..
-EXPAND: $CONFIGURATION $TEAMTALK\Configurations\DesktopConfiguration
-EXPAND: $AGENTS $TEAMTALK\Agents
-EXPAND: $PENDECODER $AGENTS\PenDecoder
-EXPAND: $BIN $TEAMTALK\Bin\x86-nt
-EXPAND: $NLG $AGENTS\TeamTalkNLG
-EXPAND: $RESOURCES $TEAMTALK\Resources
-EXPAND: $GRAMMAR $RESOURCES\Grammar
-EXPAND: $DECODER $RESOURCES\DecoderConfig
-
-EXPAND: $JAVAEXE java
-EXPAND: $PERL perl
-
-TITLE: TeamTalk Virtual System
-
-############### TeamTalk Specific Processes ######################
-
-PROCESS: $JAVAEXE -classpath dist/lib/bsh-core-2.0b4.jar;dist/lib/bsh-util-2.0b4.jar;dist/PenDecoder.jar;dist/lib/galaxy.jar edu.cmu.ravenclaw.pendecoder.PenDecoderServer -port 11002 -peerfile $CONFIGURATION\peerfile.txt
-PROCESS_WORKDIR: $PENDECODER
-PROCESS_MONITOR_ARGS: --start
-PROCESS_TITLE: PenDecoder
-
-PROCESS: $BIN\TeamTalkBackend -verbosity 1 -maxconns 6
-PROCESS_MONITOR_ARGS: --start
-PROCESS_TITLE: TeamTalkBackend
-
-PROCESS: $PERL -I../Rosetta bin/TeamTalk
-PROCESS_WORKDIR: $NLG
-PROCESS_MONITOR_ARGS: --start
-PROCESS_TITLE: Rosetta
-
-############### Olympus Generic Processes #######################
-
-PROCESS: $OLYMPUS_BIN\KalliopeSAPI -maxconns 6 -config swift.cfg
-PROCESS_MONITOR_ARGS: --start
-PROCESS_TITLE: Kalliope
-
-PROCESS: $OLYMPUS_BIN\NlgServer -maxconns 6 -nlghost localhost
-PROCESS_MONITOR_ARGS: --start
-PROCESS_TITLE: NLGServer
-
-PROCESS: $OLYMPUS_BIN\phoenix -maxconns 6 -grammardir $GRAMMAR -grammarfn $GRAMMAR\TeamTalk.net
-PROCESS_MONITOR_ARGS: --start
-PROCESS_TITLE: Phoenix
-
-PROCESS: $OLYMPUS_BIN\AudioServer -maxconns 6 -config AudioServer.cfg
-PROCESS_MONITOR_ARGS: --start
-PROCESS_TITLE: AudioServer
-
-PROCESS: $OLYMPUS_BIN\PocketSphinxEngine -name desktop -argfn desktop.arg -port 9990
-PROCESS_WORKDIR: $DECODER
-PROCESS_MONITOR_ARGS: --start
-PROCESS_TITLE: PocketSphinx
-
-PROCESS: $OLYMPUS_BIN\HUB -verbosity 3 -pgm_file TeamTalk-hub-desktop-skeleton.pgm
-PROCESS_MONITOR_ARGS: --start
-PROCESS_TITLE: Hub
-
-PROCESS: $OLYMPUS_BIN\Apollo -maxconns 6 -config Apollo.cfg
-PROCESS_MONITOR_ARGS: --start
-PROCESS_TITLE: Apollo
-
 ############### Virtual System Process #######################
 PROCESS: $UT2004\System\UT2004 $BTHSIM_SERVER?quickstart=true
 PROCESS_WORKDIR: $UT2004\System

Modified: trunk/TeamTalk/TeamTalkVirtRun.bat
===================================================================
--- trunk/TeamTalk/TeamTalkVirtRun.bat	2007-12-27 20:50:49 UTC (rev 892)
+++ trunk/TeamTalk/TeamTalkVirtRun.bat	2008-01-08 20:09:55 UTC (rev 893)
@@ -1,7 +1,13 @@
 @echo off
 
+:: Note: Set the BTHSim_Server Variable to represent whre your Unreal Tournament Server is
+set BTHSIM_SERVER=rampsold.speech.cs.cmu.edu
+
 TITLE TeamTalk Virtual System Lanucher for Win32
 
+echo Adding the BTHSIM_SERVER server variable to the registry.
+reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v BTHSIM_SERVER /d "%BTHSIM_SERVER%" /f
+
 IF NOT EXIST Configurations\DesktopConfiguration\startlist-virtual.config goto ErrorWrongWorkingDirectory
 
 echo Looking for Unreal Tournament 2004...
@@ -15,19 +21,21 @@
 del reg2.txt
 
 :: Convert double backslashes to single backslashes
-set UTPath=
+set UT2K4_ROOT=
 :UTWHILE
   if "%UTPathTemp%"=="" goto UTWEND
-  if not "%UTPath%"=="" set UTPath=%UTPath%\
-  for /f "delims=\" %%x in ("%UTPathTemp%") do set UTPath=%UTPath%%%x
+  if not "%UT2K4_ROOT%"=="" set UT2K4_ROOT=%UT2K4_ROOT%\
+  for /f "delims=\" %%x in ("%UTPathTemp%") do set UT2K4_ROOT=%UT2K4_ROOT%%%x
   for /f "tokens=1,* delims=\" %%x in ("%UTPathTemp%") do set UTPathTemp=%%y
   goto UTWHILE
 :UTWEND
 set UTPathTemp=
-echo Unreal Tournament 2004 Path (per registy) = %UTPath%
+echo Unreal Tournament 2004 Path (per registy) = %UT2K4_ROOT%
 
-reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v UT2K4_ROOT /d "%UTPath%" /f
+IF NOT EXIST "%UT2K4_ROOT%\System\UT2004.exe" GOTO UT2K4ERROR
 
+reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v UT2K4_ROOT /d "%UT2K4_ROOT%" /f
+
 REM Check to make sure the file is not running with a wrong working directory
 SET RunTimeConfig=startlist-virtual
 SET LauncherType=Virtual System


More information about the TeamTalk-developers mailing list