Closed tatsujb closed 5 years ago
We planned on making a linux executable but we have not many linux developers that are willing to fix issues on linux
I set it up for dragonite today on Ubuntu. We needed to give file permissions to the downloaded ForgedAlliance.exe and use wine "%s"
as the command line. That was enough to run it from IntelliJ. But we were using oracle jdk 10.
yeah I figured it out it was kinda like brutus said. I'll post a video of how I did it
We would add it to the read me if you would do this with the newest version and not some unofficial version
i'm on it
Also the newest versions are in tar.gz that might be a little different to install (not sure)
heck yeah it will. it's less reliable then .deb. I can work with it anyways but my audience (whatever that is) won't enjoy the downgrade. here's crossing fingers for a .deb as part of releases one day :)
We can probably add that to future releases again, but that is rather a task for @micheljung i am not that much into that
.run would be best as it works on absolutely any linux distro.
so far can't get it to work
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be 10.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
why is there no flexibility here?
I uninstalled 8 and went to install 10 but the team packaging it skipped straight to 11 so those are kinda my two only options here (8/9 and 11).
I tried with both.
from what I understand java 10 code shouldn't be too deprecated by java 11 standards so running java 10 code with a java 11 runtime should work fine?
I don't understand why downlord FAF could be neither up or down compatible? how is that even possible?
surely a config file has a wrong parameter pre-build?
U need 10 you shall NOT USE java 11
Install open jre 10 should work
Did you set INSTALL4J_JAVA_HOME ?
Did you set INSTALL4J_JAVA_HOME ?
yes
Install open jre 10 should work
had issues
ok nevermind i figured it out the trick to forcing open jdk 10 is to uninstall, remove both webup and uprising repos and then add the uprising repos again and download the open jre 10 from that.
I'll update to say if it ran downlord faf
edit nope nevermind. that just defaults to oracle jdk 11 AGAIN
First off - you guys are doing amazing work. I've been lurking for some time and watching the code. I'll be trying to get this working on steamos and centos, so another Linux guy jumping into the fray.
Why JDK 10 rather than 11? In the process of getting from JDK 8 to 11(LTS) at work, which has been all sorts of fun.
On Sun, Nov 25, 2018 at 9:36 AM tatsujb notifications@github.com wrote:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FAForever/downlords-faf-client/issues/984#issuecomment-441449250, or mute the thread https://github.com/notifications/unsubscribe-auth/ACAzTFegG8swHYrUlTBCNMrk1l4IYP6cks5uyrj9gaJpZM4XLSZS .
Because making the release was more important right now than spend more time on migrating to JDK11. The timespan between 0.8 and 0.9 was over a year which introduced a lot of issues due to changes and regressions piling up.
Yah, figured as much. Fire and motion. Wish our work code was as clean as this 'play' code. :)
And java 11 has no java fx anymore u need to add it as dependency i think
what? that's a crazy move on their part! is adding java fx as a dependency a pain?
Not really also it makes java fx independent from java releases
I like the tar.gz honestly. I think it's easier for anyone not strictly on Ubuntu, but we can all do the extra work to extract it and install it to the correct places.
My notes:
After extracting and setting INSTALL4J_JAVA_HOME
, I still had one more step to make:
chmod +x ~/.faforever/bin/*.exe
it's more DIY then people are used to. ubuntu and linux distros in general have shed their "hard to use" nowadays you can use ubuntu even if you identify as a gamer and nothing else or even if you identify as a "grandma" and have more ease of use then windows by a huge margin.
People are switching to linux thanks to this and I'd like to encourage this movement by making faf one of those "plug-and-play" things on linux.
I got faf running from tarball by successfully forcing an install of java 10.
however the maintainer of wine-gallium nine broke compatibility with ubuntu 18.04.01 with his update to 3.20 so I'm kinda stuck.
sorry to have taken so long : https://www.youtube.com/watch?v=RRINgZQl7LU
@axel1200 new one up : https://www.youtube.com/watch?v=4B6EsXtL8C0
@axel1200 hey could we have that link updated to simply my script? https://github.com/tatsujb/installFAFscript that video has been outdated for a good while yet it's been getting a good number of views from that page.
@tatsujb added to the readme as well
hi!
the default parameter :
"%s"
is the wrong one . I was told at one point what it was now I can't remember.I remember I had been told this by somebody on the Downlord-FAF team and it was something like
"%w"
(this isn't it though, I tried) and it worked amazingly well it just linked to the game.but right now I can't remember what the args were.
I'm using lutris because that works now on ubuntu 18 whereas wine doesn't. it uses wine all the same but it's own wineprefix & configuration that for some reason just works.
here's my current setup :
Game Location :
/home/t/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Supreme Commander Forged Alliance
command line for executable :
"%s"
Execution directory :
"/opt/downlords-faf-client-0.9.0-beta-rc.3"
(which is apparently the default since I am running faf after
cd
'ing to this directory)the error I get is the following which doesn't really add up :
i allowed the executing of the exe btw
I've tried setting the Execution directory : to
/
but in that situation FAF has a progress bar that instantly goes away with nothing happening and no error message so I think it's worse.