Forged Alliance Forever Forged Alliance Forever Forums 2019-12-15T15:36:24+02:00 /feed.php?f=2&t=16947 2019-12-15T15:36:24+02:00 2019-12-15T15:36:24+02:00 /viewtopic.php?t=16947&p=180434#p180434 <![CDATA[Re: How I got FAF running on a Mac]]>
tatsu wrote:
I'm hammering away at it night and day. it's already really robust and performant for all ubuntu based distros + debian.

Mac is another beast but maybe I should be able to do it.


Hey Tatsu, did you get this working? I've got some friends who would love to play but only have Macs....

Statistics: Posted by Capt_Bucky_OHare — 15 Dec 2019, 15:36


]]>
2019-04-20T18:56:35+02:00 2019-04-20T18:56:35+02:00 /viewtopic.php?t=16947&p=173643#p173643 <![CDATA[Re: How I got FAF running on a Mac]]> Statistics: Posted by Heaven — 20 Apr 2019, 18:56


]]>
2019-04-17T11:45:08+02:00 2019-04-17T11:45:08+02:00 /viewtopic.php?t=16947&p=173539#p173539 <![CDATA[Re: How I got FAF running on a Mac]]>
Mac is another beast but maybe I should be able to do it.

Statistics: Posted by tatsu — 17 Apr 2019, 11:45


]]>
2019-04-17T11:30:45+02:00 2019-04-17T11:30:45+02:00 /viewtopic.php?t=16947&p=173538#p173538 <![CDATA[Re: How I got FAF running on a Mac]]>
tatsu wrote:
nrook wrote:...

hey dude, I got this script now : https://github.com/tatsujb/installFAFsc ... /README.md

I'm looking to port it to mac. I need your help. technically it's a done deal but it'll require a fair bit of adaptation and I'll need someone who's savvy with mac to guide me, are you down? :D


A script. would be much appreciated if you are able to get it to work.

I wanted to try and setup FAF without bootcamp on my laptop. Was able to install Steam and FA. but no joy getting any of the clients for FAF to work :P

Statistics: Posted by Androish — 17 Apr 2019, 11:30


]]>
2019-03-14T00:10:25+02:00 2019-03-14T00:10:25+02:00 /viewtopic.php?t=16947&p=172733#p172733 <![CDATA[Re: How I got FAF running on a Mac]]>
nrook wrote:
...

hey dude, I got this script now : https://github.com/tatsujb/installFAFsc ... /README.md

I'm looking to port it to mac. I need your help. technically it's a done deal but it'll require a fair bit of adaptation and I'll need someone who's savvy with mac to guide me, are you down? :D

Statistics: Posted by tatsu — 14 Mar 2019, 00:10


]]>
2018-11-25T21:50:27+02:00 2018-11-25T21:50:27+02:00 /viewtopic.php?t=16947&p=169862#p169862 <![CDATA[Re: How I got FAF running on a Mac]]> Statistics: Posted by tatsu — 25 Nov 2018, 21:50


]]>
2018-11-24T17:27:21+02:00 2018-11-24T17:27:21+02:00 /viewtopic.php?t=16947&p=169834#p169834 <![CDATA[Re: How I got FAF running on a Mac]]> Statistics: Posted by nrook — 24 Nov 2018, 17:27


]]>
2018-11-24T09:13:15+02:00 2018-11-24T09:13:15+02:00 /viewtopic.php?t=16947&p=169819#p169819 <![CDATA[Re: How I got FAF running on a Mac]]>
pure insanity tho. i would just have duel booted or something.

Statistics: Posted by Cuddles — 24 Nov 2018, 09:13


]]>
2018-11-24T05:33:20+02:00 2018-11-24T05:33:20+02:00 /viewtopic.php?t=16947&p=169818#p169818 <![CDATA[How I got FAF running on a Mac]]>
I basically started by following this guide: https://wiki.faforever.com/index.php?ti ... hon_client

except I changed things whenever I had to.

I installed Steam with PlayOnMac, which is basically just a wrapper around Wine. Once I had Steam I installed FA in there. At first Steam wouldn't download anything, I had to change it to use different download servers for some reason, using some weird advice I saw on Reddit or something. I don't remember exactly what I had to do here but it was annoying.

I used the original FAF client because I know more about Python than Java, sorry Downlord.

I had to do dumb stuff to get faf-uid working because there isn't a compiled Mac (BSD) client. Specifically, I downloaded the linux faf-uid, then I installed this program called "noah" with homebrew. It is basically Wine for Linux -> BSD. Then I renamed faf-uid to real-faf-uid, and in the place of faf-uid put this script:

Code:
#!/bin/bash
noah $(dirname "$0")/real-faf-uid "$@"


I don't know if this actually works well or not, so don't blame me if you get autobanned 8-)

For the FA directory, I used the directory from the WIne client. PlayOnMac installs everything in "$HOME/Library/PlayOnMac/wineprefix/Steam/drive_c" so look there.

Finally it was really hard to debug why launching FA was working or not working. As such I just gave up and used this as the "exe" in the [wine] section of FA Lobby.ini:

Code:
[wine]
exe=/Users/nrook/code/faf-client/dumb_wine_shim


Of course dumb_wine_shim is something I wrote myself. It is another dumb script, here is its contents:

Code:
export WINEPREFIX=/Users/nrook/Library/PlayOnMac/wineprefix/steam
/Users/nrook/Library/PlayOnMac/wine/darwin-x86/3.17/bin/wine "$@" >/Users/nrook/FAForever/logs/winestdout 2>/Users/nrook/FAForever/logs/winestderr


Since it pipes the output of wine, it is way easier trying to figure out why FA decided not to boot than going through forever.log or gamesession.log.

So that is how I got FAF running. Hopefully this is slightly helpful to anyone trying this. It is not supported and will probably break randomly but oh well. I haven't actually played a multi game with it because my network is currently bad, but vs AI worked, and connecting in lobby worked, so it will probably work.

Statistics: Posted by nrook — 24 Nov 2018, 05:33


]]>