Dwarden,
Why is it that "ca" does not need a full path, but everything else does?
Dwarden,
Why is it that "ca" does not need a full path, but everything else does?
All that goes into the target line? I will give that a try.
--------------------------------------------------------------------
Was to big for target line and game did not launch when I put it into steam advanced shortcut. I must be doing something wrong.
Here is what I have done so far.
1. Placed the cmd in OA folder
2. Created shortcut from my OA folder to desktop
3. Placed _runA2CO.cmd "-nosplash" in my created shortcut target line. "Didnt work so I tried #4"
4. Placed _runA2CO.cmd "-nosplash" in my launch options on steam then created shortcut. "Shortcut worked but was not combined operations"
I can run combined operations by launching through steam option but then I get a splash screen.
I can also run combined operations by launching it from the _runA2CO.cmd from my OA folder.
Last edited by mia389; Jul 8 2010 at 21:55.
Okay-
I've been reading this "40 page, greater than 300 reply thread" and thus far have been able to run the Combined Operations through Steam and with _runA2CO.cmd download. Everything runs great. Where do I put any additions on the .cmd file to run mods, no splash and cpu 4. My .cmd file is listed in notepad as:
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 ..\..\..\steam.exe -applaunch 33930 "-mod=%_ARMA2PATH%;%_ARMA2OAPATH%\EXPANSION;ca" %1 %2 %3 %4 %5 %6 %7 %8 %9
ENDLOCAL
:end
@exit /B 0
:ENDfailA2
@exit /B 1
:ENDfailA2OA
@exit /B 2
behind that %9
like %9 -nosplash
just don't forget space inbetween![]()
RealTimeChat ~ARMA2 in Your browser (w/o Java), RealTimeChat ~ARMA3 in Your browser (w/o Java),
irc.GameSurge.net/ARMA2 (external IRC clients) irc.GameSurge.net/ARMA3 (external IRC clients)
ARMA 3 Feedback Tracker: http://feedback.arma3.com/my_view_page.php
~100k fans @STEAMARMA 2 + ARMA 2: OA + ARMA 3: + ~2k @XFIRE A2:OA
Follow my Twitter: http://twitter.com/FoltynD or my Facebook http://facebook.com/FoltynD
I have noticed, and it has been brought to my attention several times, that when you run Combined Operations mode with addons that are located in the ArmA II directory, the Steam dialog reading: "Preparing to launch ArmA II: Operation Arrowhead" hangs, and the game does not start. Is this a problem with Steam that is out of your control? If I use the beta version of OA instead, it takes care of the problem.
Also, is there a reason why launching the OA executable directly (not using Steam) requires Steam to start before the game does, but ArmA 2 does not? Can this be changed?
So reading through all this, I take it there's no way to have both the modification manager enabled and the ability to enable / disable arma2?