Arma 3 preprocessor failed with error invalid file name empty filename

проблема с GUI - отправлено в Вопросы с написанием скриптов: Доброго времени суток! Решил сделать небольшую менюшку. Делаю впервые, поэтому ошибка может быть совсем глупой, либо у меня глаз замылился. Подскажите где копать. //description.ext #include defines.hpp #include mor_menu.hpp class cfgFunctions { #include functionsfunctions.hpp }; //mor_menu.hpp class mor_menu { idd = 99999; movingEnabled = false; class controls { class mor_menu_bg: RscPicture { idc = 1200;...

#1

OFFLINE
 

moroz89

    Мл.сержант

  • Пользователи
  • 116 сообщений

Отправлено 02 August 2018 — 14:48

Доброго времени суток! Решил сделать небольшую менюшку. Делаю впервые, поэтому ошибка может быть совсем глупой, либо у меня глаз замылился. Подскажите где копать.

//description.ext

#include defines.hpp
#include mor_menu.hpp

class cfgFunctions
{	
	#include "functionsfunctions.hpp"
};
//mor_menu.hpp

class mor_menu
{
	idd = 99999;
	movingEnabled = false;
	
	class controls
	{
		class mor_menu_bg: RscPicture
		{
			idc = 1200;
			text = "#(argb,8,8,3)color(0,0,0,0.5)";
			x = 0 * GUI_GRID_W + GUI_GRID_X;
			y = 0 * GUI_GRID_H + GUI_GRID_Y;
			w = 18.5 * GUI_GRID_W;
			h = 16.5 * GUI_GRID_H;
		};
		class mor_menu_text_vzvan: RscStructuredText
		{
			idc = 1100;
			text = "Ваше звание:";
			x = 1.5 * GUI_GRID_W + GUI_GRID_X;
			y = 3 * GUI_GRID_H + GUI_GRID_Y;
			w = 5.5 * GUI_GRID_W;
			h = 1 * GUI_GRID_H;
		};
		class mor_menu_text_zvan: RscStructuredText
		{
			idc = 1101;
			x = 7 * GUI_GRID_W + GUI_GRID_X;
			y = 3 * GUI_GRID_H + GUI_GRID_Y;
			w = 10 * GUI_GRID_W;
			h = 1 * GUI_GRID_H;
		};
		class mor_menu_text_gromkost: RscStructuredText
		{
			idc = 1102;
			text = "Изменение громкости наушников";
			x = 1.5 * GUI_GRID_W + GUI_GRID_X;
			y = 5 * GUI_GRID_H + GUI_GRID_Y;
			w = 12 * GUI_GRID_W;
			h = 1 * GUI_GRID_H;
		};
		class mor_menu_button_minus: RscButton
		{
			idc = 1600;
			text = "-";
			x = 1.5 * GUI_GRID_W + GUI_GRID_X;
			y = 6.5 * GUI_GRID_H + GUI_GRID_Y;
			w = 4 * GUI_GRID_W;
			h = 1 * GUI_GRID_H;
			colorText[] = {1,1,1,1};
			colorBackground[] = {0.2,0.2,0.2,1};
			colorActive[] = {0.5,0,0,1};
			sizeEx = 1.5 * GUI_GRID_H;
		};
		class mor_menu_button_plus: RscButton
		{
			idc = 1601;
			text = "+";
			x = 6 * GUI_GRID_W + GUI_GRID_X;
			y = 6.5 * GUI_GRID_H + GUI_GRID_Y;
			w = 4 * GUI_GRID_W;
			h = 1 * GUI_GRID_H;
			colorText[] = {1,1,1,1};
			colorBackground[] = {0.2,0.2,0.2,1};
			colorActive[] = {0.5,0,0,1};
			sizeEx = 1.5 * GUI_GRID_H;
		};
		class mor_menu_text_gromkost2: RscStructuredText
		{
			idc = 1103;
			x = 10.5 * GUI_GRID_W + GUI_GRID_X;
			y = 6.5 * GUI_GRID_H + GUI_GRID_Y;
			w = 3 * GUI_GRID_W;
			h = 1 * GUI_GRID_H;
		};
		class mor_menu_button_close: RscButton
		{
			idc = 1602;
			text = "Закрыть";
			x = 10.5 * GUI_GRID_W + GUI_GRID_X;
			y = 13 * GUI_GRID_H + GUI_GRID_Y;
			w = 6.5 * GUI_GRID_W;
			h = 1.5 * GUI_GRID_H;
			action = "closeDialog 0";
		};
		class mor_menu_button_vidimost: RscButton
		{
			idc = 1603;
			text = "Настройки мидимости";
			x = 1.5 * GUI_GRID_W + GUI_GRID_X;
			y = 8.5 * GUI_GRID_H + GUI_GRID_Y;
			w = 12 * GUI_GRID_W;
			h = 2 * GUI_GRID_H;
		};

	};
};

//functionsfunctions.hpp

class mor
{
	class functions
	{
		file = "functions";
		class showMorMenu {};
	};
};
//functionsfn_showMorMenu

disableSerialization;

createDialog "mor_menu";
waitUntil {!isNull (findDisplay 99999);};

_ctrl_zvanie = (findDisplay 99999) displayCtrl 1101;

_ctrl_zvanie lbAdd "Пример текста";
// init игрока

this addAction ["Меню","[] spawn mor_fnc_showMorMenu;"];

defines.hpp сюда вставлять уж не стал

//RPT

15:36:48 Error in expression <[] spawn mor_fnc_showMorMenu;>
15:36:48   Error position: <mor_fnc_showMorMenu;>
15:36:48   Error Неопределенная переменная в выражении: mor_fnc_showmormenu
15:47:16 Warning Message: Preprocessor failed with error - Invalid file name(empty filename)

Сообщение отредактировал moroz89: 02 August 2018 — 14:53

  • 0

  • Наверх

#2

OFFLINE
 

Schatten

Schatten

    Капитан

  • Пользователи
  • 1706 сообщений
  • Откуда:Тбилиси, Грузия

Отправлено 02 August 2018 — 15:13

moroz89, как-бэ в RPT-файле написано.

  • 0

  • Наверх

#3

OFFLINE
 

SteelRat

SteelRat

    Полковник

  • Пользователи
  • 3241 сообщений
  • Откуда:РФ

Отправлено 02 August 2018 — 15:35

//functionsfunctions.hpp

class mor
{
        tag = "Mor";
        project="Arma 3 - Mor_project_Functions";

	class functions
	{
		file = "functions";
		class showMorMenu {};
	};
};

  • 0

  • Наверх

#4

OFFLINE
 

moroz89

moroz89

    Мл.сержант

  • Пользователи
  • 116 сообщений

Отправлено 02 August 2018 — 16:25

//functionsfunctions.hpp

