Skip to content

Commit

Permalink
v0.78.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
VHSgunzo committed Dec 18, 2023
1 parent 9f9541b commit fb40efd
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 13 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# v0.78.2.1

* Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages
* Update [obs-vkcapture-lw](https://github.com/VHSgunzo/obs-vkcapture-lw/releases/tag/v1.4.7) `v1.4.7`
* Update [GE-Proton](https://github.com/VHSgunzo/ge-proton-lw/releases/tag/v8.25) `v8.25`
* Speedup `lite_init()`
* Add DB script for `Battle.net`
* Update DB script for `League of Legends`
* Update lwrap `PKGBUILD`
* Fix `dll_manager()` for set old local `Wine` runtime DLLs
* Fix open `Settings` with different versions of `Wine` in the same `prefix`

# v0.78.1.9

* Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages
Expand Down
1 change: 1 addition & 0 deletions db/Battle.net Launcher.lwdb
1 change: 1 addition & 0 deletions db/Battle.net-Setup.exe.lwdb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
WINE_SIMULATE_WRITECOPY=1
3 changes: 1 addition & 2 deletions db/LeagueClient.lwdb
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
WIN_VER=10
DIS_NETCORE=1
WINEARCH=win64
LWMANGOHUD=DLSYM
WINE_THEME=Disabled
WPREFIX_NAME=lolpfx
USE_DEFPFX_BACKUP=1
MUST_HAVE_DLL=Disabled
WINE_VERSION=wine-lutris-ge-lol-p8-12-x86_64
WINE_VERSION=wine-lutris-GE-Proton8-27-LoL-x86_64
[ "$EXE_NAME" == "RiotClientServices" ] && \
EXE_ARG='--launch-product=league_of_legends --launch-patchline=live'

Expand Down
2 changes: 1 addition & 1 deletion lutris-wine
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LW_VERSION="0.78.1.9"
LW_VERSION="0.78.2.1"
23 changes: 16 additions & 7 deletions lux-wine
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

export LW_VERSION="0.78.1.9"
export LW_VERSION="0.78.2.1"
export LW_DEVELOPERS="VHSgunzo"

export RED='\033[1;91m'
Expand Down Expand Up @@ -503,11 +503,13 @@ dll_manager() {
do
if [ -d "$LW_RUNTIME_DIR/$1/$2/$dlls_arch" ]
then
all_dlls="$(ls "$LW_RUNTIME_DIR/$1/$2/$dlls_arch/"*.dll 2>/dev/null|awk -F"/" '{print $NF}' 2>/dev/null)\n$all_dlls"
all_dlls="$(ls "$LW_RUNTIME_DIR/$1/$2/$dlls_arch/"*.dll \
2>/dev/null|awk -F"/" '{print $NF}' 2>/dev/null)\n$all_dlls"
fi
if [ -d "$LW_RUNTIME_DIR/$1/v$2/$dlls_arch" ]
then
all_dlls="$(ls "$LW_RUNTIME_DIR"/$1/v$2/$dlls_arch/*.dll 2>/dev/null|awk -F"/" '{print $NF}' 2>/dev/null)\n$all_dlls"
all_dlls="$(ls "$LW_RUNTIME_DIR"/$1/v$2/$dlls_arch/*.dll \
2>/dev/null|awk -F"/" '{print $NF}' 2>/dev/null)\n$all_dlls"
fi
done
all_dlls="$(echo -en "$all_dlls"|sort -u)"
Expand All @@ -520,7 +522,9 @@ dll_manager() {
fi
fi
fi
if [[ -n "$all_dlls" && -n "$(find "$LW_RUNTIME_DIR/$1" -type d -name "$2" -mtime -$CHK_UPDATE -print 2>/dev/null)" ]]
if [[ -n "$all_dlls" && \
-n "$(find "$LW_RUNTIME_DIR/$1" -type d -name "$2" \
-mtime -$CHK_UPDATE -print 2>/dev/null)" ]]
then
check_all_dlls "$1" "$2"
elif [[ -n "$all_dlls" && "$CHK_UPDATE" == 0 ]]
Expand All @@ -541,18 +545,23 @@ dll_manager() {
print_error yad "No internet connection, it is not possible to download $1 $2"
return 1
elif [[ -n "$all_dlls" && -n "$CHK_UPDATE" && "$CHK_UPDATE" != 0 && "$NETSTATUS" != 0 \
&& ! -n "$(find "$LW_RUNTIME_DIR/$1" -type d -name "$2" -mtime -$CHK_UPDATE -print 2>/dev/null)" ]] \
&& ! -n "$(find "$LW_RUNTIME_DIR/$1" -type d -name "$2" \
-mtime -$CHK_UPDATE -print 2>/dev/null)" ]] \
|| [ -n "$FORCE_DLL_UPDATE" ]
then
export NEEDCHKDLL=1
if download_dll_release "$1" "latest"
if [ "$SETT_INIT" == 1 ] || download_dll_release "$1" "latest"
then
if [ -d "$LW_RUNTIME_DIR/$1/$2" ]
then
touch "$LW_RUNTIME_DIR/$1/$2"
[ "$SETT_INIT" == 1 ] && \
dll_manager "$1" "$2"
elif [ -d "$LW_RUNTIME_DIR/$1/v$2" ]
then
touch "$LW_RUNTIME_DIR/$1/v$2"
[ "$SETT_INIT" == 1 ] && \
dll_manager "$1" "v$2"
fi
else
return 1
Expand Down Expand Up @@ -2660,6 +2669,7 @@ lite_init() {
check_nvprime
check_driprime
check_videodrv
[ "$1" == '-config' ]||\
check_def_wine
check_proton_d3dlib
check_path
Expand All @@ -2669,7 +2679,6 @@ lite_init() {
check_first_run "$@"
check_esync
check_fsync
check_shrt
fi
}

Expand Down
6 changes: 3 additions & 3 deletions lwrap/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Maintainer: VHSgunzo <vhsgunzo.github.io>

pkgname='lwrap'
pkgver='0.78.1'
pkgrel='9'
pkgver='0.78.2'
pkgrel='1'
pkgdesc='Lux Wine wrapper for RunImage container'
arch=('x86_64')
url='https://github.com/VHSgunzo/lux-wine'
Expand Down Expand Up @@ -33,7 +33,7 @@ depends=(
'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'
'moninfo' 'perl-image-exiftool'
)
optdepends=(
'xf86-video-amdgpu' 'xf86-video-intel' 'llvm'
Expand Down

0 comments on commit fb40efd

Please sign in to comment.