Jump to content
Sign in to follow this  
Maderas

Switch between Day Z and vanilla ARMA?

Recommended Posts

There an easier way to do this with a Steam version than having to change the launch parameters every time I play? It's kind of a PITA.

Share this post


Link to post
Share on other sites

If you run DayZ through Six Launcher software then running ArmA2/Operation Arrowhead/Combined Operations through Steam will always open just that, not the DayZ expansion. I've never played DayZ without Six Launcher -- as I never saw any reason not to upon getting it -- so I've never had to deal with the alteration of parameters in the Steam library. I'm pretty sure you can make a shortcut that exclusively runs DayZ upon running it in the Steam library, but I'm not entirely sure how to do that.

My suggestion is to simply use Six Launcher, as I see no reason not to in the first place: It provides you with exclusively DayZ servers, and runs separately from your Steam library. What's there to lose?

Share this post


Link to post
Share on other sites

Put the Following in a .Bat file in your Operation Arrowhead folder.

Create shortcut on desktop

Job done

**this will also run it in 9700 mode as well as six launcher only runs it in 9444 mode.

you can join both server types when launcing this way.

SETLOCAL ENABLEEXTENSIONS


:v64_path_a2
For /F "Tokens=2* skip=2" %%A In ('REG QUERY "HKLM\SOFTWARE\Wow6432Node\Bohemia Interactive Studio\ArmA 2" /v "MAIN"') Do (set _ARMA2PATH=%%B)

IF NOT DEFINED _ARMA2PATH (GOTO v32_path_a2) ELSE (GOTO v64_path_a2oa)

:v32_path_a2
For /F "Tokens=2* skip=2" %%C In ('REG QUERY "HKLM\SOFTWARE\Bohemia Interactive Studio\ArmA 2" /v "MAIN"') Do (set _ARMA2PATH=%%D)

IF NOT DEFINED _ARMA2PATH (GOTO uac_PATH_A2) ELSE (GOTO v64_path_a2oa)

:uac_PATH_A2
@FOR /F "tokens=2* delims= " %%I IN ('REG QUERY "HKLM\SOFTWARE\Wow6432Node\Bohemia Interactive Studio\ArmA 2" /v "MAIN"') DO (SET _ARMA2PATH=%%J)

IF NOT DEFINED _ARMA2PATH (GOTO std_PATH_A2) ELSE (GOTO v64_path_a2oa)

:std_PATH_A2
@FOR /F "tokens=2* delims= " %%K IN ('REG QUERY "HKLM\SOFTWARE\Bohemia Interactive Studio\ArmA 2" /v "MAIN"') DO (SET _ARMA2PATH=%%L)

IF NOT DEFINED _ARMA2PATH (GOTO ENDfailA2) ELSE (GOTO v64_path_a2oa)



: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 _ARMA2OAPATH=%%F)

IF NOT DEFINED _ARMA2OAPATH (GOTO v32_path_a2oa) ELSE (GOTO RUN)

: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 (_ARMA2OAPATH=%%H)

IF NOT DEFINED _ARMA2OAPATH (GOTO uac_PATH_A2OA) ELSE (GOTO RUN)

: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 _ARMA2OAPATH=%%N)

IF NOT DEFINED _ARMA2OAPATH (GOTO std_PATH_A2OA) ELSE (GOTO RUN)

:std_PATH_A2OA
@FOR /F "tokens=2* delims= " %%O IN ('REG QUERY "HKLM\SOFTWARE\Bohemia Interactive Studio\ArmA 2 OA" /v "MAIN"') DO (SET _ARMA2OAPATH=%%P)

IF NOT DEFINED _ARMA2OAPATH (GOTO ENDfailA2OA) ELSE (GOTO RUN)

:run
call "%_ARMA2OAPATH%\Expansion\beta\ARMA2OA.exe" "-mod=%_ARMA2PATH%;expansion;expansion\beta;expansion\beta\expansion;@DayZ;" -nosplash -world=empty %1 %2 %3 %4 %5 %6 %7 %8 %9

ENDLOCAL

:end
@exit /B 0

:ENDfailA2
@exit /B 1

:ENDfailA2OA
@exit /B 2

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  

×