class mor
{
        tag = "Mor";
        project="Arma 3 - Mor_project_Functions";

	class functions
	{
		file = "functions";
		class showMorMenu {};
	};
};

спасибо, пропустил. Но ошибки остались теми же

  • 0

  • Наверх

#5

OFFLINE
 

Schatten

Schatten

    Капитан

  • Пользователи
  • 1706 сообщений
  • Откуда:Тбилиси, Грузия

Отправлено 02 August 2018 — 16:35
  Лучший Ответ

Пожалуйста Войдите или Зарегистрируйтесь чтобы увидеть скрытое содержание


Из-за этого, скорее всего, в RPT-файле и выводится «Preprocessor failed with error — Invalid file name(empty filename)».

Сообщение отредактировал Schatten: 02 August 2018 — 16:56

  • 0

  • Наверх


#6

OFFLINE
 

moroz89

moroz89

    Мл.сержант

  • Пользователи
  • 116 сообщений

Отправлено 02 August 2018 — 17:48

Пожалуйста Войдите или Зарегистрируйтесь чтобы увидеть скрытое содержание


Из-за этого, скорее всего, в RPT-файле и выводится «Preprocessor failed with error — Invalid file name(empty filename)».


да, так и есть. Главное ниже в class cfgFunctions кавычки поставил, а тут нет. Действительно глаза замылились. Спасибо!

  • 0

  • Наверх


#7

OFFLINE
 

SteelRat

SteelRat

    Полковник

  • Пользователи
  • 3241 сообщений
  • Откуда:РФ

Отправлено 03 August 2018 — 03:14

Действительно глаза замылились

Не у вас одного), я что то тоже с ходу мимо очевидного прошёл)

  • 0

  • Наверх


