mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-07-01 16:40:35 +00:00
Compare commits
555 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 |
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.
|
65
README.md
65
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/*
|
Configuration is saved in *$XDG_CONFIG_HOME/starcitizen-lug/*
|
||||||
Keybinds are backed up to *$XDG_CONFIG_HOME/starcitizen-lug/keybinds/*
|
Keybinds are backed up to *$XDG_CONFIG_HOME/starcitizen-lug/keybinds/*
|
||||||
|
|
||||||
## Options:
|
## Options
|
||||||
|
|
||||||
`Preflight Check`
|
`Preflight Check`
|
||||||
- Runs a series of system optimization checks and offers to fix any issues.
|
- 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.
|
- 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`
|
`Install Star Citizen`
|
||||||
- Launches Lutris and uses the bundled json to install Star Citizen
|
- Installs Star Citizen using Wine
|
||||||
|
|
||||||
`Deploy Easy Anti-Cheat Workaround`
|
`Manage Wine Runners`
|
||||||
- Applies the workaround to /etc/hosts and deletes the necessary EAC files
|
- Quickly install and delete custom Wine runners
|
||||||
|
|
||||||
`Manage Lutris Runners`
|
`Update DXVK`
|
||||||
- Quickly install and delete Lutris wine runners
|
- Update DXVK in the game's Wine prefix
|
||||||
|
|
||||||
`Manage Lutris DXVK Versions`
|
|
||||||
- Quickly install and delete DXVK versions for Lutris
|
|
||||||
|
|
||||||
`Maintenance and Troubleshooting`
|
`Maintenance and Troubleshooting`
|
||||||
- `Switch the helper between LIVE and PTU`
|
- `Target a different Star Citizen installation`
|
||||||
- Toggle between targeting LIVE or PTU for all of the above options. Defaults to LIVE on each run.
|
- Select a different wine prefix for the Helper to target in its operations
|
||||||
|
|
||||||
- `Delete my Star Citizen USER folder and preserve my keybinds`
|
- `Update launch script`
|
||||||
- The helper will make backups of any exported keybinds, delete your Star Citizen USER folder, then restore your keybind files.
|
- Update the game launch script to the latest version
|
||||||
- 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*
|
|
||||||
|
|
||||||
- `Delete my shaders folder only`
|
- `Edit launch script`
|
||||||
- Sometimes all you need to do between major version updates is delete your shaders directory.
|
- Edit the game launch script
|
||||||
|
|
||||||
- `Delete my DXVK cache`
|
- `Open Wine prefix configuration`
|
||||||
- A troubleshooting step that sometimes helps fix various issues and crashes.
|
- 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`
|
- `Display Helper and Star Citizen directories`
|
||||||
- Show all the directories currently in use by both the Helper and Star Citizen.
|
- Show all the directories currently in use by both the Helper and Star Citizen.
|
||||||
@ -60,20 +59,36 @@ Keybinds are backed up to *$XDG_CONFIG_HOME/starcitizen-lug/keybinds/*
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Installation:
|
## Installation
|
||||||
|
|
||||||
From Source:
|
**From Source:**
|
||||||
1. Download it! https://github.com/starcitizen-lug/lug-helper/releases
|
1. Download it! https://github.com/starcitizen-lug/lug-helper/releases
|
||||||
2. Extract it!
|
2. Extract it!
|
||||||
3. Run 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/Termuellinator
|
||||||
- https://github.com/pstn
|
- https://github.com/pstn
|
||||||
- https://github.com/gort818
|
- https://github.com/gort818
|
||||||
- https://github.com/victort
|
- https://github.com/victort
|
||||||
- https://github.com/Wrzlprnft
|
- https://github.com/Wrzlprnft
|
||||||
- https://github.com/ananace
|
- 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
|
- 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
|
2961
lug-helper.sh
2961
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,91 +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 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!",
|
|
||||||
"created_at": "2018-11-15T17:43:07.367000Z",
|
|
||||||
"updated_at": "2021-12-24T00:49:16.775712Z",
|
|
||||||
"draft": false,
|
|
||||||
"published": true,
|
|
||||||
"published_by": 64834,
|
|
||||||
"rating": "",
|
|
||||||
"steamid": null,
|
|
||||||
"gogid": null,
|
|
||||||
"gogslug": "",
|
|
||||||
"humbleid": "",
|
|
||||||
"humblestoreid": "",
|
|
||||||
"humblestoreid_real": "",
|
|
||||||
"script": {
|
|
||||||
"files": [
|
|
||||||
{
|
|
||||||
"client": "https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.5.5.exe"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"game": {
|
|
||||||
"arch": "win64",
|
|
||||||
"args": null,
|
|
||||||
"exe": "drive_c/Program Files/Roberts Space Industries/RSI Launcher/RSI Launcher.exe",
|
|
||||||
"prefix": "$GAMEDIR"
|
|
||||||
},
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"system": {
|
|
||||||
"env": {
|
|
||||||
"DXVK_HUD": "0",
|
|
||||||
"__GL_SHADER_DISK_CACHE": 1,
|
|
||||||
"__GL_SHADER_DISK_CACHE_SIZE": "1073741824",
|
|
||||||
"__GL_THREADED_OPTIMIZATIONS": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"wine": {
|
|
||||||
"dxvk": true,
|
|
||||||
"esync": true,
|
|
||||||
"overrides": {
|
|
||||||
"nvapi,nvapi64": "disabled",
|
|
||||||
"libglesv2": "builtin"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"content": "files:\n- client: https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.5.5.exe\ngame:\n arch: win64\n args: null\n exe: drive_c/Program Files/Roberts Space Industries/RSI Launcher/RSI Launcher.exe\n prefix: $GAMEDIR\ninstaller:\n- task:\n arch: win64\n description: Creating Wine prefix\n name: create_prefix\n prefix: $GAMEDIR\n- task:\n app: --force arial vcrun2019 win10\n arch: win64\n description: Installing dlls\n name: winetricks\n prefix: $GAMEDIR\n- task:\n arch: win64\n args: /S\n description: Installing client\n executable: client\n name: wineexec\n prefix: $GAMEDIR\nsystem:\n env:\n DXVK_HUD: '0'\n __GL_SHADER_DISK_CACHE: 1\n __GL_SHADER_DISK_CACHE_SIZE: '1073741824'\n __GL_THREADED_OPTIMIZATIONS: '1'\nwine:\n dxvk: true\n esync: true\n overrides:\n nvapi,nvapi64: disabled\n libglesv2: builtin\n"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
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