392 Commits

Author SHA1 Message Date
568f24a15c Add --version command line argument 2023-02-15 14:37:51 -05:00
6decb35252 Deploy EAC Workaround after install 2023-02-15 10:47:19 -05:00
5d83992d05 Update RSI Launcher version 2023-02-08 10:21:14 -05:00
1b886fb47f Bump version 2023-02-03 15:48:32 -05:00
768a2f93a4 Update wiki URL 2023-02-03 15:48:18 -05:00
9378f9c796 Bump version 2023-02-02 10:55:43 -05:00
83186e7eb0 GE v36 not yet available in lutris runner api 2023-02-02 10:54:54 -05:00
bd473f1f32 Update RSI launcher version 2023-02-01 21:32:55 -05:00
0e47101cfe Update required Lutris version 2023-01-30 19:43:27 -05:00
c0c0728e38 Improve eac workaround
Handles the hosts file addition and eac directory deletion separately
2023-01-30 17:35:41 -05:00
c1591f15cb Update GE runner version 2023-01-30 16:44:14 -05:00
5c70243448 Try harder to accommodate mangled ymls 2023-01-30 16:42:15 -05:00
0cf1fdc669 Fix style 2023-01-30 16:24:38 -05:00
a70d2426ad Lutris sometimes mangles the yml; accommodate
Sometimes the line gets split across two lines? Shorten our search
2023-01-30 16:16:53 -05:00
e6d79125a6 Clean up array building 2023-01-30 16:14:28 -05:00
c1dae30e5e Safety first! 2023-01-30 15:46:12 -05:00
69d402cb10 Performance improvements 2023-01-30 15:34:48 -05:00
1f826de2c6 Fix lutris version detect 2023-01-30 15:17:19 -05:00
bc3d7d8fe7 Improve printfs 2023-01-30 15:15:51 -05:00
73c4f7346d Update updated_at 2023-01-30 14:42:46 -05:00
9f9480b99d Disable dxvk_nvapi 2023-01-30 14:40:57 -05:00
342a8ebc2b Add install complete message 2023-01-29 20:42:33 -05:00
239ea780cb Set prefer system libraries off 2023-01-29 17:19:05 -05:00
c1fd44eef6 Update updated_at 2023-01-29 16:32:29 -05:00
636c55cf81 Fixes/updates for new RSI installer
Update installer version and runner version
Disable system winetricks
Create install paths
2023-01-29 16:20:03 -05:00
6ddf8e6532 Add official doitsujin dxvk releases 2023-01-27 11:44:22 -05:00
e9390c5182 Add more sanity checks 2023-01-27 11:12:30 -05:00
7ee873d2bb Add error message type
Does not clear the screen in terminal mode so stderr is preserved
2023-01-27 09:53:10 -05:00
f7580b8fdc Add xargs/findutils dependency check 2023-01-27 09:26:49 -05:00
56f61bcb35 Fix Lutris restart for installs from their github 2023-01-24 20:11:23 -05:00
8e5193c173 Update info message 2023-01-24 20:00:28 -05:00
36047d7ca5 Refactor post_download 2023-01-24 19:57:52 -05:00
04819899fc Refactor post_download 2023-01-24 19:34:30 -05:00
514b176e14 Refactor Lutris auto-restart 2023-01-24 19:15:14 -05:00
c20bf59ed9 Sanity check 2023-01-24 18:59:59 -05:00
0fa37aa7e7 Auto-configure Lutris runners & dxvks 2023-01-24 18:55:01 -05:00
e05f9e18c3 Refactor post-download action triggers 2023-01-22 13:33:51 -05:00
d034b9bb15 Add todo to remove with the next Lutris release 2023-01-22 11:30:39 -05:00
b399ca7fab lutris -v doesn't work if it's running 2023-01-22 11:21:28 -05:00
2dd9b51ab1 Clarify error message 2023-01-20 19:38:02 -05:00
dd9bfc3351 Clarify error message 2023-01-20 19:27:31 -05:00
b009265951 Improve try_exec error handling 2023-01-20 19:26:25 -05:00
394cfa9392 Improve comment 2023-01-20 19:15:51 -05:00
5b2e202b4f Fix try_exec failure detection 2023-01-20 19:13:27 -05:00
0de4032a41 Bump version 2023-01-17 17:02:55 -05:00
1acd82b411 Update winetricks preflight check for lutris builtin 2023-01-17 17:00:23 -05:00
dc48c7acac Fix whitespace 2023-01-17 16:44:53 -05:00
d5c3cd66a0 Reorder preflight check, put failures first 2023-01-17 16:41:02 -05:00
7d005f2070 Add lutris version check to preflight check 2023-01-17 16:28:07 -05:00
83a90d35f1 Fall back to terminal menus if zenity is broken 2022-11-20 11:48:21 -05:00
f3a632ec60 Update winetricks minimum version 2022-11-15 20:23:59 -05:00
ea4e88d5b2 bump version 2022-11-14 01:11:02 -05:00
5354d498c0 Add winetricks to preflight check 2022-11-14 01:05:24 -05:00
6af87bb231 Use a checkbox menu for item deletions 2022-11-14 00:26:39 -05:00
2343bfb733 Improve flatpak lutris detection
Handles a scenario where both the stable and beta versions are installed
2022-11-08 21:27:08 -05:00
464dbe47d7 Update menu sizes 2022-11-08 14:54:24 -05:00
0d90486527 String formatting 2022-11-06 18:01:26 -05:00
2c6217da60 Only display directories for installed lutrises 2022-11-06 17:57:17 -05:00
1c58b24ed6 Not an array 2022-11-06 17:52:03 -05:00
c04b4ca2c2 Handle unknown case 2022-11-06 17:32:40 -05:00
6899d3d94b Fix glibc check for flatpak lutris 2022-11-06 17:10:29 -05:00
1ef7e0658d Fix message when glibc is not installed 2022-11-06 13:44:18 -05:00
3b90ed90d0 Merge pull request #46 from starcitizen-lug/feature/update-lutris-install
Update Lutris install script
2022-11-04 14:46:28 -04:00
946526dcee Update Lutris install script
- Add EAC file remove script from GE
- Update installer to latest from RSI
2022-11-04 18:56:17 +01:00
278abeb63d Update README.md
Remove zstd dependency
2022-11-01 23:06:28 -04:00
8e55eda9bb Update README.md 2022-11-01 23:04:55 -04:00
293e994341 Bump version 2022-11-01 22:55:40 -04:00
99048021bb Clarify message 2022-11-01 22:55:15 -04:00
adc627f43c Fix process grepping
Excludes the grep process itself
2022-11-01 11:50:20 -04:00
e1e746cd8f Fix message 2022-11-01 11:07:45 -04:00
ffd4d9d3ca Reorder functions 2022-11-01 11:03:18 -04:00
fdfd512bfc These are numbers, not strings 2022-10-31 14:58:07 -04:00
8f86d37b88 Handle errors in pkexec and sudo 2022-10-31 14:54:17 -04:00
677a789ab5 Merge pull request #47 from starcitizen-lug/flatpak
Merge Flatpak branch
2022-10-31 13:52:40 -04:00
1fe9af78b1 Change flatpak process grep 2022-10-30 18:02:22 -04:00
03cf7a9aa0 Cosmetic: Update function group headers 2022-10-22 22:49:22 -04:00
7d342416f7 Make install json available to flatpak lutris 2022-10-22 14:56:44 -04:00
1a1c3cf0b8 New message type, dialog with two options 2022-10-22 10:07:17 -04:00
5cfb306289 Rearrange main 2022-10-22 00:04:37 -04:00
80017b848e Add show-wiki to command line arguments 2022-10-22 00:00:58 -04:00
80db33be07 Add EAC workaround to command line arguments 2022-10-21 23:58:52 -04:00
c497f8e1d8 Improve runner/dxvk in display_dirs() 2022-10-21 23:56:15 -04:00
eedb5de460 Change counter variable
i gets used by some of the functions being called
2022-10-21 23:51:13 -04:00
3a7e0996b5 Print error to console as well 2022-10-21 23:48:54 -04:00
402b22ea45 Change message type to warning 2022-10-21 23:45:15 -04:00
10812a622d Don't return 0 here 2022-10-21 23:44:08 -04:00
f5abb87cb5 Return 0 2022-10-21 23:42:52 -04:00
bd119c4ce8 Improve lutris install and restart functions 2022-10-21 23:39:48 -04:00
02d8f4b685 Fix restarting flatpak lutris 2022-10-21 19:29:15 -04:00
bef1c34491 Ask the user which lutris to install with 2022-10-21 19:19:52 -04:00
7090acf1eb Fix launching flatpak lutris during game install 2022-10-21 19:09:11 -04:00
883163843e Fix flatpak lutris detection 2022-10-21 18:44:53 -04:00
6a665bceac Add support for Flatpak Lutris 2022-10-21 18:29:58 -04:00
1844bfda13 Detect flatpak lutris 2022-10-18 11:45:24 -04:00
f78f54ddf7 Put lutris detection in its own function
Preparation for flatpak support
2022-10-18 11:12:14 -04:00
167edab6ec Comment out zstd dependency (TKG runners removed) 2022-10-18 11:10:21 -04:00
1b334db7cc Check if it's already been installed 2022-10-17 17:17:21 -04:00
dc648a8f6f Clean up extracted directories too 2022-10-17 16:48:11 -04:00
7426d0ffb3 Update formatting 2022-10-16 11:20:13 -04:00
1cb9eb6488 Update README.md 2022-10-16 11:16:44 -04:00
a8c4257430 Bump version 2022-10-16 11:04:15 -04:00
b2f542e029 Remove TKG from runner sources
They've switched to CI builds, which we don't currently support
2022-10-16 11:03:44 -04:00
17b1bfe140 Rename function 2022-10-16 11:00:16 -04:00
f19faa8235 Refactor rm_shaders() 2022-10-16 10:57:01 -04:00
7cc4cca62d Fix error message (variable not yet set) 2022-10-16 00:08:02 -04:00
8f857476d0 Quiet grep in eac_workaround() 2022-10-15 16:00:18 -04:00
652c2fa4a0 Add shaders path to display directories feature
...in the maintenance & troubleshooting menu
2022-10-15 15:46:09 -04:00
6e4feecc85 Update phrasing 2022-10-15 15:06:02 -04:00
0e5fe688eb Quote zenity window icon path to handle spaces 2022-10-15 14:57:00 -04:00
8d130668d6 Fix pgrep/pkill commands to auto-restart Lutris 2022-10-15 14:41:31 -04:00
142e09800f Refactor download_select_install() function 2022-10-15 14:24:31 -04:00
1ae94e9b50 Add a referral code
Closes #43
2022-07-10 14:14:17 -06:00
747c799a8b more general message on zstd dependency check 2022-06-23 10:01:59 +02:00
ba907c44bf check if EAC-Workaround is commented out 2022-06-20 15:00:35 +02:00
e7a3b30564 check if zstd is installed 2022-06-20 14:44:42 +02:00
38e646578a format README.md - damn markdown newlines ;) 2022-06-16 09:02:39 +02:00
d0dc44dcd9 format README.md again 2022-06-16 08:57:11 +02:00
9986f1fe8c format README.md 2022-06-16 08:55:46 +02:00
bc11c184d2 Merge branch 'master' of github.com:starcitizen-lug/lug-helper 2022-06-16 08:48:51 +02:00
02a79aa859 added dependencies to Readme and glibc check to TKG 2022-06-16 08:48:02 +02:00
2eabf019a6 Merge pull request #40 from snatella/remove-molotov-releases
Remove snatella/molotov runners for now
2022-06-08 11:12:29 +02:00
bdb71475a8 Remove snatella/molotov runners for now 2022-06-07 09:15:44 +01:00
c627666705 added download option for TKG runners 2022-05-18 12:51:11 +02:00
65ac8ae4cd fixed if statement in rm_shaders 2022-05-16 18:37:32 +02:00
b4d9598fe5 simplified if statement for shader removal 2022-05-16 15:52:51 +02:00
dd81f24be3 Merge pull request #37 from starcitizen-lug/3.17-shaders
3.17 shaders
2022-05-16 15:41:32 +02:00
f99fe9b996 harmonized style 2022-05-16 15:40:12 +02:00
dffa971dc1 quoted lug_logo to avoid zenity bug if space is present in path - issue 36 2022-05-02 08:27:59 +02:00
fe1733542d added info message when no shaders directory is found 2022-04-23 11:12:51 +02:00
d6d28f1481 quoted variable for space safety 2022-04-22 17:15:37 +02:00
eb48d00396 adapted rm_shaders() to the new appdata-location used with 3.17 2022-04-22 17:04:22 +02:00
f072378617 Bump version 2022-04-09 10:53:28 -06:00
d6376ff9fa Prepare for shaders location change in 3.17 2022-04-09 10:51:29 -06:00
28051a135a Bump version 2022-03-18 17:28:43 -04:00
44b1332782 Add new dxvk source 2022-03-18 17:27:16 -04:00
10c5438189 Update swap message 2022-03-02 17:27:17 -05:00
57df0a8dd9 Look for swap in preflight check 2022-03-02 11:56:59 -05:00
f67c76be2e Bump version 2022-02-17 13:26:30 -05:00
d9d58702d1 Add DXVK_ASYNC environment variable instructions 2022-02-17 13:25:21 -05:00
3d6e4cc367 Change libglesv2 to builtin 2022-02-15 15:21:45 -05:00
3932fd2754 Update README.md 2022-02-12 14:00:49 -05:00
314a1ff5ea Update README.md 2022-02-12 14:00:19 -05:00
26f1377506 Fix helper directory paths with spaces 2022-02-09 16:22:02 -05:00
b71f601547 Bump version 2022-02-05 12:27:47 -05:00
717a83a512 Improve EAC workaround 2022-02-05 12:27:05 -05:00
ae25785a41 Bump version 2022-02-04 23:27:07 -05:00
2f45058e58 Update launcher to v1.5.5 2022-02-04 23:21:40 -05:00
33b8643d47 Update README.md 2022-02-01 16:33:17 -05:00
faa047546b Update README.md 2022-01-21 18:20:30 -05:00
5ef3a95a2a Consistency in systemd drop-in filenames 2022-01-21 18:11:32 -05:00
37e487d296 Use systemd drop-in for setting filelimit 2022-01-21 17:43:58 -05:00
ab9155b9b8 Clarify that DXVK manager is for Lutris 2022-01-21 17:20:44 -05:00
7b7347dd64 Clarify error message 2022-01-19 02:20:17 -05:00
9a2c064a06 Update README.md 2022-01-14 19:22:04 -05:00
6ef58adc12 Update README.md 2022-01-14 19:21:36 -05:00
3b3abbe8ea Update README.md 2022-01-14 19:21:17 -05:00
da1fc66571 Update README.md 2022-01-10 13:50:37 -05:00
bc5d5c4a9b Update README.md 2022-01-10 13:49:48 -05:00
deb84dd757 Merge pull request #28 from ananace/fix-white-launcher
Add libglesv2 override to fix white launcher window
2022-01-10 13:42:54 -05:00
fc70cdc687 Update README.md 2022-01-10 12:57:39 -05:00
21444076de Add libglesv2 override to fix white launcher
Would also work with launch arguments e.g. --use-gl=osmesa - but that
doesn't work when the launcher auto-updates, since it'll relaunch
without the launch arguments specified in Lutris
2022-01-08 12:18:14 +01:00
4b32177e97 Clickable wiki URL what an idea 2022-01-07 15:55:56 -05:00
b4762d4724 Add comments 2022-01-07 14:30:38 -05:00
37c94af2ed Bump version 2022-01-07 14:26:24 -05:00
6d56599e2f Add comment 2022-01-07 14:23:43 -05:00
9909221dff Remove bc dependency 2022-01-07 14:22:59 -05:00
a328b465ef Add display wiki option in troubleshooting menu 2022-01-06 21:08:01 -05:00
8e28327e0f added /usr/share/lug-helper path for lutris json for easier packaging 2022-01-06 15:10:10 +01:00
156a0884d4 added /usr/share/lug-helper path for lutris json for easier packaging 2022-01-06 15:05:24 +01:00
809efb6a54 Add more referral codes! 2022-01-01 21:51:13 -05:00
5afa8e7c19 Improve post download handling 2022-01-01 16:12:14 -05:00
49079818f6 Rearrange some functions 2022-01-01 15:52:53 -05:00
227038a289 Check for installed wine in the pre-flight check 2022-01-01 15:37:51 -05:00
8f53957f3c Improve messages 2022-01-01 15:17:07 -05:00
662d78a021 Add install to command line arguments 2022-01-01 13:03:09 -05:00
d10a84c5fe Yet -_- 2022-01-01 12:56:13 -05:00
35e63f5bd5 Clarify messaging 2022-01-01 12:49:07 -05:00
f3166c77da Integrate EAC workaround from eac branch
Seems like it's going to take them a while to fix it, so
2021-12-29 18:11:33 -05:00
707211962f Rename starcitizen-lutris-install.json to lug-lutris-install.json 2021-12-28 15:59:13 -05:00
5df5cb210d Update lutris install json filename 2021-12-28 15:58:52 -05:00
bf36fc96a9 Update README.md 2021-12-28 15:42:30 -05:00
702c678716 Upload Lutris install json 2021-12-28 15:41:32 -05:00
dedefebd2d Add installer using a bundled lutris json 2021-12-28 15:40:45 -05:00
d24e8b590b Bump version 2021-12-24 14:46:38 -05:00
3daeb0b3b1 Update lug-helper.sh
fixed raw-wine repo path
2021-12-24 02:01:11 +01:00
e8c93196ff Specify license 2021-12-21 19:52:32 -05:00
1561e1a9f6 Bump version 2021-11-27 20:28:40 -05:00
a0110720f6 Improve version checker 2021-11-27 20:28:11 -05:00
c1af0383f2 Bump version number 2021-11-27 00:27:41 -05:00
74c5bd2275 Add dxvk manager to command line arguments
Fixes #25
2021-11-27 00:17:24 -05:00
48d49dd438 Update repo url 2021-11-25 14:08:23 -05:00
f080ae2bca Fix syntax 2021-11-21 21:24:57 -05:00
72677ff7d5 Additional referral code 2021-11-19 10:58:49 -05:00
42f9992abf Revert EAC workaround on master branch
Track changes in a dedicated branch
2021-11-16 12:57:17 -05:00
786e3f4c13 Easy Anti-Cheat workaround 2021-11-16 12:49:09 -05:00
08285946c8 Add more referral codes 2021-11-14 17:24:52 -05:00
dafc53615d Display actual mapcount and file limits on system 2021-11-14 12:13:10 -05:00
3f72676c71 Additional referral code 2021-11-11 23:40:24 -05:00
3d7702dfdd Additional referral code 2021-11-11 09:53:39 -05:00
7ae0bcf330 Add additional referral code 2021-11-10 15:05:25 -05:00
8ce1a9a8ea Use better variable names 2021-11-10 15:04:48 -05:00
431df4aabd Corrected debug message 2021-11-08 12:57:00 +01:00
9f2c72042e Ensure extracted directory matches archive name
This is how we detect installed items in download_select_install()
2021-10-28 12:30:39 -04:00
25b122e891 Improve comments 2021-10-28 02:18:15 -04:00
a76c3d0a1a Improve post download messages 2021-10-28 02:02:48 -04:00
25a773602e Add post-download instructions 2021-10-28 00:35:43 -04:00
d5d7f75dde Cleanup redundant code 2021-10-27 23:54:51 -04:00
44bcbf8161 Improve comments 2021-10-27 23:28:21 -04:00
acad90a0a5 Rewrite download_install function 2021-10-27 22:30:39 -04:00
77c6fd46bb Bump version 2021-10-27 20:53:41 -04:00
5c112831e0 Refactor runner and dxvk downloading 2021-10-27 20:53:11 -04:00
274c674681 Improve archive subdirectory handling 2021-10-24 12:29:55 -04:00
cf491f9151 Add dxvk releases from /dev/null 2021-10-24 12:01:38 -04:00
199e548767 Bump version 2021-10-18 20:38:07 -04:00
8087ffe564 Add dxvk directory to display_dirs 2021-10-18 15:31:59 -04:00
b2b2312ce9 Update README.md 2021-10-18 15:28:45 -04:00
4ad9603aa3 Download and install DXVK versions 2021-10-18 15:27:49 -04:00
709cb6dbae Bump version number 2021-10-11 10:26:31 -04:00
810f21415e Must be beautiful! 2021-10-11 10:25:25 -04:00
3e982b3303 Fix syntax 2021-10-11 10:10:20 -04:00
cfeb3a841f Update contributors 2021-10-11 09:36:14 -04:00
60af93add3 Update README.md 2021-10-11 09:35:57 -04:00
b64eaf88c5 Add referral code 2021-10-11 09:28:15 -04:00
e8d96c45a0 Fix previous sanity check 2021-10-10 22:16:02 -04:00
d8826f608c Add sanity check 2021-10-10 22:12:28 -04:00
07a99d3aa1 Add show directories to command line arguments 2021-10-10 22:06:00 -04:00
b4791a0b7d Formatting 2021-09-24 10:11:10 -04:00
e43a59ce7b Add moar referral codes! 2021-09-20 15:43:26 -04:00
fc98118ac5 List directories used by the helper and game 2021-09-19 23:13:46 -04:00
4fd9fec8f7 Fix version number (don't ask) 2021-09-18 16:33:06 -04:00
130704107b Bump version 2021-09-18 16:31:37 -04:00
15cad464e3 Remove extraneous / from path 2021-09-18 16:22:50 -04:00
cabfd03c29 Bump version number 2021-09-18 15:52:41 -04:00
33170fae78 Add better cancel button labels
Closes #22
2021-09-18 15:51:57 -04:00
b701ea5e3d Fix gzip error for non-gzip archives 2021-09-18 15:27:51 -04:00
05d75ec82f Ignore sha512sum files when creating download list 2021-09-18 15:17:39 -04:00
2f97a8eb2d Revert "ignoring .sha512sum files in runner release pages" and "solving trying to download the .sha512sum as archive"
Reverts commits c07e673 and 675621c.
2021-09-18 15:14:40 -04:00
cb3fc5d0d7 Reorganize version checker 2021-09-18 13:10:44 -04:00
c42d459ef2 Minor syntax, formatting, and organizational tweaks 2021-09-18 12:57:22 -04:00
675621c4c3 solving trying to download the .sha512sum as archive 2021-07-28 11:08:28 +02:00
c07e673c0d ignoring .sha512sum files in runner release pages 2021-07-27 20:32:07 +02:00
b85df29d6d Revert "ignoring .sha512sum files in runner release pages"
This reverts commit 7f3d84a8bc.
2021-07-27 20:31:02 +02:00
7f3d84a8bc ignoring .sha512sum files in runner release pages 2021-07-27 20:29:02 +02:00
6533cf98bd Merge pull request #20 from Wrzlprnft/patch-1
fix locale causing memory preflight check to fail
2021-07-20 08:49:37 +02:00
c7c8cd1ecd fix locale causing memory preflight check to fail
if the locale uses a decimal `,` instead of `.`, the memory preflight check fails
fix provided by @gort818
2021-07-19 16:01:38 +02:00
e0d149494d added script version check and glibc version check for /dev/null 2021-06-15 15:34:40 +02:00
9800420d73 added GloriousEggrolls lutris-Builds - thanks to Eutyches 2021-06-08 17:09:25 +02:00
eae146ce02 added support for the new directory structure in 3.13 and check for sudo 2021-04-25 15:11:04 +02:00
b4248fb264 Additional referral code 2021-03-21 14:51:53 -04:00
d5dbec7b3f Refactor directory handling 2021-03-13 12:21:46 -05:00
d4e8298743 Refactor directory paths
Preparation for upcoming changes to the game's directory structure
2021-03-13 09:59:28 -05:00
8ee730bf35 More referral codes! 2021-02-27 12:55:48 -05:00
b6eea7b224 Fix the fix 2021-02-20 18:07:08 -05:00
c9c3c07866 Fix formatting 2021-02-20 18:06:49 -05:00
2e883423d3 Spacing 2021-02-20 18:05:02 -05:00
12a3a51eb4 Add preflight check section comments 2021-02-20 18:04:34 -05:00
aec6ffbfc0 Fix floating point math 2021-02-20 18:01:13 -05:00
96b15262f5 You saw nothing.
*jedi mind wipe*
2021-02-16 14:49:45 -05:00
9986f62566 Merge pull request #16 from the-sane/avx
Add preflight check for AVX
2021-02-16 14:48:06 -05:00
a2397c28f0 Add preflight check for AVX 2021-02-16 14:23:14 -05:00
e8891b42e6 Add referral code 2021-02-12 19:34:12 -05:00
52f602498e Update README.md 2021-01-31 14:15:18 -05:00
9279c68d69 Update README.md 2021-01-31 14:14:07 -05:00
45e5f586dd Update README.md 2021-01-31 14:12:19 -05:00
9d532f3ac5 Update README.md 2021-01-31 14:11:03 -05:00
ce7031e873 Update README.md 2021-01-31 14:10:00 -05:00
8492cdc3a2 Update README.md 2021-01-31 14:09:28 -05:00
b22e84887e Improve argument handling 2021-01-31 11:33:31 -05:00
bfc2822a35 Rename variable for clarity 2021-01-31 11:11:38 -05:00
dfe15f8e78 Improve command line argument processing 2021-01-31 11:10:23 -05:00
8a27a77579 Merge pull request #15 from gort818/master
Add short options to arguments
2021-01-31 09:46:31 -05:00
28edb3393e Add short options to arguments 2021-01-30 20:01:06 -08:00
978e0adc92 Remove unused variable 2021-01-30 15:00:20 -05:00
1ae2d6e4b4 zsh compatibility 2021-01-30 14:45:38 -05:00
ae7c407b19 Add referral code 2021-01-30 14:37:41 -05:00
5caea10a6b Add more contributors <3 2021-01-30 14:35:54 -05:00
c6b56ac98b Update README.md 2021-01-30 14:35:30 -05:00
407db0bbcf Rename function 2021-01-30 14:32:41 -05:00
70f282d012 Add command line arguments 2021-01-30 14:32:16 -05:00
0018591192 Merge pull request #13 from victort/argumentative
added --help, help verbage, and structure for future argument handling.
2021-01-30 13:49:41 -05:00
e3d6e4db68 Merge pull request #14 from gort818/master
Remove superfluous if/then statments for XDG base dirs
2021-01-30 13:47:54 -05:00
ca2ce556aa Re-add comment 2021-01-30 13:45:35 -05:00
8e922ae0ef Remove superfluous if/then statments for XDG base dits 2021-01-28 21:26:17 -08:00
1d4ff8375e subtraction of abstraction 2021-01-28 17:50:58 -08:00
8bd3a165de added --help, help verbage, and structure for future argument handling. 2021-01-28 17:11:03 -08:00
1670c3ccf7 Update README.md 2021-01-27 17:32:48 -05:00
348bcfe0e4 Update README.md 2021-01-26 12:35:02 -05:00
5850ec847b Update README.md 2021-01-24 19:04:23 -05:00
829610b13e Improve menu description 2021-01-24 18:49:17 -05:00
f91422a8c4 Update README.md 2021-01-24 16:44:34 -05:00
12d9e205f7 Update README.md 2021-01-24 16:42:32 -05:00
d4c3015a22 Improve runner menu description 2021-01-24 16:21:49 -05:00
f6ea8c04c7 Add maintenence and troubleshooting menu 2021-01-24 16:15:35 -05:00
b7a36a872b Improve preflight check + check total ram 2021-01-24 15:37:06 -05:00
4a4d8a0f2a If you find yourself invoking grep and awk in one line, you're doing it wrong. 2021-01-24 15:35:33 -05:00
2dd81588b2 Improve message 2021-01-24 14:51:00 -05:00
7b7460fa0d Fallback to sudo where pollkit is unavailable 2021-01-24 14:43:42 -05:00
478ff37b8a Improve messages 2021-01-24 14:37:36 -05:00
1840983431 Improve preflight check
Run all actions at once to avoid multiple password prompts.
Move followups and results to the preflight_check function.
2021-01-24 12:44:49 -05:00
693edd56fa Clarify menu item 2021-01-24 01:29:46 -05:00
a0d60cf0ee Update README.md 2021-01-23 22:38:21 -05:00
371accc92c Update README.md 2021-01-23 22:37:53 -05:00
9af012eaaf Improve comments 2021-01-23 22:34:15 -05:00
870091faaa Fix messages 2021-01-23 22:13:28 -05:00
2c6cceb60f Add Preflight Check for all optimization checks 2021-01-23 22:05:23 -05:00
32e4dae92e Update README.md 2021-01-23 09:32:34 -05:00
7ebaa6d2d2 Additional referral code 2021-01-23 09:31:19 -05:00
8bea7dc005 Credit Tatumkhamun 2021-01-23 09:29:42 -05:00
5107076b2f Fallback logo 2021-01-17 16:17:51 -05:00
3cf15be6de Update README.md 2021-01-17 16:10:52 -05:00
7e30f706fc Update README.md 2021-01-17 16:05:10 -05:00
bc39507e48 Use an installed logo if available 2021-01-17 15:58:14 -05:00
9d8e17bd2a Add lug logo 2021-01-17 09:25:52 -05:00
fe2b9f56c0 Use the lug logo for zenity's taskbar icon 2021-01-17 09:25:18 -05:00
7a4de1ad21 Rearrange menu 2021-01-16 22:09:46 -05:00
4b924ba068 Improve message 2021-01-16 22:00:06 -05:00
b66d1554e9 Improve deletion messages & capital Helper. 2021-01-16 21:55:58 -05:00
ec3027bc28 Rearrange menu 2021-01-16 21:52:21 -05:00
ec794a0fd2 Add reset_helper feature 2021-01-16 21:51:00 -05:00
762c069fb5 Rename to debug_print 2021-01-16 21:33:15 -05:00
9689a4a60b Cleanup 2021-01-16 19:56:56 -05:00
6895313492 Update README.md 2021-01-16 19:24:23 -05:00
0e454883e9 Update README.md 2021-01-16 19:23:58 -05:00
0ef2481e70 Update README.md 2021-01-16 19:23:45 -05:00
3a9b4194e0 Improve debug message 2021-01-16 19:22:37 -05:00
9be4f45449 Show which mode we're in 2021-01-16 19:07:50 -05:00
7d667343d3 Cleanup 2021-01-16 18:51:32 -05:00
1aa6c3f4c2 Use conf directory for keybind backups 2021-01-16 18:50:28 -05:00
0c80a1f132 Improve intro comment 2021-01-16 14:31:27 -05:00
bc608f7ac4 Reference lutris default install path 2021-01-16 14:20:10 -05:00
d2983fa519 Improve debug messages 2021-01-16 14:07:44 -05:00
8e6fe1225d Fix shaders directory 2021-01-16 14:04:36 -05:00
41210bfd1c Check for curl dependency separately from coreutils 2021-01-16 11:54:44 -05:00
71df862879 Add curl dependency 2021-01-16 11:33:11 -05:00
2b94fd5e68 Update README.md 2021-01-16 09:33:13 -05:00
ee5da5d348 Add notify-send for dependency errors 2021-01-16 09:07:01 -05:00
7f9ad04753 printf for portability 2021-01-16 08:51:22 -05:00
37762b9075 Output errors to stderr 2021-01-15 20:42:47 -05:00
82c5ccbbab Remove testing oops 2021-01-15 20:21:51 -05:00
669ee6eb91 even moar referral codes! 2021-01-15 20:19:31 -05:00
7c0fbc65b7 Add contributor pstn 2021-01-15 20:02:48 -05:00
62477143f2 Dependency check. Remove tmp_dir on exit. 2021-01-15 20:02:10 -05:00
35fd12b672 Add mktemp suffix and fallback 2021-01-15 19:33:10 -05:00
ff30d8d557 Merge pull request #9 from pstn/fixes
Fixes
2021-01-15 19:27:12 -05:00
ec860270bb Use mktemp to generate tmp dir. 2021-01-15 18:02:28 +01:00
3ea9fb0f35 make shebang fully posix compatible 2021-01-15 18:00:52 +01:00
7f7b63caeb Formatting 2021-01-13 19:07:43 -05:00
86604f2b7d Kill only the curl spawned by the helper. More referral codes. 2021-01-13 19:06:36 -05:00
5a00c74ddc MOAR REFERRAL CODES! 2021-01-12 18:30:20 -05:00
089f69ef06 Formatting 2021-01-11 20:13:47 -05:00
9e79fd68e0 Fix comment 2021-01-11 20:10:41 -05:00
d42207d521 Update README.md 2021-01-11 20:04:01 -05:00
5c55e6795c Update README.md 2021-01-11 20:03:42 -05:00
5db7fef24c Update README.md 2021-01-11 20:03:24 -05:00
08f8f1e07c Add Zenity progress bars for runner installation. +More referral codes. 2021-01-11 20:01:47 -05:00
707d1ad47d Improve comments 2021-01-03 13:48:48 -05:00
f2dfda5c5b Update README.md 2021-01-03 13:29:28 -05:00
debf799dad Update README.md 2021-01-03 13:28:52 -05:00
0d7e4ea2b3 Improve comments 2021-01-03 08:49:13 -05:00
aaccca1dc9 Clarify instructions 2021-01-02 08:57:01 -05:00
b378de0b9e Add more penguin referral codes 2021-01-02 08:47:03 -05:00
61e14ed4de Improve getdirs: Try to detect the game directory 2021-01-01 14:52:43 -05:00
2cdef0f1c4 Begin adding penguin referral code randomzier 2021-01-01 10:41:07 -05:00
d20fc859e1 Shorten comments for small terminal windows 2020-12-31 20:55:44 -05:00
4cc8e3331c Only offer to restart lutris if it's running 2020-12-31 20:46:45 -05:00
a5d372a43b Improve debug_echo function 2020-12-31 20:43:10 -05:00
48582c3a22 Refactor URL handling for easy future additions
Store runner source URLs in an array for easy expansion.
Handle different file extensions automatically.
Detect whether the archive is packaged with a subdirectory or not and handle it automatically.
2020-12-31 20:28:34 -05:00
363be810aa + <3 2020-12-27 19:08:11 -05:00
467e1b7164 Re-order operations in case some shells can't math good 2020-12-27 19:07:17 -05:00
85c1f62c22 Update phrasing 2020-12-27 18:04:45 -05:00
758f106efd Add debug_echo function
Easy formatting of debug messages
2020-12-27 17:47:57 -05:00
43d2b467e8 Dynamically calculate zenity menu heights 2020-12-27 17:27:00 -05:00
aa60600807 Throw out zenity errors
Cleans up the terminal output
2020-12-27 16:56:41 -05:00
02338ff299 Update README.md 2020-12-27 16:47:26 -05:00
a2594c3af3 Add contributors and function sections 2020-12-27 16:45:31 -05:00
e63893f50a Merge pull request #7 from the-sane/runners
Merge Runners
2020-12-27 16:35:10 -05:00
fa14c6d9de Merge pull request #6 from Termuellinator/patch-1
Added option to download and delete runners
2020-12-27 16:34:00 -05:00
8f3efd0b9c Fix url parsing
Be more specific for when grep returns multiple matches
2020-12-27 16:32:55 -05:00
6d7c84c8b6 Loop runner_manage menu until the user cancels 2020-12-27 15:40:54 -05:00
c12509bc0c Fix string compare 2020-12-27 14:59:41 -05:00
224c531d64 Offer Lutris restart only if changes were made 2020-12-27 14:57:57 -05:00
32fdc04ec7 Improve runner_delete
Sanity check and rename variable
2020-12-27 14:48:38 -05:00
20eb8e984a Rename functions with "runner_" prefix
Consistency with other function names
2020-12-27 14:43:05 -05:00
0df2659e54 Don't manage lutris runners if lutris isn't installed 2020-12-27 14:34:09 -05:00
4a0b053a68 Restart after deleting a runner 2020-12-27 14:30:22 -05:00
26030a6c82 Use XDG_DATA_HOME 2020-12-27 14:29:00 -05:00
9c44505d27 Improve install_runner 2020-12-27 14:12:20 -05:00
7f0f12e61b Add sanity check for function argument 2020-12-27 11:11:20 -05:00
da8c63fdcf Improve choose_runner_version()
Fix bash formatting and improve code consistency, add sanity check to catch github API errors
2020-12-27 10:58:00 -05:00
6e27ae8449 Refactor choose_runner_to_delete(). Untabify. 2020-12-25 11:24:10 -05:00
be533e842b Update lug-helper.sh
quoted the variables
2020-12-22 20:06:39 +01:00
dfc2b4f573 Added option to download and delete runners
finally :D
2020-12-22 13:02:18 +01:00
4 changed files with 2471 additions and 502 deletions

100
README.md
View File

@ -1,39 +1,85 @@
# lug-helper # LUG Helper
**Star Citizen's Linux Users Group Helper Script** **Star Citizen's Linux Users Group Helper Script**
https://robertsspaceindustries.com/orgs/LUG https://robertsspaceindustries.com/orgs/LUG
*Greetings, fellow Penguin!* ### *Greetings, fellow Penguin!*
_**This script is designed to help you manage and optimize Star Citizen on Linux.**_
This script is designed to help you optimize your system to run Star Citizen as smoothly as possible. It presents options to check your system for optimal settings and helps you change them as needed to prevent game crashes. 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.
It also gives you a fast and easy way to wipe your Star Citizen *USER* folder as is recommended by CIG after major version updates. It will back up your exported keybinds, delete your *USER* folder, then restore your keybind file(s). Configuration is saved in *$XDG_CONFIG_HOME/starcitizen-lug/*
Keybinds are backed up to *$XDG_CONFIG_HOME/starcitizen-lug/keybinds/*
Zenity menus are used for a GUI experience with a fallback to terminal-based menus where Zenity is unavailable. The game directory paths provided by the user on first run are saved in *$XDG_CONFIG_HOME/starcitizen-lug*.
## Options: ## Options:
`Check vm.max_map_count for optimal performance` `Preflight Check`
- We recommend setting this to at least 16777216 to give the game access to sufficient memory. - Runs a series of system optimization checks and offers to fix any issues.
- The helper will offer to set it for you or show you the commands to do it yourself. - Checks that vm.max_map_count is set to at least 16777216.
- This sets the maxmimum number of "memory map areas" a process can have. While most applications need less than a thousand maps, Star Citizen requires access to more.
- 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.
`Check my open file descriptors limit` `Install Star Citizen`
- We recommend setting the hard open files limit to at least 524288. - Launches Lutris and uses the bundled json to install Star Citizen
- The helper will offer to set it for you and try to auto-detect the correct method to do so.
- It is able to update either */etc/systemd/system.conf* or */etc/security/limits.conf*
`Delete my Star Citizen USER folder and preserve my keybinds` `Deploy Easy Anti-Cheat Workaround`
- The helper will make backups of any exported keybinds, delete your Star Citizen USER folder, then restore your keybind files. - Applies the workaround to /etc/hosts and deletes the necessary EAC 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*
`Delete my shaders only` `Manage Lutris Runners`
- Sometimes all you need to do between major version updates is delete your shaders directory. - Quickly install and delete Lutris wine runners
`Delete my DXVK cache` `Manage Lutris DXVK Versions`
- A troubleshooting step that sometimes helps fix various issues and crashes. - Quickly install and delete DXVK versions for Lutris
`Switch the helper between LIVE and PTU` `Maintenance and Troubleshooting`
- Toggle between targeting LIVE or PTU for all of the above options. Defaults to LIVE on each run. - `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.
- `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*
- `Delete my shaders`
- It is recommended to delete your shaders directory after each game update.
- `Delete my DXVK cache`
- A troubleshooting step that sometimes helps fix various issues and crashes.
- `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/*
- `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:
**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/
_Dependencies: **bash**, **coreutils**, **curl**, **polkit** (these should be installed by default on most distributions)_
_Optional Dependencies: **zenity** (for GUI)_
## 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
- Runner Downloader inspired by https://github.com/richardtatum/sc-runner-updater

File diff suppressed because it is too large Load Diff

BIN
lug-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

102
lug-lutris-install.json Normal file
View File

@ -0,0 +1,102 @@
{
"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"
}
}
}
]
}