Yes, sorry my bad.
[2021-11-29 12:08:12.410] [info] Started Arma 3 Unix Launcher, config file path: "/home/jurosic_park/.config/a3unixlauncher/launcher.conf" [2021-11-29 12:08:12.413] [debug] arma path: '/home/jurosic_park/.local/share/Steam/steamapps/common/Arma 3', workshop path: '/home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410' [S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam. [S_API] SteamAPI_Init(): Loaded '/home/jurosic_park/.local/share/Steam/linux64/steamclient.so' OK. [S_API FAIL] SteamAPI_Init() failed; create pipe failed.Icon theme "gnome" not found.
this is what happens when i start the launcher.

Whoops my bad i didnt start steam

«2021-11-29 12:09:43.191] [info] Started Arma 3 Unix Launcher, config file path: «/home/jurosic_park/.config/a3unixlauncher/launcher.conf»
[2021-11-29 12:09:43.192] [debug] arma path: ‘/home/jurosic_park/.local/share/Steam/steamapps/common/Arma 3’, workshop path: ‘/home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410’
[S_API] SteamAPI_Init(): Loaded ‘/home/jurosic_park/.local/share/Steam/linux64/steamclient.so’ OK.
Setting breakpad minidump AppID = 107410
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198376671609 [API loaded no]
Icon theme «gnome» not found.`

^This is when steam is started^

[2021-11-29 12:10:34.662] [trace] void MainWindow::on_button_start_clicked():124
[2021-11-29 12:10:34.813] [trace] Mod list:
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/450814997
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/843425103
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/583496184
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/753946944
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/346726922
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/843577117
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/366425329
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/463939057
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/861133494
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1779063631
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/751965892
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2010222986
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/843593391
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2153127400
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/843632231
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/333310405
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/432400996
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1745501106
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2268351256
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1486853849
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/945476727
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1180533757
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/820924072
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/823636749
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/767380317
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/779568775
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/949054715
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/837729515
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1808238502
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1858070328
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1862208264
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1939750692
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/787892271
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/940841212
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/623475643
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/831914878
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/735566597
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/773125288
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1314910827
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1224892496
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1378046829
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/884966711
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1703187116
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2010224487
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/773131200
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1911374016
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1210050323
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1354112941
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1896881048
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1673456286
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1858075458
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1638341685
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/620260972
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2140308792
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1623498241
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2034363662
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2174495332
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2018593688
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2231150238
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1770265310
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1110082605
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2260572637
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2321323632
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1745501605
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2511318948
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1451755886
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2551358217
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1310581330
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2358291014
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1923321700
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2412203827
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1841367366
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2035305606
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2523439183
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2387989178
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2129532219
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2458094846
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1486862127
[2021-11-29 12:10:34.813] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1180534892
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1486541773
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1259415132
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1908099028
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2262255106
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/825181638
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/825179978
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2218330498
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2020940806
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1923062007
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/1368857262
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2461607508
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2577441180
[2021-11-29 12:10:34.814] [trace] path: /home/jurosic_park/.local/share/Steam/steamapps/workshop/content/107410/2626999580
[2021-11-29 12:10:34.814] [info] Steam path: /home/jurosic_park/.local/share/Steam
[2021-11-29 12:10:34.965] [debug] Writing config to ‘/home/jurosic_park/.local/share/bohemiainteractive/arma3/GameDocuments/Arma 3/Arma3.cfg’:
steamLanguage=»»;
language=»English»;
forcedAdapterId=-1;
detectedAdapterId=1;
detectedAdapterVendorId=1;
detectedAdapterDeviceId=1;
detectedAdapterSubSysId=1;
detectedAdapterRevision=1;
detectedAdapterBenchmark=53;
detectedCPUBenchmark=108;
detectedCPUFrequency=2496;
detectedCPUCores=4;
detectedCPUDescription=»Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz»;
displayMode=0;
winX=16;
winY=32;
winWidth=1024;
winHeight=768;
winDefWidth=1024;
winDefHeight=768;
fullScreenWidth=1920;
fullScreenHeight=1080;
refresh=120;
renderWidth=1920;
renderHeight=1080;
multiSampleCount=4;
multiSampleQuality=0;
particlesQuality=2;
GPU_MaxFramesAhead=1000;
GPU_DetectedFramesAhead=0;
HDRPrecision=16;
vsync=1;
AToC=15;
cloudsQuality=3;
waterSSReflectionsQuality=0;
pipQuality=3;
dynamicLightsQuality=3;
PPAA=2;
ppSSAO=5;
ppCaustics=1;
ppBloom=1;
ppRotBlur=1;
ppRadialBlur=1;
ppDOF=1;
ppSharpen=1;
tripleBuffering=0;
class ModLauncherList
{
class Mod1
{
dir=»450814997″;
name=»Community Base Addons v3.15.6″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410450814997″;
};
class Mod2
{
dir=»843425103″;
name=»RHS: Armed Forces of the Russian Federation»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410843425103″;
};
class Mod3
{
dir=»583496184″;
name=»CUP Terrains — Core 1.17.0″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410583496184″;
};
class Mod4
{
dir=»753946944″;
name=»Immersion Cigs»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410753946944″;
};
class Mod5
{
dir=»346726922″;
name=»ASCZ_Heads»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410346726922″;
};
class Mod6
{
dir=»843577117″;
name=»RHS: United States Forces»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410843577117″;
};
class Mod7
{
dir=»366425329″;
name=»FIR AWS(AirWeaponSystem)»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410366425329″;
};
class Mod8
{
dir=»463939057″;
name=»Advanced Combat Environment 0.0.0″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410463939057″;
};
class Mod9
{
dir=»861133494″;
name=»JSRS Soundmod — CE.20.0423″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410861133494″;
};
class Mod10
{
dir=»1779063631″;
name=»Zeus Enhanced 1.12.1″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101779063631″;
};
class Mod11
{
dir=»751965892″;
name=»Advanced Combat Radio Environment 2″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410751965892″;
};
class Mod12
{
dir=»2010222986″;
name=»Goobin’s Gameplay Enhancements: Core»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102010222986″;
};
class Mod13
{
dir=»843593391″;
name=»RHS: GREF»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410843593391″;
};
class Mod14
{
dir=»2153127400″;
name=»Ride Where You look»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102153127400″;
};
class Mod15
{
dir=»843632231″;
name=»RHS: Serbian Armed Forces»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410843632231″;
};
class Mod16
{
dir=»333310405″;
name=»Enhanced Movement»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410333310405″;
};
class Mod17
{
dir=»432400996″;
name=»ACR_A3″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410432400996″;
};
class Mod18
{
dir=»1745501106″;
name=»Hatchet Framework — Development Version»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101745501106″;
};
class Mod19
{
dir=»2268351256″;
name=»Tier One Weapons»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102268351256″;
};
class Mod20
{
dir=»1486853849″;
name=»No 40mm Smoke Bounce»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101486853849″;
};
class Mod21
{
dir=»945476727″;
name=»JSRS Soundmod — RHS AFRF Support CE.20.0419″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410945476727″;
};
class Mod22
{
dir=»1180533757″;
name=»JSRS Soundmod — RHS USF Support CE.20.0419″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101180533757″;
};
class Mod23
{
dir=»820924072″;
name=»BackpackOnChest»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410820924072″;
};
class Mod24
{
dir=»823636749″;
name=»VSM — All-In-One»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410823636749″;
};
class Mod25
{
dir=»767380317″;
name=»Blastcore Edited (standalone version)»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410767380317″;
};
class Mod26
{
dir=»779568775″;
name=»TAC Vests»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410779568775″;
};
class Mod27
{
dir=»949054715″;
name=»@eods»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410949054715″;
};
class Mod28
{
dir=»837729515″;
name=»CH View Distance»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410837729515″;
};
class Mod29
{
dir=»1808238502″;
name=»LAMBS Suppression»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101808238502″;
};
class Mod30
{
dir=»1858070328″;
name=»LAMBS RPG»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101858070328″;
};
class Mod31
{
dir=»1862208264″;
name=»LAMBS Turrets»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101862208264″;
};
class Mod32
{
dir=»1939750692″;
name=»TFM Addons — Ghillie Suit Cammo Pack»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101939750692″;
};
class Mod33
{
dir=»787892271″;
name=»A-10 Warthog»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410787892271″;
};
class Mod34
{
dir=»940841212″;
name=»Uriki’s Mission Items»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410940841212″;
};
class Mod35
{
dir=»623475643″;
name=»3den Enhanced»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410623475643″;
};
class Mod36
{
dir=»831914878″;
name=»ACR_A3 — RHS»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410831914878″;
};
class Mod37
{
dir=»735566597″;
name=»Project OPFOR»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410735566597″;
};
class Mod38
{
dir=»773125288″;
name=»ACE Compat — RHS USAF»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410773125288″;
};
class Mod39
{
dir=»1314910827″;
name=»Breaching Charge»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101314910827″;
};
class Mod40
{
dir=»1224892496″;
name=»Gruppe Adler Trenches»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101224892496″;
};
class Mod41
{
dir=»1378046829″;
name=»Advanced Weapon Mounting»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101378046829″;
};
class Mod42
{
dir=»884966711″;
name=»ACE Compat — RHS: GREF»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410884966711″;
};
class Mod43
{
dir=»1703187116″;
name=»VET_Unflipping»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101703187116″;
};
class Mod44
{
dir=»2010224487″;
name=»Goobin’s Gameplay Enhancements: Captive Animations»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102010224487″;
};
class Mod45
{
dir=»773131200″;
name=»ACE Compat — RHS AFRF»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410773131200″;
};
class Mod46
{
dir=»1911374016″;
name=»ACE Vehicle Medical»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101911374016″;
};
class Mod47
{
dir=»1210050323″;
name=»9Liners and Notepad»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101210050323″;
};
class Mod48
{
dir=»1354112941″;
name=»Gruppe Adler Sling Helmet»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101354112941″;
};
class Mod49
{
dir=»1896881048″;
name=»[3.Skss] Unit Addon»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101896881048″;
};
class Mod50
{
dir=»1673456286″;
name=»3CB Factions»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101673456286″;
};
class Mod51
{
dir=»1858075458″;
name=»LAMBS Danger.fsm 2.5.3″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101858075458″;
};
class Mod52
{
dir=»1638341685″;
name=»DUI — Squad Radar v1.9.3″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101638341685″;
};
class Mod53
{
dir=»620260972″;
name=»Arma 3: ALiVE»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410620260972″;
};
class Mod54
{
dir=»2140308792″;
name=»ACRE Animations»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102140308792″;
};
class Mod55
{
dir=»1623498241″;
name=»Turret Enhanced»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101623498241″;
};
class Mod56
{
dir=»2034363662″;
name=»Enhanced Movement Rework»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102034363662″;
};
class Mod57
{
dir=»2174495332″;
name=»ACE Compat — RHS: SAF»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102174495332″;
};
class Mod58
{
dir=»2018593688″;
name=»Zeus Enhanced — ACE3 Compatibility»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102018593688″;
};
class Mod59
{
dir=»2231150238″;
name=»Freestyles Crash Landing»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102231150238″;
};
class Mod60
{
dir=»1770265310″;
name=»No More Aircraft Bouncing»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101770265310″;
};
class Mod61
{
dir=»1110082605″;
name=»VSM — ACE Config»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101110082605″;
};
class Mod62
{
dir=»2260572637″;
name=»BettIR (Development/Alpha)»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102260572637″;
};
class Mod63
{
dir=»2321323632″;
name=»Canadian Forces Base Moosehead»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102321323632″;
};
class Mod64
{
dir=»1745501605″;
name=»H-60 pack — Development Version»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101745501605″;
};
class Mod65
{
dir=»2511318948″;
name=»cTab NSOC Edition»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102511318948″;
};
class Mod66
{
dir=»1451755886″;
name=»MAX WOMEN»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101451755886″;
};
class Mod67
{
dir=»2551358217″;
name=»KAT — Pharmacy»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102551358217″;
};
class Mod68
{
dir=»1310581330″;
name=»MRHSatellite»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101310581330″;
};
class Mod69
{
dir=»2358291014″;
name=»SOF vehicles (Da vehicles)»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102358291014″;
};
class Mod70
{
dir=»1923321700″;
name=»$STR_A3_expEden_CfgMods_Globe_name»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101923321700″;
};
class Mod71
{
dir=»2412203827″;
name=»Escape From Tarkov Weapon Sounds — Tier One Weapons»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102412203827″;
};
class Mod72
{
dir=»1841367366″;
name=»Escape From Tarkov Footsteps [JSRS Compatible ver.]»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101841367366″;
};
class Mod73
{
dir=»2035305606″;
name=»Escape From Tarkov Weapon Sounds [RHS] (JSRS ver.)»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102035305606″;
};
class Mod74
{
dir=»2523439183″;
name=»Diwako’s Armor Plates System 0.6.0″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102523439183″;
};
class Mod75
{
dir=»2387989178″;
name=»FM Target & Barricade Pack»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102387989178″;
};
class Mod76
{
dir=»2129532219″;
name=»Project SFX: Remastered»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102129532219″;
};
class Mod77
{
dir=»2458094846″;
name=»Ratworks — Insurgency Modules»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102458094846″;
};
class Mod78
{
dir=»1486862127″;
name=»No 40mm Smoke Bounce (RHS compat)»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101486862127″;
};
class Mod79
{
dir=»1180534892″;
name=»JSRS Soundmod — RHS GREF Support CE.20.0419″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101180534892″;
};
class Mod80
{
dir=»1486541773″;
name=»JSRS Soundmod — RHS SAF Support CE.20.0419″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101486541773″;
};
class Mod81
{
dir=»1259415132″;
name=»ARP_Safety — High visibility reflective belts»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101259415132″;
};
class Mod82
{
dir=»1908099028″;
name=»ArmaZeusCache»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101908099028″;
};
class Mod83
{
dir=»2262255106″;
name=»Drongo’s Spooks and Anomalies»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102262255106″;
};
class Mod84
{
dir=»825181638″;
name=»DynaSound 2″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410825181638″;
};
class Mod85
{
dir=»825179978″;
name=»Enhanced Soundscape»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent107410825179978″;
};
class Mod86
{
dir=»2218330498″;
name=»G4rrus’ Custom Flashlights»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102218330498″;
};
class Mod87
{
dir=»2020940806″;
name=»KAT — Advanced Medical»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102020940806″;
};
class Mod88
{
dir=»1923062007″;
name=»Livonian Lighting: Ruha»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101923062007″;
};
class Mod89
{
dir=»1368857262″;
name=»Ruha»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074101368857262″;
};
class Mod90
{
dir=»2461607508″;
name=»Simple Suppress 1.1.0″;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102461607508″;
};
class Mod91
{
dir=»2577441180″;
name=»Hate’s Digital Camera»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102577441180″;
};
class Mod92
{
dir=»2626999580″;
name=»Snus»;
origin=»GAME DIR»;
fullPath=»C:homejurosic_park.localshareSteamsteamappsworkshopcontent1074102626999580″;
};
};

[2021-11-29 12:10:34.967] [trace] void ARMA3::Client::Start(const string&, const string&, bool, bool):192 arguments: », user_environment_variables: », launch_directly: true, disable_esync: false
[2021-11-29 12:10:34.967] [trace] void {anonymous}::direct_launch(const std::filesystem::__cxx11::path&, const std::filesystem::__cxx11::path&, const string&, bool, const string&, bool):63 arma path: ‘»/home/jurosic_park/.local/share/Steam/steamapps/common/Arma 3″‘, executable path: ‘»/home/jurosic_park/.local/share/Steam/steamapps/common/Arma 3/arma3.x86_64″‘, arguments: , is_proton: false, user_environment_variables: , disable_esync: false
Setting breakpad minidump AppID = 107410
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198376671609 [API loaded no]
libpng warning: iCCP: known incorrect sRGB profile
AL lib: (EE) AddFileEntry: Invalid header in /usr/share//openal/hrtf/Default HRTF.mhr: «MinPHR03»
AL lib: (EE) AddFileEntry: Failed to load /usr/share//openal/hrtf/Default HRTF.mhr

^Started arma^ (doesnt want to get into a code block)

And now there wasnt a black screen, it just crashed with «ArmA 3 has experienced an unrecoverable problem, and has had to close.»
*** BREAKPAD CRASH *** Handling crash report for AppID: com.bohemiainteractive.arma3 Loaded libcurl: libcurl.so libcurl version: libcurl/7.80.0 OpenSSL/1.1.1l zlib/1.2.11 brotli/1.0.9 zstd/1.5.0 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.46.0

Recommend Projects

  • React photo

    React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo

    Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo

    Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo

    TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo

    Django

    The Web framework for perfectionists with deadlines.

  • Laravel photo

    Laravel

    A PHP framework for web artisans

  • D3 photo

    D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Visualization

    Some thing interesting about visualization, use data art

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo

    Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo

    Microsoft

    Open source projects and samples from Microsoft.

  • Google photo

    Google

    Google ❤️ Open Source for everyone.

  • Alibaba photo

    Alibaba

    Alibaba Open Source for everyone

  • D3 photo

    D3

    Data-Driven Documents codes.

  • Tencent photo

    Tencent

    China tencent open source team.

CryptArma

Hi, sorry for my english, I am using Manjaro 20.2.1 with Steam/Proton in flatpak and no DLC and apparently the error «Invalid env format» is being caused by «protonDisableEsync» in the launcher config (/home/user/.config/a3unixlauncher/launcher.conf) having «false» as the value but when you change for «true» (or use the option in the launcher to disable) it will work fine. Thank you for you patience and hard work. (Btw this is related with issue #152).

BRINGit34

So I am having an issue with the newly released dayz launcher. I am using the appimage on fedora 35 and I have been having an issue where the game will simply not start through the launcher. I believe it is because the launcher is starting the game normally instead of just through the client since when I start the game through steam and run «play dayz client» the game works fine. But I wanna use this launcher so it’s not a pain to play modded servers

jaq-the-cat

Log:

[S_API] SteamAPI_Init(): Loaded '/home/jaqi/.local/share/Steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 107410
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198207829768 [API loaded no]
[2022-02-27 13:55:11.406] [info] Steam path: /home/jaqi/.local/share/Steam
found: proton_7
[2022-02-27 13:55:11.407] [info] Install path: /home/jaqi/.local/share/Steam
[2022-02-27 13:55:11.407] [critical] Direct launch failed, exception: cannot find tool named 'proton_7'. Is it installed in Steam?```

