diff --git a/data_from_portwine/changelog b/data_from_portwine/changelog index 90844447..f9dfb4ea 100755 --- a/data_from_portwine/changelog +++ b/data_from_portwine/changelog @@ -7,6 +7,9 @@ * добавить проверку количества db файлов на один exe * заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru ----------------------------------------- +###Scripts version 2054### +* добавлен новый пунк в меню PortProton для установки эмуляторов (спасибо chal55rus) + ###Scripts version 2053### * HOTFIX - исправлены ошибки создания симлинков некоторых библиоткек из plugins_v1 diff --git a/data_from_portwine/img/gui/citra.png b/data_from_portwine/img/gui/citra.png new file mode 100644 index 00000000..2dc5c9c0 Binary files /dev/null and b/data_from_portwine/img/gui/citra.png differ diff --git a/data_from_portwine/img/gui/dolphin.png b/data_from_portwine/img/gui/dolphin.png new file mode 100644 index 00000000..53453886 Binary files /dev/null and b/data_from_portwine/img/gui/dolphin.png differ diff --git a/data_from_portwine/img/gui/itch.png b/data_from_portwine/img/gui/itch.png new file mode 100644 index 00000000..45175163 Binary files /dev/null and b/data_from_portwine/img/gui/itch.png differ diff --git a/data_from_portwine/img/gui/mame.png b/data_from_portwine/img/gui/mame.png new file mode 100644 index 00000000..2b9e946f Binary files /dev/null and b/data_from_portwine/img/gui/mame.png differ diff --git a/data_from_portwine/img/gui/ppsspp.png b/data_from_portwine/img/gui/ppsspp.png new file mode 100644 index 00000000..fb6cb61a Binary files /dev/null and b/data_from_portwine/img/gui/ppsspp.png differ diff --git a/data_from_portwine/img/gui/retroarch.png b/data_from_portwine/img/gui/retroarch.png new file mode 100644 index 00000000..558c438e Binary files /dev/null and b/data_from_portwine/img/gui/retroarch.png differ diff --git a/data_from_portwine/img/gui/scummvm.png b/data_from_portwine/img/gui/scummvm.png new file mode 100644 index 00000000..0a0b6029 Binary files /dev/null and b/data_from_portwine/img/gui/scummvm.png differ diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_CITRA b/data_from_portwine/scripts/pw_autoinstall/PW_CITRA new file mode 100755 index 00000000..6afb0067 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_CITRA @@ -0,0 +1,18 @@ +#!/bin/bash +# Author: chal55rus (Sergey P.) +######################################################################## +#export LAUNCH_PARAMETERS=("") +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/citra-setup-windows.exe" +start_portwine +if try_download "https://github.com/citra-emu/citra-web/releases/download/1.0/citra-setup-windows.exe" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "Installing the Citra. Please wait..." + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Citra/nightly-mingw/citra-qt.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="Citra" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_DOLPHIN b/data_from_portwine/scripts/pw_autoinstall/PW_DOLPHIN new file mode 100644 index 00000000..3c5ff3e2 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_DOLPHIN @@ -0,0 +1,18 @@ +#!/bin/bash +# Author: chal55rus (Sergey P.) +########################################################################## +export LAUNCH_PARAMETERS=("/S") +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/dolphin-x64-5.0.exe" +start_portwine +if try_download "https://dl-mirror.dolphin-emu.org/5.0/dolphin-x64-5.0.exe" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "Installing the Dolphin 5.0. Please wait..." + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$WINEPREFIX/drive_c/Program Files/Dolphin/Dolphin.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="Dolphin 5.0" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_ITCH b/data_from_portwine/scripts/pw_autoinstall/PW_ITCH new file mode 100644 index 00000000..b30e8159 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_ITCH @@ -0,0 +1,19 @@ +#!/bin/bash +# Author: chal55rus (Sergey P.) +########################################################################## +export LAUNCH_PARAMETERS=("--silent") +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/itch-setup.exe" +start_portwine +if try_download "https://itch.io/app/download?platform=windows" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "Installing the ITCH.IO. Please wait..." + pw_kill_autostart itch.exe & + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/itch/app-25.5.1/itch.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="Itch" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_MAME b/data_from_portwine/scripts/pw_autoinstall/PW_MAME new file mode 100755 index 00000000..44595233 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_MAME @@ -0,0 +1,17 @@ +#!/bin/bash +# Author: chal55rus (Sergey P.) +######################################################################## +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/mame0237b_64bit.exe" +start_portwine +if try_download "https://github.com/mamedev/mame/releases/download/mame0237/mame0237b_64bit.exe" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "Installing the MAME. Please wait..." + "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)/Mame" + portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Mame/mame.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="MAME" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_PPSSPP b/data_from_portwine/scripts/pw_autoinstall/PW_PPSSPP new file mode 100644 index 00000000..6acc9076 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_PPSSPP @@ -0,0 +1,18 @@ +#!/bin/bash +# Author: chal55rus (Sergey P.) +########################################################################## +export LAUNCH_PARAMETERS=("/VERYSILENT") +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/PPSSPPSetup.exe" +start_portwine +if try_download "https://www.ppsspp.org/files/1_12_3/PPSSPPSetup.exe" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "Installing the PPSSPPS. Please wait..." + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$WINEPREFIX/drive_c/Program Files/PPSSPP/PPSSPPWindows64.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="PPSSPPWindows" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_RETROARCH b/data_from_portwine/scripts/pw_autoinstall/PW_RETROARCH new file mode 100755 index 00000000..0a0e3678 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_RETROARCH @@ -0,0 +1,17 @@ +#!/bin/bash +# Author: chal55rus (Sergey P.) +######################################################################## +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/RetroArch.7z" +start_portwine +if try_download "https://buildbot.libretro.com/stable/1.9.13/windows/x86_64/RetroArch.7z" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "Installing the RetroArch. Please wait..." + "$pw_7z" x -y "${PW_AUTOINSTALL_EXE}" -o"$WINEPREFIX/drive_c/Program Files (x86)" + portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/RetroArch-Win64/retroarch.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="RetroArch" + portwine_create_shortcut +fi +stop_portwine diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_SCUMMVM b/data_from_portwine/scripts/pw_autoinstall/PW_SCUMMVM new file mode 100644 index 00000000..0c2438b5 --- /dev/null +++ b/data_from_portwine/scripts/pw_autoinstall/PW_SCUMMVM @@ -0,0 +1,24 @@ +#!/bin/bash +# Author: chal55rus (Sergey P.) +########################################################################## +export LAUNCH_PARAMETERS=("/VERYSILENT") +export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/scummvm-2.5.0-win32.exe" +start_portwine +if try_download "https://downloads.scummvm.org/frs/scummvm/2.5.0/scummvm-2.5.0-win32.exe" "${PW_AUTOINSTALL_EXE}" +then + pw_start_progress_bar_block "Installing the ScummVM. Please wait..." + #pw_kill_autostart launcher101xp.exe & + pw_run "${PW_AUTOINSTALL_EXE}" + portwine_exe="$WINEPREFIX/drive_c/Program Files/ScummVM/scummvm.exe" + try_remove_file "${PW_AUTOINSTALL_EXE}" + kill_portwine + pw_stop_progress_bar + export PORTWINE_CREATE_SHORTCUT_NAME="ScummVM" + portwine_create_shortcut +fi +stop_portwine + + +#/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- + +#https://downloads.scummvm.org/frs/scummvm/2.5.0/scummvm-2.5.0-win32.exe diff --git a/data_from_portwine/scripts/runlib b/data_from_portwine/scripts/runlib index cdbba75c..a87f5c3b 100755 --- a/data_from_portwine/scripts/runlib +++ b/data_from_portwine/scripts/runlib @@ -1,6 +1,6 @@ #!/bin/bash # Author: Castro-Fidel (PortWINE-Linux.ru) -# Development assistants: Cefeiko; Dezert1r; Taz_mania; Anton_Famillianov; Rus_Nor; gavr; RidBowt; VHSgunzo +# Development assistants: Cefeiko; Dezert1r; Taz_mania; Anton_Famillianov; Rus_Nor; gavr; RidBowt; VHSgunzo; chal55rus ######################################################################## echo ' ████─████─████─███─█───█─███─█──█─███ diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index 926c2dc6..d82a2cdb 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -332,12 +332,20 @@ else export -f gui_open_var export KEY=$RANDOM - "${pw_yad}" --plug=$KEY --tabnum=3 --form --columns=2 \ + "${pw_yad}" --plug=$KEY --tabnum=4 --form --columns=2 \ --field="CLEAR PREFIX":"BTN" '@bash -c "button_click gui_clear_pfx"' \ --field="EDIT SCRIPT VAR":"BTN" '@bash -c "button_click gui_open_var"' \ --field="WINE UNINSTALLER":"BTN" '@bash -c "button_click gui_wine_uninstaller"' \ --field="REMOVE PORTPROTON":"BTN" '@bash -c "button_click gui_rm_portproton"' & + "${pw_yad}" --plug=$KEY --tabnum=3 --form --columns=3 --scroll --height=500 \ + --field=" Dolphin 5.0"!"$PW_GUI_ICON_PATH/dolphin.png":"BTN" '@bash -c "button_click PW_DOLPHIN"' \ + --field=" MAME"!"$PW_GUI_ICON_PATH/mame.png":"BTN" '@bash -c "button_click PW_MAME"' \ + --field=" ScummVM"!"$PW_GUI_ICON_PATH/scummvm.png":"BTN" '@bash -c "button_click PW_SCUMMVM"' \ + --field=" RetroArch"!"$PW_GUI_ICON_PATH/retroarch.png":"BTN" '@bash -c "button_click PW_RETROARCH"' \ + --field=" PPSSPP Windows"!"$PW_GUI_ICON_PATH/ppsspp.png":"BTN" '@bash -c "button_click PW_PPSSPP"' \ + --field=" Citra"!"$PW_GUI_ICON_PATH/citra.png":"BTN" '@bash -c "button_click PW_CITRA"' \ & + "${pw_yad}" --plug=$KEY --tabnum=2 --form --columns=3 --scroll --height=500 \ --field=" Wargaming Game Center"!"$PW_GUI_ICON_PATH/wgc.png":"BTN" '@bash -c "button_click PW_WGC"' \ --field=" Battle.net Launcher"!"$PW_GUI_ICON_PATH/battle_net.png":"BTN" '@bash -c "button_click PW_BATTLE_NET"' \ @@ -354,7 +362,8 @@ else --field=" Glyph Client"!"$PW_GUI_ICON_PATH/glyph.png":"BTN" '@bash -c "button_click PW_GLYPH"' \ --field=" Ankama Launcher"!"$PW_GUI_ICON_PATH/ankama.png":"BTN" '@bash -c "button_click PW_ANKAMA"' \ --field=" League of Legends"!"$PW_GUI_ICON_PATH/lol.png":"BTN" '@bash -c "button_click PW_LOL"' \ - --field=" Gameforge Client"!"$PW_GUI_ICON_PATH/gameforge.png":"BTN" '@bash -c "button_click PW_GAMEFORGE"' & + --field=" Gameforge Client"!"$PW_GUI_ICON_PATH/gameforge.png":"BTN" '@bash -c "button_click PW_GAMEFORGE"' \ + --field=" ITCH.IO"!"$PW_GUI_ICON_PATH/itch.png":"BTN" '@bash -c "button_click PW_ITCH"' & "${pw_yad}" --plug=${KEY} --tabnum=1 --columns=3 --form --separator=";" \ --image "$PW_GUI_ICON_PATH/port_proton.png" \ @@ -373,7 +382,7 @@ else "${pw_yad}" --key=$KEY --notebook --borders=10 --width=1000 --height=168 --no-buttons --text-align=center \ --window-icon="$PW_GUI_ICON_PATH/port_proton.png" --title "${portname}-${install_ver} (${scripts_install_ver})" --separator=";" \ - --tab-pos=right --tab="PORT_PROTON" --tab="AUTOINSTALL" --tab=" SETTINGS" --center + --tab-pos=right --tab="PORT_PROTON" --tab="AUTOINSTALL" --tab=" EMULATORS" --tab=" SETTINGS" --center YAD_STATUS="$?" if [[ "$YAD_STATUS" == "1" || "$YAD_STATUS" == "252" ]] ; then exit 0 ; fi diff --git a/data_from_portwine/scripts/var b/data_from_portwine/scripts/var index 3ca59063..40cd220e 100755 --- a/data_from_portwine/scripts/var +++ b/data_from_portwine/scripts/var @@ -1,6 +1,6 @@ #!/bin/bash #Author: Castro-Fidel (PortWINE-Linux.ru) -#SCRIPTS_NEXT_VERSION=2053 +#SCRIPTS_NEXT_VERSION=2054 #PORT_NEXT_VERSION=97 ######################################################################## export PW_MANGOHUD=1