Page 40 of 86 FirstFirst ... 3036373839404142434450 ... LastLast
Results 391 to 400 of 852

  Click here to go to the first Developer post in this thread.  

Thread: ARMA 2: CO (how to combine ARMA 2 into ARMA 2:OA and use together)

  1. #391
    Dwarden,

    Why is it that "ca" does not need a full path, but everything else does?

  2. #392
    Quote Originally Posted by Dwarden View Post
    something like this
    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.

  3. #393
    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

  4.   Click here to go to the next Developer post in this thread.   #394

  5. #395
    Quote Originally Posted by Dwarden View Post
    behind that %9

    like %9 -nosplash

    just don't forget space inbetween
    Does it need to be in quotations? for example
    "-mod @mymod"?

  6.   Click here to go to the next Developer post in this thread.   #396
    BI Developer Dwarden's Avatar
    Join Date
    Mar 5 2002
    Location
    Czech Republic
    Posts
    7,899
    Author of the Thread
    Quote Originally Posted by segdmd View Post
    Does it need to be in quotations? for example
    "-mod @mymod"?
    yes use "" enclosing

    "-mod=@mymod1;@mymod2"

    if they inside A2:OA main directory
    if not not then use full path

  7. #397
    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?

  8. #398
    Quote Originally Posted by SpiritedMachine View Post
    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?
    I was wondering that too. I hate having steam running in the background.

  9. #399
    Gunnery Sergeant bhaz's Avatar
    Join Date
    Jun 14 2006
    Location
    Perth, Western Australia
    Posts
    493
    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?

    |-LATEST MISSION-|: CO 02 Insertion |-COMING SOON-|: Foxtrot 2 (Co-op campaign)

  10.   Click here to go to the next Developer post in this thread.   #400
    BI Developer Dwarden's Avatar
    Join Date
    Mar 5 2002
    Location
    Czech Republic
    Posts
    7,899
    Author of the Thread
    Quote Originally Posted by SpiritedMachine View Post
    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?

    it's because of the STEAM copy protection ...

    also STEAM direct launch via
    steam.exe -applaunch 33930
    is needed to enabled STEAMoverlay injection

Page 40 of 86 FirstFirst ... 3036373839404142434450 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •