Jump to content
Sign in to follow this  
griffz

using server&client CO + beta: easy way ?

Recommended Posts

i'm looking for an easy tools to start my dedicated and my client (same computer, 2CPU for each binaries)

six updater is quite complex, and i could not do what i want with it.

basically, i wanted to use an easier way to manage my dedi and my client , because i prefer to use beta, and my batch file can't do that:

call "%_ARMA2OAPATH%\EXPANSION\beta\ARMA2OA.exe" "-cpuCount=4" "-exThreads=7" "-nosplash" "-mod=%_ARMA2PATH%;%_ARMA2OAPATH%\EXPANSION\beta;%_ARMA2OAPATH%\EXPANSION\beta\expansion;ca;%_ARMA2OAPATH%\ACR" %1 %2 %3 %4 %5 %6 %7 %8 %9

return me no entry '.profilepathdefault'

because this, i tried to find an easy launcher, but the six_updater tool seem to behave differently than simple logic. i created 2 different preset. but everytime i change one of these preset, the second one (for server launch) change too. i don't understand how this launcher work. i just need something with radio button , to enable my favorite mod, and beta version , with CO .

Share this post


Link to post
Share on other sites

You need to

cd /d "%_ARMA2OAPATH%"

before you call the exe. I'm no Windows expert, but this should work.

Share this post


Link to post
Share on other sites

I use this script to launch the game, it has a simple menu if you want to launch the official version or beta, edit the variables to set your mods

@echo off

setlocal enableextensions

set MODSTRINGCOMMON=@CBA;@CBA_A2;@CBA_OA;@ACE;@ACEX;@ACEX_USNavy;@ACEX_RU;@JSRS;@JSRS_ACE;@ASR_AI;@sthud;@stmovement;@namalsk;@NC;@bb_mercs;@bb_oa_mercs;@tf86_seals;@rh_hk416;@asr_rh_hk416_ace;@rh_m14;@asr_rh_m14_ace;@rh_m4;@asr_rh_m4_ace;@rh_mgs;@asr_rh_mgs_ace;@rh_mk18;@asr_rh_mk18_ace;@rh_pdw;@asr_rh_pdw_ace;@rh_pistol;@asr_rh_pistol_ace;@rh_smg;@asr_rh_smg_ace;@Blastcore_Visuals
set PARAMETERSCOMMON=-cpuCount=4 -exThreads=7 -nosplash -world=empty -malloc=tbb4malloc_bi
set PARAMETERSOFFICIAL=
set PARAMETERSBETA=
set BETAPATH=Expansion\beta
set MODSTRINGBETA=%BETAPATH%;%BETAPATH%\Expansion;@okt_NoBlurBeta
set MODSTRINGOFFICIAL=@okt_noblur
set EXE=ARMA2OA.exe

:v64_path_a2oa
for /F "Tokens=2* skip=2" %%E in ('reg query "HKLM\SOFTWARE\Wow6432Node\Bohemia Interactive Studio\ArmA 2 OA" /v "Main"') do (set ARMAPATH=%%F)

if not defined ARMAPATH (goto v32_path_a2oa) else (goto menu1)

:v32_path_a2oa
For /F "Tokens=2* skip=2" %%G In ('reg query "HKLM\SOFTWARE\Bohemia Interactive Studio\ArmA 2 OA" /v "Main"') do set (ARMAPATH=%%H)

if not defined ARMAPATH (goto uac_PATH_A2OA) else (goto menu1)

:uac_PATH_A2OA
@for /F "tokens=2* delims=	 " %%M in ('reg query "HKLM\SOFTWARE\Wow6432Node\Bohemia Interactive Studio\ArmA 2 OA" /v "Main"') do (SET ARMAPATH=%%N)

if not defined ARMAPATH (goto std_PATH_A2OA) else (goto menu1)

:std_PATH_A2OA
@for /F "tokens=2* delims=	 " %%O in ('reg query "HKLM\SOFTWARE\Bohemia Interactive Studio\ArmA 2 OA" /v "Main"') do (SET ARMAPATH=%%P)

if not defined ARMAPATH (goto ENDfailA2OA) else (goto menu1)

:menu1

echo.
echo Choose between official or beta version (5 seconds timeout)
echo.
echo 1) Official version
echo 2) Beta version (default)
echo 3) Quit
echo.

choice /C:123 /D 2 /T 5 /M "Your choice:"
if errorlevel == 3 goto quit
if errorlevel == 2 goto betastarter
if errorlevel == 1 goto officialstarter

:officialstarter

start "" /D "%ARMAPATH%" /B "%ARMAPATH%\%EXE%" "-mod=%MODSTRINGOFFICIAL%;%MODSTRINGCOMMON%" %PARAMETERSCOMMON% %PARAMETERSOFFICIAL%

goto quit

:betastarter

start "" /D "%ARMAPATH%" /B "%ARMAPATH%\%BETAPATH%\%EXE%" "-beta=%MODSTRINGBETA%;%MODSTRINGCOMMON%" %PARAMETERSCOMMON% %PARAMETERSBETA%

goto quit

:quit
@exit /B 0

:ENDfailA2OA
@exit /B 1

Share this post


Link to post
Share on other sites

I recommend you take a look at Spirited Machine's Arma II Launcher http://www.armaholic.com/page.php?id=8241 (there's a v1.4.1 update that you should be able to get by doing Check for Updates once it's installed).

With that you can make presets much easier than with SixUpdater and save them as shortcuts on your desktop.

Share this post


Link to post
Share on other sites

+1 to Spirited Machine's launcher. I use it exclusively. I would use Six but it takes WAY longer to load than the SM Launcher (like, 10 times longer).

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×