dizlexic

Hey I’m not a C++ coder by any means, but while trying to build this I kept getting this error.

 
[ 22%] Building CXX object src/arma3-unix-launcher-library/CMakeFiles/arma3-unix-launcher-library.dir/arma3client.cpp.o
In file included from ./src/arma3-unix-launcher/build/_deps/fmt-src/include/fmt/format.h:49,
                 from ./src/arma3-unix-launcher/src/arma3-unix-launcher-library/mod.hpp:7,
                 from ./src/arma3-unix-launcher/src/arma3-unix-launcher-library/arma3client.hpp:9,
                 from ./src/arma3-unix-launcher/src/arma3-unix-launcher-library/arma3client.cpp:1:
./src/arma3-unix-launcher/build/_deps/fmt-src/include/fmt/core.h: In instantiation of ‘constexpr fmt::v8::detail::value<Context> fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; fmt::v8::detail::type <anonymous> = fmt::v8::detail::type::custom_type; T = const std::filesystem::__cxx11::path&; typename std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’:
./src/arma3-unix-launcher/build/_deps/fmt-src/include/fmt/core.h:1839:77:   required from ‘constexpr fmt::v8::format_arg_store<Context, Args>::format_arg_store(T&& ...) [with T = {const std::filesystem::__cxx11::path&}; Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {std::filesystem::__cxx11::path}]’
./src/arma3-unix-launcher/build/_deps/fmt-src/include/fmt/core.h:1856:38:   required from ‘constexpr fmt::v8::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<Args>::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {const std::filesystem::__cxx11::path&}]’
./src/arma3-unix-launcher/build/_deps/fmt-src/include/fmt/core.h:3233:44:   required from ‘void fmt::v8::print(FILE*, fmt::v8::format_string<T ...>, T&& ...) [with T = {const std::filesystem::__cxx11::path&}; FILE = FILE; fmt::v8::format_string<T ...> = fmt::v8::basic_format_string<char, const std::filesystem::__cxx11::path&>]’
./src/arma3-unix-launcher/src/arma3-unix-launcher-library/arma3client.cpp:49:19:   required from here
./src/arma3-unix-launcher/build/_deps/fmt-src/include/fmt/core.h:1712:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1712 |       formattable,
      |       ^~~~~~~~~~~
