Skip to content
Zealot edited this page May 29, 2021 · 7 revisions

How to install (on arma3 server windows, only arma3_64 supported):

  1. Download and install Visual Studio 2019 Redistributables from Microsoft site https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0
  2. Unpack @ocap.zip and userconfig.zip into your arma3 server directory
  3. Add "-servermod=C:\YOUR_ARMA3_FOLDER\@ocap" to your arma3 server startup parameters
  4. Unpack and run ocap-web.zip into separate folder
  5. Edit ocap-web/option.json and userconfig/ocap/config.hpp, @ocap/OcapReplaySaver2.cfg.json if you need. In ocap-web/option.jsonchange "listen": "127.0.0.1:5000", to "listen": "0.0.0.0:80", and and "newUrl": "http://127.0.0.1:5000/api/v1/operations/add", to "newUrl": "http://127.0.0.1:80/api/v1/operations/add", in @ocap/OcapReplaySaver2.cfg.json if you are not using any forward proxy (like traefik for example)
  6. Add ocap_fnc_exportData in your mission framework to call each time when mission ended https://github.com/Zealot111/OCAP#running-ocap
  7. Run mission and check address described in ocap-web/option.json whether mission was correctly exported entering in web browser http://127.0.0.1:80

Веб

Установка

  1. Скачайте последнию релиз ocap-web.zip и распакуйте её.
  2. Откройте option.json
  3. Измените поле secret, как при настройке игрового сервера. (newUrlRequestSecret в OcapReplaySaver2.cfg.json)
  4. Измените поле listen на 0.0.0.0:80. (newUrl в OcapReplaySaver2.cfg.json нужно соотв. изменить)
  5. Запустите ocap-webserver.exe и откройте сайт 127.0.0.1:80

Добавление уже существующей карты

  1. Откройте Google Disk с картами.
  2. Выберите нужную карту и скачайте её.
  3. Распакуйте архив в папку /static/images/maps/ с картами. Пример структура каталога карты с abel:
/static/images/maps/abel/
    0/
    1/
    2/
    3/
    4/
    map.json
    ...