Skip to content

Commit

Permalink
Merge pull request #116 from mactan-sc/master
Browse files Browse the repository at this point in the history
star citizen gamefixes
  • Loading branch information
GloriousEggroll authored Aug 31, 2024
2 parents 78e8809 + c646ba3 commit 0c51dfa
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions gamefixes-umu/umu-starcitizen.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
""" Game fix for Star Citizen
"""
#pylint: disable=C0103
#pylint: disable=C0103,E0401

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

def main():
Expand All @@ -19,19 +19,5 @@ def main():
#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)
util.protontricks('powershell')

0 comments on commit 0c51dfa

Please sign in to comment.