./src/arma3-unix-launcher/build/_deps/fmt-src/include/fmt/core.h:1712:7: note: ‘formattable’ evaluates to false
make[2]: *** [src/arma3-unix-launcher-library/CMakeFiles/arma3-unix-launcher-library.dir/build.make:76: src/arma3-unix-launcher-library/CMakeFiles/arma3-unix-launcher-library.dir/arma3client.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:296: src/arma3-unix-launcher-library/CMakeFiles/arma3-unix-launcher-library.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

After reinstalling fmt / re-trying the build I decided to look deeper. After a long sad story of google and ctrl+f reading code I’m not familer with and a language I don’t know. I was brought to this template declaration in src/arma3-unix-launcher-library/arma3client.cpp

    template<typename FormatContext>
    auto format(std::filesystem::path const& path, FormatContext& context)
    {
        // replicate fmt 7.x behavior - '/path' gets formatted to '"/path"'
        return format_to(context.out(), ""{}"", path.string());
    }

I found that removing this or setting GIT_TAG for version 8.0 of fmt in cmake/external_dependencies.cmake seem to fix cmake, and the final build runs perfectly so far.

adding the git tag to cmake.

    setup_library("${CHECK_SOURCE}"
                  NAME fmt
                  GIT_REPOSITORY https://github.com/fmtlib/fmt.git
                  GIT_TAG d141cdb
                  )

I hope this makes sense to you, because I have no idea the root cause.

soulflyman

3top1a

image

This message appears every time I try to launch Arma from the launcher.
I have tried removing the config multiple times, it has never worked.
The settings also appear not to update, since when launching from steam, it loads up with the contact DLC.
I tried both the version from the Aur and the app image, both produced the same message.

OS: Manjaro Linux x86_64 5.10.84-1-MANJARO
CPU: AMD Ryzen 7 2700 (16) @ 3.400GHz
GPU: NVIDIA GeForce GTX 1050 Ti

Logs:

[2021-12-28 22:53:29.002] [info] Started Arma 3 Unix Launcher, config file path: "/home/not-a-weeb/.config/a3unixlauncher/launcher.conf"
[2021-12-28 22:53:29.002] [debug] arma path: '/qd/Games/steamapps/common/Arma 3', workshop path: '/qd/Games/steamapps/workshop/content/107410'
[S_API] SteamAPI_Init(): Loaded '/home/not-a-weeb/.local/share/Steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 107410
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198302898494 [API loaded no]
[2021-12-28 22:53:29.204] [trace] trying to get workshop mods
[2021-12-28 22:53:32.518] [trace] void MainWindow::on_button_start_clicked():131
[2021-12-28 22:53:32.524] [trace] Mod list: 

muttleyxd

maocheia

subscribing to «Apex RPG7v — v2» on the steam workshop causes the arma3-unix-launcher to crash. I’m not sure what is the cause.

$ arma3-unix-launcher
[2022-01-14 19:52:18.777] [info] Started Arma 3 Unix Launcher, config file path: "/home/username/.config/a3unixlauncher/launcher.conf"
/usr/include/c++/11.1.0/string_view:234: constexpr const value_type& std::basic_string_view<_CharT, _Traits>::operator[](std::basic_string_view<_CharT, _Traits>::size_type) const [with _CharT = char; _Traits = std::char_traits<char>; std::basic_string_view<_CharT, _Traits>::const_reference = const char&; std::basic_string_view<_CharT, _Traits>::size_type = long unsigned int]: Assertion '__pos < this->_M_len' failed.
aborted (core dumped)

muttleyxd

Somebody just asked for adding support for DayZ into arma3-unix-launcher. This could be either done by incorporating DayZ into the launcher or creating a fork of a3ul.

scarlett-blake

Whenever I load a local mod, then exit the launcher and reopen it, the mod is in the list, but unloaded. These mods also have a name «cannot read name».

Console output of the launcher after starting it is such:

[2022-01-04 19:17:01.432] [info] Started Arma 3 Unix Launcher, config file path: "/home/blake/.config/a3unixlauncher/launcher.conf"
[S_API] SteamAPI_Init(): Loaded '/home/blake/.local/share/Steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 107410
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198056681240 [API loaded no]
[2022-01-04 19:17:01.647] [warning] Error loading mod from config:
---
{
  "enabled": true,
  "name": "cannot read name",
  "path": "~arma/@DGRRHSPATCH"
}
--- Reason: filesystem error: directory iterator cannot open directory: No such file or directory [~arma/@DGRRHSPATCH]

I have tried:

  • .deb release, appimage release
  • past versions, the most recent version
  • removing the @ from the mod folder name
  • moving the mod elsewhere

and the issue persisted across these attempts.

I’ve also tried changing the mod paths in launcher.conf to absolute, which did help — the launcher loaded the mod correctly — with both the correct loaded state and name. For some reason the launcher can’t follow the relative path it sets itself.

A temporary workaround would be setting launcher.conf as read-only, but this, of course, limits all of the launcher’s functions other than launching.

muttleyxd

jurosic

This error occurs when i start the game from the launcher, i have no idea what it means lol, also the bohemia logos show at the beginning but after that the game is just a black screen. KySysGuard says its eating around 20% cpu and that its sleeping.

GabrielModin

The launcher was working with no issue until yesterday.

When pressing start nothing happens and when running the launcher with —verbose i get the following prints.

[2022-02-02 09:14:07.610] [info] Started Arma 3 Unix Launcher, config file path: "/home/gabrielmb/.config/a3unixlauncher/launcher.conf"
[2022-02-02 09:14:07.611] [debug] arma path: '/home/gabrielmb/.local/share/Steam/steamapps/common/Arma 3', workshop path: '/home/gabrielmb/.local/share/Steam/steamapps/workshop/content/107410/'
[S_API] SteamAPI_Init(): Loaded '/home/gabrielmb/.local/share/Steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 107410
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198032837982 [API loaded no]
[2022-02-02 09:14:07.709] [trace] trying to get workshop mods
[2022-02-02 09:14:09.232] [trace] void MainWindow::on_button_start_clicked():131
[2022-02-02 09:14:09.265] [trace] Mod list:
[2022-02-02 09:14:09.265] [trace] path: /home/gabrielmb/.local/share/Steam/steamapps/workshop/content/107410/463939057
[2022-02-02 09:14:09.265] [trace] path: /home/gabrielmb/.local/share/Steam/steamapps/workshop/content/107410/450814997
[2022-02-02 09:14:09.265] [trace] path: /home/gabrielmb/.local/share/Steam/steamapps/workshop/content/107410/861133494
[2022-02-02 09:14:09.275] [debug] Writing config to '/home/gabrielmb/.local/share/Steam/steamapps/common/Arma 3/../../compatdata/107410/pfx/drive_c/users/steamuser/My Documents/Arma 3/Arma3.cfg':
steamLanguage="";
language="English";
forcedAdapterId=-1;
detectedAdapterId=0;
detectedAdapterVendorId=4098;
detectedAdapterDeviceId=26591;
detectedAdapterSubSysId=0;
detectedAdapterRevision=0;
detectedAdapterBenchmark=25;
detectedCPUBenchmark=122;
detectedCPUFrequency=2592;
detectedCPUCores=12;
detectedCPUDescription="Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz";
displayMode=0;
winX=16;
winY=32;
winWidth=1024;
winHeight=768;
winDefWidth=1024;
winDefHeight=768;
fullScreenWidth=3440;
fullScreenHeight=1440;
refresh=60;
renderWidth=3440;
renderHeight=1440;
multiSampleCount=2;
multiSampleQuality=0;
particlesQuality=1;
GPU_MaxFramesAhead=1000;
GPU_DetectedFramesAhead=2;
HDRPrecision=16;
vsync=1;
AToC=15;
cloudsQuality=1;
waterSSReflectionsQuality=1;
pipQuality=2;
dynamicLightsQuality=2;
PPAA=9;
ppSSAO=4;
ppCaustics=1;
tripleBuffering=0;
ppBloom=0;
ppRotBlur=0;
ppRadialBlur=0;
ppDOF=0;
ppSharpen=0;
class ModLauncherList
{
    class Mod1
    {
        dir="463939057";
        name="ace";
        origin="GAME DIR";
        fullPath="Z:homegabrielmb.localshareSteamsteamappsworkshopcontent107410463939057";
    };
    class Mod2
    {
        dir="450814997";
        name="CBA_A3";
        origin="GAME DIR";
        fullPath="Z:homegabrielmb.localshareSteamsteamappsworkshopcontent107410450814997";
    };
    class Mod3
    {
        dir="861133494";
        name="JSRS SOUNDMOD";
        origin="GAME DIR";
        fullPath="Z:homegabrielmb.localshareSteamsteamappsworkshopcontent107410861133494";
    };
};

[2022-02-02 09:14:09.275] [trace] void ARMA3::Client::Start(const string&, const string&, bool, bool):192 arguments: ' -enableHT -hugepages -noSplash -skipIntro', user_environment_variables: '', launch_directly: true, disable_esync: true
[2022-02-02 09:14:09.275] [trace] void {anonymous}::direct_launch(const std::filesystem::__cxx11::path&, const std::filesystem::__cxx11::path&, const string&, bool, const string&, bool):63 arma path: '"/home/gabrielmb/.local/share/Steam/steamapps/common/Arma 3"', executable path: '"/home/gabrielmb/.local/share/Steam/steamapps/common/Arma 3/arma3_x64.exe"', arguments:  -enableHT -hugepages -noSplash -skipIntro, is_proton: true, user_environment_variables: , disable_esync: true
[2022-02-02 09:14:09.275] [info] Steam path: /home/gabrielmb/.local/share/Steam
[2022-02-02 09:14:09.275] [trace] GetCompatibilityToolForAppId:86
[2022-02-02 09:14:09.275] [critical] Direct launch failed, exception: Syntax error: VDF: Quote or bracket expected

scuubar

When trying to start the launcher on ubuntu 20.04, I do get the following error message:

arma3-unix-launcher: symbol lookup error: arma3-unix-launcher: undefined symbol: _ZN6spdlog7details2os6getenvB5cxx11EPKc

Can I fix this myself?

muttleyxd

the arma 3 unix launcher segfaults on wayland (if not run with xwayland), would you be able to fix that?
Arch, sway, amd radeon r9 280 with amdgpu south island support

muttleyxd

mission mods are formed like that

mission_mod_dir/
mission_mod_dir/1.pbo
mission_mod_dir/2.pbo

Bracket-H

I read in the releases that one commit removed the CDLC from the modlist.
Would loading it as a mod make available all the assets it has for ‘regular’ gameplay?
if so…then please add an option to load these CDLCs as mods again and not ‘as the frontend’/’gamemode’ a la Contact…

muttleyxd

jarrard

Just thought I mention the Env variables do not work, for example.

DXVK_FRAME_RATE=70

Does not work. (just as example, not specific)

Are these WINE or LINUX variables that are meant to be here? no descriptions when mousing over these options hurt!

Sacha-Ringenbach

I’m not sure if this an issue with the launcher or proton.

I’ve tried several versions of proton, from the newest to 4.29, nothing seems to work.

Report.txt

Running 5.12.8-arch1-1

[Radeon RX 470/480/570/570X/580/580X/590] (rev ef) (prog-if 00 [VGA controller])
	Subsystem: Sapphire Technology Limited Nitro+ Radeon RX 570/580/590
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

The PreProcessor and the Config Parser allow to use macros in configs. The purpose of macros is to re-use the same definition in scripts and configs multiple times. It also gives a centralized place to correct errors in this definition.
Know that edge cases may arise — see the collection of test-cases linked at the end of this page.

Arma 3

In Arma 3, preprocessor commands are case-sensitive!

Parsing

See Config Parser below:

  • Config.cpp — parsed when PBO is binarized.
    • localize cannot be used in macros, as it would hardcode string of current language instead of creating reference.
  • Description.ext — parsed when mission is loaded or previewed in missions list.
  • SQF script — parsed when preprocessFile, preprocessFileLineNumbers, compileScript or execVM is used.

Macros

A comment is a line within code that is not actually processed by the game engine. They are used to make code more readable or to add notes for future reference. The preprocessor removes all comments from the file before it is processed. Therefore, comments are never actually «seen» by the game engine.

// this is a single-line comment
 
/*
	this is a
	multi-line
	comment
*/
 
myValue = something; //only this part of the line is commented out

myArray = ["apple"/*, "banana"*/, "pear"]; // a portion in the middle of this line is commented out

#define

Using the #define instruction, it is possible to define a keyword and assign a definition to it. The keyword may contain any letter, digit or underscore in arbitrary order, as long as it does not start with a digit (RegEx: [a-zA-Z_][0-9a-zA-Z_]*). As an example:

The above means that whenever true is used in a config, the parser will replace this with the value 1.

The define-statement does swallow all spaces in between the macro-keyword and any non-space-character in the body (Note that tabs are not spaces! They don’t get removed)

#define MACRO                     test
MACRO // preprocesses to test (without any spaces)

#define MACRO	test // There's a tab between MACRO and test
MACRO // preprocesses to "	test" (without quotes - they are only used to show that the tab character didn't get removed)

The space between the macro-keyword and the body is also fully optional (though very useful to tell the preprocessor where the macro name ends and where the body begins):

#define MACRO#test
MACRO // preprocesses to "test"

Arguments

Arguments can be added to more complex macros, by including them between brackets after the keyword. For the name of the arguments the same rule as for the macro-keyword (see above) apply.

#define CAR(NAME) displayName = NAME;

If CAR(«Mini») is used, it will be replaced with displayName = «Mini»;. Multiple arguments can also be used:

#define BLASTOFF(UNIT,RATE) UNIT setVelocity [0,0,RATE];

Macro arguments may be composed of any characters, as long as they do not contain a comma (because commas are used as argument-delimiters). If quotes are being used, they have to be balanced. The same applies to single-quotes This is because String detection is working in macro arguments — Therefore commas can even get passed in as a macro argument as long as they are part of a String (This only works with Strings wrapped in double-quotes though). Note however that although the macro gets resolved properly, the comma gets removed from the String (probably a bug).

#define MACRO(arg) arg
MACRO("Some, content") // preprocesses to "Some content" (note the missing comma)

Quote escaping is also not supported in this context (neither with double- nor with single-quotes)

#define MACRO(arg) arg
MACRO("Some ""content""") // preprocesses to "Some ""content"""

Passing arrays with more than one element [el1,el2,…] as arguments into macros as well as any argument containing comas «some, sentence», will need a small workaround:

#define HINTARG(ARG) hint ("Passed argument: " + str ARG)

Incorrect usage:

HINTARG([1,2,3,4,5,6,7,8,9,0]); // ERROR, won't even compile

Correct usage:

#define array1 [1,2,3,4,5,6,7,8,9,0] 
HINTARG(array1); // SUCCESS

The argument replacement is performed before the expansion of the macro body. That means one doesn’t have to worry about name-conflicts between argument-names of the current macro and already defined macros:

#define ONE foo
#define TWO(ONE) ONE
TWO(bar) // will preprocess to bar

Replacing parts of words

By default, only whole words can be replaced by arguments. If only a part of the word should be replaced, use the ## instruction. This is necessary when either the start or the end of the argument connects to another character that is not a ; (semi-colon) or   (space).

class NAME##_Button_Slider: RscText 
{ 
	model = OFP2StructuresVarious##FOLDER####FOLDER; 

It is also possible to use the single # to convert an argument to a string.

statement = (this animate [#SEL, 0]); 

Multi-line

For longer definitions, one can stretch the macro across multiple lines. To create a multi-line definition, each line except the last one should end with a character:

#define DRAWBUTTON(NAME)
	__EXEC(idcNav = idcNav + 4) 
	...

The backslash must be the last character in a line when defining a multi-line macro. Any character (including spaces) after the backslash will cause issues.

#undef

Undefine (delete) a macro previously set by the use of #define.

#if

Description: Checks condition and processes content if condition returns 1. Skips content if it returns 0

#if __A3_DEBUG__ // Check if game is started in debug mode
#include "debug.hpp" // Include some file if debug mode is enabled
#endif

#ifdef

A simple if-then construction to check whether a certain set of definitions has already been made:

#ifdef NAME
	...text that will be used if NAME is defined...
#endif

IFDEFs cannot be nested. The preprocessor will generate errors for all inner definitions if the outer definition doesn’t exist.

#ifndef

Same as #ifdef, but checks for absence of definition instead.

#ifndef NAME
	...text that will be used if NAME ''isn't'' defined...
#endif

#else

Provides alternative code to #if, #ifdef, #ifndef checks.

#ifndef NAME
	...text that will be used if NAME is -not- defined...
#else
	...text that will be used if NAME -is- defined...
#endif

#endif

This ends a conditional block as shown in the descriptions of #ifdef and #ifndef above.

#include

Copies the code from a target file and pastes it where #include directive is.

#include "file.hpp"
#include <file.txt> // Brackets are equivalent to quotation marks and may be used in their place.

Source directory is:

  • For any file without starting the include path with — the file’s current directory
  • When starting with — the internal filesystem root (see Addon Development) or the Game’s working directory (only with -filePatching enabled)

A path beginning can be defined as follow:

  • drive (only with -filePatching enabled):
  • PBO with PBOPREFIX:
     #include "myModmyAddonfile.txt"
    
  • PBO (keep in mind that in this case, if the PBO’s file name will be changed, all ‘#include’ referencing it will need to be updated):
    #include"myModmyAddonfile.txt" // Arma 3@myModaddonsmyAddon.pbofile.txt;
    

To move to parent directory use ‘..’ (two dots) (Supported since Arma 3 logo black.png1.50):

Preprocessor does not support the use of macros for pre-defined file names.

#define path "codestrip.txt"
#include path // this will cause an error

#

‘#’ (single hash) operator wraps the text with quotation marks.

#define STRINGIFY(s) #s
#define FOO 123
test1 = STRINGIFY(123); //test1 = "123";
test2 = STRINGIFY(FOO); //test2 = "123";

This operator does only work on keywords following the rules for macro-names (see #define-section). If one wants to stringify anything else (like e.g. a number), one has to use a stringify-macro that takes an argument and stringifies that (as in the example above).

#define MACRO Test #123
MACRO // preprocesses to Test 123 - note that there are not any quotes inserted

##

‘##’ (double hash) operator concatenates what’s before the ## with what’s after it.

#define GLUE(g1,g2) g1##g2
#define FOO 123
#define BAR 456
test1 = GLUE(123,456); //test1 = 123456;
test2 = GLUE(FOO,BAR); //test2 = 123456;

__LINE__

This keyword gets replaced with the line number in the file where it is found. For example, if __LINE__ is found on the 10th line of a file, the word __LINE__ will be replaced with the number 10.

__FILE__

This keyword gets replaced with the CURRENT file being processed.

__has_include

Description: Checks if given file exists. Returns 1 if it does, 0 if it does not exist.

  • The file path must start with the backslash otherwise it would fail silently (returns 0 so does nothing unless you put something in #else)!
  • If you wanted to make an addon that can change its config dynamically depending on mods that loaded along, do not binarize the config.cpp!

To validate that the file exists in your game, you can use fileExists command to check.

fileExists «a3data_fconfig.bin»; // returns true
fileExists «zaceaddonsmainscript_component.hpp»; // returns true if ACE is loaded, false otherwise

#if __has_include("zaceaddonsmainscript_component.hpp")

#else

#endif

__DATE_ARR__

Description: Is replaced for current date in format array.

__DATE_ARR__ 

__DATE_STR__

Description: Is replaced for current date in format string.

__DATE_STR__  

__DATE_STR_ISO8601__

Description: Is replaced for current date in format string. The date is presented in ISO8601 standard.

__DATE_STR_ISO8601__ 

__TIME__

Description: Is replaced for current time.

__TIME__ 

__TIME_UTC__

Description: Is replaced for UTC time.

__TIME_UTC__ 

__COUNTER__

Description: Counts 1 up everytime it is defined.

__COUNTER__ 
__COUNTER__ 
__COUNTER__ 
__COUNTER__ 
__COUNTER_RESET__
__COUNTER__ 
__COUNTER__ 
__COUNTER__ 

__TIMESTAMP_UTC__

Description: Is replaced to the current timestamp in UNIX timestamp.

__TIMESTAMP_UTC__ 

__COUNTER_RESET__

Description: Resets counter. See example above.

__RAND_INTN__

Description: Gets replaced by a random N bit integer. N can be 8, 16, 32 or 64, e.g:

__RAND_INT8__
__RAND_INT16__
__RAND_INT32__
__RAND_INT64__
__RAND_INT8__ 

__RAND_UINTN__

Description: Gets replaced by a random unsigned N bit integer. N can be 8, 16, 32 or 64, e.g:

__RAND_UINT8__
__RAND_UINT16__
__RAND_UINT32__
__RAND_UINT64__
__RAND_UINT8__ 

__GAME_VER__

Description: Gets replaced by the game version.

__GAME_VER__ 

__GAME_VER_MAJ__

Description: Gets replaced by the major game version.

__GAME_VER_MAJ__ 

__GAME_VER_MIN__

Description: Gets replaced by the minor game version.

__GAME_VER_MIN__ 

__GAME_BUILD__

Description: Gets replaced by the build number.

__GAME_BUILD__ 

__A3_DIAG__

Description: Gets replaced by 1 on diag, undefined otherwise.

__GAME_BUILD__ 

__ARMA__

Description:

This article is a Stub. You can help BI Community Wiki by expanding it.

__ARMA__ 

__ARMA3__

Description:

This article is a Stub. You can help BI Community Wiki by expanding it.

__ARMA3__ 

__A3_DEBUG__

Description: This macro is only set when the -debug parameter was provided. It can be used to switch mods or scripts to debug mode dynamically.

__A3_DEBUG__ 

Config Parser

Config Parser keywords cannot be used in preprocessor Macros, e.g #if!

__EXEC

This Config Parser macro allows to assign values to internal variables or just execute arbitrary code. The code inside __EXEC macros runs in parsingNamespace and variables defined in it will also be created in parsingNamespace. The variables can then be used to create more complex macros:

__EXEC(cat = 5 + 1;)
__EXEC(lev = cat - 2;)
_cat = parsingNamespace getVariable "cat"; 
_lev = parsingNamespace getVariable "lev"; 

__EXEC doesn’t like round brackets () inside expressions. If grouping is needed, perhaps values could be calculated inside the brackets separately and assigned to local variables:

__EXEC(a = (1+2);) // ERROR
__EXEC(_expr = 1+2;)
__EXEC(a = _expr;) // OK

__EVAL

With this Config Parser macro expressions can be evaluated, including previously assigned internal variables. Unlike __EXEC, __EVAL supports multiple parentheses:

w = __EVAL(safeZoneW - (5 * ((1 / (getResolution select 2)) * 1.25 * 4)));

__EVAL macros must be assigned to a config property and the expression must be terminated with ;. __EVAL can only return Number or String: . Any other type is represented as String, even Boolean type, which will result in either «true» or «false».

__EVAL does not like curly brackets {}; if code is needed in the expression, use compile String instead:

result = __EVAL(call { 123 }); // ERROR
result = __EVAL(call compile "123"); // OK

__EXEC and __EVAL macros are not suitable for SQF/SQS scripts but can be used in configs, including description.ext.
Both global and local variables set in __EXEC are available in __EVAL

Errors

Error 2

Problem
Preprocessor failed error 2.
How to fix
Add quotation marks in the title, or the file path. (e.g. #include «soGood.sqf»).

Error 6

Problem
Preprocessor failed on file X — error 6.
Known reasons
«The problem is using #ifdef #ifdef #endif #endif, a.k.a nested #ifdef. This doesn’t work in Arma. It’s only possible to use #ifdef and #endif once and not nested.»
#endif without preceding #ifdef or #ifndef

Error 7

Problem
Preprocessor failed on file X — error 7.
Known reasons
The preprocessor encountered an unknown directive. Read, as a typo most has likely found a way into the file (something like #inlcude or #defien). Double-check all preprocessor directives in that file.

External links

  • Operation Flashpoint — Preprocessor Guide (Wayback Machine)
  • Collection of preprocessor test-cases

Понравилась статья? Поделить с друзьями:
  • Arma 3 error compiling shader vsshaderpool
  • Area length error when writing step7
  • Area length error when reading step7
  • Area length error tia portal
  • Are you older of your brother где ошибка