Spaces:
Configuration error
Configuration error
VHSgunzo commited on
Commit ·
90a73fa
1
Parent(s): fc7e3a7
v0.78.4.6
Browse filesFiles changed (15)
- CHANGELOG.md+18
- README.md+2
- db/Caliber.lwdbDeleted-1
- db/CaliberSetup.lwdbDeleted-8
- db/CaliberStart.lwdbDeleted-1
- db/LeagueClient.lwdb+1-1
- db/[EXE_NAMES].lwdb-2
- db/launcher.lwdb-5
- db/setup.lwdbDeleted-5
- db/speed.lwdb+4-4
- index.html+64-20
- lux-wine+80-23
- lwrap/PKGBUILD+2-2
- lwrap/lwrap+64-20
- main.zip+2-2
123# v0.78.4.5* HotFix menu apps LW categories icon123456789101112131415161718192021# v0.78.4.6* Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages* Update [GE-Proton](https://github.com/VHSgunzo/ge-proton-lw/releases/tag/v9.4) `v9.4`* Update `wine-staging` (System) in container to `v9.6`* Remove DB script for `Caliber`* Remove DB script for `setup`* Update DB script for `Need for Speed Underground`* Update DB script for `Need for Speed Underground 2`* Update DB script for `Need for Speed Most Wanted`* Update DB script for `Need for Speed Carbon`* Add install LW from container if couldn't download from the internet* Fix install with `wget2`* Fix install with `aria2` if user config exist* Add `Controllermap` to `Settings`* Add `SDL_GAMECONTROLLERCONFIG` to `Settings`* Add `Gamescope` to `Settings`# v0.78.4.5* HotFix menu apps LW categories icon
153 unmodified lines154155156157158159153 unmodified lines- [x] AMD FidelityFX Contrast Adaptive Sharpening settings (depends on [VkBasalt](https://github.com/DadSchoorse/vkBasalt/releases))- [x] [Gstreamer](https://github.com/GStreamer/gstreamer) (if Wine support)- [x] [GameMode](https://github.com/FeralInteractive/gamemode/releases)- [x] Esync- [x] Fsync (if linux kernel support)- [x] Vsync settings153 unmodified lines154155156157158159160161153 unmodified lines- [x] AMD FidelityFX Contrast Adaptive Sharpening settings (depends on [VkBasalt](https://github.com/DadSchoorse/vkBasalt/releases))- [x] [Gstreamer](https://github.com/GStreamer/gstreamer) (if Wine support)- [x] [GameMode](https://github.com/FeralInteractive/gamemode/releases)- [x] [Gamescope](https://github.com/ValveSoftware/gamescope)- [x] [controllermap](https://aur.archlinux.org/packages/controllermap)- [x] Esync- [x] Fsync (if linux kernel support)- [x] Vsync settings
1CaliberSetup.lwdb12345678#DB# Caliber # DB_EXES=('CaliberSetup.exe' 'Caliber.exe' 'CaliberStart.exe' 'launcher.exe')
WIN_VER=10WINEARCH=win64WINE_VERSION=SystemUSE_DEFPFX_BACKUP=1MUST_HAVE_DLL=DisabledWPREFIX_NAME=syswinepfx1CaliberSetup.lwdb13 unmodified lines1415161718192013 unmodified linespfxsetupfl="$LW_DEF_WPFXS_DIR/$WPREFIX_NAME/.setup"if [ ! -f "$pfxsetupfl" ]thensource "$LW_DB_DIR/setup.lwdb"pre_launch() {touch "$pfxsetupfl"(if [ "$EXE_NAME" == "LeagueClient" ]13 unmodified lines1415161718192013 unmodified linespfxsetupfl="$LW_DEF_WPFXS_DIR/$WPREFIX_NAME/.setup"if [ ! -f "$pfxsetupfl" ]thenWINE_VERSION=Systempre_launch() {touch "$pfxsetupfl"(if [ "$EXE_NAME" == "LeagueClient" ]
12345678case "${EXE_NAME,,}" in*'league of legends'*)EXE_LWDBFL="$LW_DB_DIR/LeagueClient.lwdb" ;;gog_galaxy*)EXE_LWDBFL="$LW_DB_DIR/setup.lwdb" ;;wemod-*)EXE_LWDBFL="$LW_DB_DIR/WeMod.lwdb" ;;zonasetup*)123456case "${EXE_NAME,,}" in*'league of legends'*)EXE_LWDBFL="$LW_DB_DIR/LeagueClient.lwdb" ;;wemod-*)EXE_LWDBFL="$LW_DB_DIR/WeMod.lwdb" ;;zonasetup*)
12345646 unmodified lines53545556575859#DB# Crossout # DB_EXES=('launcher.exe')#DB# Dark Sector # DB_EXES=('DS.exe' 'launcher.exe')#DB# Caliber # DB_EXES=('CaliberSetup.exe' 'Caliber.exe' 'CaliberStart.exe' 'launcher.exe')#DB# Honkai: Star Rail # DB_EXES=('launcher.exe') !'StarRail.exe'srlauncher() {46 unmodified lines}WIN_VER=10case "$EXE_DIR" inCaliber) source "$LW_DB_DIR/CaliberSetup.lwdb" ;;esac1234546 unmodified lines525354#DB# Crossout # DB_EXES=('launcher.exe')#DB# Dark Sector # DB_EXES=('DS.exe' 'launcher.exe')#DB# Honkai: Star Rail # DB_EXES=('launcher.exe') !'StarRail.exe'srlauncher() {46 unmodified lines}WIN_VER=10
12345#DB# Setup # DB_EXES=('setup.exe')#DB# GOG Galaxy # DB_EXES=('gog_galaxy.*.exe')#DB# League of Legends # DB_EXES=('live.na.exe' 'LeagueClient.exe' 'RiotClientServices.exe' '.*league of legends.*')
WINE_VERSION=System14 unmodified lines151617181920212214 unmodified lines}case "$EXE_DIR" in'Need for Speed Most Wanted'|\'Need for Speed Carbon') set_syswine ;;'Need for Speed Underground'|\'Need for Speed Underground 2') set_syswine ; WD3DMODE=WineD3D ;;esac14 unmodified lines151617181920212214 unmodified lines}case "$EXE_DIR" in'Need for Speed'*'Most Wanted'|\'Need for Speed'*'Carbon') set_syswine ;;'Need for Speed'*'Underground'|\'Need for Speed'*'Underground 2') set_syswine ; WD3DMODE=WineD3D ;;esac
394 unmodified lines3953963973983994006 unmodified lines407408409410411412413414415416417418419420421348 unmodified lines77077177277377477517 unmodified lines7937947957967977987998008018028038048058068078088098108118128138148158168178181 unmodified line820821822823824825826827828829830831832833394 unmodified lines}install_lw() {rm_tmplw() { [[ -d "$TMP_LW" || -f "$TMP_LW.zip" ]] && rm -rf "$TMP_LW"* ; }TMP_LW="/tmp/lux-wine.$RANDOM"if [ "$1" != "local" ] && \6 unmodified linescd "$TMP_LW/lux-wine-main" && \make_install "$1"rm_tmplw)fielif [ -d "/opt/lwrap" ]theninfo_msg "Installing Lux Wine from container..."(mkdir -p "$TMP_LW" && \cp -rf "/opt/lwrap"/!(runtime.tar.zst|prefix_backups) "$TMP_LW" && \cd "$TMP_LW" && \make_install "$1"rm_tmplw)fiif is_lwthen info_msg "Lux Wine installed!"348 unmodified linesfiif is_url "$URL"then[ ! -d "$FILEDIR" ] && \mkdir -p "$FILEDIR"if [[ "$NOT_TERM" == 1 && "$NO_DL_GUI" != 1 ]] && \17 unmodified lineselse return 1fi}if [ "$NO_ARIA2C" != 1 ] && \is_exe_exist aria2cthenaria2c -R -x 13 -s 13 --allow-overwrite --summary-interval=1 -o \"$FILENAME" -d "$FILEDIR" "$URL"|grep --line-buffered 'ETA'|\sed -u 's|(.*)| &|g;s|(||g;s|)||g;s|\[||g;s|\]||g'|\awk '{print$3"\n#Downloading at "$3,$2,$5,$6;system("")}'|\dl_progresselif is_exe_exist wgetthenwget --no-check-certificate --content-disposition -t 3 -T 5 \-w 0.5 "$URL" -O "$FILEDIR/$FILENAME"|& tr '\r' '\n'|\sed -u 's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\ ETA: \3/; s/^20[0-9][0-9].*/#Done./'|\dl_progresselif is_exe_exist curlthencurl -R --progress-bar --insecure --fail -L "$URL" -o \"$FILEDIR/$FILENAME" |& tr '\r' '\n'|\sed -ur 's|[# ]+||g;s|.*=.*||g;s|.*|#Downloading at &\n&|g'|\dl_progresselseerr_no_downloaderfi1 unmodified lineelseif [ "$NO_ARIA2C" != 1 ] && is_exe_exist aria2cthenaria2c -R -x 13 -s 13 --allow-overwrite -d "$FILEDIR" -o "$FILENAME" "$URL"elif is_exe_exist wgetthenwget -q --show-progress --no-check-certificate --content-disposition \-t 3 -T 5 -w 0.5 "$URL" -O "$FILEDIR/$FILENAME"elif is_exe_exist curlthencurl -R --progress-bar --insecure --fail -L "$URL" -o "$FILEDIR/$FILENAME"elseerr_no_downloaderfi394 unmodified lines3953963973983994004014024034044054064074084094104116 unmodified lines418419420421422423424425426348 unmodified lines77577677777877978078117 unmodified lines7998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598601 unmodified line862863864865866867868869870871872873874875876877394 unmodified lines}install_lw() {install_local_lw() {if [ -d "/opt/lwrap" ]theninfo_msg "Installing Lux Wine from container..."(mkdir -p "$TMP_LW" && \cp -rf "/opt/lwrap"/!(runtime.tar.zst|prefix_backups) "$TMP_LW" && \cd "$TMP_LW" && \make_install "$1"rm_tmplw)fi}rm_tmplw() { [[ -d "$TMP_LW" || -f "$TMP_LW.zip" ]] && rm -rf "$TMP_LW"* ; }TMP_LW="/tmp/lux-wine.$RANDOM"if [ "$1" != "local" ] && \6 unmodified linescd "$TMP_LW/lux-wine-main" && \make_install "$1"rm_tmplw)else install_local_lw "$1"fielse install_local_lw "$1"fiif is_lwthen info_msg "Lux Wine installed!"348 unmodified linesfiif is_url "$URL"thenWGET_ARGS=(-q --no-check-certificate --content-disposition -t 3 -T 5 -w 0.5 "$URL" -O "$FILEDIR/$FILENAME")[ ! -d "$FILEDIR" ] && \mkdir -p "$FILEDIR"if [[ "$NOT_TERM" == 1 && "$NO_DL_GUI" != 1 ]] && \17 unmodified lineselse return 1fi}dl_progress_pulsate() {local ret=1[[ "$URL" =~ '&key=' ]] && \local URL="$(echo "$URL"|sed "s|\&key=.*||g")"[[ "$URL" =~ '&' && ! "$URL" =~ '&' ]] && \local URL="$(echo "$URL"|sed "s|\&|\&|g")"if is_exe_exist yadthenlocal yad_args=(--progress --pulsate --text="Download:\t$FILENAME\n$URL"--width=650 --height=40 --undecorated --skip-taskbar--no-buttons --text-align center --auto-close --auto-kill--center --fixed --on-top --no-escape --selectable-labels)"$@" &local exec_pid="$!"if [[ -n "$exec_pid" && -d "/proc/$exec_pid" ]]then(while [ -d "/proc/$exec_pid" ]do echo -e "#\n" ; sleep 0.1 2>/dev/nulldone)|yad "${yad_args[@]}" &>/dev/null &local yad_pid="$!"wait "$exec_pid" &>/dev/nullret="$?"kill "$yad_pid" &>/dev/nullfielif is_exe_exist zenitythen"$@"|zenity --progress --pulsate --text="$URL" --width=650 --height=40 \--auto-close --no-cancel --title="Download: $FILENAME"ret="$?"fireturn "$ret"}if [ "$NO_ARIA2C" != 1 ] && \is_exe_exist aria2cthenaria2c --no-conf -R -x 13 -s 13 --allow-overwrite --summary-interval=1 -o \"$FILENAME" -d "$FILEDIR" "$URL"|grep --line-buffered 'ETA'|\sed -u 's|(.*)| &|g;s|(||g;s|)||g;s|\[||g;s|\]||g'|\awk '{print$3"\n#Downloading at "$3,$2,$5,$6;system("")}'|\dl_progresselif is_exe_exist curlthencurl -R --progress-bar --insecure --fail -L "$URL" -o \"$FILEDIR/$FILENAME" |& tr '\r' '\n'|\sed -ur 's|[# ]+||g;s|.*=.*||g;s|.*|#Downloading at &\n&|g'|\dl_progresselif is_exe_exist wget2thendl_progress_pulsate wget2 "${WGET_ARGS[@]}"elif is_exe_exist wgetthenwget "${WGET_ARGS[@]}"|& tr '\r' '\n'|\sed -u 's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\ ETA: \3/; s/^20[0-9][0-9].*/#Done./'|\dl_progresselseerr_no_downloaderfi1 unmodified lineelseif [ "$NO_ARIA2C" != 1 ] && is_exe_exist aria2cthenaria2c --no-conf -R -x 13 -s 13 --allow-overwrite -d "$FILEDIR" -o "$FILENAME" "$URL"elif is_exe_exist curlthencurl -R --progress-bar --insecure --fail -L "$URL" -o "$FILEDIR/$FILENAME"elif is_exe_exist wget2thenwget2 --force-progress "${WGET_ARGS[@]}"elif is_exe_exist wgetthenwget --show-progress "${WGET_ARGS[@]}"elseerr_no_downloaderfi
1234562255 unmodified lines2262226322642265226622672268511 unmodified lines27802781278227832784278596 unmodified lines2882288328842885288628873 unmodified lines2891289228932894289528962897167 unmodified lines30653066306730683069307077 unmodified lines314831493150315131523153100 unmodified lines32543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732782559 unmodified lines583858395840584158425843364 unmodified lines6208620962106211621262136214#!/usr/bin/env bashexport LW_VERSION="0.78.4.5"export LW_DEVELOPERS="VHSgunzo"export RED='\033[1;91m'2255 unmodified lines[[ "$E_EXE_ARGS" =~ ^declare ]] && eval "$E_EXE_ARGS"[[ "$E_EXE_WRAPPER" =~ ^declare ]] && eval "$E_EXE_WRAPPER"$RUN_VKCAPTURE $RUN_FPSLIMIT $RUN_GAMEMODE $RUN_MANGOHUD $RUN_CPU_LIMIT \"$WINE" $RUN_VDESKTOP "${EXE_WRAPPER[@]}" "${LU_EXEC[@]}" "${EXE_ARGS[@]}"}exec_wine_with_dbg_log() { echo_dbg|& tee -a "$LOG_FILE" ; exec_wine|& tee -a "$LOG_FILE" ; }exec_wine_with_log() { echo_dbg ; exec_wine|& tee -a "$LOG_FILE" ; }511 unmodified linescheck_themescheck_cpu_limitcheck_fps_limitcheck_us_switchercheck_restore_gammacheck_restore_resol96 unmodified linesMANGOHUDLST="Enabled \n DLSYM \n Disabled"VKCAPTURELST="Vulkan \n OpenGL \n Disabled"GTKTHEMELST="Adwaita:dark \n Adwaita \n $(ls -1 "$HOME/.themes" 2>/dev/null)"lwconfig_save() {LWCFGVAR="WINE_VERSION WIN_VER WINEARCH WINEPREFIX WINE_THEME WDLLOVER WMONOVER WD3DMODE DISABLE_NVAPI WINE_DXGI D3D_EXTRAS DGVOODOO2 \DXVK_VERSION VKD3D_VERSION DXVK_NVAPI_VERSION D3D_EXTRAS_VERSION DGVOODOO2_VERSION WINE_NVML_VERSION VKD3DCFG MUST_HAVE_DLL \3 unmodified linesLOADBAR LOADBARGIF CHKSTEAMAPPS LW_STEAMAPPS_DIR CHECK_LW_APPS GTK_THEME LOG DEBUG SYS_WINETRICKS CPU_LIMIT CMPRSS_METHOD ZSTD_CMPRSS_LVL \DIS_OTH_DISPL RESTORE_RESOL RESTORE_GAMMA DIS_COPMOSITOR RESET_PULSE PULSE_LTCY TERMINAL HOLD_TERMINAL LW_TERM_APP \LW_DOWNLOADER AUTOSTART_TRAY US_LAYOUT VKBASALT VKBASALT_FFX_CAS VKICDFILES GAMEMODE LWMANGOHUD MANGOHUD_USER_CONF FPS_LIMIT \VSYNC LWVKCAPTURE NVPRIME DRIPRIME"WCFGOUT="$(while read CFGVAR <&3 && read CFGPARAM <&4do[ -n "$(echo "$CFGPARAM"|sed "s|''||")" ] && \167 unmodified lines--field="OBS-VkCapture::CB" "$(cfg_items "$LWVKCAPTURE" "$VKCAPTURELST")" \--field="NVIDIA Prime Render Offload:CHK" "$NVPRIME" \--field="DRI_PRIME:CHK" "$DRIPRIME" \--file-filter="All Files | *.*" \1> /tmp/syssett$LWCFGKEY &77 unmodified lines--field="Kill SHELL:FBTN" "$LWSHELL -c 'lu_killshell'" \--field="Kill tray:FBTN" "$LWSHELL -c 'lu_killtray'" \--field="Force Exit:FBTN" "$LWSHELL -c 'lu_exit'" \&>/dev/null &check_exes100 unmodified linesSETTBTN="$(cat "/tmp/settbtn$LWCFGKEY")"try_rm "/tmp/settbtn$LWCFGKEY"case $SETTBTN inwinemgr) lu_winemgrbtntls_run ;;clearpfx) lu_clearpfxsleep 0.5btntls_run ;;update) lu_updatebtntls_run ;;winetricks) btntls_run -winetricks ;;init) btntls_run -init ;;pfxbackup) btntls_run -pfxbackup ;;pfxrestore) btntls_run -pfxrestore ;;appcfg) LU_EXE= lu_appcfg ;;esacfi}2559 unmodified linesfi}check_vkd3dconfig() {[ -n "$1" ] && export VKD3DCFG="$1"if [[ -n "$VKD3DCFG" && "$VKD3DCFG" != "Disabled" ]]364 unmodified linescheck_display check_restore_resol resol_sw check_restore_gamma dis_displ_sw restore_resol check_virt_desktop check_vkbasalt_cfg check_exe_args \check_wine_nvml check_resizable_bar check_latencyflex get_proton_d3dlib makesquash_zstd makesquash_xz lu_pfxbackup lu_pfxrestore lu_backupmnt lu_backupunmnt \check_dxvk_async check_vsync get_wine_git_lst try_dl_install_wine exeargs_parse try_add_reg_cdrom shrt_loop shrt_from_url shrt_from_lnk check_shrt \get_shrt_data check_autostart_tray check_config_only}initbar() {1234562255 unmodified lines2262226322642265226622672268511 unmodified lines278027812782278327842785278696 unmodified lines28832884288528862887288828893 unmodified lines2893289428952896289728982899167 unmodified lines3067306830693070307130723073307477 unmodified lines3152315331543155315631573158100 unmodified lines3259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033212559 unmodified lines58815882588358845885588658875888588958905891589258935894589558965897589858995900364 unmodified lines6265626662676268626962706271#!/usr/bin/env bashexport LW_VERSION="0.78.4.6"export LW_DEVELOPERS="VHSgunzo"export RED='\033[1;91m'2255 unmodified lines[[ "$E_EXE_ARGS" =~ ^declare ]] && eval "$E_EXE_ARGS"[[ "$E_EXE_WRAPPER" =~ ^declare ]] && eval "$E_EXE_WRAPPER"$RUN_VKCAPTURE $RUN_FPSLIMIT $RUN_GAMEMODE $RUN_MANGOHUD $RUN_CPU_LIMIT \$RUN_GAMESCOPE "$WINE" $RUN_VDESKTOP "${EXE_WRAPPER[@]}" "${LU_EXEC[@]}" "${EXE_ARGS[@]}"}exec_wine_with_dbg_log() { echo_dbg|& tee -a "$LOG_FILE" ; exec_wine|& tee -a "$LOG_FILE" ; }exec_wine_with_log() { echo_dbg ; exec_wine|& tee -a "$LOG_FILE" ; }511 unmodified linescheck_themescheck_cpu_limitcheck_fps_limitcheck_gamescopecheck_us_switchercheck_restore_gammacheck_restore_resol96 unmodified linesMANGOHUDLST="Enabled \n DLSYM \n Disabled"VKCAPTURELST="Vulkan \n OpenGL \n Disabled"GTKTHEMELST="Adwaita:dark \n Adwaita \n $(ls -1 "$HOME/.themes" 2>/dev/null)"GAMESCOPEARGSLST="Disabled \n -f \n -W 1920 -H 1080 -f \n -w 2560 -h 1440 -W 1920 -H 1080 -F fsr -f"lwconfig_save() {LWCFGVAR="WINE_VERSION WIN_VER WINEARCH WINEPREFIX WINE_THEME WDLLOVER WMONOVER WD3DMODE DISABLE_NVAPI WINE_DXGI D3D_EXTRAS DGVOODOO2 \DXVK_VERSION VKD3D_VERSION DXVK_NVAPI_VERSION D3D_EXTRAS_VERSION DGVOODOO2_VERSION WINE_NVML_VERSION VKD3DCFG MUST_HAVE_DLL \3 unmodified linesLOADBAR LOADBARGIF CHKSTEAMAPPS LW_STEAMAPPS_DIR CHECK_LW_APPS GTK_THEME LOG DEBUG SYS_WINETRICKS CPU_LIMIT CMPRSS_METHOD ZSTD_CMPRSS_LVL \DIS_OTH_DISPL RESTORE_RESOL RESTORE_GAMMA DIS_COPMOSITOR RESET_PULSE PULSE_LTCY TERMINAL HOLD_TERMINAL LW_TERM_APP \LW_DOWNLOADER AUTOSTART_TRAY US_LAYOUT VKBASALT VKBASALT_FFX_CAS VKICDFILES GAMEMODE LWMANGOHUD MANGOHUD_USER_CONF FPS_LIMIT \VSYNC LWVKCAPTURE NVPRIME DRIPRIME SDL_GAMECONTROLLERCONFIG GAMESCOPEARG"WCFGOUT="$(while read CFGVAR <&3 && read CFGPARAM <&4do[ -n "$(echo "$CFGPARAM"|sed "s|''||")" ] && \167 unmodified lines--field="OBS-VkCapture::CB" "$(cfg_items "$LWVKCAPTURE" "$VKCAPTURELST")" \--field="NVIDIA Prime Render Offload:CHK" "$NVPRIME" \--field="DRI_PRIME:CHK" "$DRIPRIME" \--field="SDL GAMECONTROLLER CONFIG:CBE" "$SDL_GAMECONTROLLERCONFIG" \--field="Gamescope arguments:CBE" "$(cfg_items "$GAMESCOPEARG" "$GAMESCOPEARGSLST")" \--file-filter="All Files | *.*" \1> /tmp/syssett$LWCFGKEY &77 unmodified lines--field="Kill SHELL:FBTN" "$LWSHELL -c 'lu_killshell'" \--field="Kill tray:FBTN" "$LWSHELL -c 'lu_killtray'" \--field="Force Exit:FBTN" "$LWSHELL -c 'lu_exit'" \--field="Controllermap:FBTN" "$LWSHELL -c 'btn_tools controllermap'" \&>/dev/null &check_exes100 unmodified linesSETTBTN="$(cat "/tmp/settbtn$LWCFGKEY")"try_rm "/tmp/settbtn$LWCFGKEY"case $SETTBTN inwinemgr)lu_winemgrbtntls_run;;clearpfx)lu_clearpfxsleep 0.5btntls_run;;update)lu_updatebtntls_run;;winetricks)btntls_run -winetricks;;init)btntls_run -init;;pfxbackup)btntls_run -pfxbackup;;pfxrestore)btntls_run -pfxrestore;;appcfg)LU_EXE= lu_appcfg;;controllermap)if [ "$(ls /dev/input/js* 2>/dev/null)" ]thenif is_exe_exist controllermapthenprint_info yad \"Press the buttons on your controller when indicated(Your controller may look different than the picture)If you want to correct a mistake, press backspace or the back button on your deviceTo skip a button, press SPACE or click/touch the screenTo exit, press ESC"controllermap="$(SDL_GAMECONTROLLERCONFIG= controllermap)"if [ "$controllermap" ]thenif grep -q '^SDL_GAMECONTROLLERCONFIG' "$LW_CFG"thenif print_question 'Add to the previous SDL GAMECONTROLLERCONFIG configuration?'then sed -i "s|^SDL_GAMECONTROLLERCONFIG='|SDL_GAMECONTROLLERCONFIG='$controllermap|g" "$LW_CFG"else sed -i "s|^SDL_GAMECONTROLLERCONFIG.*|SDL_GAMECONTROLLERCONFIG='$controllermap'|g" "$LW_CFG"fielse echo "SDL_GAMECONTROLLERCONFIG='$controllermap'" >> "$LW_CFG"fifielse print_error yad "controllermap is not found!"fielse print_error yad "Game controller is not found!"fibtntls_run;;esacfi}2559 unmodified linesfi}check_gamescope() {[ -n "$1" ] && export GAMESCOPEARG="$1"if [[ -n "$GAMESCOPEARG" && "$GAMESCOPEARG" != 'Disabled' ]]thenprint_info "GAMESCOPE is enabled!"unset __GL_THREADED_OPTIMIZATIONSif [ "$VKBASALT" == 1 ]then export RUN_GAMESCOPE="env -u ENABLE_VKBASALT gamescope $GAMESCOPEARG -- env ENABLE_VKBASALT=1"else export RUN_GAMESCOPE="gamescope $GAMESCOPEARG --"fielse unset RUN_GAMESCOPEfi}check_vkd3dconfig() {[ -n "$1" ] && export VKD3DCFG="$1"if [[ -n "$VKD3DCFG" && "$VKD3DCFG" != "Disabled" ]]364 unmodified linescheck_display check_restore_resol resol_sw check_restore_gamma dis_displ_sw restore_resol check_virt_desktop check_vkbasalt_cfg check_exe_args \check_wine_nvml check_resizable_bar check_latencyflex get_proton_d3dlib makesquash_zstd makesquash_xz lu_pfxbackup lu_pfxrestore lu_backupmnt lu_backupunmnt \check_dxvk_async check_vsync get_wine_git_lst try_dl_install_wine exeargs_parse try_add_reg_cdrom shrt_loop shrt_from_url shrt_from_lnk check_shrt \get_shrt_data check_autostart_tray check_config_only check_gamescope}initbar() {
1 unmodified line234567824 unmodified lines333435363738391 unmodified linepkgname='lwrap'pkgver='0.78.4'pkgrel='5'pkgdesc='Lux Wine wrapper for RunImage container'arch=('x86_64')url='https://github.com/VHSgunzo/lux-wine'24 unmodified lines'dos2unix' 'lw-runtime' 'wine-gecko' 'wine-mono' 'libdvdread' 'a52dec' 'wavpack' 'lib32-wavpack''libmpeg2' 'twolame' 'lib32-twolame' 'gst-plugin-msdk' 'lib32-libdv' 'libdv' 'GE-Proton''xxd-standalone' 'obs-vkcapture-lw' 'lib32-obs-vkcapture-lw' 'egl-wayland' 'gstreamer-vaapi''moninfo' 'perl-image-exiftool' 'xorg-xlsfonts' 'firefox')optdepends=('xf86-video-amdgpu' 'xf86-video-intel' 'llvm'1 unmodified line234567824 unmodified lines333435363738391 unmodified linepkgname='lwrap'pkgver='0.78.4'pkgrel='6'pkgdesc='Lux Wine wrapper for RunImage container'arch=('x86_64')url='https://github.com/VHSgunzo/lux-wine'24 unmodified lines'dos2unix' 'lw-runtime' 'wine-gecko' 'wine-mono' 'libdvdread' 'a52dec' 'wavpack' 'lib32-wavpack''libmpeg2' 'twolame' 'lib32-twolame' 'gst-plugin-msdk' 'lib32-libdv' 'libdv' 'GE-Proton''xxd-standalone' 'obs-vkcapture-lw' 'lib32-obs-vkcapture-lw' 'egl-wayland' 'gstreamer-vaapi''moninfo' 'perl-image-exiftool' 'xorg-xlsfonts' 'firefox' 'controllermap')optdepends=('xf86-video-amdgpu' 'xf86-video-intel' 'llvm'
394 unmodified lines3953963973983994006 unmodified lines407408409410411412413414415416417418419420421348 unmodified lines77077177277377477517 unmodified lines7937947957967977987998008018028038048058068078088098108118128138148158168178181 unmodified line820821822823824825826827828829830831832833394 unmodified lines}install_lw() {rm_tmplw() { [[ -d "$TMP_LW" || -f "$TMP_LW.zip" ]] && rm -rf "$TMP_LW"* ; }TMP_LW="/tmp/lux-wine.$RANDOM"if [ "$1" != "local" ] && \6 unmodified linescd "$TMP_LW/lux-wine-main" && \make_install "$1"rm_tmplw)fielif [ -d "/opt/lwrap" ]theninfo_msg "Installing Lux Wine from container..."(mkdir -p "$TMP_LW" && \cp -rf "/opt/lwrap"/!(runtime.tar.zst|prefix_backups) "$TMP_LW" && \cd "$TMP_LW" && \make_install "$1"rm_tmplw)fiif is_lwthen info_msg "Lux Wine installed!"348 unmodified linesfiif is_url "$URL"then[ ! -d "$FILEDIR" ] && \mkdir -p "$FILEDIR"if [[ "$NOT_TERM" == 1 && "$NO_DL_GUI" != 1 ]] && \17 unmodified lineselse return 1fi}if [ "$NO_ARIA2C" != 1 ] && \is_exe_exist aria2cthenaria2c -R -x 13 -s 13 --allow-overwrite --summary-interval=1 -o \"$FILENAME" -d "$FILEDIR" "$URL"|grep --line-buffered 'ETA'|\sed -u 's|(.*)| &|g;s|(||g;s|)||g;s|\[||g;s|\]||g'|\awk '{print$3"\n#Downloading at "$3,$2,$5,$6;system("")}'|\dl_progresselif is_exe_exist wgetthenwget --no-check-certificate --content-disposition -t 3 -T 5 \-w 0.5 "$URL" -O "$FILEDIR/$FILENAME"|& tr '\r' '\n'|\sed -u 's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\ ETA: \3/; s/^20[0-9][0-9].*/#Done./'|\dl_progresselif is_exe_exist curlthencurl -R --progress-bar --insecure --fail -L "$URL" -o \"$FILEDIR/$FILENAME" |& tr '\r' '\n'|\sed -ur 's|[# ]+||g;s|.*=.*||g;s|.*|#Downloading at &\n&|g'|\dl_progresselseerr_no_downloaderfi1 unmodified lineelseif [ "$NO_ARIA2C" != 1 ] && is_exe_exist aria2cthenaria2c -R -x 13 -s 13 --allow-overwrite -d "$FILEDIR" -o "$FILENAME" "$URL"elif is_exe_exist wgetthenwget -q --show-progress --no-check-certificate --content-disposition \-t 3 -T 5 -w 0.5 "$URL" -O "$FILEDIR/$FILENAME"elif is_exe_exist curlthencurl -R --progress-bar --insecure --fail -L "$URL" -o "$FILEDIR/$FILENAME"elseerr_no_downloaderfi394 unmodified lines3953963973983994004014024034044054064074084094104116 unmodified lines418419420421422423424425426348 unmodified lines77577677777877978078117 unmodified lines7998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598601 unmodified line862863864865866867868869870871872873874875876877394 unmodified lines}install_lw() {install_local_lw() {if [ -d "/opt/lwrap" ]theninfo_msg "Installing Lux Wine from container..."(mkdir -p "$TMP_LW" && \cp -rf "/opt/lwrap"/!(runtime.tar.zst|prefix_backups) "$TMP_LW" && \cd "$TMP_LW" && \make_install "$1"rm_tmplw)fi}rm_tmplw() { [[ -d "$TMP_LW" || -f "$TMP_LW.zip" ]] && rm -rf "$TMP_LW"* ; }TMP_LW="/tmp/lux-wine.$RANDOM"if [ "$1" != "local" ] && \6 unmodified linescd "$TMP_LW/lux-wine-main" && \make_install "$1"rm_tmplw)else install_local_lw "$1"fielse install_local_lw "$1"fiif is_lwthen info_msg "Lux Wine installed!"348 unmodified linesfiif is_url "$URL"thenWGET_ARGS=(-q --no-check-certificate --content-disposition -t 3 -T 5 -w 0.5 "$URL" -O "$FILEDIR/$FILENAME")[ ! -d "$FILEDIR" ] && \mkdir -p "$FILEDIR"if [[ "$NOT_TERM" == 1 && "$NO_DL_GUI" != 1 ]] && \17 unmodified lineselse return 1fi}dl_progress_pulsate() {local ret=1[[ "$URL" =~ '&key=' ]] && \local URL="$(echo "$URL"|sed "s|\&key=.*||g")"[[ "$URL" =~ '&' && ! "$URL" =~ '&' ]] && \local URL="$(echo "$URL"|sed "s|\&|\&|g")"if is_exe_exist yadthenlocal yad_args=(--progress --pulsate --text="Download:\t$FILENAME\n$URL"--width=650 --height=40 --undecorated --skip-taskbar--no-buttons --text-align center --auto-close --auto-kill--center --fixed --on-top --no-escape --selectable-labels)"$@" &local exec_pid="$!"if [[ -n "$exec_pid" && -d "/proc/$exec_pid" ]]then(while [ -d "/proc/$exec_pid" ]do echo -e "#\n" ; sleep 0.1 2>/dev/nulldone)|yad "${yad_args[@]}" &>/dev/null &local yad_pid="$!"wait "$exec_pid" &>/dev/nullret="$?"kill "$yad_pid" &>/dev/nullfielif is_exe_exist zenitythen"$@"|zenity --progress --pulsate --text="$URL" --width=650 --height=40 \--auto-close --no-cancel --title="Download: $FILENAME"ret="$?"fireturn "$ret"}if [ "$NO_ARIA2C" != 1 ] && \is_exe_exist aria2cthenaria2c --no-conf -R -x 13 -s 13 --allow-overwrite --summary-interval=1 -o \"$FILENAME" -d "$FILEDIR" "$URL"|grep --line-buffered 'ETA'|\sed -u 's|(.*)| &|g;s|(||g;s|)||g;s|\[||g;s|\]||g'|\awk '{print$3"\n#Downloading at "$3,$2,$5,$6;system("")}'|\dl_progresselif is_exe_exist curlthencurl -R --progress-bar --insecure --fail -L "$URL" -o \"$FILEDIR/$FILENAME" |& tr '\r' '\n'|\sed -ur 's|[# ]+||g;s|.*=.*||g;s|.*|#Downloading at &\n&|g'|\dl_progresselif is_exe_exist wget2thendl_progress_pulsate wget2 "${WGET_ARGS[@]}"elif is_exe_exist wgetthenwget "${WGET_ARGS[@]}"|& tr '\r' '\n'|\sed -u 's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\ ETA: \3/; s/^20[0-9][0-9].*/#Done./'|\dl_progresselseerr_no_downloaderfi1 unmodified lineelseif [ "$NO_ARIA2C" != 1 ] && is_exe_exist aria2cthenaria2c --no-conf -R -x 13 -s 13 --allow-overwrite -d "$FILEDIR" -o "$FILENAME" "$URL"elif is_exe_exist curlthencurl -R --progress-bar --insecure --fail -L "$URL" -o "$FILEDIR/$FILENAME"elif is_exe_exist wget2thenwget2 --force-progress "${WGET_ARGS[@]}"elif is_exe_exist wgetthenwget --show-progress "${WGET_ARGS[@]}"elseerr_no_downloaderfi
123version https://git-lfs.github.com/spec/v1oid sha256:7ba87ebc78f2acd93f85f769c40b20b17c94a8ced6870e8c01cdc9c584cdbe1asize 588235123version https://git-lfs.github.com/spec/v1oid sha256:8ae5f3829d3ae689f88e792c8f5a6fc6b5691490f59756cd4a92bcba9908dd9bsize 588362
CHANGELOG.md+18
README.md+2
db/Caliber.lwdbDeleted-1
db/CaliberSetup.lwdbDeleted-8
db/CaliberStart.lwdbDeleted-1
db/LeagueClient.lwdb+1-1
db/[EXE_NAMES].lwdb-2
db/launcher.lwdb-5
db/setup.lwdbDeleted-5
db/speed.lwdb+4-4
index.html+64-20
lux-wine+80-23
lwrap/PKGBUILD+2-2
lwrap/lwrap+64-20
main.zip+2-2