4 Commits

Author SHA1 Message Date
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

View File

@ -102,6 +102,9 @@ install_path="drive_c/Program Files/Roberts Space Industries/$sc_base_dir"
live_dir="LIVE" live_dir="LIVE"
ptu_dir="PTU" ptu_dir="PTU"
# AppData directory
appdata_path="drive_c/users?/appdata?/something/local/idontknow/starcitizen"
# Remaining directory paths are set at the end of the getdirs() function # Remaining directory paths are set at the end of the getdirs() function
######## Runners ########################################################### ######## Runners ###########################################################
@ -132,6 +135,7 @@ dxvk_dir="$data_dir/lutris/runtime/dxvk"
dxvk_sources=( dxvk_sources=(
"Sporif Async" "https://api.github.com/repos/Sporif/dxvk-async/releases" "Sporif Async" "https://api.github.com/repos/Sporif/dxvk-async/releases"
"/dev/null" "https://api.github.com/repos/gort818/dxvk/releases" "/dev/null" "https://api.github.com/repos/gort818/dxvk/releases"
"gnusenpai" "https://api.github.com/repos/gnusenpai/dxvk/releases"
) )
# Set a maximum number of versions to display from each download url # Set a maximum number of versions to display from each download url
@ -169,7 +173,7 @@ lug_wiki="https://github.com/starcitizen-lug/information-howtos/wiki"
# Github repo and script version info # Github repo and script version info
repo="starcitizen-lug/lug-helper" repo="starcitizen-lug/lug-helper"
releases_url="https://github.com/$repo/releases" releases_url="https://github.com/$repo/releases"
current_version="v1.18" current_version="v1.20"
############################################################################ ############################################################################
############################################################################ ############################################################################
@ -524,7 +528,7 @@ getdirs() {
# The location within the USER directory to which the game exports keybinds # The location within the USER directory to which the game exports keybinds
keybinds_dir="$user_dir/Controls/Mappings" keybinds_dir="$user_dir/Controls/Mappings"
# Shaders directory # Shaders directory
shaders_dir="$user_dir/shaders" shaders_dir="$wine_prefix/$appdata_path/shaders"
# dxvk cache file # dxvk cache file
dxvk_cache="$game_path/$live_or_ptu/StarCitizen.dxvk-cache" dxvk_cache="$game_path/$live_or_ptu/StarCitizen.dxvk-cache"
# Where to store backed up keybinds # Where to store backed up keybinds
@ -1030,6 +1034,9 @@ download_install() {
*.tar.xz) *.tar.xz)
download_name="$(basename "$download_file" .tar.xz)" download_name="$(basename "$download_file" .tar.xz)"
;; ;;
*.tar.zst)
download_name="$(basename "$download_file" .tar.zst)"
;;
*) *)
debug_print exit "Unknown archive filetype in download_install function. Aborting." debug_print exit "Unknown archive filetype in download_install function. Aborting."
;; ;;
@ -1231,7 +1238,10 @@ download_select_install() {
;; ;;
*.tar.xz) *.tar.xz)
download_name="$(basename "${download_versions[i]}" .tar.xz)" download_name="$(basename "${download_versions[i]}" .tar.xz)"
;; ;;
*.tar.zst)
download_name="$(basename "${download_versions[i]}" .tar.zst)"
;;
*) *)
debug_print exit "Unknown archive filetype in download_select_install function. Aborting." debug_print exit "Unknown archive filetype in download_select_install function. Aborting."
;; ;;