FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Linux install script (Lutris)

    Scheduled Pinned Locked Moved Contribution
    compatibilitylinuxlobbylutris
    23 Posts 10 Posters 4.8k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • FemboyF Offline
      Femboy Promotions team @Sereiya
      last edited by

      @sereiya Thanks for your hard work mate!

      FAF Website Developer

      1 Reply Last reply Reply Quote 0
      • L Offline
        Lamdarer @Sereiya
        last edited by Lamdarer

        @sereiya Thanks very much for the script I am not sure if I would have made it without it, also on Manjaro Xfce

        INSTALL4J_JAVA_HOME=/path/to/game/folder/openjdk15/ ./faf-client
        

        worked for me and I now see the launcher but I have twoone problems:

        1. this is a smaller one, can I somehow specify the INSTALL4J_JAVA_HOME=/path/to/game/folder/openjdk15 somewhere so that I can start the game through Lutris.

        2. This seems to be java related but it prevents me from logging in, java cant resolve lobby.faforever.com java.net.UnknownHostException: Failed to resolve 'lobby.faforever.com' (just while I am writing this it seems to be fixed by specifying the IP in my hosts file)

        So just 1., how can I make it so that I can run the mod through Lutris without the need to run INSTALL4J_JAVA_HOME=/path/to/game/folder/openjdk15/ ./faf-client every time I want to start the launcher?

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          Lamdarer @Lamdarer
          last edited by

          Sry if this is the wrong place for bug support but after I finally got the launcher working I thought the game would run as well, turns out it doesn't.

          When I am starting(or joining) a custom game the game starts but seems to load in the "Connecting" screen infinity and it seems that there are no errors in the console:

          2022-01-04 17:13:18.374  INFO 8373 --- [      Thread-46] c.f.client.fa.ForgedAllianceService      : Starting Forged Alliance with command: [%USER_PROFILE%/Games/forged-alliance-forever/run, %USER_PROFILE%/.faforever/bin/ForgedAlliance.exe, /init, init.lua, /nobugreport, /log, %USER_PROFILE%/.faforever/logs/game_16054279.log, /gpgnet, 127.0.0.1:63025, /mean, 1500.0, /deviation, 500.0, /savereplay, gpgnet://127.0.0.1:33381/16054279/Lamdarer.SCFAreplay, /country, DE, /numgames, 0, /numgames, 0] in directory: %USER_PROFILE%/.faforever/bin
          wineserver: using server-side synchronization.
          Setting breakpad minidump AppID = 9420
          Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198329369279 [API loaded no]
          info:  Game: ForgedAlliance.exe
          info:  DXVK: v1.7-8-g51531e4a7
          info:  Built-in extension providers:
          info:    Win32 WSI
          info:    OpenVR
          Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
          warn:  OpenVR: Failed to initialize OpenVR
          info:  Enabled instance extensions:
          info:    VK_KHR_get_surface_capabilities2
          info:    VK_KHR_surface
          info:    VK_KHR_win32_surface
          warn:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
          info:  NVIDIA GeForce GTX 1060 6GB:
          info:    Driver: 495.44.0
          info:    Vulkan: 1.2.186
          info:    Memory Heap[0]: 
          info:      Size: 6144 MiB
          info:      Flags: 0x1
          info:      Memory Type[7]: Property Flags = 0x1
          info:    Memory Heap[1]: 
          info:      Size: 11988 MiB
          info:      Flags: 0x0
          info:      Memory Type[0]: Property Flags = 0x0
          info:      Memory Type[1]: Property Flags = 0x0
          info:      Memory Type[2]: Property Flags = 0x0
          info:      Memory Type[3]: Property Flags = 0x0
          info:      Memory Type[4]: Property Flags = 0x0
          info:      Memory Type[5]: Property Flags = 0x0
          info:      Memory Type[6]: Property Flags = 0x0
          info:      Memory Type[8]: Property Flags = 0x6
          info:      Memory Type[9]: Property Flags = 0xe
          info:    Memory Heap[2]: 
          info:      Size: 246 MiB
          info:      Flags: 0x1
          info:      Memory Type[10]: Property Flags = 0x7
          info:  Process set as DPI aware
          info:  Device properties:
          info:    Device name:     : NVIDIA GeForce GTX 1060 6GB
          info:    Driver version   : 495.44.0
          info:  Enabled device extensions:
          info:    VK_EXT_depth_clip_enable
          info:    VK_EXT_full_screen_exclusive
          info:    VK_EXT_host_query_reset
          info:    VK_EXT_shader_demote_to_helper_invocation
          info:    VK_EXT_shader_viewport_index_layer
          info:    VK_EXT_transform_feedback
          info:    VK_EXT_vertex_attribute_divisor
          info:    VK_KHR_create_renderpass2
          info:    VK_KHR_depth_stencil_resolve
          info:    VK_KHR_draw_indirect_count
          info:    VK_KHR_driver_properties
          info:    VK_KHR_image_format_list
          info:    VK_KHR_sampler_mirror_clamp_to_edge
          info:    VK_KHR_swapchain
          info:  Device features:
          info:    robustBufferAccess                     : 1
          info:    fullDrawIndexUint32                    : 1
          info:    imageCubeArray                         : 1
          info:    independentBlend                       : 1
          info:    geometryShader                         : 1
          info:    tessellationShader                     : 0
          info:    sampleRateShading                      : 1
          info:    dualSrcBlend                           : 0
          info:    logicOp                                : 0
          info:    multiDrawIndirect                      : 0
          info:    drawIndirectFirstInstance              : 0
          info:    depthClamp                             : 1
          info:    depthBiasClamp                         : 1
          info:    fillModeNonSolid                       : 1
          info:    depthBounds                            : 1
          info:    multiViewport                          : 1
          info:    samplerAnisotropy                      : 1
          info:    textureCompressionBC                   : 1
          info:    occlusionQueryPrecise                  : 1
          info:    pipelineStatisticsQuery                : 1
          info:    vertexPipelineStoresAndAtomics         : 1
          info:    fragmentStoresAndAtomics               : 0
          info:    shaderImageGatherExtended              : 0
          info:    shaderStorageImageExtendedFormats      : 1
          info:    shaderStorageImageReadWithoutFormat    : 0
          info:    shaderStorageImageWriteWithoutFormat   : 1
          info:    shaderClipDistance                     : 1
          info:    shaderCullDistance                     : 1
          info:    shaderFloat64                          : 0
          info:    shaderInt64                            : 0
          info:    variableMultisampleRate                : 0
          info:  VK_EXT_conditional_rendering
          info:    conditionalRendering                   : 0
          info:  VK_EXT_custom_border_color
          info:    customBorderColors                     : 0
          info:    customBorderColorWithoutFormat         : 0
          info:  VK_EXT_depth_clip_enable
          info:    depthClipEnable                        : 1
          info:  VK_EXT_host_query_reset
          info:    hostQueryReset                         : 1
          info:  VK_EXT_memory_priority
          info:    memoryPriority                         : 0
          info:  VK_EXT_robustness2
          info:    robustBufferAccess2                    : 0
          info:    robustImageAccess2                     : 0
          info:    nullDescriptor                         : 0
          info:  VK_EXT_shader_demote_to_helper_invocation
          info:    shaderDemoteToHelperInvocation         : 1
          info:  VK_EXT_transform_feedback
          info:    transformFeedback                      : 0
          info:    geometryStreams                        : 0
          info:  VK_EXT_vertex_attribute_divisor
          info:    vertexAttributeInstanceRateDivisor     : 1
          info:    vertexAttributeInstanceRateZeroDivisor : 1
          info:  Queue families:
          info:    Graphics : 0
          info:    Transfer : 1
          Fossilize INFO: Overriding serialization path: "/home/myusername/.local/share/Steam/steamapps/shadercache/9420/fozpipelinesv6/steamapprun_pipeline_cache".
          Fossilize INFO: engineVersion 4222976 is too low for pEngineName DXVK. Skipping.
          Fossilize INFO: engineVersion 4222976 is too low for pEngineName DXVK. Skipping.
          info:  DXVK: Read 0 valid state cache entries
          info:  DXVK: Using 5 compiler threads
          info:  D3D9DeviceEx::ResetSwapChain:
          info:    Requested Presentation Parameters
          info:      - Width:              2560
          info:      - Height:             1440
          info:      - Format:             D3D9Format::A8R8G8B8
          info:      - Auto Depth Stencil: false
          info:                  ^ Format: D3D9Format::Unknown
          info:      - Windowed:           false
          info:  Presenter: Actual swap chain properties:
          info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
          info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
          info:    Buffer size:  2560x1440
          info:    Image count:  2
          info:    Exclusive FS: 0
          info:  Setting display mode: 2560x1440@60
          warn:  D3D9DeviceEx::SetRenderState: Unhandled render state D3DRS_ADAPTIVETESS_X
          warn:  D3D9DeviceEx::SetRenderState: Unhandled render state D3DRS_ADAPTIVETESS_Y
          warn:  D3D9DeviceEx::SetRenderState: Unhandled render state D3DRS_ADAPTIVETESS_W
          info:  Presenter: Actual swap chain properties:
          info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
          info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
          info:    Buffer size:  2560x1440
          info:    Image count:  2
          info:    Exclusive FS: 0
          
          

          Maybe someone has an idea what I could try to get the game starting or the be able to join a game.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post