forked from ocapmod/ocap-legacy
-
Notifications
You must be signed in to change notification settings - Fork 8
Home
Zealot edited this page May 29, 2021
·
7 revisions
How to install (on arma3 server windows, only arma3_64 supported):
- 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
- Unpack @ocap.zip and userconfig.zip into your arma3 server directory
- Add
"-servermod=C:\YOUR_ARMA3_FOLDER\@ocap"
to your arma3 server startup parameters - Unpack and run ocap-web.zip into separate folder
- Edit
ocap-web/option.json
anduserconfig/ocap/config.hpp
,@ocap/OcapReplaySaver2.cfg.json
if you need. Inocap-web/option.json
change"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) - Add ocap_fnc_exportData in your mission framework to call each time when mission ended https://github.com/Zealot111/OCAP#running-ocap
- 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
- Скачайте последнию релиз ocap-web.zip и распакуйте её.
- Откройте
option.json
- Измените поле
secret
, как при настройке игрового сервера. (newUrlRequestSecret
вOcapReplaySaver2.cfg.json
) - Измените поле
listen
на0.0.0.0:80
. (newUrl
вOcapReplaySaver2.cfg.json
нужно соотв. изменить) - Запустите
ocap-webserver.exe
и откройте сайт127.0.0.1:80
- Откройте Google Disk с картами.
- Выберите нужную карту и скачайте её.
- Распакуйте архив в папку
/static/images/maps/
с картами. Пример структура каталога карты сabel
:
/static/images/maps/abel/
0/
1/
2/
3/
4/
map.json
...