acemod / ACE3

Open-source realism mod for Arma 3
https://ace3.acemod.org
Other
994 stars 735 forks source link

ACE3 on Linux clients #3137

Closed zacekjakub closed 5 years ago

zacekjakub commented 8 years ago

Hello,

I already tried it and the mod doesn't seem to me working on Linux client, is there any chance it should be supported now or later please? I can't live without ACE mod, but I am not going to support MS neither.

Thank you!

thojkooi commented 8 years ago

Isn't the linux client lacking multiple A3 versions behind? ACE3 always requires the latest A3 version.

That said - we should only have to compile our extensions with for example GCC. They should all be crossplatform already. @jaynus or @NouberNou you guys looked into this, right?

Otherwise pinging @KoffeinFlummi

commy2 commented 8 years ago

We should probably make a "Client Linux Port General / Sticky" and collect all information there.

zacekjakub commented 8 years ago

Something like "Client Linux Port General / Sticky" would be great. :) Thank you in advance.

PabstMirror commented 8 years ago

What version is the linux client on? As far as I know they are several version behind, so you will want to use an ace version from that era (eg: https://github.com/acemod/ACE3/releases/tag/v3.0.0 should work on ~1.44)

Other issue is the DLLs (until we can build .SO)

TheMagnetar commented 8 years ago

I am half way through the modification of c++ files in order to achieve this. I will make a pull request once I finish it.

zacekjakub commented 8 years ago

Hello, thank you. I am sure all Linux community appreciate it. I'll try the described steps asap and let you know. Is possible to disable parts like AB in any concrete config file? We can help to test anything needed and in case there would be required any action from a linux side, I can help with it.

commy2 commented 8 years ago

delete the PBOs. E.g. ace_fcs.pbo

zacekjakub commented 8 years ago

So, I just deleted:

Any idea?

Thank you very much for help.

commy2 commented 8 years ago

Bad version 68 in p3d file ''\ace\addons\optics\models\nwd_m22_5x.p3d'

Thats a model error. The model in ACE does not work with the games version, probably because it was made with a binarizer version that didn't exist in that Arma version. I think you need to test with an even older ACE version.

zacekjakub commented 8 years ago

Thank you, going to test and let you know again. :)

edit: But here is no older version, at least on Github.

commy2 commented 8 years ago

Strange. Is the legacy version of the Linux client even older than ACE3 ?

commy2 commented 8 years ago

If that would be the case, then you can still simply delete ace_optics.pbo. There is nothing vital in there.

zacekjakub commented 8 years ago

Awesome, it seems to be working with optics deleted, thank you so much. :)

New A3 patch for Linux ( the last one ) is going to be released in a couple of days.

zacekjakub commented 8 years ago

Hmm, after first mission load:

Bad version 68, this time reticle_titan.p3d

EDIT: Earplugs after the javelin. :))) EDIT2: After I deleted hearing, every mission seems to be working. I just expected the map to be shaking when I go, but it was probably added in some later version of ace. EDIT3: Unfortunately, almost nothing or nothing works, I will try with the new Arma version and let you know again. It would be great, if it worked.

PabstMirror commented 8 years ago

Bad version 68 are from compiled p3ds that were binerized with a new version of the tools than arma.

What are the versions of arma and ace? try 3.0.0 - https://github.com/acemod/ACE3/releases/tag/v3.0.0

zacekjakub commented 8 years ago

As already mentioned in the thread, I am trying it with ACE 3.0.0. and Arma 1.42.

commy2 commented 8 years ago

Arma 1.42. Release date: April 8, 2015

Yep. Too old.

PabstMirror commented 8 years ago

I managed to find an old build from April 17th 2015, which should put it on 1.42. I cannot test this, and this is ancient code with tons of bugs that have been fixed, so no guarantees this will work: but you are free to try this: http://expirebox.com/download/883c1da126fca514cf20d324a81e1b95.html

zacekjakub commented 8 years ago

Thank you, I will try. But it seems our best bet is to wait a couple of days for the updated release anyway. I'll bother you soon again after the release if anything won't work. :)

nicolasbadano commented 8 years ago

But it seems our best bet is to wait a couple of days for the updated release anyway

Sounds reasonable

zacekjakub commented 8 years ago

Hello, so I am back once again. :) The Linux current version is 1.54, could you tell me now what is the best ACE version for our Arma version please? I will start from scratch, try to run it and if I get it working, maybe we could together create some Linux ACE guide, if you would like to. Thanks guys.

jonpas commented 8 years ago

3.4.2 should be the latest to work on 1.54.

PabstMirror commented 8 years ago

I think we still need .so files or the game will not start. (.dlls compiled for linux)

zacekjakub commented 8 years ago

Thx jonpas, will try. PabstMirror: Did you even read the discussion?

zacekjakub commented 8 years ago

Unfortunately, after the mission is loaded: "ace_parse_imagepath not installed". And the mission ends. And the file from root of ace mod ace_parse_imagepath.dll was deleted of course.

jonpas commented 8 years ago

PabstMirror: Did you even read the discussion?

Of course he did, you can see he commented before, and gave you exactly the reason why it doesn't work.

zacekjakub commented 8 years ago

Oh sorry. I didn't notice. The last build u posted somehow worked for me after several modifications, but unfortunately, 1) I deleted it by mistake 2) It's not able to download the file anymore 3) It was anyway for version 1.42.

But thank you guys.

