Skip to content

Commit 7e0e2e5

Browse files
committed
v0.77.9.7
1 parent 9deeecb commit 7e0e2e5

11 files changed

Lines changed: 77 additions & 82 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# v0.77.9.7
2+
3+
* Update [lwrun](https://github.com/VHSgunzo/lwrun/releases/tag/v0.39.1) packages
4+
* Add DB script for `Wolfenstein 2009`
5+
* Add DB script for `World in Conflict`
6+
* Add DB script for `Command and Conquer - Red Alert 3`
7+
* Update DB script for `WeMod` (now installation from `WeMod` setup EXE is also possible)
8+
* Remove old DB scripts
9+
* Fix fake Windows version in wine registry
10+
* Update [wine-prefix](https://github.com/VHSgunzo/wine-prefix/releases/tag/v0.0.7) `v0.0.7`
11+
* Update README.md
12+
113
# v0.77.9.6
214

315
* Update [lwrun](https://github.com/VHSgunzo/lwrun) packages

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ lwrun --uninstall
120120
- [x] SHELL mode or open file in SHELL (with access to all lux-wine functions)
121121
- [x] CMD mode or open file in CMD
122122
- [x] Built-in [Wine-staging](https://github.com/wine-staging/wine-staging)
123+
- [x] Built-in [Proton GEn](https://github.com/VHSgunzo/ge-proton-lw)
123124
- [x] Wine Manager ([Lutris](https://github.com/lutris/wine/releases), [Proton GE](https://github.com/GloriousEggroll/proton-ge-custom/releases), [Wine GE](https://github.com/GloriousEggroll/wine-ge-custom/releases), [Kron4ek](https://github.com/Kron4ek/Wine-Builds/releases))
124125
- [x] Manage and install multiple wine/proton/dxvk/dxvk-nvapi/vkd3d/d3d_extras/dgvoodoo2 versions and on-the-fly change
125126
- [x] DXR/RTX (Ray Tracing) (if the video adapter support and depends on [VKD3D](https://github.com/HansKristian-Work/vkd3d-proton))

db/#PrinceOfPersia.lwdb

Lines changed: 0 additions & 16 deletions
This file was deleted.

db/#tlou-i-l.lwdb

Lines changed: 0 additions & 44 deletions
This file was deleted.

db/RA3.lwdb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
MassEffect.lwdb

db/WeMod.lwdb

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
pre_launch() {
2+
if [[ "${EXE_NAME,,}" == 'wemod-'[0-9]* ]]
3+
then
4+
cleanwemodtmp() { [ -d "$wemodtmp" ] && rm -rf "$wemodtmp" ; }
5+
wemodtmp="$LW_DEF_TMP/wemod-$RANDOM"
6+
wemoddir="$WINEPREFIX/dosdevices/c:/Program Files/WeMod"
7+
wemodexe="$wemoddir/WeMod.exe"
8+
cleanwemodtmp
9+
mkdir -p "$wemodtmp"
10+
if (unzip -o "$LU_EXE" *.nupkg -d "$wemodtmp" ; \
11+
unzip -o "$wemodtmp"/*.nupkg lib/net*/* -d "$wemodtmp")
12+
then
13+
[ -d "$wemoddir" ] && rm -f "$wemoddir"
14+
mkdir -p "$(dirname "$wemoddir")"
15+
if mv -f "$wemodtmp/lib/net"* "$wemoddir" && \
16+
[ -f "$wemodexe" ]
17+
then
18+
cleanwemodtmp
19+
export LU_EXE="$wemodexe"
20+
lu_shortcut "$LU_EXE" 'WeMod'
21+
cleanrun "$LW_SOURCE" "$LU_EXE"
22+
exit $?
23+
else
24+
print_error yad "Failed to install: $EXE_NAME"
25+
cleanwemodtmp
26+
exit 1
27+
fi
28+
cleanwemodtmp
29+
else
30+
print_error yad "Failed to extract: $EXE_NAME"
31+
cleanwemodtmp
32+
exit 1
33+
fi
34+
fi
35+
}
36+
137
WIN_VER=10
238
WINEARCH=win64
339
MUST_HAVE_DLL=Disabled

db/Wolf2.lwdb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pre_launch() { check_exe_args '+set com_skipIntro 1' ; }
2+
3+
WIN_VER=10

db/wic.lwdb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pre_launch() {
2+
wicconfig="$WINEPREFIX/drive_c/users/steamuser/Documents/World in Conflict/Game Options.txt"
3+
[ -f "$wicconfig" ] && \
4+
sed -i 's|myDX10Flag 1|myDX10Flag 0|g' "$wicconfig"
5+
}
6+
7+
WIN_VER=10

lutris-wine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
LW_VERSION="0.77.9.6"
1+
LW_VERSION="0.77.9.7"

lux-wine

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
export LW_VERSION="0.77.9.6"
3+
export LW_VERSION="0.77.9.7"
44
export LW_DEVELOPERS="VHSgunzo"
55

66
export RED='\033[1;91m'
@@ -211,7 +211,7 @@ check_def_config() {
211211
[ ! -n "$LW_STEAMAPPS_DIR" ] && export LW_STEAMAPPS_DIR="$HOME/.local/share/Steam/steamapps/common"
212212
[ ! -n "$CHKSTEAMAPPS" ] && export CHKSTEAMAPPS=1
213213
[ ! -n "$RESIZABLE_BAR" ] && export RESIZABLE_BAR=1
214-
[ ! -n "$DEFPFX_VERSION" ] && export DEFPFX_VERSION='v0.0.6'
214+
[ ! -n "$DEFPFX_VERSION" ] && export DEFPFX_VERSION='v0.0.7'
215215
export DEFPFX_URL="https://github.com/VHSgunzo/wine-prefix/releases/download/$DEFPFX_VERSION/defprefix.xz.lwpfx"
216216
export DEFPFXDOTNET_URL="https://github.com/VHSgunzo/wine-prefix/releases/download/$DEFPFX_VERSION/defprefix_dotnet.xz.lwpfx"
217217
export DEFPFX_HF_URL="https://huggingface.co/lux-wine/wine-prefix/resolve/main/releases/$DEFPFX_VERSION/defprefix.xz.lwpfx"
@@ -2413,6 +2413,7 @@ check_db_script() {
24132413
case "${EXE_NAME,,}" in
24142414
*'league of legends'*) export EXE_LWDBFL="$LW_DB_DIR/LeagueClient.lwdb" ;;
24152415
gog_galaxy*) export EXE_LWDBFL="$LW_DB_DIR/setup.lwdb" ;;
2416+
wemod-*) export EXE_LWDBFL="$LW_DB_DIR/WeMod.lwdb" ;;
24162417
esac
24172418
fi
24182419
fi
@@ -5359,37 +5360,31 @@ check_reset_pulse() {
53595360

53605361
check_win_version() {
53615362
[ -n "$1" ] && export WIN_VER="$1"
5362-
if [ ! -n "$(cat "$WINEPREFIX/system.reg" 2>/dev/null|grep -i "Microsoft Windows $WIN_VER" 2>/dev/null)" ]
5363+
if [[ ! -n "$(grep -i "ProductName.*Microsoft Windows $WIN_VER" "$WINEPREFIX/system.reg" 2>/dev/null)" || \
5364+
"$(cat "$WINEPREFIX/.winver" 2>/dev/null)" != "$WIN_VER" ]]
53635365
then
5366+
unset WINVEROK
53645367
[[ "$WIN_VER" == "xp" && "$WINEARCH" == "win64" ]] && \
53655368
export WIN_VER="xp64"
53665369
check_wine_pids
53675370
[[ ! -n "$WINE_PIDS" && -n "$OLD_WINE" ]] && unset OLD_WINE
53685371
check_ld_library
5369-
if [[ -n "$OLD_WINE" && -f "$OLD_WINE" ]]
5370-
then
5371-
DISABLE_MANGOHUD=1 DISABLE_VKBASALT=1 "$OLD_WINE" winecfg -v win$WIN_VER &>/dev/null
5372-
[ "$?" == 0 ] && export WINVEROK=1
5373-
export LD_LIBRARY_PATH="$SYS_LDLIBPTH"
5374-
elif [ -f "$WINE" ]
5375-
then
5376-
DISABLE_MANGOHUD=1 DISABLE_VKBASALT=1 "$WINE" winecfg -v win$WIN_VER &>/dev/null
5377-
[ "$?" == 0 ] && export WINVEROK=1
5378-
export LD_LIBRARY_PATH="$SYS_LDLIBPTH"
5379-
fi
5380-
if [ -n "$WINVEROK" ]
5372+
[[ -n "$OLD_WINE" && -f "$OLD_WINE" ]] && \
5373+
local WINE="$OLD_WINE"
5374+
DISABLE_MANGOHUD=1 DISABLE_VKBASALT=1 "$WINE" \
5375+
winecfg -v win$WIN_VER &>/dev/null && \
5376+
local WINVEROK=1
5377+
export LD_LIBRARY_PATH="$SYS_LDLIBPTH"
5378+
if [ "$WINVEROK" == 1 ]
53815379
then
5382-
unset WINVEROK
5380+
echo "$WIN_VER" > "$WINEPREFIX/.winver"
53835381
print_info notify "Windows version changed to Windows $WIN_VER"
53845382
try_shutdown_wine
53855383
else
5386-
export LD_LIBRARY_PATH="$SYS_LDLIBPTH"
5387-
unset WINVEROK
53885384
print_error yad "Windows version not changed to Windows $WIN_VER"
53895385
return 1
53905386
fi
5391-
else
5392-
return 1
5387+
else return 1
53935388
fi
53945389
}
53955390

0 commit comments

Comments
 (0)