LINUX SUPPORT IS HERE

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Re: LINUX SUPPORT IS HERE

Postby Little Miss Murder » 24 Apr 2019, 17:15

Podli, is your FAF set up correctly? In the FAF settings, under "Forged Alliance Forever"?

My game location is set as the following - this points to the steam local files (which of course you can verify from within the Steam client)

Code: Select all
/home/rhianne/.steam/steam/steamapps/common/Supreme Commander Forged Alliance


(this matches the entry in fa_path.lua:)
Code: Select all
fa_path = "/home/rhianne/.steam/steam/steamapps/common/Supreme Commander Forged Alliance"


Back on the settings - the Command line executable format below that:

Code: Select all
/home/rhianne/faf/run "%s"


The execution directory setting is blank (Default Directory).

My client is installed in a subdirectory of the directory ~/faf. I'm not sure what the exec format thing does. My .desktop file for the client contains the following:

Code: Select all
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Terminal=false
Name=Forged Alliance Forever
Icon=/home/rhianne/faf/cybran.png
Exec=bash -c "cd /home/rhianne/faf/downlords-faf-client-0.10.3-beta/; ./downlords-faf-client"
StartupWMClass="com.faforever.client.FafClientApplication", "com.faforever.client.FafClientApplication"
Name[en_GB]=Forged Alliance Forever


herewith my client.prefs for you to compare:

Code: Select all
{
  "mainWindow": {
    "width": 1879,
    "height": 1046,
    "maximized": false,
    "lastView": "CHAT",
    "lastChildViews": {},
    "x": 41.0,
    "y": 34.0,
    "backgroundImagePath": "/home/rhianne/Pictures/backgrounds/flat-remix-dark.png"
  },
  "forgedAlliance": {
    "path": "/home/rhianne/.steam/steam/steamapps/common/Supreme Commander Forged Alliance",
    "customMapsDirectory": "/home/rhianne/My Games/Gas Powered Games/Supreme Commander Forged Alliance/Maps",
    "preferencesFile": "/home/rhianne/.wine/drive_c/users/rhianne/Application Data/Gas Powered Games/Supreme Commander Forged Alliance/Game.prefs",
    "officialMapsDirectory": "/home/rhianne/faf/downlords-faf-client-0.9.4-beta/./Maps",
    "modsDirectory": "/home/rhianne/My Games/Gas Powered Games/Supreme Commander Forged Alliance/Mods",
    "port": 6112,
    "autoDownloadMaps": true,
    "executableDecorator": "/home/rhianne/faf/run \"%s\""
  },
  "login": {
    "username": "LittleMissMurder",
    "password": "---xXxXxXxXxXxX---",
    "autoLogin": true
  },
  "chat": {
    "zoom": 1.0,
    "learnedAutoComplete": false,
    "previewImageUrls": true,
    "maxMessages": 500,
    "chatColorMode": "RANDOM",
    "channelTabScrollPaneWidth": 250,
    "userToColor": {},
    "hideFoeMessages": true,
    "timeFormat": "AUTO",
    "chatFormat": "COMPACT",
    "idleThreshold": 10
  },
  "notification": {
    "soundsEnabled": true,
    "transientNotificationsEnabled": true,
    "mentionSoundEnabled": true,
    "infoSoundEnabled": true,
    "warnSoundEnabled": true,
    "errorSoundEnabled": true,
    "friendOnlineToastEnabled": true,
    "friendOfflineToastEnabled": true,
    "ladder1v1ToastEnabled": false,
    "friendOnlineSoundEnabled": false,
    "friendOfflineSoundEnabled": false,
    "friendJoinsGameSoundEnabled": true,
    "friendPlaysGameSoundEnabled": false,
    "friendPlaysGameToastEnabled": false,
    "privateMessageSoundEnabled": false,
    "privateMessageToastEnabled": true,
    "friendJoinsGameToastEnabled": true,
    "notifyOnAtMentionOnlyEnabled": false,
    "afterGameReviewEnabled": false,
    "toastPosition": "BOTTOM_RIGHT",
    "toastScreen": 0,
    "toastDisplayTime": 5000
  },
  "themeName": "default",
  "lastGameType": "faf",
  "localization": {},
  "lastGameTitle": "Well get in then",
  "lastMap": "SCMP_009",
  "rememberLastTab": true,
  "showPasswordProtectedGames": false,
  "showModdedGames": false,
  "ignoredNotifications": [],
  "lastGameMinRating": 0,
  "lastGameMaxRating": 9999,
  "gamesViewMode": "tilesButton",
  "ladder1v1": {
    "factions": [
      "aeon",
      "cybran",
      "uef",
      "seraphim"
    ]
  },
  "news": {
    "lastReadNewsUrl": "http://direct.faforever.com/2019/04/king-of-setons-clutch/"
  },
  "developer": {
    "gameRepositoryUrl": "https://github.com/FAForever/fa.git"
  },
  "vaultPrefs": {
    "onlineReplaySortConfig": {
      "sortProperty": "startTime",
      "sortOrder": "DESC"
    },
    "mapSortConfig": {
      "sortProperty": "latestVersion.updateTime",
      "sortOrder": "DESC"
    },
    "modVaultConfig": {
      "sortProperty": "latestVersion.createTime",
      "sortOrder": "DESC"
    }
  },
  "gameListSorting": [],
  "gameTileSortingOrder": "PLAYER_DES",
  "unitDataBaseType": "RACKOVER",
  "storedCookies": {},
  "lastGameOnlyFriends": false
}
Little Miss Murder
Avatar-of-War
 
