Scripts version 2226
This commit is contained in:
		| @@ -2,6 +2,10 @@ You can help us in the development of the project on the website: https://linux- | |||||||
| ---------------------------------------- | ---------------------------------------- | ||||||
| Changelog: | Changelog: | ||||||
|  |  | ||||||
|  | ###Scripts version 2226### Date: 09.10.2023 / Download update size: 8 megabytes | ||||||
|  | * updated autoinstall scripts (thanks Boria138) | ||||||
|  | * minor improvements | ||||||
|  |  | ||||||
| ###Scripts version 2225### Date: 08.10.2023 / Download update size: 8 megabytes | ###Scripts version 2225### Date: 08.10.2023 / Download update size: 8 megabytes | ||||||
| * improved log creation mode | * improved log creation mode | ||||||
| * the inclusion of "USE_SYSTEM_VK_LAYERS" has been added to the "SETTINGS" tab, which makes it possible to use the system mangohud, vkBasalt, obs-vkcapture and others | * the inclusion of "USE_SYSTEM_VK_LAYERS" has been added to the "SETTINGS" tab, which makes it possible to use the system mangohud, vkBasalt, obs-vkcapture and others | ||||||
|   | |||||||
| @@ -2,10 +2,14 @@ | |||||||
| ----------------------------------------- | ----------------------------------------- | ||||||
| История изменений: | История изменений: | ||||||
|  |  | ||||||
|  | ###Scripts version 2226### Дата: 09.10.2023 / Размер скачиваемого обновления: 8 мегабайт | ||||||
|  | * обновлены автоустановки лончеров (спасибо Boria138) | ||||||
|  | * небольшие исправления скриптов | ||||||
|  |  | ||||||
| ###Scripts version 2225### Дата: 08.10.2023 / Размер скачиваемого обновления: 8 мегабайт | ###Scripts version 2225### Дата: 08.10.2023 / Размер скачиваемого обновления: 8 мегабайт | ||||||
| * улучшен режим создания лога | * улучшен режим создания лога | ||||||
| * во вкладку "НАСТРОИТЬ" добавлено включение "USE_SYSTEM_VK_LAYERS" что дает возможность использовать системные mangohud, vkBasalt, obs-vkcapture и прочие | * во вкладку "НАСТРОИТЬ" добавлено включение "USE_SYSTEM_VK_LAYERS" что дает возможность использовать системные mangohud, vkBasalt, obs-vkcapture и прочие | ||||||
| * во вкладку "НАСТРОИТЬ" добавлена включение "USE_OBS_VKCAPTURE" что дает возможность записи в OBS Studio с помощью obs-vkcapture (ВНИМАНИЕ: будет включено принудительное использование системных mangohud, vkBasalt, obs-vkcapture и прочих приложений использующих vulkan layers) | * во вкладку "НАСТРОИТЬ" добавлено включение "USE_OBS_VKCAPTURE" что дает возможность записи в OBS Studio с помощью obs-vkcapture (ВНИМАНИЕ: будет включено принудительное использование системных mangohud, vkBasalt, obs-vkcapture и прочих приложений использующих vulkan layers) | ||||||
| * обновлена установка League of Legends | * обновлена установка League of Legends | ||||||
|  |  | ||||||
| ###Scripts version 2224### Дата: 28.09.2023 / Размер скачиваемого обновления: 210 мегабайт | ###Scripts version 2224### Дата: 28.09.2023 / Размер скачиваемого обновления: 210 мегабайт | ||||||
|   | |||||||
| @@ -113,7 +113,6 @@ if [[ "${update_loc}" == "RUS" ]] ; then | |||||||
| 	export PW_VIRTUAL_DESKTOP_INFO='Включить запуск приложение в виртуальном рабочем столе WINE' | 	export PW_VIRTUAL_DESKTOP_INFO='Включить запуск приложение в виртуальном рабочем столе WINE' | ||||||
| 	export PW_WINEDBG_DISABLE_INFO='Отключить все функции отладки WINE (Рекомендуется не изменять значение)' | 	export PW_WINEDBG_DISABLE_INFO='Отключить все функции отладки WINE (Рекомендуется не изменять значение)' | ||||||
| 	export PW_USE_TERMINAL_INFO='Запускать приложение в терминале' | 	export PW_USE_TERMINAL_INFO='Запускать приложение в терминале' | ||||||
|     export PW_WINE_ALLOW_XIM_INFO='Использовать альтернативный режим для контроллера (Использовать только в случае проблем с контроллером)' |  | ||||||
| 	export PW_HEAP_DELAY_FREE_INFO='Включить задержку освобождения некоторой памяти, чтобы обойти ошибки, связанные с использованием приложения после освобождения памяти.' | 	export PW_HEAP_DELAY_FREE_INFO='Включить задержку освобождения некоторой памяти, чтобы обойти ошибки, связанные с использованием приложения после освобождения памяти.' | ||||||
| 	export PW_NO_WRITE_WATCH_INFO='Очень опасный способ взлома таймера записи в памяти в ntdll. Это улучшает производительность некоторых очень специфических игр. (Рекомендуется не изменять значение)' | 	export PW_NO_WRITE_WATCH_INFO='Очень опасный способ взлома таймера записи в памяти в ntdll. Это улучшает производительность некоторых очень специфических игр. (Рекомендуется не изменять значение)' | ||||||
| 	export PW_GUI_DISABLED_CS_INFO='Отключить окно выбора режимов запуска и версии WINE' | 	export PW_GUI_DISABLED_CS_INFO='Отключить окно выбора режимов запуска и версии WINE' | ||||||
| @@ -369,7 +368,6 @@ elif [[ "${update_loc}" == "ENG" ]] ; then | |||||||
| 	export PW_VIRTUAL_DESKTOP_INFO='Enable the application to run in the WINE virtual desktop' | 	export PW_VIRTUAL_DESKTOP_INFO='Enable the application to run in the WINE virtual desktop' | ||||||
| 	export PW_WINEDBG_DISABLE_INFO='Disable all WINE debugging functions (It is recommended not to change the value)' | 	export PW_WINEDBG_DISABLE_INFO='Disable all WINE debugging functions (It is recommended not to change the value)' | ||||||
| 	export PW_USE_TERMINAL_INFO='Run the application in the terminal' | 	export PW_USE_TERMINAL_INFO='Run the application in the terminal' | ||||||
|     export PW_WINE_ALLOW_XIM_INFO='Use alternate mode for controller (Use only if there is a problem with the controller)' |  | ||||||
| 	export PW_HEAP_DELAY_FREE_INFO='Include a delay in releasing some memory to bypass errors associated with using the application after the memory is released' | 	export PW_HEAP_DELAY_FREE_INFO='Include a delay in releasing some memory to bypass errors associated with using the application after the memory is released' | ||||||
| 	export PW_NO_WRITE_WATCH_INFO='A very dangerous way to hack the memory write timer in ntdll. This improves the performance of some very specific games. (It is recommended not to change the value.)' | 	export PW_NO_WRITE_WATCH_INFO='A very dangerous way to hack the memory write timer in ntdll. This improves the performance of some very specific games. (It is recommended not to change the value.)' | ||||||
| 	export PW_GUI_DISABLED_CS_INFO='Disable the window for selecting startup modes and WINE versions' | 	export PW_GUI_DISABLED_CS_INFO='Disable the window for selecting startup modes and WINE versions' | ||||||
|   | |||||||
| @@ -36,7 +36,6 @@ | |||||||
|  |  | ||||||
| ##export PW_NO_WRITE_WATCH=1                      # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games). | ##export PW_NO_WRITE_WATCH=1                      # Disable support for memory write watches in ntdll. This is a very dangerous hack and should only be applied if you have verified that the game can operate without write watches. This improves performance for some very specific games (e.g. CoreRT-based games). | ||||||
| ##export PW_HEAP_DELAY_FREE=1 | ##export PW_HEAP_DELAY_FREE=1 | ||||||
| ##export PW_WINE_ALLOW_XIM=1                      # Disable XIM support until libx11 >= 1.7 is widespread |  | ||||||
|  |  | ||||||
| ##export WINEARCH=win32                           # defaut = win64 | ##export WINEARCH=win32                           # defaut = win64 | ||||||
| ##export WINEPREFIX= | ##export WINEPREFIX= | ||||||
|   | |||||||
| @@ -68,22 +68,17 @@ start_portwine () { | |||||||
|  |  | ||||||
|     pw_init_runtime |     pw_init_runtime | ||||||
|      |      | ||||||
|  |     check_variables VKD3D_DEBUG none | ||||||
|  |     check_variables DXVK_LOG_LEVEL none | ||||||
|  |     check_variables VK_LOADER_DEBUG none | ||||||
|  |     check_variables VKBASALT_LOG_LEVEL none | ||||||
|  |     check_variables DXVK_NVAPI_LOG_LEVEL none | ||||||
|     if [[ "${PW_LOG}" == 1 ]] ; then |     if [[ "${PW_LOG}" == 1 ]] ; then | ||||||
|         export WINEDEBUG="fixme-all,err+loaddll,err+dll,err+file,err+reg" |         export WINEDEBUG="fixme-all,err+loaddll,err+dll,err+file,err+reg" | ||||||
|         export DXVK_LOG_LEVEL="err" |  | ||||||
|         export VKD3D_DEBUG="err" |  | ||||||
|         export WINE_MONO_TRACE="E:System.NotImplementedException" |         export WINE_MONO_TRACE="E:System.NotImplementedException" | ||||||
|         export VK_LOADER_DEBUG="none" |  | ||||||
|         export VKBASALT_LOG_LEVEL="none" |  | ||||||
|         export DXVK_NVAPI_LOG_LEVEL="err" |  | ||||||
|     else |     else | ||||||
|         export WINEDEBUG="-all" |         export WINEDEBUG="-all" | ||||||
|         export DXVK_LOG_LEVEL="none" |         unset WINE_MONO_TRACE | ||||||
|         export VKD3D_SHADER_DEBUG="none" |  | ||||||
|         export VKD3D_DEBUG="none" |  | ||||||
|         export DXVK_LOG_PATH="none" |  | ||||||
|         export VKBASALT_LOG_LEVEL="none" |  | ||||||
|         export DXVK_NVAPI_LOG_LEVEL="none" |  | ||||||
|     fi |     fi | ||||||
|  |  | ||||||
|     if [[ "${PW_NO_ESYNC}" == 1 ]] |     if [[ "${PW_NO_ESYNC}" == 1 ]] | ||||||
| @@ -473,8 +468,8 @@ start_portwine () { | |||||||
|     fi |     fi | ||||||
|       |       | ||||||
|     if [[ "${PW_DX12_DISABLE}" == 1 ]]   |     if [[ "${PW_DX12_DISABLE}" == 1 ]]   | ||||||
|     then var_winedlloverride_update "d3d12,d3d12core,libvkd3d-1=" |     then var_winedlloverride_update "d3d12,d3d12core=" | ||||||
|     else var_winedlloverride_update "d3d12,d3d12core,libvkd3d-1=n" |     else var_winedlloverride_update "d3d12,d3d12core=n" | ||||||
|     fi |     fi | ||||||
|  |  | ||||||
|     if [[ ! -d "${WINEPREFIX}/drive_c/vrclient/bin" ]] ; then |     if [[ ! -d "${WINEPREFIX}/drive_c/vrclient/bin" ]] ; then | ||||||
| @@ -622,7 +617,8 @@ pw_run () { | |||||||
|         echo "Log WINE:" >> "${PW_LOG_TO_FILE}" |         echo "Log WINE:" >> "${PW_LOG_TO_FILE}" | ||||||
|         echo "" |         echo "" | ||||||
|         print_debug "Log from RUNTIME and WINE:" |         print_debug "Log from RUNTIME and WINE:" | ||||||
|         env ${optirun_on} ${PW_GAMEMODERUN_SLR} ${pw_runtime} \ |         env ${optirun_on} ${PW_GAMEMODERUN_SLR} \ | ||||||
|  |         NO_AT_BRIDGE=0 ${pw_runtime} \ | ||||||
|         env ${PW_MANGOHUD_SLR} \ |         env ${PW_MANGOHUD_SLR} \ | ||||||
|         PATH="${PATH}" \ |         PATH="${PATH}" \ | ||||||
|         LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" \ |         LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" \ | ||||||
| @@ -637,7 +633,8 @@ pw_run () { | |||||||
|         fi |         fi | ||||||
|         echo "" |         echo "" | ||||||
|         print_debug "Log from RUNTIME and WINE:" |         print_debug "Log from RUNTIME and WINE:" | ||||||
|         env ${optirun_on} ${PW_GAMEMODERUN_SLR} ${pw_runtime} \ |         env ${optirun_on} ${PW_GAMEMODERUN_SLR} \ | ||||||
|  |         NO_AT_BRIDGE=0 ${pw_runtime} \ | ||||||
|         env ${PW_MANGOHUD_SLR} \ |         env ${PW_MANGOHUD_SLR} \ | ||||||
|         PATH="${PATH}" \ |         PATH="${PATH}" \ | ||||||
|         LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" \ |         LD_LIBRARY_PATH="${PW_LD_LIBRARY_PATH}" \ | ||||||
|   | |||||||
| @@ -120,8 +120,7 @@ portwine_start_debug () { | |||||||
|     fi |     fi | ||||||
|     echo "--------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log" |     echo "--------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log" | ||||||
|     echo "Version WINE in the Port:" >> "${PORT_WINE_PATH}/${portname}.log" |     echo "Version WINE in the Port:" >> "${PORT_WINE_PATH}/${portname}.log" | ||||||
|     print_var PW_WINE_USE >> "${PORT_WINE_PATH}/${portname}.log" |     echo "$PW_WINE_USE" >> "${PORT_WINE_PATH}/${portname}.log" | ||||||
|     [ -f "${WINEDIR}/version" ] && cat "${WINEDIR}/version" >> "${PORT_WINE_PATH}/${portname}.log" |  | ||||||
|     echo "------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log" |     echo "------------------------------------------------------" >> "${PORT_WINE_PATH}/${portname}.log" | ||||||
|     echo "Date and time of start debug for ${portname}:" >> "${PORT_WINE_PATH}/${portname}.log" |     echo "Date and time of start debug for ${portname}:" >> "${PORT_WINE_PATH}/${portname}.log" | ||||||
|     date >> "${PORT_WINE_PATH}/${portname}.log" |     date >> "${PORT_WINE_PATH}/${portname}.log" | ||||||
| @@ -216,10 +215,7 @@ portwine_start_debug () { | |||||||
|     done < "${PORT_WINE_PATH}/${portname}.log" | "${pw_yad_v12_3}" --text-info --tail --button="STOP":0 --title="DEBUG" \ |     done < "${PORT_WINE_PATH}/${portname}.log" | "${pw_yad_v12_3}" --text-info --tail --button="STOP":0 --title="DEBUG" \ | ||||||
|     --skip-taskbar --width=800 --height=400 --text "${port_debug}" 2>/dev/null && |     --skip-taskbar --width=800 --height=400 --text "${port_debug}" 2>/dev/null && | ||||||
|     kill_portwine |     kill_portwine | ||||||
| #    sleep 1 && zenity --info --title "DEBUG" --text "${port_debug}" --no-wrap &> /dev/null && kill_portwine |  | ||||||
|     sed -i '/.fx$/d' "${PORT_WINE_PATH}/${portname}.log" |     sed -i '/.fx$/d' "${PORT_WINE_PATH}/${portname}.log" | ||||||
|     sed -i '/kerberos/d' "${PORT_WINE_PATH}/${portname}.log" |  | ||||||
|     sed -i '/ntlm/d' "${PORT_WINE_PATH}/${portname}.log" |  | ||||||
|     sed -i '/HACK_does_openvr_work/d' "${PORT_WINE_PATH}/${portname}.log" |     sed -i '/HACK_does_openvr_work/d' "${PORT_WINE_PATH}/${portname}.log" | ||||||
|     sed -i '/Uploading is disabled/d' "${PORT_WINE_PATH}/${portname}.log" |     sed -i '/Uploading is disabled/d' "${PORT_WINE_PATH}/${portname}.log" | ||||||
|     deb_text=$(cat "${PORT_WINE_PATH}/${portname}.log"  | awk '! a[$0]++')  |     deb_text=$(cat "${PORT_WINE_PATH}/${portname}.log"  | awk '! a[$0]++')  | ||||||
| @@ -442,7 +438,7 @@ pw_edit_db () { | |||||||
|         /usr/bin/env bash -c ${pw_full_command_line[*]} & |         /usr/bin/env bash -c ${pw_full_command_line[*]} & | ||||||
|         exit 0 |         exit 0 | ||||||
|     fi |     fi | ||||||
|     # PW_WINE_ALLOW_XIM PW_FORCE_USE_VSYNC PW_WINEDBG_DISABLE PW_USE_AMDVLK_DRIVER |     # PW_FORCE_USE_VSYNC PW_WINEDBG_DISABLE PW_USE_AMDVLK_DRIVER HEAP_DELAY_FREE | ||||||
| } | } | ||||||
|  |  | ||||||
| pw_autoinstall_from_db () { | pw_autoinstall_from_db () { | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| #Author: Castro-Fidel (linux-gaming.ru) | #Author: Castro-Fidel (linux-gaming.ru) | ||||||
| #SCRIPTS_NEXT_VERSION=2225 | #SCRIPTS_NEXT_VERSION=2226 | ||||||
| ######################################################################## | ######################################################################## | ||||||
| export PW_MANGOHUD=0 | export PW_MANGOHUD=0 | ||||||
| export MANGOHUD_CONFIG=cpu_stats,cpu_temp,cpu_mhz,cpu_color=2e97cb,cpu_text=CPU,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,vulkan_driver,gpu_name,gpu_color=2e9762,gpu_text=GPU,vram,vram_color=ad64c1,ram,ram_color=c26693,io_color=a491d3,frame_timing=1,frametime_color=00ff00,time,arch,wine,wine_color=eb5b5b,engine_color=eb5b5b,background_alpha=0.2,font_size=24,background_color=020202,text_color=ffffff,toggle_hud=Shift_R+F12,resolution,vkbasalt | export MANGOHUD_CONFIG=cpu_stats,cpu_temp,cpu_mhz,cpu_color=2e97cb,cpu_text=CPU,gpu_stats,gpu_temp,gpu_core_clock,gpu_mem_clock,vulkan_driver,gpu_name,gpu_color=2e9762,gpu_text=GPU,vram,vram_color=ad64c1,ram,ram_color=c26693,io_color=a491d3,frame_timing=1,frametime_color=00ff00,time,arch,wine,wine_color=eb5b5b,engine_color=eb5b5b,background_alpha=0.2,font_size=24,background_color=020202,text_color=ffffff,toggle_hud=Shift_R+F12,resolution,vkbasalt | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user