KoffeinFlummi commented 8 years ago

Due to armake i'm currently working on this. At this point there are 2-3 issues:

You can use 3.4.2, which should get rid of 1 & 3, 2 remains. As I said, currently working on it, will update with progress.

zacekjakub commented 8 years ago

Thank you very much. And some idea just of getting rid of problematic libraries? We dont care about version, it could be really older, but arma without ace is boring. :)

zacekjakub commented 8 years ago

Hello, still no progress? :)

commy2 commented 8 years ago

We won't make another ACE version that works with 1.54. They have to at least update the Linux branch to 1.58. Too many differences in the game for it to work with both versions.

zacekjakub commented 8 years ago

Ok, we will wait for the newer version again. I just hope you will not tell us we need to wait for newer version again. Yes, Linux A3 version is and probbably will be older than Windows, but it's not the reason not to freeze the Linux version couple of versions behind...

commy2 commented 8 years ago

The thing is that it's really difficult to support two so different versions of the game. We are struggling to even keep CBA compatible between both.

Stuff that works in 1.54 is broken in 1.58. Stuff that exists in 1.58 didn't in 1.54. And SQF has no smart way of figuring out what version you are on before the .sqf files are preprocessed. Some features are made to work with the 3den editor. That doesn't even exist on Linux.

zacekjakub commented 7 years ago

Hello, so nothing new at all? The Linux version is not going to work? Could I ask you to help me getting just one version of the game working with one version of ACE with some functions disabled? It would be absolutely greate, we really don't care about new versions, but still, we would like to play it. Thank you.

commy2 commented 7 years ago

BI will have to update the Linux client version.

zacekjakub commented 7 years ago

Hello, BI did their job: Linux version is .64 with APEX. I am getting now: bad version 8 in p3d file 'z\ace\addons\medical\data\bandage.p3d

Could you advice please? It's no issue to deactivate anything or do as you say, but we really want this to work.

commy2 commented 7 years ago

1.64 is not new enough. bad version 8 is due to models being binarized with tools newer than APEX being incompatible with old Arma versions. ACE will not work on the Linux port. They have to update to the current game version, not a slightly less outdated one. Sorry.

PabstMirror commented 7 years ago

3.8.2 should work at it was compiled for 1.64 so the p3ds would be loadable

But we still have no work done on extensions for linux which are required for clients.

zacekjakub commented 7 years ago

Hello, thank you very much, I am going to try the mentioned version.

zacekjakub commented 7 years ago

For the version 3.8.2: Bad version 72 in p3d file 'a3\vegetation_f_exp\clutter\grass\c_grassbunch_hi.p3d'

zacekjakub commented 7 years ago

Hello, so it works with a legacy version, thank you very much. Seems like most of features work without any issues, even Apex mission in multiplayer, no issues so far. It is great, we can stay on this version. :)

zacekjakub commented 7 years ago

Hey, one last thing to ask. :) Only bigger issue i found is, that in an interaction menu are missing texts, so I have no idea what does any picture mean. Any idea how to resolve just this problem?

Thanks!

soppelmann commented 7 years ago

Hey, Zacejakub. Could you tell us what legacy version you used? Very hopeful now to get it working myself. :)

elpasmo commented 7 years ago

I have the same issue as Zacejakub. Using ACE3 v3.8.2 with legacy version 1.64. All works but interaction menu texts are missing.

zacekjakub commented 7 years ago

Hey, I am glad I am not the only one trying to convince developers of ACE that Linux matters. :)

If you still need it, I can check my settings as I get home from work, even to send you all needed files or anything. It works pretty well, but the missing texts in interaction menu is still issue that would be nice to be resolved.

commy2 commented 7 years ago

It's not a matter of convincing us that Linux matters. But it's just not practical for us to support two different versions of the game that are essentially half a year or more in development apart. That would mean we would have to cut back in features and optimizations of the windows build and that is just not acceptable.

elpasmo commented 7 years ago

Thanks @zacekjakub No need for your settings though, we seem to be at the same page :)

@commy2 I understand the problematic involving to support two different branchs and you're right. On the other hand, maybe this issue has a nice and easy workaround... maybe it involves something more. We don't lose anything reporting it and maybe it will be even useful for the master branch. Who knows if we don't report it.

Anyway, thanks a lot for this great addon, I'm enjoying it a lot even considering the missing texts :+1:

zacekjakub commented 7 years ago

@commy2 Hi, nobody wrote we need every published version, we know about the problems releasing Linux version, but it's something different to release a new version every half a year for Linux and maybe to change one library you are currently using for showing texts in interaction menu, and something different to ignore it totally. We are currently glad we got something we can play with and the only issue that matters is the interaction menu. If you fix it for the only one working version at this moment, we can keep the same legacy until you decide it's time to release another one after a year maybe... Does it make sense?

Thank you.

soppelmann commented 7 years ago

Someone from the community could probably maintain a Linux build/fork of the project, shouldn't be too much work as the Linux version of Arma 3 is rarely if ever updated so dependencies breaking shouldn't be an issue. Are you up for it?

Also, the current working version for Arma 3 on linux appears to be v3.8.2, if there are any issues then delete the pbo's noted in this thread.

jonpas commented 7 years ago

If you are going to do that, then just use whatever ACE3 version works with that Arma version. If you want latest ACE3 on Linux version of Arma than it's not just that, but actual rewriting of components due to missing commands.