181 Commits

Author SHA1 Message Date
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
3 changed files with 1832 additions and 874 deletions

View File

@ -1,4 +1,4 @@
# LUG-Helper
# LUG Helper
**Star Citizen's Linux Users Group Helper Script**
https://robertsspaceindustries.com/orgs/LUG
@ -8,7 +8,7 @@ _**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:
@ -20,10 +20,16 @@ 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.
`Install Star Citizen`
- Launches Lutris and uses the bundled json to install Star Citizen
`Deploy Easy Anti-Cheat Workaround`
- Applies the workaround to /etc/hosts and deletes the necessary EAC files
`Manage Lutris Runners`
- Quickly install and delete Lutris wine runners
`Manage DXVK Versions`
`Manage Lutris DXVK Versions`
- Quickly install and delete DXVK versions for Lutris
`Maintenance and Troubleshooting`
@ -37,8 +43,8 @@ Keybinds are backed up to *$XDG_CONFIG_HOME/starcitizen-lug/keybinds/*
- To re-import your keybinds from within the game, select them from the list:
- *Options->Keybindings->Control Profiles*
- `Delete my shaders folder only`
- Sometimes all you need to do between major version updates is delete your shaders directory.
- `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.
@ -49,6 +55,9 @@ Keybinds are backed up to *$XDG_CONFIG_HOME/starcitizen-lug/keybinds/*
- `Reset Helper configs`
- Delete the configs saved by the helper in *$XDG_CONFIG_HOME/starcitizen-lug/*
- `Show the LUG Wiki`
- Display a link to the LUG Wiki for help with installation and troubleshooting
`Get a random Penguin's Star Citizen referral code`
- Display a referral code for a random member of the Star Citizen Linux Users Group.
@ -56,12 +65,15 @@ Keybinds are backed up to *$XDG_CONFIG_HOME/starcitizen-lug/keybinds/*
## 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/
_Dependencies: **bash**, **coreutils**, **curl**, **polkit** (these should be installed by default on most distributions)_
_Optional Dependencies: **zenity** (for GUI)_
## Contributors:
- https://github.com/Termuellinator
@ -69,4 +81,5 @@ Arch Linux: https://aur.archlinux.org/packages/lug-helper/
- 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

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"
}
}
}
]
}