protonscr

Star Citizen

protonopen Game compatibility - Unofficial
ValveSoftware/Proton#7930 · opened 2024-07-25 by roadapathy · updated 2024-12-08 · 6 comments · github
2 matching comments, n / p to jump
Rroadapathy 2024-07-25 github

Compatibility Report

  • Name of the game with compatibility issues: Star Citizen
  • Steam AppID of the game: N/A

System Information

  • GPU: AMD RX 6700 TX
  • Video driver version: Mesa 24.0.9-0ubuntu0.1
  • Kernel version: 6.10 but also tried 6.8, 6.9
  • Link to full system information report as Gist:
  • Proton version: 9.0.2 and Proton Experimental

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

steam-18023288365968785408.log
steam-18023288365968785408.log

Symptoms

The installer will run but it won't install the game. When I download in Windows and copy the installed files onto the Linux partition, the game just won't run at all.

I know- this is not a Steam Game but Steam plays non-Steam games and this is a really important one. These are "fixes" for that game using UMU but I wouldn't know how to apply them to Proton code:

umu-starcitizen.py
""" Game fix for Star Citizen
"""
#pylint: disable=C0103

import os
from protonfixes import util # pylint: disable=E0401
from protonfixes.logger import log

def main():
    """ EAC Workaround
    """

    #eac workaround
    util.set_environment('EOS_USE_ANTICHEATCLIENTNULL','1')

    #needed for nvidia vulkan
    util.set_environment('WINE_HIDE_NVIDIA_GPU','1')

    #needed for amd vulkan
    util.set_environment('dual_color_blend_by_location','true')

    #override for white/black launcher
    util.winedll_override('libglesv2', 'builtin')
    #override for nvidia cards
    util.winedll_override('nvapi,nvapi64', 'disabled')
    #allow the RSI Launcher to auto-update itself
    util.winedll_override('powershell.exe', 'disabled')

    environments = ["LIVE","PTU","EPTU","TECH-PREVIEW"]

    for env in environments:
        #launcher fails to create these directories in wine so create them here instead
        #https://github.com/starcitizen-lug/knowledge-base/wiki#game-updates
        envPath = os.path.join(util.protonprefix(), "drive_c","Program Files", "Roberts Space Industries", "StarCitizen", env)
        if not os.path.exists(envPath):
            os.makedirs(envPath)
            log("created " + envPath)

Reproduction

Every one of my games works except for this so I thought that I would ask that it could be included in fixes. GE adds a fix, something called UMU has the fix, possibly Lutris does too?

Rroadapathy 2024-07-25 github

I was told to use Lutris or UMU but I don't want to. I like Steam Proton. It is incredible. It's high performance and it works on every game otherwise. I hope y'all don't mind me asking here.

Rroadapathy 2024-07-26 github

Update: Latest version of Lutris did not work out of the box for me. There are supposed to be workarounds. Steam Proton using Steam is really the best way to go in my humble opinion so I'm hoping for a black swan here, or hail Mary from the dev team.

Rroadapathy 2024-07-27 github

Cheat code: This script/tool is used to get Star Citizen working on Linux. It's not using Steam, unfortunately. It's a hassle to fuss with which is why I'm here hoping for a hail Mary.
https://github.com/starcitizen-lug/lug-helper#installation

Rroadapathy 2024-07-30 github

I'm leaving this from within the Lutris config files:

game:
exe: /home/joel/Games/star-citizen/drive_c/Program Files/Roberts Space Industries/RSI
Launcher/RSI Launcher.exe
prefix: /home/joel/Games/star-citizen
game_slug: star-citizen
name: Star Citizen
requires: null
script:
files:

  • client: https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.6.10.exe
    game:
    exe: $GAMEDIR/drive_c/Program Files/Roberts Space Industries/RSI Launcher/RSI
    Launcher.exe
    prefix: $GAMEDIR
    install_complete_text: "Installation Complete!\r\n\r\nPlease see our Wiki for important
    \ news and configuration requirements:\r\n\r\nhttps://starcitizen-lug.github.io"
    installer:
  • task:
    arch: win64
    prefix: /home/joel/Games/star-citizen
    wine_path: /home/joel/.local/share/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wine
  • task:
    arch: win64
    args: /S
    env:
    DXVK_HUD: '0'
    EOS_USE_ANTICHEATCLIENTNULL: '1'
    GAMEID: umu-starcitizen
    STORE: none
    WINE_HIDE_NVIDIA_GPU: '1'
    __GL_SHADER_DISK_CACHE: '1'
    __GL_SHADER_DISK_CACHE_SIZE: '1073741824'
    dual_color_blend_by_location: 'true'
    executable: /home/joel/.cache/lutris/installer/star-citizen/client/RSI-Setup-1.6.10.exe
    prefix: /home/joel/Games/star-citizen
    wine_path: /home/joel/.local/share/lutris/runners/wine/wine-ge-8-26-x86_64/bin/wine
  • execute:
    command: mkdir -p "$GAMEDIR/drive_c/Program Files/Roberts Space Industries/StarCitizen/"{LIVE,PTU,EPTU,TECH-PREVIEW}
    system:
    env:
    DXVK_HUD: 0
    EOS_USE_ANTICHEATCLIENTNULL: 1
    GAMEID: umu-starcitizen
    STORE: none
    WINE_HIDE_NVIDIA_GPU: 1
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_SIZE: 1073741824
    dual_color_blend_by_location: 'true'
    prefer_system_libs: true
    wine:
    dxvk: true
    dxvk_nvapi: false
    esync: true
    fsync: true
    overrides:
    powershell.exe: disabled
    system_winetricks: false
    slug: star-citizen-liveptu
    system:
    env:
    DXVK_HUD: '0'
    EOS_USE_ANTICHEATCLIENTNULL: '1'
    GAMEID: umu-starcitizen
    STORE: none
    WINE_HIDE_NVIDIA_GPU: '1'
    __GL_SHADER_DISK_CACHE: '1'
    __GL_SHADER_DISK_CACHE_SIZE: '1073741824'
    dual_color_blend_by_location: 'true'
    locale: ''
    prefer_system_libs: true
    variables: {}
    version: LIVE/PTU
    wine:
    dxvk: true
    dxvk_nvapi: false
    esync: true
    fsync: true
    overrides:
    powershell.exe: disabled
    system_winetricks: false
    version: wine-ge-8-26-x86_64
    year: 2016
Jjeinstei 2024-11-12 github

Just to update on this, I was able to use Lutris+proton (AUR) with the latest SC no problem when running in DX mode. It crashes when compiling vulkan shaders, though. I was going to try with proton-ge-custom and wine-ge-custom to see if they help, but thought it worth mention that it does seem to work.

I'm running using an AMD discrete GPU and RADV

Rrudiservo 2024-12-08 github

Game works fine ATM, just 2 minor nuisance issues:
EAC sometimes gives an error, you have to check game files, this happened to me in proton experimental mostly
FSR framegen issue, probably a game bug since it's still very alpha or a wayland thing, testing it with x11 right now.

Proton versions

Launch options