mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-07-01 13:30:35 +00:00
Compare commits
674 Commits
Author | SHA1 | Date | |
---|---|---|---|
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 | |||
ae9d34e943 | |||
568f24a15c | |||
6decb35252 | |||
5d83992d05 | |||
1b886fb47f | |||
768a2f93a4 | |||
9378f9c796 | |||
83186e7eb0 | |||
bd473f1f32 | |||
0e47101cfe | |||
c0c0728e38 | |||
c1591f15cb | |||
5c70243448 | |||
0cf1fdc669 | |||
a70d2426ad | |||
e6d79125a6 | |||
c1dae30e5e | |||
69d402cb10 | |||
1f826de2c6 | |||
bc3d7d8fe7 | |||
73c4f7346d | |||
9f9480b99d | |||
342a8ebc2b | |||
239ea780cb | |||
c1fd44eef6 | |||
636c55cf81 | |||
6ddf8e6532 | |||
e9390c5182 | |||
7ee873d2bb | |||
f7580b8fdc | |||
56f61bcb35 | |||
8e5193c173 | |||
36047d7ca5 | |||
04819899fc | |||
514b176e14 | |||
c20bf59ed9 | |||
0fa37aa7e7 | |||
e05f9e18c3 | |||
d034b9bb15 | |||
b399ca7fab | |||
2dd9b51ab1 | |||
dd9bfc3351 | |||
b009265951 | |||
394cfa9392 | |||
5b2e202b4f | |||
0de4032a41 | |||
1acd82b411 | |||
dc48c7acac | |||
d5c3cd66a0 | |||
7d005f2070 | |||
83a90d35f1 | |||
f3a632ec60 | |||
ea4e88d5b2 | |||
5354d498c0 | |||
6af87bb231 | |||
2343bfb733 | |||
464dbe47d7 | |||
0d90486527 | |||
2c6217da60 | |||
1c58b24ed6 | |||
c04b4ca2c2 | |||
6899d3d94b | |||
1ef7e0658d | |||
3b90ed90d0 | |||
946526dcee | |||
278abeb63d | |||
8e55eda9bb | |||
293e994341 | |||
99048021bb | |||
adc627f43c | |||
e1e746cd8f | |||
ffd4d9d3ca | |||
fdfd512bfc | |||
8f86d37b88 | |||
677a789ab5 | |||
1fe9af78b1 | |||
03cf7a9aa0 | |||
7d342416f7 | |||
1a1c3cf0b8 | |||
5cfb306289 | |||
80017b848e | |||
80db33be07 | |||
c497f8e1d8 | |||
eedb5de460 | |||
3a7e0996b5 | |||
402b22ea45 | |||
10812a622d | |||
f5abb87cb5 | |||
bd119c4ce8 | |||
02d8f4b685 | |||
bef1c34491 | |||
7090acf1eb | |||
883163843e | |||
6a665bceac | |||
1844bfda13 | |||
f78f54ddf7 | |||
167edab6ec | |||
1b334db7cc | |||
dc648a8f6f | |||
7426d0ffb3 | |||
1cb9eb6488 | |||
a8c4257430 | |||
b2f542e029 | |||
17b1bfe140 | |||
f19faa8235 | |||
7cc4cca62d | |||
8f857476d0 | |||
652c2fa4a0 | |||
6e4feecc85 | |||
0e5fe688eb | |||
8d130668d6 | |||
142e09800f | |||
1ae94e9b50 | |||
747c799a8b | |||
ba907c44bf | |||
e7a3b30564 | |||
38e646578a | |||
d0dc44dcd9 | |||
9986f1fe8c | |||
bc11c184d2 | |||
02a79aa859 | |||
2eabf019a6 | |||
bdb71475a8 | |||
c627666705 | |||
65ac8ae4cd | |||
b4d9598fe5 | |||
dd81f24be3 | |||
f99fe9b996 | |||
dffa971dc1 | |||
fe1733542d | |||
d6d28f1481 | |||
eb48d00396 | |||
f072378617 | |||
d6376ff9fa | |||
28051a135a | |||
44b1332782 | |||
10c5438189 | |||
57df0a8dd9 | |||
f67c76be2e | |||
d9d58702d1 | |||
3d6e4cc367 | |||
3932fd2754 | |||
314a1ff5ea | |||
26f1377506 | |||
b71f601547 | |||
717a83a512 | |||
ae25785a41 | |||
2f45058e58 | |||
33b8643d47 | |||
faa047546b | |||
5ef3a95a2a | |||
37e487d296 | |||
ab9155b9b8 | |||
7b7347dd64 | |||
9a2c064a06 | |||
6ef58adc12 | |||
3b3abbe8ea | |||
da1fc66571 | |||
bc5d5c4a9b | |||
deb84dd757 | |||
fc70cdc687 | |||
21444076de | |||
4b32177e97 | |||
b4762d4724 | |||
37c94af2ed | |||
6d56599e2f | |||
9909221dff | |||
a328b465ef | |||
8e28327e0f | |||
156a0884d4 | |||
809efb6a54 | |||
5afa8e7c19 | |||
49079818f6 | |||
227038a289 | |||
8f53957f3c | |||
662d78a021 | |||
d10a84c5fe | |||
35e63f5bd5 | |||
f3166c77da | |||
707211962f | |||
5df5cb210d | |||
bf36fc96a9 | |||
702c678716 | |||
dedefebd2d | |||
d24e8b590b | |||
3daeb0b3b1 | |||
e8c93196ff | |||
1561e1a9f6 | |||
a0110720f6 | |||
c1af0383f2 | |||
74c5bd2275 | |||
48d49dd438 | |||
f080ae2bca | |||
72677ff7d5 | |||
42f9992abf | |||
786e3f4c13 | |||
08285946c8 | |||
dafc53615d | |||
3f72676c71 | |||
3d7702dfdd | |||
7ae0bcf330 | |||
8ce1a9a8ea | |||
431df4aabd | |||
9f2c72042e | |||
25b122e891 | |||
a76c3d0a1a | |||
25a773602e | |||
d5d7f75dde | |||
44bcbf8161 | |||
acad90a0a5 | |||
77c6fd46bb | |||
5c112831e0 | |||
274c674681 | |||
cf491f9151 | |||
199e548767 | |||
8087ffe564 | |||
b2b2312ce9 | |||
4ad9603aa3 | |||
709cb6dbae | |||
810f21415e | |||
3e982b3303 | |||
cfeb3a841f | |||
60af93add3 | |||
b64eaf88c5 | |||
e8d96c45a0 | |||
d8826f608c | |||
07a99d3aa1 | |||
b4791a0b7d | |||
e43a59ce7b | |||
fc98118ac5 | |||
4fd9fec8f7 | |||
130704107b | |||
15cad464e3 | |||
cabfd03c29 | |||
33170fae78 | |||
b701ea5e3d | |||
05d75ec82f | |||
2f97a8eb2d | |||
cb3fc5d0d7 | |||
c42d459ef2 | |||
675621c4c3 | |||
c07e673c0d | |||
b85df29d6d | |||
7f3d84a8bc | |||
6533cf98bd | |||
c7c8cd1ecd | |||
e0d149494d | |||
9800420d73 | |||
eae146ce02 | |||
b4248fb264 | |||
d5dbec7b3f | |||
d4e8298743 | |||
8ee730bf35 |
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.
|
79
README.md
79
README.md
@ -1,4 +1,4 @@
|
||||
# LUG-Helper
|
||||
# LUG Helper
|
||||
**Star Citizen's Linux Users Group Helper Script**
|
||||
https://robertsspaceindustries.com/orgs/LUG
|
||||
|
||||
@ -8,10 +8,10 @@ _**This script is designed to help you manage and optimize Star Citizen on Linux
|
||||
Zenity menus are used for a GUI experience with a fallback to terminal-based menus where Zenity is unavailable.
|
||||
Command line arguments are available for quickly launching functions from the terminal.
|
||||
|
||||
Configuration is saved in *$XDG_CONFIG_HOME/starcitizen-lug/*.
|
||||
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.
|
||||
@ -20,25 +20,36 @@ Keybinds are backed up to *$XDG_CONFIG_HOME/starcitizen-lug/keybinds/*
|
||||
- Checks that the hard open file descriptors limit is set to at least 524288.
|
||||
- This limits the maximum number of open files on your system. On some Linux distributions, the default is set too low for Star Citizen.
|
||||
|
||||
`Manage Lutris Runners`
|
||||
- Quickly install and delete Lutris wine runners
|
||||
`Install Star Citizen`
|
||||
- Installs Star Citizen using Wine
|
||||
|
||||
`User Folder 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.
|
||||
`Manage Wine Runners`
|
||||
- Quickly install and delete custom Wine runners
|
||||
|
||||
- `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 DXVK`
|
||||
- Update DXVK in the game's Wine prefix
|
||||
|
||||
- `Delete my shaders only`
|
||||
- Sometimes all you need to do between major version updates is delete your shaders directory.
|
||||
`Maintenance and Troubleshooting`
|
||||
- `Target a different Star Citizen installation`
|
||||
- Select a different wine prefix for the Helper to target in its operations
|
||||
|
||||
- `Delete my DXVK cache`
|
||||
- A troubleshooting step that sometimes helps fix various issues and crashes.
|
||||
- `Update launch script`
|
||||
- Update the game launch script to the latest version
|
||||
|
||||
- `Edit launch script`
|
||||
- Edit the game launch script
|
||||
|
||||
- `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.
|
||||
|
||||
- `Reset Helper configs`
|
||||
- Delete the configs saved by the helper in *$XDG_CONFIG_HOME/starcitizen-lug/*
|
||||
@ -48,18 +59,36 @@ Keybinds are backed up to *$XDG_CONFIG_HOME/starcitizen-lug/keybinds/*
|
||||
|
||||
|
||||
|
||||
## Installation:
|
||||
## Installation
|
||||
|
||||
From Source:
|
||||
1. Download it!
|
||||
2. Run it!
|
||||
3. If you want, move *lug-logo.png* to */usr/share/pixmaps/*
|
||||
**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
|
||||
|
||||
## Contributors:
|
||||
_Dependencies: **bash**, **coreutils**, **curl**, **polkit** (these should be installed by default on most distributions)_
|
||||
_Winetricks Dependencies: **cabextract**, **unzip**_
|
||||
_Optional Dependencies: **zenity** (for GUI)_
|
||||
|
||||
## 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.6
|
||||
################################################################################
|
||||
|
||||
################################################################
|
||||
# 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
|
||||
export EOS_USE_ANTICHEATCLIENTNULL=1
|
||||
# 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
|
2978
lug-helper.sh
2978
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 |
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