Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

star citizen gamefixes #116

Merged
merged 1 commit into from
Aug 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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')
Loading