Posts: 229
Joined: 30 Mar 2019, 12:20
Has liked: 132 times
Been liked: 29 times
FAF User Name: Little Miss Murder

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 24 Apr 2019, 19:13

i think his real problem will be this
java.io.FileNotFoundException: http://content.faforever.com/bireus/lad ... /info.json
https://pastebin.com/Pwn0eeZJ

i have no idea why he is getting this tho.


@Podli
- what is your FAF client version? should be v0.10.4-beta (or maybe v0.10.3-beta)
- can you create/start team games?
- what is your FAF client settings look like? in the client -> Settings -> Forged Alliance Forever


"Hello and Welcome" btw. o/


@Little Miss Murder
"password": "---xXxXxXxXxXxX---",
nice password hash editing skillz. :D

Notice: the .forever/client.prefs file contains the hashed form of your password.
 
foodlfg
Avatar-of-War
 
Posts: 165
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 69 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby callcifer » 24 Apr 2019, 19:22

Little Miss Murder wrote:
Code: Select all
/home/rhianne/...


As in the Aeon princess? :lol:
callcifer
Crusader
 
Posts: 25
Joined: 31 Mar 2019, 20:34
Has liked: 2 times
Been liked: 13 times
FAF User Name: callcifer

Re: LINUX SUPPORT IS HERE

Postby tatsu » 24 Apr 2019, 21:00

Podli wrote:...

I think it's likely your settings in FAF are wrong, or in the run file. if you're on discord I can help out.
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby Little Miss Murder » 25 Apr 2019, 09:13

callcifer wrote:
Little Miss Murder wrote:
Code: Select all
/home/rhianne/...


As in the Aeon princess? :lol:


It happens to be my name. 8-)
Little Miss Murder
Avatar-of-War
 
Posts: 229
Joined: 30 Mar 2019, 12:20
Has liked: 132 times
Been liked: 29 times
FAF User Name: Little Miss Murder

Re: LINUX SUPPORT IS HERE

Postby Little Miss Murder » 27 Apr 2019, 21:33

I have had a recurring issue with the client since the beginning. I have my FAF lobby windowed, and upon launching the game, the lobby disappears and I have to manually click on the FA icon in the dash in order to switch to it. In other words, FA is being launched in a hidden state instead of the java client raising the new FA window and giving it focus.

I'm on Ubuntu 18.04. Any ideas?
Little Miss Murder
Avatar-of-War
 
Posts: 229
Joined: 30 Mar 2019, 12:20
Has liked: 132 times
Been liked: 29 times
FAF User Name: Little Miss Murder

Re: LINUX SUPPORT IS HERE

Postby callcifer » 27 Apr 2019, 21:57

Little Miss Murder wrote:I have had a recurring issue with the client since the beginning. I have my FAF lobby windowed, and upon launching the game, the lobby disappears and I have to manually click on the FA icon in the dash in order to switch to it. In other words, FA is being launched in a hidden state instead of the java client raising the new FA window and giving it focus.

I'm on Ubuntu 18.04. Any ideas?


No idea I'm afraid. I have FAF on a second monitor and not maximized and it stays there when the game is launched.
callcifer
Crusader
 
Posts: 25
Joined: 31 Mar 2019, 20:34
Has liked: 2 times
Been liked: 13 times
FAF User Name: callcifer

Re: LINUX SUPPORT IS HERE

Postby will1432 » 27 Apr 2019, 23:21

I have a issue where I can not get the jdk 10 anywhere! tried the script tried manual tried everything and it will not work!
will1432
 
Posts: 1
Joined: 27 Apr 2019, 23:11
Has liked: 0 time
Been liked: 0 time
FAF User Name: will1432

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 28 Apr 2019, 08:57

@will1432
so you cannot launch the java FAF the client?
- what happens when you try to launch it? do you have error message in the terminal or anything?
- where is your jdk10 located (full path pls)?
- where is your java client located (full path pls)?
- how do you try to start the client, what is the terminal command?

we cannot help if we don't know the specifics.

download the jdk from here:
https://wiki.faforever.com/index.php?ti ... openJDK_10
(generally, follow the wiki)
 
foodlfg
Avatar-of-War
 
Posts: 165
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 69 times
FAF User Name: foodlfg

Re: LINUX SUPPORT IS HERE

Postby foodlfg » 28 Apr 2019, 09:07

oh i might get what his problem is...
the download site doesn't work when you try to download it. lol


EDIT

if you cannot get jdk10 then try this:
NOTE: this is a retarded approach

- install java11 from Ubuntu repositories
Code: Select all
sudo apt install openjdk-11-jdk


- the starter script for the client has a test function for the java version. change it to java11. 10 -> 11
this line
Code: Select all
if [ "$ver_major" -lt "10" ]; then -> if [ "$ver_major" -lt "11" ]; then

the other line
Code: Select all
if [ "$ver_major" -gt "10" ]; then -> if [ "$ver_major" -gt "11" ]; then


map downloads work and i could join lobbies and start games. it's more than nothing. ^^"

i've launched the client with
Code: Select all
export INSTALL4J_JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64/
./downlords-faf-client





ALSO
i've uploaded my own jdk10 from the archive site:
https://drive.google.com/open?id=15fUtB ... XAyFOAUQ5W
 
foodlfg
Avatar-of-War
 
Posts: 165
Joined: 17 Dec 2017, 19:28
Has liked: 22 times
Been liked: 69 times
FAF User Name: foodlfg

PreviousNext

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron