mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-07-15 23:30:49 +00:00
Compare commits
430 Commits
ae9d34e943
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
f942b148f2 | ||
|
f814718f90 | ||
|
4139c303f5 | ||
|
be7f2fab03 | ||
|
292995b822 | ||
|
262862e3d4 | ||
|
1b19a7fae6 | ||
|
601f90a7d8 | ||
|
6d252f37ab | ||
|
0a87d02434 | ||
|
d65bfc8775 | ||
|
4f13210779 | ||
|
4d2966b4de | ||
|
df67c7bbc6 | ||
|
2673cc0c16 | ||
|
f25e6b47a9 | ||
|
69eb444702 | ||
|
32d3f1bbd8 | ||
|
18829baa2b | ||
|
43f75b1f71 | ||
|
1f6c07f2e5 | ||
|
2ab1417865 | ||
|
332e015579 | ||
|
6b6dd5d7fe | ||
|
8685f7f83b | ||
|
2a22e7d53b | ||
|
17ab3e9049 | ||
|
dc12996e08 | ||
|
d5219c5ce7 | ||
|
334d80d65e | ||
|
3877567cd7 | ||
|
b59b48b567 | ||
|
f5ba8ab251 | ||
|
87b918c38c | ||
|
dc832bc80b | ||
|
3b063ddcdc | ||
|
85134ea3f6 | ||
|
4f1b90e55d | ||
|
8da706d6b4 | ||
|
a9cd581305 | ||
|
8fca12d0d3 | ||
|
855e94f942 | ||
|
d8e2ee6658 | ||
|
ef5870bf7a | ||
|
389414586c | ||
|
11f8c16c66 | ||
|
b83a59b6bb | ||
|
f13471959a | ||
|
6bb397a9ca | ||
|
68f06af8d6 | ||
|
468f3f704a | ||
|
ce804af1da | ||
|
f2d601bc0b | ||
|
81d6a10d05 | ||
|
344c4b3dec | ||
|
d75e610e99 | ||
|
5dd77b1643 | ||
|
b078f5fa13 | ||
|
6c78a42dd8 | ||
|
16edb38e27 | ||
|
223e09bcbc | ||
|
4e58326fb2 | ||
|
908c296523 | ||
|
cd157d99a5 | ||
|
d7d5d3387d | ||
|
f15ed324dd | ||
|
68405428d1 | ||
|
01b8332a9b | ||
|
f127d731bd | ||
|
aa925b6038 | ||
|
4e90c8fb2c | ||
|
8ead029cdb | ||
|
7275721f32 | ||
|
f9ac764bd4 | ||
|
c4f095bce2 | ||
|
a356af1dbf | ||
|
ae42e057ea | ||
|
abbe5280df | ||
|
5f2ed3ee14 | ||
|
04f2a73f04 | ||
|
fbcb59dd35 | ||
|
aa81c7783a | ||
|
0d6ce881f8 | ||
|
8089356a1d | ||
|
cfafeae60d | ||
|
92d5a35a93 | ||
|
8346b59625 | ||
|
bb47de221e | ||
|
22cf849993 | ||
|
1121e5419d | ||
|
a7dfe90651 | ||
|
b43a3d5711 | ||
|
8aa3a495e9 | ||
|
9297d6b873 | ||
|
a889f43525 | ||
|
546574eb78 | ||
|
c49f097fc8 | ||
|
e7ba317557 | ||
|
4896db1e5d | ||
|
f5ee994599 | ||
|
82bc723df3 | ||
|
17f3381d2c | ||
|
84a6f840fd | ||
|
e4fa22055a | ||
|
1a7602b893 | ||
|
4bc52dd14b | ||
|
61c3e82e66 | ||
|
c9f9bc6811 | ||
|
d43b92d866 | ||
|
55207a90ae | ||
|
45960a70f9 | ||
|
62bbfd1fc4 | ||
|
6de9d30051 | ||
|
14a158ae09 | ||
|
ff459abfb6 | ||
|
1e1793bcac | ||
|
8deb64916e | ||
|
89a9f444e0 | ||
|
133ac19a3a | ||
|
eb0bff1fc2 | ||
|
370f4421d2 | ||
|
b4c2ab51ea | ||
|
853c6fc499 | ||
|
ca39caf92b | ||
|
86f3b3b1f6 | ||
|
969876db30 | ||
|
b6c0daa113 | ||
|
f709ecf822 | ||
|
af58a6009b | ||
|
10b73fa9ef | ||
|
69402da226 | ||
|
5e248eb3a7 | ||
|
c91e3a9664 | ||
|
dd30f454e1 | ||
|
ea331a6cae | ||
|
7a75a9073b | ||
|
289a1c282d | ||
|
b62c1775b0 | ||
|
5d689ac247 | ||
|
d4e81793e1 | ||
|
e270094435 | ||
|
2f341ee26e | ||
|
6b314b9050 | ||
|
d6f2917bdd | ||
|
f2ae1cfeca | ||
|
78fc70f599 | ||
|
ab76eb2ca8 | ||
|
aee1c02693 | ||
|
713f9e49d1 | ||
|
579fc737d8 | ||
|
940a5703fe | ||
|
3f2afb8fc6 | ||
|
2e32e29a3c | ||
|
773233ba9b | ||
|
9f1760cd42 | ||
|
5ad8a4eb80 | ||
|
1b50dadccc | ||
|
4828e378c8 | ||
|
938c7ef42a | ||
|
bc3b6e13ca | ||
|
78ba5b6513 | ||
|
29e35cba5e | ||
|
391e1b70a0 | ||
|
2764284d12 | ||
|
ff049860d1 | ||
|
15e737cfcb | ||
|
e242349c58 | ||
|
e6479bf310 | ||
|
407a4af9bc | ||
|
916c489f38 | ||
|
0a226b35de | ||
|
847d57ae85 | ||
|
2f4be46dc9 | ||
|
f9c85e277c | ||
|
9d2adafbab | ||
|
b10ac91952 | ||
|
df7d8e1dff | ||
|
b9312cf69d | ||
|
7a0c85431a | ||
|
78a98f24a7 | ||
|
0ca4c76ef8 | ||
|
2af88d978e | ||
|
991eb4b59e | ||
|
da89912061 | ||
|
711afb621f | ||
|
c912a6c379 | ||
|
2fbc5da07a | ||
|
929bcf0a20 | ||
|
8cf6468b20 | ||
|
428e82f474 | ||
|
a373639a6a | ||
|
de8da00221 | ||
|
2c375b53f6 | ||
|
a246618ee3 | ||
|
1bf5b8f0d5 | ||
|
7ed580700a | ||
|
20adc7d154 | ||
|
57267032b0 | ||
|
12a869c136 | ||
|
f68a35c560 | ||
|
9240094e65 | ||
|
c00f3fee92 | ||
|
9e027c8c7e | ||
|
d68fedf0cd | ||
|
a353b5cf6e | ||
|
6783995463 | ||
|
76ee647839 | ||
|
ede44a5327 | ||
|
9bc91d2ca1 | ||
|
e83768b9ed | ||
|
df491c5967 | ||
|
c3ff559e03 | ||
|
897936ea4b | ||
|
89abb7fbe4 | ||
|
9361fa3305 | ||
|
c76f77c525 | ||
|
0f8840e903 | ||
|
186d376121 | ||
|
edeff91678 | ||
|
145f112126 | ||
|
d99c10238e | ||
|
5a865bf1c7 | ||
|
5bccb17448 | ||
|
9ea910fab7 | ||
|
b07428f52b | ||
|
29468d6e24 | ||
|
cf570c1d9d | ||
|
cf2f9b9315 | ||
|
f10844face | ||
|
a55fa4a352 | ||
|
daf19d821d | ||
|
c20e91e1e8 | ||
|
8167ae9a40 | ||
|
2366b08bc5 | ||
|
f7b96f167f | ||
|
881eff9b1d | ||
|
efe9b10f7c | ||
|
0bd64bd3f1 | ||
|
ed89dde6b0 | ||
|
faeb1db724 | ||
|
1aa2834a5c | ||
|
209a695ba5 | ||
|
284fc1a1b2 | ||
|
edcfcd9eb9 | ||
|
8c7b8cc971 | ||
|
240ec8d0b8 | ||
|
e6967e4cb9 | ||
|
3b7f1ed377 | ||
|
b57e1ccaa8 | ||
|
48d169925f | ||
|
c2ac15f66f | ||
|
98e792072a | ||
|
c718ff97bd | ||
|
0a829ab22f | ||
|
d87c0e55df | ||
|
85f4d64608 | ||
|
e869d64a62 | ||
|
4191b35f11 | ||
|
b67cd4a0f5 | ||
|
5d73fce50e | ||
|
519c5ac3f9 | ||
|
7014cf58f7 | ||
|
84fde4af35 | ||
|
3079db9dfa | ||
|
1ba8b0b769 | ||
|
98ff717b4a | ||
|
24c067c997 | ||
|
de3c6abfa9 | ||
|
2500edbc61 | ||
|
07464aeee4 | ||
|
802b61d8f8 | ||
|
1929f37f6d | ||
|
50fbebb2b0 | ||
|
0f75732a94 | ||
|
16aabfce76 | ||
|
a2f9ad67e8 | ||
|
85938779ce | ||
|
568dc73172 | ||
|
f5e7eeaad2 | ||
|
0561e5ade8 | ||
|
0548d8362d | ||
|
f30ed32da8 | ||
|
7eaae232f6 | ||
|
99a22bdcdc | ||
|
2e6b08fd27 | ||
|
a27a90dea5 | ||
|
b548b6f3c5 | ||
|
2eb875c157 | ||
|
b4b8b3248e | ||
|
086ffd15f0 | ||
|
26fe714826 | ||
|
4fc8781abf | ||
|
8fc54f1fea | ||
|
57732f3d45 | ||
|
5c975708ba | ||
|
57f4950764 | ||
|
d956739d9c | ||
|
9305fdc38b | ||
|
d8b8b47262 | ||
|
8fa64ca1ed | ||
|
ace7ce3563 | ||
|
12a05a01ae | ||
|
faded02ce6 | ||
|
b2993d8f6f | ||
|
13b8898e1d | ||
|
5121c6b536 | ||
|
189c066470 | ||
|
29bb3fc07d | ||
|
bf0246d52c | ||
|
1071b91c9e | ||
|
de22f4015d | ||
|
3ccb761262 | ||
|
bd9bc44e57 | ||
|
e8f4562168 | ||
|
7cd775a6a3 | ||
|
fe2729f58f | ||
|
f50b780403 | ||
|
eefa0d00e8 | ||
|
e7c7ad5cba | ||
|
e4f699ee22 | ||
|
0a48396ffd | ||
|
6bd310b5c2 | ||
|
2d0fa06974 | ||
|
86dae0a515 | ||
|
d25eb444c7 | ||
|
91e7378666 | ||
|
7614c19ba1 | ||
|
f21bdf0166 | ||
|
8371bde78f | ||
|
f1813ff052 | ||
|
88702d5629 | ||
|
3a5ca1424d | ||
|
b663d0f649 | ||
|
8d4a620e6b | ||
|
63e6ab82f7 | ||
|
323b23ebb9 | ||
|
ce299eeec0 | ||
|
09954c8745 | ||
|
949240069d | ||
|
6fb3e0b391 | ||
|
f2e3d42491 | ||
|
bd85dd2501 | ||
|
6d8a892c90 | ||
|
a967fe7a94 | ||
|
9872f56c01 | ||
|
8d621bdf18 | ||
|
a9129db974 | ||
|
bc2694401e | ||
|
536ba84623 | ||
|
0c852746c9 | ||
|
3d265b7997 | ||
|
e964264c1d | ||
|
c092c1f2f3 | ||
|
beabf9c35c | ||
|
bfa1968c8c | ||
|
6615f5cd0d | ||
|
bf2297a1fe | ||
|
3c7358395a | ||
|
4d374be93e | ||
|
0fc50e6312 | ||
|
0548755e2c | ||
|
015b326315 | ||
|
f398dba42a | ||
|
2850128ec4 | ||
|
85932824ca | ||
|
2214d6a9e7 | ||
|
3f4c1eaab2 | ||
|
0d2845b614 | ||
|
45029a7797 | ||
|
32d57e9c2b | ||
|
cc9b516646 | ||
|
3b5b1a4356 | ||
|
cf9826bb0d | ||
|
3875a9a674 | ||
|
74b5c09b89 | ||
|
a807b31216 | ||
|
ab6eeab932 | ||
|
1e70ad8d64 | ||
|
148322fe3f | ||
|
ff2667892c | ||
|
21487c0f1f | ||
|
66775c6cab | ||
|
1c9f2427d0 | ||
|
1e91f1c3c9 | ||
|
60b295a0cc | ||
|
ae1630b7dd | ||
|
c9ae3427ae | ||
|
5e4cebb090 | ||
|
3fc191102b | ||
|
47579913ca | ||
|
9ba929e3a1 | ||
|
4ade879ee2 | ||
|
7913810808 | ||
|
1db3655fe0 | ||
|
e4d5d3a2e4 | ||
|
5ade1c38a9 | ||
|
bb2639a8e0 | ||
|
173f9d45d5 | ||
|
e30d304647 | ||
|
1c3bb8d61e | ||
|
077395fa63 | ||
|
11bd29b444 | ||
|
f090c6cde9 | ||
|
5f3819bd6a | ||
|
3329f199e5 | ||
|
3712b116c7 | ||
|
43d2653fc6 | ||
|
d4570b1a9a | ||
|
40e5722ed4 | ||
|
2ea2c40170 | ||
|
51965cc7aa | ||
|
ae99d2fb19 | ||
|
8c2803df44 | ||
|
bed6e76ba3 | ||
|
c4d5a5a3dd | ||
|
4618dfed61 | ||
|
d643ca3ce7 | ||
|
787fe0977c | ||
|
d5c857d36e | ||
|
51b9e73090 | ||
|
3d6eee99d1 | ||
|
85ea253a23 | ||
|
84fd653429 | ||
|
5a8fe600f9 | ||
|
fb9533798f | ||
|
48d8f54223 | ||
|
6c7456fd64 | ||
|
e15e294335 | ||
|
887a5dad89 | ||
|
3ea008004c |
32
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
32
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Bugs or issues with the Helper tool. See other options below for non-Helper
|
||||
related issues
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**OS Info:**
|
||||
- Distro: [e.g. Arch, Ubuntu]
|
||||
- Version if applicable [e.g. 22.04]
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
7
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
7
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
contact_links:
|
||||
- name: Wiki
|
||||
url: https://starcitizen-lug.github.io
|
||||
about: Installation issues, troubleshooting, and recent news/changes
|
||||
- name: Community Support
|
||||
url: https://discord.gg/meCFYPj
|
||||
about: Gelp in our Discord tech support channel. It's bridged to our Matrix space too! (See wiki above for links)
|
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for improving the Helper tool
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
63
README.md
63
README.md
@@ -11,7 +11,7 @@ Command line arguments are available for quickly launching functions from the te
|
||||
Configuration is saved in *$XDG_CONFIG_HOME/starcitizen-lug/*
|
||||
Keybinds are backed up to *$XDG_CONFIG_HOME/starcitizen-lug/keybinds/*
|
||||
|
||||
## Options:
|
||||
## Options
|
||||
|
||||
`Preflight Check`
|
||||
- Runs a series of system optimization checks and offers to fix any issues.
|
||||
@@ -21,33 +21,32 @@ Keybinds are backed up to *$XDG_CONFIG_HOME/starcitizen-lug/keybinds/*
|
||||
- This limits the maximum number of open files on your system. On some Linux distributions, the default is set too low for Star Citizen.
|
||||
|
||||
`Install Star Citizen`
|
||||
- Launches Lutris and uses the bundled json to install Star Citizen
|
||||
- Installs Star Citizen using Wine
|
||||
|
||||
`Deploy Easy Anti-Cheat Workaround`
|
||||
- Applies the workaround to /etc/hosts and deletes the necessary EAC files
|
||||
`Manage Wine Runners`
|
||||
- Quickly install and delete custom Wine runners
|
||||
|
||||
`Manage Lutris Runners`
|
||||
- Quickly install and delete Lutris wine runners
|
||||
|
||||
`Manage Lutris DXVK Versions`
|
||||
- Quickly install and delete DXVK versions for Lutris
|
||||
`Update DXVK`
|
||||
- Update DXVK in the game's Wine prefix
|
||||
|
||||
`Maintenance and Troubleshooting`
|
||||
- `Switch the helper between LIVE and PTU`
|
||||
- Toggle between targeting LIVE or PTU for all of the above options. Defaults to LIVE on each run.
|
||||
- `Target a different Star Citizen installation`
|
||||
- Select a different wine prefix for the Helper to target in its operations
|
||||
|
||||
- `Delete my Star Citizen USER folder and preserve my keybinds`
|
||||
- The helper will make backups of any exported keybinds, delete your Star Citizen USER folder, then restore your keybind files.
|
||||
- To export your keybinds from within the game, go to:
|
||||
- *Options->Keybindings->Control Profiles->Save Control Settings*
|
||||
- To re-import your keybinds from within the game, select them from the list:
|
||||
- *Options->Keybindings->Control Profiles*
|
||||
- `Update launch script`
|
||||
- Update the game launch script to the latest version
|
||||
|
||||
- `Delete my shaders`
|
||||
- It is recommended to delete your shaders directory after each game update.
|
||||
- `Edit launch script`
|
||||
- Edit the game launch script
|
||||
|
||||
- `Delete my DXVK cache`
|
||||
- A troubleshooting step that sometimes helps fix various issues and crashes.
|
||||
- `Open Wine prefix configuration`
|
||||
- Runs *winecfg* in the game's Wine prefix
|
||||
|
||||
- `Open Wine controller configuration`
|
||||
- Opens Wine's game controller configuration in the Wine prefix
|
||||
|
||||
- `Install PowerShell into Wine prefix`
|
||||
- Uses winetricks to install PowerShell
|
||||
|
||||
- `Display Helper and Star Citizen directories`
|
||||
- Show all the directories currently in use by both the Helper and Star Citizen.
|
||||
@@ -55,31 +54,41 @@ Keybinds are backed up to *$XDG_CONFIG_HOME/starcitizen-lug/keybinds/*
|
||||
- `Reset Helper configs`
|
||||
- Delete the configs saved by the helper in *$XDG_CONFIG_HOME/starcitizen-lug/*
|
||||
|
||||
- `Show the LUG Wiki`
|
||||
- Display a link to the LUG Wiki for help with installation and troubleshooting
|
||||
|
||||
`Get a random Penguin's Star Citizen referral code`
|
||||
- Display a referral code for a random member of the Star Citizen Linux Users Group.
|
||||
|
||||
|
||||
|
||||
## Installation:
|
||||
## Installation
|
||||
|
||||
**From Source:**
|
||||
1. Download it! https://github.com/starcitizen-lug/lug-helper/releases
|
||||
2. Extract it!
|
||||
3. Run it!
|
||||
|
||||
**Arch Linux:** https://aur.archlinux.org/packages/lug-helper/
|
||||
**Arch Linux:** https://aur.archlinux.org/packages/lug-helper/
|
||||
**NixOS:** https://github.com/LovingMelody/nix-citizen
|
||||
**Fedora:** https://copr.fedorainfracloud.org/coprs/jackgreiner/lug-helper
|
||||
|
||||
_Dependencies: **bash**, **coreutils**, **curl**, **polkit** (these should be installed by default on most distributions)_
|
||||
_Winetricks Dependencies: **cabextract**, **unzip**_
|
||||
_Optional Dependencies: **zenity** (for GUI)_
|
||||
|
||||
## Contributors:
|
||||
## Made with <3
|
||||
#### Author:
|
||||
- https://github.com/the-sane
|
||||
#### Contributors:
|
||||
- https://github.com/Termuellinator
|
||||
- https://github.com/pstn
|
||||
- https://github.com/gort818
|
||||
- https://github.com/victort
|
||||
- https://github.com/Wrzlprnft
|
||||
- https://github.com/ananace
|
||||
- https://github.com/LovingMelody
|
||||
- https://github.com/mactan-sc
|
||||
- https://github.com/ProjectSynchro
|
||||
- Runner Downloader inspired by https://github.com/richardtatum/sc-runner-updater
|
||||
|
||||
## Contributing
|
||||
See the [Contributor's Guide](https://github.com/starcitizen-lug/lug-helper/wiki/Contributors-Guide) for a high level overview of the script
|
||||
Packagers, please see the [Packager's Guide](https://github.com/starcitizen-lug/lug-helper/wiki/Packagers-Guide)
|
||||
|
107
lib/sc-launch.sh
Executable file
107
lib/sc-launch.sh
Executable file
@@ -0,0 +1,107 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
################################################################################
|
||||
# This script configures and launches Star Citizen.
|
||||
# It is installed by the LUG Helper for a non-Lutris installation.
|
||||
#
|
||||
# The following .desktop files are added by wine during installation and then
|
||||
# modified by the LUG Helper to call this script.
|
||||
# They are automatically detected by most desktop environments for easy game
|
||||
# launching.
|
||||
#
|
||||
################################################################################
|
||||
# $HOME/Desktop/RSI Launcher.desktop
|
||||
# $HOME/.local/share/applications/wine/Programs/Roberts Space Industries/RSI Launcher.desktop
|
||||
################################################################################
|
||||
#
|
||||
# If you do not wish to use the above .desktop files, simply run this script
|
||||
# from your terminal.
|
||||
#
|
||||
# version: 1.7
|
||||
################################################################################
|
||||
|
||||
################################################################
|
||||
# Configure the environment
|
||||
# Add additional environment variables here as needed
|
||||
################################################################
|
||||
export WINEPREFIX="$HOME/Games/star-citizen"
|
||||
launch_log="$WINEPREFIX/sc-launch.log"
|
||||
|
||||
export WINEDLLOVERRIDES=winemenubuilder.exe=d # Prevent updates from overwriting our .desktop entries
|
||||
export WINEDEBUG=-all # Cut down on console debug messages
|
||||
|
||||
# Nvidia cache options
|
||||
export __GL_SHADER_DISK_CACHE=1
|
||||
export __GL_SHADER_DISK_CACHE_SIZE=10737418240
|
||||
export __GL_SHADER_DISK_CACHE_PATH="$WINEPREFIX"
|
||||
export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1
|
||||
# Mesa (AMD/Intel) shader cache options
|
||||
export MESA_SHADER_CACHE_DIR="$WINEPREFIX"
|
||||
export MESA_SHADER_CACHE_MAX_SIZE="10G"
|
||||
# Optional HUDs
|
||||
#export DXVK_HUD=fps,compiler
|
||||
#export MANGOHUD=1
|
||||
|
||||
################################################################
|
||||
# Configure the wine binaries to be used
|
||||
#
|
||||
# To use a custom wine runner, set the path to its bin directory
|
||||
# export wine_path="/path/to/custom/runner/bin"
|
||||
################################################################
|
||||
export wine_path="$(command -v wine | xargs dirname)"
|
||||
|
||||
#############################################
|
||||
# Command line arguments
|
||||
#############################################
|
||||
# shell - Drop into a Wine maintenance shell
|
||||
# config - Wine configuration
|
||||
# controllers - Game controller configuration
|
||||
# Usage: ./sc-launch.sh shell
|
||||
case "$1" in
|
||||
"shell")
|
||||
echo "Entering Wine prefix maintenance shell. Type 'exit' when done."
|
||||
export PATH="$wine_path:$PATH"; export PS1="Wine: "
|
||||
cd "$WINEPREFIX"; pwd; /usr/bin/env bash --norc; exit 0
|
||||
;;
|
||||
"config")
|
||||
/usr/bin/env bash --norc -c "${wine_path}/winecfg"; exit 0
|
||||
;;
|
||||
"controllers")
|
||||
/usr/bin/env bash --norc -c "${wine_path}/wine control joy.cpl"; exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
#############################################
|
||||
# Run optional prelaunch and postexit scripts
|
||||
#############################################
|
||||
# To use, update the game install paths here, create the scripts with your
|
||||
# desired actions in them, then place them in your prefix directory:
|
||||
# sc-prelaunch.sh and sc-postexit.sh
|
||||
# Replace the trap line in the section below with the example provided here
|
||||
#
|
||||
# "$WINEPREFIX/sc-prelaunch.sh"
|
||||
# trap "update_check; \"$wine_path\"/wineserver -k; \"$WINEPREFIX\"/sc-postexit.sh" EXIT
|
||||
|
||||
#############################################
|
||||
# It's a trap!
|
||||
#############################################
|
||||
# Kill the wine prefix when this script exits
|
||||
# This makes sure there will be no lingering background wine processes
|
||||
update_check() {
|
||||
while "$wine_path"/winedbg --command "info proc" | grep -qi "rsi.*setup"; do
|
||||
sleep 2
|
||||
done
|
||||
}
|
||||
trap "update_check; \"$wine_path\"/wineserver -k" EXIT
|
||||
|
||||
#############################################
|
||||
# Launch the game
|
||||
#############################################
|
||||
# To enable feral gamemode, replace the launch line below with:
|
||||
# gamemoderun "$wine_path"/wine "C:\Program Files\Roberts Space Industries\RSI Launcher\RSI Launcher.exe" > "$launch_log" 2>&1
|
||||
#
|
||||
# To enable gamescope and feral gamemode, replace the launch line below with the
|
||||
# desired gamescope arguments. For example:
|
||||
# gamescope --hdr-enabled -W 2560 -H 1440 --force-grab-cursor gamemoderun "$wine_path"/wine "C:\Program Files\Roberts Space Industries\RSI Launcher\RSI Launcher.exe" > "$launch_log" 2>&1
|
||||
|
||||
"$wine_path"/wine "C:\Program Files\Roberts Space Industries\RSI Launcher\RSI Launcher.exe" > "$launch_log" 2>&1
|
3520
lug-helper.sh
3520
lug-helper.sh
File diff suppressed because it is too large
Load Diff
BIN
lug-logo.png
BIN
lug-logo.png
Binary file not shown.
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 48 KiB |
@@ -1,102 +0,0 @@
|
||||
{
|
||||
"count": 1,
|
||||
"next": null,
|
||||
"previous": null,
|
||||
"results": [
|
||||
{
|
||||
"id": 10872,
|
||||
"game_id": 17622,
|
||||
"game_slug": "star-citizen",
|
||||
"name": "Star Citizen",
|
||||
"year": 2016,
|
||||
"user": "ungarscool1",
|
||||
"runner": "wine",
|
||||
"slug": "starcitizen-lutris-install",
|
||||
"version": "LIVE/PTU",
|
||||
"description": "Welcome to the Star Citizen installer maintained by the Star Citizen LUG!\r\nBefore continuing, please see our Quick Start Guide:\r\nhttps://github.com/starcitizen-lug/information-howtos/wiki\r\n\r\nFor help with the installer or to just hang out, we invite Linux Star Citizen players to join us: https://robertsspaceindustries.com/orgs/LUG/",
|
||||
"notes": "Performance may be choppy for the first couple minutes after visiting a new place or performing a new activity while shaders compile. Subsequent arrival should not be choppy.\r\n\r\nIf you receive a Runtime Error you can continue using Star Citizen by dragging the dialog box to the side, but in-game VoIP and FoIP will cease to function until Star Citizen is restarted. Drop in to the LUG group's chat and forums; we have custom runners to work around this problem.\r\n\r\nPlease make sure you have all Wine dependencies properly installed or your game may crash during start-up. See our wiki linked above for more information and instructions.\r\n\r\nTo prevent crashes in areas with lots of geometry, the game needs a Linux resource limit named \"vm.max_map_count\" increased. If you are following our Quick Start Guide and using our LUG Helper, the Preflight Check will do this for you. To set it manually, execute:\r\n\r\nsudo sysctl -w vm.max_map_count=16777216\r\n\r\nConsult your distro's documentation on how to set this permanently or ask a LUG member.\r\n\r\nSee you in the 'verse!",
|
||||
"credits": "",
|
||||
"created_at": "2018-11-15T17:43:07.367000Z",
|
||||
"updated_at": "2023-02-08T15:20:16.896420Z",
|
||||
"draft": false,
|
||||
"published": true,
|
||||
"published_by": 64834,
|
||||
"rating": "",
|
||||
"is_playable": null,
|
||||
"steamid": null,
|
||||
"gogid": null,
|
||||
"gogslug": "",
|
||||
"humbleid": "",
|
||||
"humblestoreid": "",
|
||||
"humblestoreid_real": "",
|
||||
"script": {
|
||||
"files": [
|
||||
{
|
||||
"client": "https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.6.4.exe"
|
||||
}
|
||||
],
|
||||
"game": {
|
||||
"arch": "win64",
|
||||
"exe": "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 Quick Start Guide for instructions on deploying the necessary Easy Anti-Cheat workaround as well as other important configuration requirements:\r\n\r\nhttps://github.com/starcitizen-lug/information-howtos/wiki/Quick-Start-Guide",
|
||||
"installer": [
|
||||
{
|
||||
"task": {
|
||||
"arch": "win64",
|
||||
"description": "Creating Wine prefix",
|
||||
"name": "create_prefix",
|
||||
"prefix": "$GAMEDIR"
|
||||
}
|
||||
},
|
||||
{
|
||||
"task": {
|
||||
"app": "--force arial vcrun2019 win10",
|
||||
"arch": "win64",
|
||||
"description": "Installing dlls",
|
||||
"name": "winetricks",
|
||||
"prefix": "$GAMEDIR"
|
||||
}
|
||||
},
|
||||
{
|
||||
"task": {
|
||||
"arch": "win64",
|
||||
"args": "/S",
|
||||
"description": "Installing client",
|
||||
"executable": "client",
|
||||
"name": "wineexec",
|
||||
"prefix": "$GAMEDIR"
|
||||
}
|
||||
},
|
||||
{
|
||||
"execute": {
|
||||
"description": "Creating game path",
|
||||
"command": "mkdir -p \"$GAMEDIR/drive_c/Program Files/Roberts Space Industries/StarCitizen/\"{LIVE,PTU}"
|
||||
}
|
||||
}
|
||||
],
|
||||
"system": {
|
||||
"prefer_system_libs": false,
|
||||
"env": {
|
||||
"DXVK_HUD": "0",
|
||||
"__GL_SHADER_DISK_CACHE": 1,
|
||||
"__GL_SHADER_DISK_CACHE_SIZE": "1073741824",
|
||||
"__GL_THREADED_OPTIMIZATIONS": "1"
|
||||
}
|
||||
},
|
||||
"wine": {
|
||||
"dxvk": true,
|
||||
"esync": true,
|
||||
"system_winetricks": false,
|
||||
"dxvk_nvapi": false,
|
||||
"overrides": {
|
||||
"nvapi,nvapi64": "disabled",
|
||||
"libglesv2": "builtin"
|
||||
},
|
||||
"version": "lutris-GE-Proton7-35-x86_64"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
BIN
rsi-launcher.png
Normal file
BIN
rsi-launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
Reference in New Issue
Block a user