Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with 1.54 (Linux) #330

Merged
merged 14 commits into from
May 16, 2016
Merged

Compatibility with 1.54 (Linux) #330

merged 14 commits into from
May 16, 2016

Conversation

commy2
Copy link
Contributor

@commy2 commy2 commented May 15, 2016

No description provided.

@commy2 commy2 added the WIP label May 15, 2016
@commy2 commy2 changed the title Experimental way to get compatibility with 1.54 (Linux) Compatibility with 1.54 (Linux) May 16, 2016
@commy2 commy2 added Feature and removed WIP labels May 16, 2016
@Killswitch00
Copy link
Contributor

Killswitch00 commented May 16, 2016

Looks promising, with one quirk: there are getVariable and setVariable operations on a Display type entity in help\fnc_setVersionLine.sqf (support for variables on Display objects was added in 1.55):

terminate (_display getVariable [QGVAR(VerScript), scriptNull]);

That one causes an error in the Linux 1.54 build:

20:43:23 Error in expression <sses _config);
};

terminate (_display getVariable ["cba_help_VerScript", scrip>
20:43:23   Error position: <getVariable ["cba_help_VerScript", scrip>
20:43:23   Error getvariable: Type Display (dialog), expected Namespace,Object,Group,Control,Team member,Task,Location

@Killswitch00
Copy link
Contributor

Killswitch00 commented May 16, 2016

Next quirk: getUnitLoadout (1.58) is used in common\fnc_addBinocularMagazine.sqf and events\fnc_addPlayerEventHandler.sqf

getUnitLoadout is said to be experimental according to the Biki. Can these functions be made available only if one has 1.58+?

@Killswitch00
Copy link
Contributor

That about does it - A3 Linux port 1.54 loads without errors from CBA now.

@commy2 commy2 added this to the 2.3.2 milestone May 16, 2016
@Killswitch00 Killswitch00 merged commit 92228df into master May 16, 2016
@thojkooi thojkooi deleted the linuxcomp branch May 16, 2016 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants