VHSgunzo commited on
Commit
7ca7d5e
·
1 Parent(s): 47545fd

v0.78.5.2

Browse files
Files changed (6) hide show
  1. CHANGELOG.md +9 -0
  2. db/launcher.lwdb +0 -29
  3. lux-wine +20 -5
  4. lwrap/PKGBUILD +1 -1
  5. main.zip +2 -2
  6. registry_patch/steam.reg +3 -51
CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  # v0.78.5.1
2
 
3
  * Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages
 
1
+ # v0.78.5.2
2
+
3
+ * Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages
4
+ * Update [GE-Proton](https://github.com/VHSgunzo/ge-proton-lw/releases/tag/v9.9) `v9.11`
5
+ * Add `winepath()` and `winpath()` functions
6
+ * Add gstreamer fixes
7
+ * Update DB script for `Honkai: Star Rail` (for StarRail.exe)
8
+ * Minor fixes
9
+
10
  # v0.78.5.1
11
 
12
  * Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages
db/launcher.lwdb CHANGED
@@ -1,33 +1,5 @@
1
  #DB# Crossout # DB_EXES=('launcher.exe')
2
  #DB# Dark Sector # DB_EXES=('DS.exe' 'launcher.exe')
3
- #DB# Honkai: Star Rail # DB_EXES=('launcher.exe') !'StarRail.exe'
4
-
5
- srlauncher() {
6
- SR_PATCH_URL="https://codeberg.org/mkrsym1/jadeite/releases"
7
- SR_PATCH_VER="$(curl -sL "$SR_PATCH_URL" 2>/dev/null|grep -o '>v[0-9].*[0-9]<'|sed 's|<||g;s|>||g'|head -1)"
8
- SR_PATCH_DIR="$LW_DEF_TMP/srpatch_$SR_PATCH_VER"
9
- EXE_DRIVE="$(grep -oi '[a-z]:'<<<"$LU_EXE")"
10
- SRLAUNCHER="$EXE_DRIVE\\$(sed 's|.*/[a-z]:||i;s|\/|\\|g'<<<"$LU_EXE")"
11
- SREXE="$(sed 's|launcher|Games\\StarRail|'<<<"$SRLAUNCHER")"
12
- EXE_WRAPPER=("$SR_PATCH_DIR/jadeite.exe" "$SREXE" "$SRLAUNCHER")
13
- if [[ ! -f "$LW_APPS_DIR/Honkai SR Launcher.desktop" || \
14
- ! -f "$EXE_PATH/sr_launcher.exe" ]]
15
- then
16
- ln -sfr "$LU_EXE" "$EXE_PATH/sr_launcher.exe"
17
- lu_shortcut "$EXE_PATH/sr_launcher.exe" "Honkai SR Launcher"
18
- fi
19
- if [ ! -f "${EXE_WRAPPER[0]}" ]
20
- then
21
- if ! (try_download "$SR_PATCH_URL/download/$SR_PATCH_VER/$SR_PATCH_VER.zip" "$LW_DEF_TMP" && \
22
- unzip "$LW_DEF_TMP/$SR_PATCH_VER.zip" -d "$SR_PATCH_DIR")
23
- then
24
- try_rm "$SR_PATCH_DIR" &>/dev/null
25
- print_error yad "Failed to download SR patch!"
26
- exit 1
27
- fi
28
- try_rm "$LW_DEF_TMP/$SR_PATCH_VER.zip" &>/dev/null
29
- fi
30
- }
31
 
32
  set_dxvk_ver() {
33
  if [ "$DXVK" != '0' ]
@@ -48,7 +20,6 @@ set_dxvk_ver() {
48
  pre_launch() {
49
  case "$EXE_DIR" in
50
  Crossout|'Dark Sector') set_dxvk_ver '1.10.3' ;;
51
- 'Star Rail') srlauncher ;;
52
  esac
53
  }
54
 
 
1
  #DB# Crossout # DB_EXES=('launcher.exe')
2
  #DB# Dark Sector # DB_EXES=('DS.exe' 'launcher.exe')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
  set_dxvk_ver() {
5
  if [ "$DXVK" != '0' ]
 
20
  pre_launch() {
21
  case "$EXE_DIR" in
22
  Crossout|'Dark Sector') set_dxvk_ver '1.10.3' ;;
 
23
  esac
24
  }
25
 
lux-wine CHANGED
@@ -1,6 +1,6 @@
1
  #!/usr/bin/env bash
2
 
3
- export LW_VERSION="0.78.5.1"
4
  export LW_DEVELOPERS="VHSgunzo"
5
 
6
  export RED='\033[1;91m'
@@ -1684,6 +1684,14 @@ create_shortcut() {
1684
  fi
1685
  }
1686
 
 
 
 
 
 
 
 
 
1687
  lu_debug() {
1688
  if [[ -n "$DEBUG" && "$DEBUG" != 0 ]]
1689
  then
@@ -4758,13 +4766,20 @@ check_gstreamer() {
4758
  [[ -d "/usr/lib/gstreamer-1.0" || -d "$WINEDIR/lib64/gstreamer-1.0" ]]
4759
  then
4760
  try_mkdir "$LW_DEF_CACHE/gstreamer-1.0"
 
4761
  export WINE_GST_REGISTRY_DIR="$LW_DEF_CACHE/gstreamer-1.0"
4762
  export MEDIACONV_AUDIO_DUMP_FILE="$WINE_GST_REGISTRY_DIR/audio.foz"
4763
  export MEDIACONV_AUDIO_TRANSCODED_FILE="$WINE_GST_REGISTRY_DIR/transcoded_audio.foz"
4764
  export MEDIACONV_VIDEO_DUMP_FILE="$WINE_GST_REGISTRY_DIR/video.foz"
4765
  export MEDIACONV_VIDEO_TRANSCODED_FILE="$WINE_GST_REGISTRY_DIR/transcoded_video.foz"
4766
  if [[ -d "$WINEDIR" && -d "$WINEDIR/lib64/gstreamer-1.0" ]]
4767
- then export GST_PLUGIN_SYSTEM_PATH_1_0="$WINEDIR/lib64/gstreamer-1.0:$WINEDIR/lib/gstreamer-1.0"
 
 
 
 
 
 
4768
  elif [ -d '/usr/lib/gstreamer-1.0' ]
4769
  then export GST_PLUGIN_SYSTEM_PATH_1_0='/usr/lib/gstreamer-1.0:/usr/lib32/gstreamer-1.0'
4770
  else disable_gstreamer
@@ -4835,7 +4850,7 @@ check_wined3d() {
4835
  try_ln "$WINEDIR/lib64/wine/x86_64-windows/dxgi.dll" "$PFX_DLL64_PTH/dxgi.dll" &>/dev/null
4836
  fi
4837
  fi
4838
- try_ln_wine_build_dll d3d11 d3d10 d3d10core d3d10_1 d3d9 d3d12 d3d12core
4839
  fi
4840
  }
4841
 
@@ -4921,7 +4936,7 @@ check_proton_d3dlib() {
4921
  check_dxvk() {
4922
  [ -n "$1" ] && export DXVK="$1"
4923
  [ -n "$2" ] && export DXVK_VERSION="$2"
4924
- export ALLDXVKDLLS="d3d11,d3d10,d3d10core,d3d10_1,d3d9,dxgi,openvr_api_dxvk,dxvk_config"
4925
  if [[ "$DXVK" == 1 && "$WINED3D" != 1 ]]
4926
  then
4927
  [ "$DXVK_VERSION" == "Default" ] && \
@@ -6277,7 +6292,7 @@ export_all_functions() {
6277
  check_display check_restore_resol resol_sw check_restore_gamma dis_displ_sw restore_resol check_virt_desktop check_vkbasalt_cfg check_exe_args \
6278
  check_wine_nvml check_resizable_bar check_latencyflex get_proton_d3dlib makesquash_zstd makesquash_xz lu_pfxbackup lu_pfxrestore lu_backupmnt lu_backupunmnt \
6279
  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 \
6280
- get_shrt_data check_autostart_tray check_config_only check_gamescope
6281
  }
6282
 
6283
  initbar() {
 
1
  #!/usr/bin/env bash
2
 
3
+ export LW_VERSION="0.78.5.2"
4
  export LW_DEVELOPERS="VHSgunzo"
5
 
6
  export RED='\033[1;91m'
 
1684
  fi
1685
  }
1686
 
1687
+ winpath() {
1688
+ WINEDEBUG='-all' "$WINE" winepath -w "$@" 2>/dev/null
1689
+ }
1690
+
1691
+ winepath() {
1692
+ WINEDEBUG='-all' "$WINE" winepath "$@" 2>/dev/null
1693
+ }
1694
+
1695
  lu_debug() {
1696
  if [[ -n "$DEBUG" && "$DEBUG" != 0 ]]
1697
  then
 
4766
  [[ -d "/usr/lib/gstreamer-1.0" || -d "$WINEDIR/lib64/gstreamer-1.0" ]]
4767
  then
4768
  try_mkdir "$LW_DEF_CACHE/gstreamer-1.0"
4769
+ export GST_GL_WINDOW='surfaceless'
4770
  export WINE_GST_REGISTRY_DIR="$LW_DEF_CACHE/gstreamer-1.0"
4771
  export MEDIACONV_AUDIO_DUMP_FILE="$WINE_GST_REGISTRY_DIR/audio.foz"
4772
  export MEDIACONV_AUDIO_TRANSCODED_FILE="$WINE_GST_REGISTRY_DIR/transcoded_audio.foz"
4773
  export MEDIACONV_VIDEO_DUMP_FILE="$WINE_GST_REGISTRY_DIR/video.foz"
4774
  export MEDIACONV_VIDEO_TRANSCODED_FILE="$WINE_GST_REGISTRY_DIR/transcoded_video.foz"
4775
  if [[ -d "$WINEDIR" && -d "$WINEDIR/lib64/gstreamer-1.0" ]]
4776
+ then
4777
+ export GST_PLUGIN_SYSTEM_PATH_1_0="$WINEDIR/lib64/gstreamer-1.0:$WINEDIR/lib/gstreamer-1.0"
4778
+ if [ -d "$WINEDIR/share/media" ]
4779
+ then
4780
+ export MEDIACONV_BLANK_VIDEO_FILE="$WINEDIR/share/media/blank.mkv"
4781
+ export MEDIACONV_BLANK_AUDIO_FILE="$WINEDIR/share/media/blank.ptna"
4782
+ fi
4783
  elif [ -d '/usr/lib/gstreamer-1.0' ]
4784
  then export GST_PLUGIN_SYSTEM_PATH_1_0='/usr/lib/gstreamer-1.0:/usr/lib32/gstreamer-1.0'
4785
  else disable_gstreamer
 
4850
  try_ln "$WINEDIR/lib64/wine/x86_64-windows/dxgi.dll" "$PFX_DLL64_PTH/dxgi.dll" &>/dev/null
4851
  fi
4852
  fi
4853
+ try_ln_wine_build_dll d3d11 d3d10 d3d10core d3d10_1 d3d9 d3d8 d3d12 d3d12core
4854
  fi
4855
  }
4856
 
 
4936
  check_dxvk() {
4937
  [ -n "$1" ] && export DXVK="$1"
4938
  [ -n "$2" ] && export DXVK_VERSION="$2"
4939
+ export ALLDXVKDLLS="d3d11,d3d10,d3d10core,d3d10_1,d3d9,d3d8,dxgi,openvr_api_dxvk,dxvk_config"
4940
  if [[ "$DXVK" == 1 && "$WINED3D" != 1 ]]
4941
  then
4942
  [ "$DXVK_VERSION" == "Default" ] && \
 
6292
  check_display check_restore_resol resol_sw check_restore_gamma dis_displ_sw restore_resol check_virt_desktop check_vkbasalt_cfg check_exe_args \
6293
  check_wine_nvml check_resizable_bar check_latencyflex get_proton_d3dlib makesquash_zstd makesquash_xz lu_pfxbackup lu_pfxrestore lu_backupmnt lu_backupunmnt \
6294
  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 \
6295
+ get_shrt_data check_autostart_tray check_config_only check_gamescope winpath winepath
6296
  }
6297
 
6298
  initbar() {
lwrap/PKGBUILD CHANGED
@@ -2,7 +2,7 @@
2
 
3
  pkgname='lwrap'
4
  pkgver='0.78.5'
5
- pkgrel='1'
6
  pkgdesc='Lux Wine wrapper for RunImage container'
7
  arch=('x86_64')
8
  url='https://github.com/VHSgunzo/lux-wine'
 
2
 
3
  pkgname='lwrap'
4
  pkgver='0.78.5'
5
+ pkgrel='2'
6
  pkgdesc='Lux Wine wrapper for RunImage container'
7
  arch=('x86_64')
8
  url='https://github.com/VHSgunzo/lux-wine'
main.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8f6a0569b0aaec9b36cd8fd7b89fc8045967a2dc2bbb3d0d5d209de025ea2d28
3
- size 588943
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7afec4b3ac07eeac0207bd45b2114f3a43bdf3256c7357e4c09f193cb3147d25
3
+ size 588948
registry_patch/steam.reg CHANGED
@@ -6,59 +6,11 @@ Windows Registry Editor Version 5.00
6
  [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steam.exe]
7
  "Version"="win10"
8
 
 
 
 
9
  [HKEY_CURRENT_USER\Software\Valve\Steam]
10
  "DWriteEnable"="dword:00000000"
11
 
12
- [HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements]
13
- "Lucida Console"="MS Sans Serif"
14
-
15
- HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements
16
- "Meiryo"="Source Han Sans TC"
17
-
18
- [HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements]
19
- "Meiryo"="Source Han Sans SC"
20
-
21
  [HKEY_CURRENT_USER\Software\Valve\Steam]
22
  "GPUAccelWebViews"="dword:1"
23
-
24
- [HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements]
25
- "Meiryo"="Microsoft YaHei"
26
-
27
- [HKEY_CURRENT_USER\Software\Wine\DllOverrides]
28
- "msxml3"="native,builtin"
29
-
30
- [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts]
31
- "Source Han Sans SC Bold"="C:\Windows\fonts\SourceHanSansSC-Bold.otf"
32
-
33
- [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts]
34
- "Source Han Sans SC ExtraLight"="C:\Windows\fonts\SourceHanSansSC-ExtraLight.otf"
35
-
36
- [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts]
37
- "Source Han Sans SC Heavy"="C:\Windows\fonts\SourceHanSansSC-Heavy.otf"
38
-
39
- [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts]
40
- "Source Han Sans SC Light"="C:\Windows\fonts\SourceHanSansSC-Light.otf"
41
-
42
- [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts]
43
- "Source Han Sans SC Medium"="C:\Windows\fonts\SourceHanSansSC-Medium.ot"
44
-
45
- [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts]
46
- "Source Han Sans SC Normal"="C:\Windows\fonts\SourceHanSansSC-Normal.otf"
47
-
48
- [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts]
49
- "Source Han Sans SC Regular"="C:\Windows\fonts\SourceHanSansSC-Regular.otf"
50
-
51
- [HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements]
52
- "SimSun"="Source Han Sans SC Regular"
53
-
54
- [HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements]
55
- "宋体"="Source Han Sans SC Regular"
56
-
57
- [HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements]
58
- "新宋体"="Source Han Sans SC Regular"
59
-
60
- [HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements]
61
- "NSimSun"="Source Han Sans SC Regular"
62
-
63
- [HKEY_CURRENT_USER\Software\Wine\Fonts\Replacements]
64
- "Microsoft YaHei UI"="Source Han Sans SC"
 
6
  [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steam.exe]
7
  "Version"="win10"
8
 
9
+ [HKEY_CURRENT_USER\Software\Wine\DllOverrides]
10
+ "msxml3"="native,builtin"
11
+
12
  [HKEY_CURRENT_USER\Software\Valve\Steam]
13
  "DWriteEnable"="dword:00000000"
14
 
 
 
 
 
 
 
 
 
 
15
  [HKEY_CURRENT_USER\Software\Valve\Steam]
16
  "GPUAccelWebViews"="dword:1"