diff --git a/data_from_portwine/changelog_eng b/data_from_portwine/changelog_eng index 87b4732947ea4daafa0d0ca0b790d6cbdffdce49..02f260463c267ff9ef032f1a49e689bb77ba75e1 100755 --- a/data_from_portwine/changelog_eng +++ b/data_from_portwine/changelog_eng @@ -2,6 +2,17 @@ You can help us in the development of the project on the website: boosty.to/linu ----------------------------------------- Changelog: +###Scripts version 2187### +* Added: (Thanks chal55rus Sergey P.) + CONTRACT WARS + Stalker Online + Metal War Online + Xenia + FCEUX + xemu + Demul + Rpcs3 + ###Scripts version 2186### * added Genshin Impact diff --git a/data_from_portwine/changelog_rus b/data_from_portwine/changelog_rus index ba9b38acd9188f23b46c1448e7c0519c49fc24d6..3355570ed2c7b9b87e1a33d67de2c1647c629019 100755 --- a/data_from_portwine/changelog_rus +++ b/data_from_portwine/changelog_rus @@ -2,6 +2,18 @@ ----------------------------------------- Рстория изменений: +###Scripts version 2187### +* добавлена установка эмуляторов: (Спасибо chal55rus Sergey P.) + Xenia + FCEUX + xemu + Demul + Rpcs3 +* добавлена установка РёРіСЂС‹: (Спасибо chal55rus Sergey P.) + CONTRACT WARS + Stalker Online + Metal War Online + ###Scripts version 2186### * добавлена установка Genshin Impact (работает СЃ оригинальным античитом) diff --git a/data_from_portwine/img/gui/battle_net.png b/data_from_portwine/img/gui/battle_net.png old mode 100755 new mode 100644 index 6bfb17e26a3d19d740cf553d8e1a097024142b21..845205bcc38921b32b0bc07d52e63df17d39e62d Binary files a/data_from_portwine/img/gui/battle_net.png and b/data_from_portwine/img/gui/battle_net.png differ diff --git a/data_from_portwine/img/gui/cwc.png b/data_from_portwine/img/gui/cwc.png new file mode 100644 index 0000000000000000000000000000000000000000..0307f6601eb04fbd6aa6b283d062a0a4896353e8 Binary files /dev/null and b/data_from_portwine/img/gui/cwc.png differ diff --git a/data_from_portwine/img/gui/demul.png b/data_from_portwine/img/gui/demul.png new file mode 100644 index 0000000000000000000000000000000000000000..64cde14403586f393b4bca6f7ed56370a8dc754c Binary files /dev/null and b/data_from_portwine/img/gui/demul.png differ diff --git a/data_from_portwine/img/gui/eve.png b/data_from_portwine/img/gui/eve.png old mode 100755 new mode 100644 index 83b2981d1ef1f05acfe1544ee9c5c7b23a2f0a23..97f93901483eda099a73d4a9208eb9954b191992 Binary files a/data_from_portwine/img/gui/eve.png and b/data_from_portwine/img/gui/eve.png differ diff --git a/data_from_portwine/img/gui/fceux.png b/data_from_portwine/img/gui/fceux.png new file mode 100644 index 0000000000000000000000000000000000000000..3fdd7d27b9696d6fb4ab942d92f727c0b3fcc028 Binary files /dev/null and b/data_from_portwine/img/gui/fceux.png differ diff --git a/data_from_portwine/img/gui/genshinimpact.png b/data_from_portwine/img/gui/genshinimpact.png index c3c79fe2fd47358a2831458b6c52a7050ee7ecdf..8f2b8e31419cde0dd4f3aa05e9a800a0e7f60fcf 100644 Binary files a/data_from_portwine/img/gui/genshinimpact.png and b/data_from_portwine/img/gui/genshinimpact.png differ diff --git a/data_from_portwine/img/gui/igclient.png b/data_from_portwine/img/gui/igclient.png old mode 100755 new mode 100644 index 58d121f95865fbb3cc92196b3b2c28466156d30e..d1e6e2b9a59625649c408b767942c85788cfb770 Binary files a/data_from_portwine/img/gui/igclient.png and b/data_from_portwine/img/gui/igclient.png differ diff --git a/data_from_portwine/img/gui/lgc.png b/data_from_portwine/img/gui/lgc.png old mode 100755 new mode 100644 index 8ba24bc5d0656ce6f9f610f347760a2daa80f008..dddf0cd3273e48917cc8ca786851883bff4b08b0 Binary files a/data_from_portwine/img/gui/lgc.png and b/data_from_portwine/img/gui/lgc.png differ diff --git a/data_from_portwine/img/gui/lol.png b/data_from_portwine/img/gui/lol.png old mode 100755 new mode 100644 index e798365b54561015ea067ab526559daddf6e951d..0a32484de17547b081aa676eeaccdfa7ee8bea26 Binary files a/data_from_portwine/img/gui/lol.png and b/data_from_portwine/img/gui/lol.png differ diff --git a/data_from_portwine/img/gui/mwo.png b/data_from_portwine/img/gui/mwo.png new file mode 100644 index 0000000000000000000000000000000000000000..c0d9ed134a888c69eb830230dce83f69fa9d2c13 Binary files /dev/null and b/data_from_portwine/img/gui/mwo.png differ diff --git a/data_from_portwine/img/gui/mygames.png b/data_from_portwine/img/gui/mygames.png old mode 100755 new mode 100644 index 7d7f87be02053d3c1a6942d56bd1d8b9380656e5..189cd60018ddc5a3ef76fd23c36121b9e48cfbe8 Binary files a/data_from_portwine/img/gui/mygames.png and b/data_from_portwine/img/gui/mygames.png differ diff --git a/data_from_portwine/img/gui/osu.png b/data_from_portwine/img/gui/osu.png old mode 100755 new mode 100644 index 82dbc77342dbb8d935d707d34c85ef8334bd74b4..18cbbea48bb97b2cfe169556538a9921670b1f2e Binary files a/data_from_portwine/img/gui/osu.png and b/data_from_portwine/img/gui/osu.png differ diff --git a/data_from_portwine/img/gui/plariumplay.png b/data_from_portwine/img/gui/plariumplay.png index 8cc75409aba13ecb007f063e205eb952446b963b..661952ad48e94aac18b43e590f7447cea181068b 100644 Binary files a/data_from_portwine/img/gui/plariumplay.png and b/data_from_portwine/img/gui/plariumplay.png differ diff --git a/data_from_portwine/img/gui/rpcs3.png b/data_from_portwine/img/gui/rpcs3.png new file mode 100644 index 0000000000000000000000000000000000000000..41e8a8c7285e1e653d894fe5d1cba829630a6798 Binary files /dev/null and b/data_from_portwine/img/gui/rpcs3.png differ diff --git a/data_from_portwine/img/gui/so.png b/data_from_portwine/img/gui/so.png new file mode 100644 index 0000000000000000000000000000000000000000..acd3367580c19ee665d0c6057756c78cf5e6f1a6 Binary files /dev/null and b/data_from_portwine/img/gui/so.png differ diff --git a/data_from_portwine/img/gui/warframe.png b/data_from_portwine/img/gui/warframe.png index d46a3b2e46fd0f180064d268a10ed63dd2aed164..213b358319c3de12c6759d410f307f3a549c9598 100644 Binary files a/data_from_portwine/img/gui/warframe.png and b/data_from_portwine/img/gui/warframe.png differ diff --git a/data_from_portwine/img/gui/wgc.png b/data_from_portwine/img/gui/wgc.png old mode 100755 new mode 100644 index 16c43cc4b0d4c2adef6f2df78333446522c0c4a7..1b803fe13d9fafd53483d2de51482b59130ab128 Binary files a/data_from_portwine/img/gui/wgc.png and b/data_from_portwine/img/gui/wgc.png differ diff --git a/data_from_portwine/img/gui/xemu.png b/data_from_portwine/img/gui/xemu.png new file mode 100644 index 0000000000000000000000000000000000000000..877d086cbf6815200b6db261d02164ce9d3e1589 Binary files /dev/null and b/data_from_portwine/img/gui/xemu.png differ diff --git a/data_from_portwine/img/gui/xenia.png b/data_from_portwine/img/gui/xenia.png new file mode 100644 index 0000000000000000000000000000000000000000..7f31fad8d1b74128cf6aab5e46ec10438714ce38 Binary files /dev/null and b/data_from_portwine/img/gui/xenia.png differ diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_CWC b/data_from_portwine/scripts/pw_autoinstall/PW_CWC new file mode 100755 index 0000000000000000000000000000000000000000..f5a2840f0cd98df454edb71da0b331b5f5354c6a --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_CWC @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +# Author: chal55rus +######################################################################## +export PW_PREFIX_NAME="CONTRACT_WARS" +export LAUNCH_PARAMETERS=("/VERYSILENT") +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/CWClient_Install.exe" +start_portwine +if try_download "https://cdn-01.contractwarsgame.com/standalone/CWClient_Install.exe" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "${loc_gui_installing_the} CONTRACT WARS Client. ${loc_gui_please_wait} " + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$WINEPREFIX/drive_c/Games/CWClient/CWClientLauncher.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + try_remove_file "${portwine_exe}.ppdb" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="CONTRACT WARS" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_DEMUL b/data_from_portwine/scripts/pw_autoinstall/PW_DEMUL new file mode 100755 index 0000000000000000000000000000000000000000..abaa6afc090f2c7d528de04ac5d515436d4c3c2f --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_DEMUL @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# Author: chal55rus (Sergey P.) +######################################################################## +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/demul07_280418.7z" +start_portwine +if try_download "http://demul.emulation64.com/files/demul07_280418.7z" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "${loc_gui_installing_the} Demul. ${loc_gui_please_wait} " + "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Demul" + portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Demul/demul.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + try_remove_file "${portwine_exe}.ppdb" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="Demul" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_FCEUX b/data_from_portwine/scripts/pw_autoinstall/PW_FCEUX new file mode 100755 index 0000000000000000000000000000000000000000..56aa7b24d60a3c0171562edf5b94c3330399539b --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_FCEUX @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# Author: chal55rus (Sergey P.) +######################################################################## +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/fceux-2.6.5-win64.zip" +start_portwine +if try_download "https://github.com/TASEmulators/fceux/releases/download/v2.6.5/fceux-2.6.5-win64.zip" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "${loc_gui_installing_the} FCEUX. ${loc_gui_please_wait} " + "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/FCEUX" + portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/FCEUX/fceux64.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + try_remove_file "${portwine_exe}.ppdb" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="FCEUX" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_MWO b/data_from_portwine/scripts/pw_autoinstall/PW_MWO new file mode 100755 index 0000000000000000000000000000000000000000..8116a069064807e5fdc75ff25db00ac49bbb63d1 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_MWO @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +# Author: chal55rus +######################################################################## +export PW_PREFIX_NAME="METAL_WAR_ONLINE" +export LAUNCH_PARAMETERS=("/s" "/nr" "/l=Russian") +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/MWO_Launcher_Setup.exe" +start_portwine +if try_download "http://mwogame.com/download.php" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "${loc_gui_installing_the} Metal War Online. ${loc_gui_please_wait} " + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$WINEPREFIX/drive_c/Games/MetalWarOnline/MWOLauncher.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + try_remove_file "${portwine_exe}.ppdb" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="Metal War Online" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_RPCS3 b/data_from_portwine/scripts/pw_autoinstall/PW_RPCS3 new file mode 100755 index 0000000000000000000000000000000000000000..c1982c1fce59439cd02a4836d25bdbe988cbf6f4 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_RPCS3 @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# Author: chal55rus (Sergey P.) +######################################################################## +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/rpcs3-v0.0.27-14790-2de4c03f_win64.7z" +start_portwine +if try_download "https://github.com/RPCS3/rpcs3-binaries-win/releases/download/build-2de4c03faa54f001910c1cc5bafda62cc23fa803/rpcs3-v0.0.27-14790-2de4c03f_win64.7z" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "${loc_gui_installing_the} RPCS3. ${loc_gui_please_wait} " + "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/RPCS3" + portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/RPCS3/rpcs3.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + try_remove_file "${portwine_exe}.ppdb" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="RPCS3" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_SO b/data_from_portwine/scripts/pw_autoinstall/PW_SO new file mode 100755 index 0000000000000000000000000000000000000000..adc567c534a1efb4f1a7b0e19ba23af7f8cdf933 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_SO @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +# Author: chal55rus +######################################################################## +export PW_PREFIX_NAME="STALKER_ONLINE" +export LAUNCH_PARAMETERS=("/S") +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/SO_installer.exe" +start_portwine +if try_download "https://update-nl-release.stalker.so/launcher/SO_installer.exe" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "${loc_gui_installing_the} Stalker Online. ${loc_gui_please_wait} " + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$WINEPREFIX/drive_c/Game/StalkerOnline/StalkerOnline Launcher.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + try_remove_file "${portwine_exe}.ppdb" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="Stalker Online" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_STAR_RAIL b/data_from_portwine/scripts/pw_autoinstall/PW_STAR_RAIL new file mode 100755 index 0000000000000000000000000000000000000000..623195333596b9478fb4800ceecab01c323fe825 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_STAR_RAIL @@ -0,0 +1,24 @@ +#!/usr/bin/env bash +# Author: Castro-Fidel (linux-gaming.ru) +######################################################################## +export LAUNCH_PARAMETERS=("/q" ) +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/sr_installer.exe" +export PW_USE_D3D_EXTRAS=1 + +start_portwine + +if try_download "https://sg-public-api.hoyoverse.com/event/download_porter/link/hkrpg_global/oswebpc/default" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "Installing Honkai Star Rail Launcher. ${loc_gui_please_wait} " + pw_kill_autostart launcher.exe & + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$WINEPREFIX/drive_c/Program Files/Star Rail/launcher.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + try_remove_file "${portwine_exe}.ppdb" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="Star Rail" + portwine_create_shortcut +fi + +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_XEMU b/data_from_portwine/scripts/pw_autoinstall/PW_XEMU new file mode 100755 index 0000000000000000000000000000000000000000..9ed7306d3736e2ce9e64d9a94eb8012420a3d924 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_XEMU @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# Author: chal55rus (Sergey P.) +######################################################################## +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/xemu-win-release.zip" +start_portwine +if try_download "https://github.com/xemu-project/xemu/releases/latest/download/xemu-win-release.zip" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "${loc_gui_installing_the} xemu. ${loc_gui_please_wait} " + "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/xemu" + portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/xemu/xemu.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + try_remove_file "${portwine_exe}.ppdb" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="xemu" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_XENIA b/data_from_portwine/scripts/pw_autoinstall/PW_XENIA new file mode 100755 index 0000000000000000000000000000000000000000..d90e2b2787f2141df44ba7c24e54158dc5a77352 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_XENIA @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# Author: chal55rus (Sergey P.) +######################################################################## +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/xenia_master.zip" +start_portwine +if try_download "https://github.com/xenia-project/release-builds-windows/releases/latest/download/xenia_master.zip" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "${loc_gui_installing_the} Xenia. ${loc_gui_please_wait} " + "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/xenia" + portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/xenia/xenia.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + try_remove_file "${portwine_exe}.ppdb" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="Xenia" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/runlib b/data_from_portwine/scripts/runlib index 956c7dc2758d79e7b7eb7307a9f298883e4c59de..5c142a968ac3b73de9d69b4fa2172c953f20b504 100755 --- a/data_from_portwine/scripts/runlib +++ b/data_from_portwine/scripts/runlib @@ -119,6 +119,15 @@ start_portwine () { fi } + if ! try_force_link_file "${WINEDIR}/lib/wine/nvapi/nvapi.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/" ; then + try_force_link_file "${PW_PLUGINS_PATH}/nvapi/x32/nvapi.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/" + fi + if ! try_force_link_file "${WINEDIR}/lib64/wine/nvapi/nvapi64.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/" ; then + try_force_link_file "${PW_PLUGINS_PATH}/nvapi/x64/nvapi64.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/" + fi + try_force_link_file "${PW_PLUGINS_PATH}"/nvml/lib/wine/nvml.dll.so "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/nvml.dll" + try_force_link_file "${PW_PLUGINS_PATH}"/nvml/lib64/wine/nvml.dll.so "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/nvml.dll" + if [[ ! -z "${PW_USE_FAKE_DLSS}" && "${PW_USE_FAKE_DLSS}" == 1 && -d "${PW_PLUGINS_PATH}/fake_dlss/${PW_FAKE_DLSS_VER}/" ]] then try_force_link_file "${PW_PLUGINS_PATH}/fake_dlss/${PW_FAKE_DLSS_VER}/nvngx.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/" @@ -128,24 +137,14 @@ start_portwine () { export WINE_HIDE_NVIDIA_GPU=0 elif [[ ! -z "${PW_USE_NVAPI_AND_DLSS}" && "${PW_USE_NVAPI_AND_DLSS}" == 1 ]] && [[ -d "${WINEDIR}/lib/wine/nvapi/" ]] then - if ! try_force_link_file "${WINEDIR}/lib/wine/nvapi/nvapi.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/" ; then - try_force_link_file "${PW_PLUGINS_PATH}/nvapi/x32/nvapi.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/" - fi - if ! try_force_link_file "${WINEDIR}/lib64/wine/nvapi/nvapi64.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/" ; then - try_force_link_file "${PW_PLUGINS_PATH}/nvapi/x64/nvapi64.dll" "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/" - fi try_remove_file "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/nvngx.ini" - var_winedlloverride_update "nvapi,nvapi64=n;nvml,nvcuda,nvcuvid=b" if [[ ! -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/nvngx.dll" || ! -f "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/_nvngx.dll" ]] ; then try_copy_file `find /usr/* -type f -name "nvngx.dll" 2>/dev/null | awk '{print $1}' | grep '/lib/'` "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/" try_copy_file `find /usr/* -type f -name "_nvngx.dll" 2>/dev/null | awk '{print $1}' | grep '/lib/'` "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/" fi - # echo "Try link nvml.dll.so to prefix" - try_force_link_file "${PW_PLUGINS_PATH}"/nvml/lib/wine/nvml.dll.so "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/syswow64/nvml.dll" - try_force_link_file "${PW_PLUGINS_PATH}"/nvml/lib64/wine/nvml.dll.so "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}/drive_c/windows/system32/nvml.dll" + enabled_fake_nvidia_videocard 1 export DXVK_ENABLE_NVAPI=1 export WINE_HIDE_NVIDIA_GPU=0 - enabled_fake_nvidia_videocard 0 else enabled_fake_nvidia_videocard 0 export DXVK_ENABLE_NVAPI=0 diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index cf46625a228fc04cf3f8168c23e21d8eb7239d29..fc90d9aa1510166748fc8b009bcd256c80d8e763 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -25,8 +25,8 @@ if [[ -f "${PORT_WINE_TMP_PATH}/tmp_main_gui_size" ]] && [[ -n "$(cat ${PORT_WIN export PW_MAIN_SIZE_W="$(cat ${PORT_WINE_TMP_PATH}/tmp_main_gui_size | awk '{print $1}')" export PW_MAIN_SIZE_H="$(cat ${PORT_WINE_TMP_PATH}/tmp_main_gui_size | awk '{print $2}')" else - export PW_MAIN_SIZE_W="1000" - export PW_MAIN_SIZE_H="260" + export PW_MAIN_SIZE_W="1200" + export PW_MAIN_SIZE_H="350" fi if [[ -n $(basename "${portwine_exe}" | grep .ppack) ]] ; then @@ -731,7 +731,12 @@ else --field=" ePSXe"!"$PW_GUI_ICON_PATH/epsxe.png"!"":"FBTN" '@bash -c "button_click PW_EPSXE"' \ --field=" Project64"!"$PW_GUI_ICON_PATH/project64.png"!"":"FBTN" '@bash -c "button_click PW_PROJECT64"' \ --field=" VBA-M"!"$PW_GUI_ICON_PATH/vba-m.png"!"":"FBTN" '@bash -c "button_click PW_VBA-M"' \ - --field=" Yabause"!"$PW_GUI_ICON_PATH/yabause.png"!"":"FBTN" '@bash -c "button_click PW_YABAUSE"' & + --field=" Yabause"!"$PW_GUI_ICON_PATH/yabause.png"!"":"FBTN" '@bash -c "button_click PW_YABAUSE"' \ + --field=" Xenia"!"$PW_GUI_ICON_PATH/xenia.png"!"":"FBTN" '@bash -c "button_click PW_XENIA"' \ + --field=" FCEUX"!"$PW_GUI_ICON_PATH/fceux.png"!"":"FBTN" '@bash -c "button_click PW_FCEUX"' \ + --field=" xemu"!"$PW_GUI_ICON_PATH/xemu.png"!"":"FBTN" '@bash -c "button_click PW_XEMU"' \ + --field=" Demul"!"$PW_GUI_ICON_PATH/demul.png"!"":"FBTN" '@bash -c "button_click PW_DEMUL"' \ + --field=" Rpcs3"!"$PW_GUI_ICON_PATH/rpcs3.png"!"":"FBTN" '@bash -c "button_click PW_RPCS3"' & "${pw_yad_new}" --plug=$KEY --tabnum=${PW_GUI_SORT_TABS[0]} --form --columns=3 --align-buttons --keep-icon-size --scroll \ --field=" Lesta Game Center"!"$PW_GUI_ICON_PATH/lgc.png"!"":"FBTN" '@bash -c "button_click PW_LGC"' \ @@ -743,9 +748,8 @@ else --field=" Ubisoft Game Launcher"!"$PW_GUI_ICON_PATH/ubc.png"!"":"FBTN" '@bash -c "button_click PW_UBC"' \ --field=" EVE Online Launcher"!"$PW_GUI_ICON_PATH/eve.png"!"":"FBTN" '@bash -c "button_click PW_EVE"' \ --field=" Genshin Impact"!"$PW_GUI_ICON_PATH/genshinimpact.png"!"":"FBTN" '@bash -c "button_click PW_GENSHIN_IMPACT"' \ - --field=" EA App"!"$PW_GUI_ICON_PATH/eaapp.png"!"":"FBTN" '@bash -c "button_click PW_EAAPP"' \ + --field=" Electronic Arts App"!"$PW_GUI_ICON_PATH/eaapp.png"!"":"FBTN" '@bash -c "button_click PW_EAAPP"' \ --field=" Rockstar Games Launcher"!"$PW_GUI_ICON_PATH/Rockstar.png"!"":"FBTN" '@bash -c "button_click PW_ROCKSTAR"' \ - --field=" Ankama Launcher"!"$PW_GUI_ICON_PATH/ankama.png"!"":"FBTN" '@bash -c "button_click PW_ANKAMA"' \ --field=" OSU"!"$PW_GUI_ICON_PATH/osu.png"!"":"FBTN" '@bash -c "button_click PW_OSU"' \ --field=" League of Legends"!"$PW_GUI_ICON_PATH/lol.png"!"":"FBTN" '@bash -c "button_click PW_LOL"' \ --field=" Gameforge Client"!"$PW_GUI_ICON_PATH/gameforge.png"!"":"FBTN" '@bash -c "button_click PW_GAMEFORGE"' \ @@ -761,6 +765,10 @@ else --field=" Panzar"!"$PW_GUI_ICON_PATH/panzar.png"!"":"FBTN" '@bash -c "button_click PW_PANZAR"' \ --field=" STALCRAFT"!"$PW_GUI_ICON_PATH/stalcraft.png"!"":"FBTN" '@bash -c "button_click PW_STALCRAFT"' \ --field=" ROBLOX"!"$PW_GUI_ICON_PATH/roblox.png"!"":"FBTN" '@bash -c "button_click PW_ROBLOX"' \ + --field=" CONTRACT WARS"!"$PW_GUI_ICON_PATH/cwc.png"!"":"FBTN" '@bash -c "button_click PW_CWC"' \ + --field=" Stalker Online"!"$PW_GUI_ICON_PATH/so.png"!"":"FBTN" '@bash -c "button_click PW_SO"' \ + --field=" Metal War Online"!"$PW_GUI_ICON_PATH/mwo.png"!"":"FBTN" '@bash -c "button_click PW_MWO"' \ + --field=" Ankama Launcher"!"$PW_GUI_ICON_PATH/ankama.png"!"":"FBTN" '@bash -c "button_click PW_ANKAMA"' \ --field=" Path of Exile"!"$PW_GUI_ICON_PATH/poe.png"!"":"FBTN" '@bash -c "button_click PW_POE"' & # --field=" Secret World Legends (ENG)"!"$PW_GUI_ICON_PATH/swl.png"!"":"FBTN" '@bash -c "button_click PW_SWL"' diff --git a/data_from_portwine/scripts/var b/data_from_portwine/scripts/var index c2a9490069806825242a27ce036344807b833df6..b4509dc30e9033a9ef7c82184411d967af063392 100755 --- a/data_from_portwine/scripts/var +++ b/data_from_portwine/scripts/var @@ -1,6 +1,6 @@ #!/usr/bin/env bash #Author: Castro-Fidel (linux-gaming.ru) -#SCRIPTS_NEXT_VERSION=2186 +#SCRIPTS_NEXT_VERSION=2187 ######################################################################## 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