VHSgunzo commited on
Commit
332d66d
·
1 Parent(s): 64ac466
CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # v0.78.2.4
2
 
3
  * Update [steam-runtime-libs](https://github.com/VHSgunzo/steam-runtime-libs/releases/tag/v0.0.4) `v0.0.4`
 
1
+ # v0.78.2.5
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/v8.32) `v8.32`
5
+ * Update [glibc-eac](https://github.com/VHSgunzo/glibc-eac-rc/releases/tag/v2.39.2) `v2.39.2`
6
+ * Update [obs-vkcapture-lw](https://github.com/VHSgunzo/obs-vkcapture-lw/releases/tag/v1.4.9) `v1.4.9`
7
+ * Move `lwrun-pkg` to [lwrun](https://github.com/VHSgunzo/lwrun/tree/main/lwrun-pkg)
8
+ * Add `init` after update RunImage packages
9
+ * Add `xorg-xlsfonts` to `lwrap` depends
10
+ * Disable by default `Reduce PulseAudio latency`
11
+ * Change default MangoHud options
12
+ * Change default `MUST_HAVE_DLL` to `Disabled`
13
+ * Remove check free space
14
+ * Add DB script for `Anno 1800`
15
+ * Add DB script for `Assassin's Creed Odyssey`
16
+ * Add DB script for `Soldier of Fortune 2`
17
+ * Add DB script for `Direct Commander`
18
+ * Update DB script for `Zona`
19
+ * Update DB script for `The Honkers Railway` `v2.0.0`
20
+ * Update DB script for `WeMod`
21
+
22
  # v0.78.2.4
23
 
24
  * Update [steam-runtime-libs](https://github.com/VHSgunzo/steam-runtime-libs/releases/tag/v0.0.4) `v0.0.4`
db/ACOdyssey.lwdb ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ WINE_VERSION=System
2
+ GSTREAMER=0
db/Anno1800.lwdb ADDED
@@ -0,0 +1 @@
 
 
1
+ LANG=en_US
db/Direct Commander.lwdb ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ pre_launch() {
2
+ if [[ "${EXE_NAME,,}" == 'direct commander setup'* ]]
3
+ then
4
+ cleandcmdtmp() { [ -d "$dcmdtmp" ] && rm -rf "$dcmdtmp" ; }
5
+ dcmdtmp="$LW_DEF_TMP/dcmd-$RANDOM"
6
+ dcmddir="$WINEPREFIX/dosdevices/c:/Program Files/Direct Commander"
7
+ dcmdexe="$dcmddir/Direct Commander.exe"
8
+ cleandcmdtmp
9
+ mkdir -p "$dcmdtmp"
10
+ if (7z x "$LU_EXE" '*.nupkg' -o"$dcmdtmp" ; \
11
+ unzip -o "$dcmdtmp"/*.nupkg 'lib/net*/*' -d "$dcmdtmp")
12
+ then
13
+ [ -d "$dcmddir" ] && rm -f "$dcmddir"
14
+ mkdir -p "$(dirname "$dcmddir")"
15
+ if mv -f "$dcmdtmp/lib/net"* "$dcmddir" && \
16
+ [ -f "$dcmdexe" ]
17
+ then
18
+ cleandcmdtmp
19
+ export LU_EXE="$dcmdexe"
20
+ lu_shortcut "$LU_EXE" 'Direct Commander'
21
+ cleanrun "$LW_SOURCE" "$LU_EXE"
22
+ exit $?
23
+ else
24
+ print_error yad "Failed to install: $EXE_NAME"
25
+ cleandcmdtmp
26
+ exit 1
27
+ fi
28
+ cleandcmdtmp
29
+ else
30
+ print_error yad "Failed to extract: $EXE_NAME"
31
+ cleandcmdtmp
32
+ exit 1
33
+ fi
34
+ fi
35
+ }
36
+
37
+ WIN_VER=10
38
+ WINEARCH=win64
39
+ MUST_HAVE_DLL=Disabled
40
+ WPREFIX_NAME=defprefix_dotnet
db/SoF2.lwdb ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ SUM=($(sha256sum SoF2.exe 2>/dev/null))
2
+ PATCH_SUM='bf8225821e1b0e27ea97a7507034a575d93e3e190adbc9f162510bb547a52bbb'
3
+ [ "$SUM" == "$PATCH_SUM" ] && \
4
+ dd if=/dev/zero of=SoF2.exe bs=1 count=1 seek=987627 conv=notrunc
db/WeMod.lwdb CHANGED
@@ -7,8 +7,8 @@ pre_launch() {
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")"
 
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")"
db/Zona.lwdb CHANGED
@@ -1,7 +1,19 @@
1
  WIN_VER=10
 
2
  if [ -n "$(lspci|grep -o 'NVIDIA')" ]
3
  then
4
  unset VK_ICD_FILENAMES
5
  HIDE_NVIDIA_GPU=1
6
  VKICDFILES=Lvp
7
  fi
 
 
 
 
 
 
 
 
 
 
 
 
1
  WIN_VER=10
2
+ ZUPDATER="$WINEPREFIX/drive_c/users/steamuser/AppData/Roaming/Zona/plugins/zupdater"
3
  if [ -n "$(lspci|grep -o 'NVIDIA')" ]
4
  then
5
  unset VK_ICD_FILENAMES
6
  HIDE_NVIDIA_GPU=1
7
  VKICDFILES=Lvp
8
  fi
9
+
10
+ pre_launch() { [ -d "$ZUPDATER" ] && rm -rf "$ZUPDATER" && ln -sf /dev/null "$ZUPDATER" && return 0 ; }
11
+
12
+ if [[ "${EXE_NAME,,}" == 'zonasetup'* ]]
13
+ then
14
+ (while kill -0 $LWPID
15
+ do
16
+ pre_launch && break
17
+ sleep 3
18
+ done) &
19
+ fi
db/launcher.lwdb CHANGED
@@ -1,5 +1,5 @@
1
  srlauncher() {
2
- SR_PATCH_VER=v3.0.12
3
  SR_PATCH_DIR="$LW_DEF_TMP/srpatch_$SR_PATCH_VER"
4
  EXE_DRIVE="$(grep -oi '[a-z]:'<<<"$LU_EXE")"
5
  SRLAUNCHER="$EXE_DRIVE\\$(sed 's|.*/[a-z]:||i;s|\/|\\|g'<<<"$LU_EXE")"
 
1
  srlauncher() {
2
+ SR_PATCH_VER=v3.1.1
3
  SR_PATCH_DIR="$LW_DEF_TMP/srpatch_$SR_PATCH_VER"
4
  EXE_DRIVE="$(grep -oi '[a-z]:'<<<"$LU_EXE")"
5
  SRLAUNCHER="$EXE_DRIVE\\$(sed 's|.*/[a-z]:||i;s|\/|\\|g'<<<"$LU_EXE")"
index.html CHANGED
@@ -632,6 +632,13 @@ update_lwrun() {
632
  then
633
  update_runimage
634
  local pkgret=$?
 
 
 
 
 
 
 
635
  fi
636
  [[ "$dlret" == 0 || "$pkgret" == 0 ]] && \
637
  local ret=0
 
632
  then
633
  update_runimage
634
  local pkgret=$?
635
+ if [ "$pkgret" == 0 ]
636
+ then
637
+ if [ "$ENABLE_HOSTEXEC" == 1 ]
638
+ then hostexec ptyspawn importenv '$RUNPID' "$LWRAP" -init
639
+ else "$LWRAP" -init
640
+ fi
641
+ fi
642
  fi
643
  [[ "$dlret" == 0 || "$pkgret" == 0 ]] && \
644
  local ret=0
lutris-wine CHANGED
@@ -1 +1 @@
1
- LW_VERSION="0.78.2.4"
 
1
+ LW_VERSION="0.78.2.5"
lux-wine CHANGED
@@ -1,6 +1,6 @@
1
  #!/usr/bin/env bash
2
 
3
- export LW_VERSION="0.78.2.4"
4
  export LW_DEVELOPERS="VHSgunzo"
5
 
6
  export RED='\033[1;91m'
@@ -143,10 +143,10 @@ done
143
  [ ! -n "$ZSTD_CMPRSS_LVL" ] && export ZSTD_CMPRSS_LVL="1"
144
  [ ! -n "$SYS_LDLIBPTH" ] && export SYS_LDLIBPTH="$LD_LIBRARY_PATH"
145
  [ ! -n "$SYS_STM_COMPAT_DIR" ] && export SYS_STM_COMPAT_DIR="/usr/share/steam/compatibilitytools.d"
146
- [ ! -n "$DEF_MANGOHUDCFG" ] && export DEF_MANGOHUDCFG="no_display,time,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,gpu_power,gpu_load_change,gpu_text=GPU,\
147
- cpu_stats,cpu_temp,cpu_load_change,core_load_change,cpu_color=2e97cb,cpu_text=CPU,io_color=a491d3,vram,vram_color=ad64c1,ram,ram_color=c26693,fps,\
148
- engine_version,engine_color=eb5b5b,gpu_name,gpu_color=2e9762,vulkan_driver,wine,wine_color=eb5b5b,arch,frame_timing=1,frametime_color=00ff00,\
149
- resolution,vkbasalt,gamemode,background_alpha=0.4,background_color=020202,position=top-right,text_color=ffffff,toggle_hud=Shift_R+F12"
150
  [[ ! -n "$NOT_TERM" && ! -n "$(tty|grep -v 'not a'|grep -Eo 'tty|pts')" ]] && \
151
  NOT_TERM=1||NOT_TERM=0
152
 
@@ -165,7 +165,6 @@ check_def_config() {
165
  [ ! -n "$FSYNC" ] && export FSYNC=1
166
  [ ! -n "$FSR_MODE" ] && export FSR_MODE='Enabled'
167
  [ ! -n "$VSYNC" ] && export VSYNC="Default"
168
- [ ! -n "$PULSE_LTCY" ] && export PULSE_LTCY=1
169
  [ ! -n "$VKBASALT" ] && export VKBASALT=1
170
  [ ! -n "$WIN_VER" ] && export WIN_VER="10"
171
  [ ! -n "$VKD3DCFG" ] && export VKD3DCFG="Disabled"
@@ -188,7 +187,7 @@ check_def_config() {
188
  [ ! -n "$BATTLEYE" ] && export BATTLEYE=1
189
  [ ! -n "$EAC" ] && export EAC=1
190
  [ ! -n "$EXE_LWDB" ] && export EXE_LWDB=1
191
- [ ! -n "$MUST_HAVE_DLL" ] && export MUST_HAVE_DLL='corefonts vcrun2022 mfc42 mfc140'
192
  [ ! -n "$VKBASALT_FFX_CAS" ] && export VKBASALT_FFX_CAS="0.6"
193
  export DXVK_GIT_RELEASE_URL="https://api.github.com/repos/doitsujin/dxvk/releases"
194
  export VKD3D_GIT_RELEASE_URL="https://api.github.com/repos/HansKristian-Work/vkd3d-proton/releases"
@@ -769,17 +768,10 @@ try_rm() {
769
  return 1
770
  }
771
 
772
- check_freespace() {
773
- USEDDS="$(echo "$(df -h 2>/dev/null|grep "$(echo $(mount|grep -w "on $(stat -c %m -- "$(dirname "$1")")")|awk '{print$1}')")"|awk '{print$5}'|head -1|sed 's/.$//')"
774
- [ "$USEDDS" -ge "95" ] \
775
- && print_error yad "Disk space error" "There [ $(stat -c %m -- "$(dirname "$1")") ] is little free disk space left, you need to free up disk space!"
776
- }
777
-
778
  try_download() {
779
  set -o pipefail
780
  [ ! -n "$1" ] && print_error "Specify download URL!" && return 1 || DLFLNAME="$(basename "$1")"
781
  [ ! -n "$2" ] && DLPTH="./" || DLPTH="$2"
782
- check_freespace "$DLPTH"
783
  try_mkdir "$DLPTH"
784
  if [ "$LW_DOWNLOADER" == "aria2c" ]
785
  then
@@ -2423,6 +2415,8 @@ check_db_script() {
2423
  *'league of legends'*) export EXE_LWDBFL="$LW_DB_DIR/LeagueClient.lwdb" ;;
2424
  gog_galaxy*) export EXE_LWDBFL="$LW_DB_DIR/setup.lwdb" ;;
2425
  wemod-*) export EXE_LWDBFL="$LW_DB_DIR/WeMod.lwdb" ;;
 
 
2426
  esac
2427
  fi
2428
  fi
@@ -2639,7 +2633,6 @@ lite_init() {
2639
  fi
2640
  [[ -n "$SETT_INIT" || "$1" == "-init" ]] && \
2641
  initbar && rm -rf "$LW_DIR/.lwcfgchksum"
2642
- check_freespace "$HOME/.local"
2643
  check_exe_wcfg_cenv "$@"
2644
  check_luwine_wcfg_cenv
2645
  check_def_config
@@ -5873,7 +5866,7 @@ export_all_functions() {
5873
  runtime_manager upd_battleye is_exe_exist which_exe try_ln_wine_build_dll find_vk_icd btntls_run get_app_exe check_driprime greptardlurl get_wlu_releases \
5874
  upd_d3d_extras upd_dgvoodoo2 upd_dxvk upd_dxvk_nvapi upd_vkd3d upd_all is_loadbar lu_runapp lu_lsapp set_wine_version get_pge_releases get_wge_releases \
5875
  check_wined3d check_vkbasalt_eff check_luwine_wcfg_cenv check_videodrv check_startfile check_def_config get_wk4_releases \
5876
- settingbar check_freespace initbar check_network_status print_question print_input loadbar_cover check_first_run check_eac check_loadbar_cover \
5877
  check_db_script stop_loadbar check_wmonover wmonover_upd check_exe_wcfg_cenv lu_appcfg try_fix_wrtx try_shutdown_wine check_steamapps is_winepfx \
5878
  check_display check_restore_resol resol_sw check_restore_gamma dis_displ_sw restore_resol check_virt_desktop check_vkbasalt_cfg exeargs_upd check_exe_args \
5879
  check_wine_nvml check_resizable_bar check_latencyflex get_proton_d3dlib makesquash_zstd makesquash_xz lu_pfxbackup lu_pfxrestore lu_backupmnt lu_backupunmnt \
 
1
  #!/usr/bin/env bash
2
 
3
+ export LW_VERSION="0.78.2.5"
4
  export LW_DEVELOPERS="VHSgunzo"
5
 
6
  export RED='\033[1;91m'
 
143
  [ ! -n "$ZSTD_CMPRSS_LVL" ] && export ZSTD_CMPRSS_LVL="1"
144
  [ ! -n "$SYS_LDLIBPTH" ] && export SYS_LDLIBPTH="$LD_LIBRARY_PATH"
145
  [ ! -n "$SYS_STM_COMPAT_DIR" ] && export SYS_STM_COMPAT_DIR="/usr/share/steam/compatibilitytools.d"
146
+ [ ! -n "$DEF_MANGOHUDCFG" ] && export DEF_MANGOHUDCFG="gpu_text=GPU,cpu_color=2e97cb,cpu_text=CPU,io_color=a491d3,vram_color=ad64c1,ram_color=c26693,\
147
+ engine_color=eb5b5b,gpu_color=2e9762,wine_color=eb5b5b,frametime_color=00ff00,background_alpha=0.4,background_color=020202,position=top-right,\
148
+ text_color=ffffff,toggle_hud=Shift_R+F12,gpu_load_change,cpu_load_change,core_load_change,arch,cpu_mhz,cpu_temp,engine_version,gamemode,\
149
+ gpu_core_clock,gpu_mem_clock,gpu_name,gpu_power,gpu_temp,no_display,ram,resolution,show_fps_limit,time,vkbasalt,vram,vulkan_driver,wine"
150
  [[ ! -n "$NOT_TERM" && ! -n "$(tty|grep -v 'not a'|grep -Eo 'tty|pts')" ]] && \
151
  NOT_TERM=1||NOT_TERM=0
152
 
 
165
  [ ! -n "$FSYNC" ] && export FSYNC=1
166
  [ ! -n "$FSR_MODE" ] && export FSR_MODE='Enabled'
167
  [ ! -n "$VSYNC" ] && export VSYNC="Default"
 
168
  [ ! -n "$VKBASALT" ] && export VKBASALT=1
169
  [ ! -n "$WIN_VER" ] && export WIN_VER="10"
170
  [ ! -n "$VKD3DCFG" ] && export VKD3DCFG="Disabled"
 
187
  [ ! -n "$BATTLEYE" ] && export BATTLEYE=1
188
  [ ! -n "$EAC" ] && export EAC=1
189
  [ ! -n "$EXE_LWDB" ] && export EXE_LWDB=1
190
+ [ ! -n "$MUST_HAVE_DLL" ] && export MUST_HAVE_DLL='Disabled'
191
  [ ! -n "$VKBASALT_FFX_CAS" ] && export VKBASALT_FFX_CAS="0.6"
192
  export DXVK_GIT_RELEASE_URL="https://api.github.com/repos/doitsujin/dxvk/releases"
193
  export VKD3D_GIT_RELEASE_URL="https://api.github.com/repos/HansKristian-Work/vkd3d-proton/releases"
 
768
  return 1
769
  }
770
 
 
 
 
 
 
 
771
  try_download() {
772
  set -o pipefail
773
  [ ! -n "$1" ] && print_error "Specify download URL!" && return 1 || DLFLNAME="$(basename "$1")"
774
  [ ! -n "$2" ] && DLPTH="./" || DLPTH="$2"
 
775
  try_mkdir "$DLPTH"
776
  if [ "$LW_DOWNLOADER" == "aria2c" ]
777
  then
 
2415
  *'league of legends'*) export EXE_LWDBFL="$LW_DB_DIR/LeagueClient.lwdb" ;;
2416
  gog_galaxy*) export EXE_LWDBFL="$LW_DB_DIR/setup.lwdb" ;;
2417
  wemod-*) export EXE_LWDBFL="$LW_DB_DIR/WeMod.lwdb" ;;
2418
+ zonasetup*) export EXE_LWDBFL="$LW_DB_DIR/Zona.lwdb" ;;
2419
+ 'direct commander setup'*) export EXE_LWDBFL="$LW_DB_DIR/Direct Commander.lwdb" ;;
2420
  esac
2421
  fi
2422
  fi
 
2633
  fi
2634
  [[ -n "$SETT_INIT" || "$1" == "-init" ]] && \
2635
  initbar && rm -rf "$LW_DIR/.lwcfgchksum"
 
2636
  check_exe_wcfg_cenv "$@"
2637
  check_luwine_wcfg_cenv
2638
  check_def_config
 
5866
  runtime_manager upd_battleye is_exe_exist which_exe try_ln_wine_build_dll find_vk_icd btntls_run get_app_exe check_driprime greptardlurl get_wlu_releases \
5867
  upd_d3d_extras upd_dgvoodoo2 upd_dxvk upd_dxvk_nvapi upd_vkd3d upd_all is_loadbar lu_runapp lu_lsapp set_wine_version get_pge_releases get_wge_releases \
5868
  check_wined3d check_vkbasalt_eff check_luwine_wcfg_cenv check_videodrv check_startfile check_def_config get_wk4_releases \
5869
+ settingbar initbar check_network_status print_question print_input loadbar_cover check_first_run check_eac check_loadbar_cover \
5870
  check_db_script stop_loadbar check_wmonover wmonover_upd check_exe_wcfg_cenv lu_appcfg try_fix_wrtx try_shutdown_wine check_steamapps is_winepfx \
5871
  check_display check_restore_resol resol_sw check_restore_gamma dis_displ_sw restore_resol check_virt_desktop check_vkbasalt_cfg exeargs_upd check_exe_args \
5872
  check_wine_nvml check_resizable_bar check_latencyflex get_proton_d3dlib makesquash_zstd makesquash_xz lu_pfxbackup lu_pfxrestore lu_backupmnt lu_backupunmnt \
lwrap/PKGBUILD CHANGED
@@ -2,7 +2,7 @@
2
 
3
  pkgname='lwrap'
4
  pkgver='0.78.2'
5
- pkgrel='4'
6
  pkgdesc='Lux Wine wrapper for RunImage container'
7
  arch=('x86_64')
8
  url='https://github.com/VHSgunzo/lux-wine'
@@ -33,7 +33,7 @@ depends=(
33
  'dos2unix' 'lw-runtime' 'wine-gecko' 'wine-mono' 'libdvdread' 'a52dec' 'wavpack' 'lib32-wavpack'
34
  'libmpeg2' 'twolame' 'lib32-twolame' 'gst-plugin-msdk' 'lib32-libdv' 'libdv' 'GE-Proton'
35
  'xxd-standalone' 'obs-vkcapture-lw' 'lib32-obs-vkcapture-lw' 'egl-wayland' 'gstreamer-vaapi'
36
- 'moninfo' 'perl-image-exiftool'
37
  )
38
  optdepends=(
39
  'xf86-video-amdgpu' 'xf86-video-intel' 'llvm'
 
2
 
3
  pkgname='lwrap'
4
  pkgver='0.78.2'
5
+ pkgrel='5'
6
  pkgdesc='Lux Wine wrapper for RunImage container'
7
  arch=('x86_64')
8
  url='https://github.com/VHSgunzo/lux-wine'
 
33
  'dos2unix' 'lw-runtime' 'wine-gecko' 'wine-mono' 'libdvdread' 'a52dec' 'wavpack' 'lib32-wavpack'
34
  'libmpeg2' 'twolame' 'lib32-twolame' 'gst-plugin-msdk' 'lib32-libdv' 'libdv' 'GE-Proton'
35
  'xxd-standalone' 'obs-vkcapture-lw' 'lib32-obs-vkcapture-lw' 'egl-wayland' 'gstreamer-vaapi'
36
+ 'moninfo' 'perl-image-exiftool' 'xorg-xlsfonts'
37
  )
38
  optdepends=(
39
  'xf86-video-amdgpu' 'xf86-video-intel' 'llvm'
lwrap/lwrap CHANGED
@@ -632,6 +632,13 @@ update_lwrun() {
632
  then
633
  update_runimage
634
  local pkgret=$?
 
 
 
 
 
 
 
635
  fi
636
  [[ "$dlret" == 0 || "$pkgret" == 0 ]] && \
637
  local ret=0
 
632
  then
633
  update_runimage
634
  local pkgret=$?
635
+ if [ "$pkgret" == 0 ]
636
+ then
637
+ if [ "$ENABLE_HOSTEXEC" == 1 ]
638
+ then hostexec ptyspawn importenv '$RUNPID' "$LWRAP" -init
639
+ else "$LWRAP" -init
640
+ fi
641
+ fi
642
  fi
643
  [[ "$dlret" == 0 || "$pkgret" == 0 ]] && \
644
  local ret=0
lwrun-pkg/RunDir/Run DELETED
File without changes
lwrun-pkg/RunDir/Run.sh DELETED
@@ -1,71 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- which_exe() { command -v "$@" ; }
4
-
5
- try_mv_nvdrv() {
6
- mkdir -p "$NVIDIA_DRIVERS_DIR"
7
- if [ -w "$1" ]
8
- then mv -f "$1" "$NVIDIA_DRIVERS_DIR/" 2>/dev/null
9
- else cp -rf "$1" "$NVIDIA_DRIVERS_DIR/" 2>/dev/null
10
- fi
11
- }
12
-
13
- if [[ -n "$RUNOFFSET" && -n "$ARGV0" ]]
14
- then
15
- RUNSTATIC="$RUNDIR/static"
16
- [ "$SYS_TOOLS" == 1 ] && \
17
- export PATH="$PATH:$RUNSTATIC"||\
18
- export PATH="$RUNSTATIC:$PATH"
19
- if [ ! -n "$RUNIMAGE" ] # KDE Neon, CachyOS, Puppy Linux bug
20
- then
21
- if [ -x "$(realpath "$ARGV0" 2>/dev/null)" ]
22
- then RUNIMAGE="$(realpath "$ARGV0" 2>/dev/null)"
23
- elif [ -x "$(realpath "$(which_exe "$ARGV0")" 2>/dev/null)" ]
24
- then RUNIMAGE="$(realpath "$(which_exe "$ARGV0")" 2>/dev/null)"
25
- else RUNIMAGE="$ARGV0"
26
- fi
27
- fi
28
- PRUNDIR="$(dirname "$RUNIMAGE" 2>/dev/null)"
29
- else
30
- [ ! -d "$RUNDIR" ] && \
31
- RUNDIR="$(dirname "$(realpath "$0" 2>/dev/null)" 2>/dev/null)"
32
- RUNSTATIC="$RUNDIR/static"
33
- [ "$SYS_TOOLS" == 1 ] && \
34
- export PATH="$PATH:$RUNSTATIC"||\
35
- export PATH="$RUNSTATIC:$PATH"
36
- PRUNDIR="$(realpath "$RUNDIR/../" 2>/dev/null)"
37
- fi
38
-
39
- export LWRUN_PKG=1
40
- LW_DIR="$HOME/.local/share/LuxWine"
41
- LWBIN_DIR="$LW_DIR/bin"
42
- LWRUN="$LWBIN_DIR/lwrun"
43
- NVIDIA_DRIVERS_DIR="$LW_DIR/bin/nvidia-drivers"
44
-
45
- mkdir -p "$LWBIN_DIR"
46
- tar -I 'zstd -T0 --progress' -xf "$RUNDIR/lwrun.tar.zst" -C "$LWBIN_DIR"
47
-
48
- if [[ "$SANDBOX_HOME" != 1 && \
49
- "$SANDBOX_HOME_DL" != 1 && \
50
- ! -d "$SANDBOXHOMEDIR/lwrap" && \
51
- "$PORTABLE_HOME" != 1 && \
52
- "$TMP_HOME" != 1 && \
53
- "$TMP_HOME_DL" != 1 && \
54
- ! -d "$PORTABLEHOMEDIR/lwrap" ]]
55
- then
56
- nvidia_version="$(cat /sys/module/nvidia/version 2>/dev/null)"
57
- if [ -n "$nvidia_version" ]
58
- then
59
- if [[ ! -d "$NVIDIA_DRIVERS_DIR/$nvidia_version" && \
60
- ! -f "$NVIDIA_DRIVERS_DIR/$nvidia_version.nv.drv" ]]
61
- then
62
- if [ -d "$PRUNDIR/$nvidia_version" ]
63
- then try_mv_nvdrv "$PRUNDIR/$nvidia_version"
64
- elif [ -f "$PRUNDIR/$nvidia_version.nv.drv" ]
65
- then try_mv_nvdrv "$PRUNDIR/$nvidia_version.nv.drv"
66
- fi
67
- fi
68
- fi
69
- fi
70
-
71
- exec "$LWRUN" -init
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lwrun-pkg/RunDir/lwrun.tar.zst DELETED
File without changes
lwrun-pkg/RunDir/static/.binaries_version DELETED
@@ -1,11 +0,0 @@
1
- [coreutils](https://github.com/VHSgunzo/coreutils-static) 9.3 (musl):
2
- cat
3
- cp
4
- dirname
5
- mkdir
6
- mv
7
- realpath
8
- (musl):
9
- [tar](https://github.com/VHSgunzo/tar-static) 1.34
10
- [bash](https://github.com/robxu9/bash-static) 5.2.015-1.2.3-2
11
- [zstd](https://github.com/VHSgunzo/zstd-static) 1.4.7.r1914
 
 
 
 
 
 
 
 
 
 
 
 
lwrun-pkg/RunDir/static/.version DELETED
@@ -1 +0,0 @@
1
- 0.0.1
 
 
lwrun-pkg/RunDir/static/bash DELETED
File without changes
lwrun-pkg/RunDir/static/cat DELETED
File without changes
lwrun-pkg/RunDir/static/cp DELETED
File without changes
lwrun-pkg/RunDir/static/mkdir DELETED
File without changes
lwrun-pkg/RunDir/static/mv DELETED
File without changes
lwrun-pkg/RunDir/static/tar DELETED
File without changes
lwrun-pkg/RunDir/static/zstd DELETED
File without changes
lwrun-pkg/build.sh DELETED
@@ -1,27 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -e
3
-
4
- # https://github.com/VHSgunzo/runimage-runtime-static
5
- RUNTIME='runtime-fuse2-all'
6
- RUNTIMESIZE=($(du -sb "$RUNTIME" 2>/dev/null))
7
-
8
- # RunDir/static
9
- # bash https://github.com/robxu9/bash-static
10
- # coreutils https://github.com/VHSgunzo/coreutils-static :
11
- # cat
12
- # cp
13
- # dirname
14
- # mkdir
15
- # mv
16
- # realpath
17
- # tar https://github.com/VHSgunzo/tar-static
18
- # zstd https://github.com/VHSgunzo/zstd-static
19
-
20
- # https://github.com/VHSgunzo/Run-wrapper
21
- # RunDir/Run
22
-
23
- # https://github.com/VHSgunzo/lwrun
24
- tar -I 'zstd -T0 --ultra -22 --progress' -cf RunDir/lwrun.tar.zst lwrun
25
- mksquashfs RunDir lwrun -offset "$RUNTIMESIZE" -root-owned -no-xattrs -quiet -mkfs-time 0 -noappend -b 1M -comp lz4 -Xhc
26
- dd if="$RUNTIME" bs="$RUNTIMESIZE" count=1 of=lwrun conv=notrunc
27
- chmod +x lwrun
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lwrun-pkg/lwrun DELETED
File without changes
lwrun-pkg/runtime-fuse2-all DELETED
File without changes
main.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0e17b381a4b8316d04f1bf0d5fd5d8d91231f6b8c8930d20333632fb1ac9bdf8
3
- size 580686
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63440204a7f834a74bd1b330ed6b7f9d359e1d36767bcb34dde6200d9b84e667
3
+ size 577953