Commit 983af791 authored by Vladislav's avatar Vladislav

Update yad and update workflow branch

parent e17661f1
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
# type: games
# name: Battle.net Launcher
# image: battle_net
# info_en:
# info_ru:
########################################################################
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Battle.net-Setup.exe"
export PW_WINE_USE="WINE_LG"
......
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
# type: games
# name: Black Desert Online (RU)
# image: bdo
# info_en:
# info_ru:
########################################################################
export PW_PREFIX_NAME="BLACK_DESERT_ONLINE"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/BlackDesert_Installer_RU.exe"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: games
# name: Blood and Soul
# image: bloodandsoul
# info_en:
# info_ru:
########################################################################
export PW_PREFIX_NAME="BLOOD_AND_SOUL"
export LAUNCH_PARAMETERS=("/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-")
......
#!/usr/bin/env bash
# Author: Boria138
# type: games
# name: Battle Of Space Raiders
# image: bsr
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT /SUPPRESSMSGBOXES")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/bsr_setup.exe"
......
#!/usr/bin/env bash
# Author: chal55rus
# type: games
# name: CALIBER
# image: caliber
# info_en:
# info_ru:
########################################################################
export PW_PREFIX_NAME="CALIBER"
export LAUNCH_PARAMETERS=("/VERYSILENT" "/CLOSEAPPLICATIONS")
......
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
# type: games
# name: CatsLauncher (Front Edge)
# image: catslauncher
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/q" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/CatsLauncher.msi"
......
#!/usr/bin/env bash
# Author: linux-gaming.ru
# type: emulators
# name: Cemu
# image: cemu
# info_en:
# info_ru:
########################################################################
export PW_URL_CEMU=$(curl -s "https://api.github.com/repos/cemu-project/Cemu/releases" | grep -iEo 'https.*download.*' | grep "windows" | head -n1)
export PW_CEMU_NAME=Cemu_$(echo "$PW_URL_CEMU" | awk -F"-" '{print $3}')
......
#!/usr/bin/env bash
# Author: Castro Fidel
# type: games
# name: Crossout
# image: crossout
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/crossout.exe"
......
#!/usr/bin/env bash
# Author: chal55rus
# type: games
# name: CONTRACT WARS
# image: cwc
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/CWClient_Install.exe"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: emulators
# name: Demul
# image: demul
# info_en:
# info_ru:
########################################################################
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/demul07_280418.7z"
start_portwine
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: emulators
# name: Dolphin 5.0
# image: dolphin
# info_en:
# info_ru:
##########################################################################
export LAUNCH_PARAMETERS=("/S")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/dolphin-x64-5.0.exe"
......
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
# type: games
# name: EA App (TEST)
# image: eaapp
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/silent" "/repair" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/EAappInstaller.exe"
......
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
# type: games
# name: Epic Games Launcher
# image: epicgames
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/q" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/EpicGamesLauncherInstaller.msi"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: emulators
# name: ePSXe
# image: epsxe
# info_en:
# info_ru:
########################################################################
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/ePSXe205.zip"
start_portwine
......
#!/usr/bin/env bash
# Author: cefeiko
# type: games
# name: EVE Online Launcher
# image: eve
# info_en:
# info_ru:
########################################################################
export PW_WINDOWS_VER="10"
export PW_WINE_USE="WINE_LG"
......
#!/usr/bin/env bash
# Author: chal55rus
# type: games
# name: Farlight 84
# image: farlight84
# info_en:
# info_ru:
########################################################################
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Farlight84_setup_1.3.0.1_238.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Farlight 84"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: emulators
# name: FCEUX
# image: fceux
# info_en:
# info_ru:
########################################################################
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/fceux-2.6.5-win64.zip"
start_portwine
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.), cefeiko, Castro-Fidel (linux-gaming.ru)
# type: games
# name: Gameforge Client
# image: gameforge
# info_en:
# info_ru:
##########################################################################
pw_shutdown_please () {
if [[ "$PW_USE_RUNTIME" != 1 ]]
......
#!/usr/bin/env bash
# Author: chal55rus
# type: games
# name: GameXP
# image: gamexp
# info_en:
# info_ru:
########################################################################
export PW_PREFIX_NAME="GAMEXP"
export LAUNCH_PARAMETERS=("/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-")
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: games
# name: Glyph
# image:
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/S" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/GlyphInstall.exe"
......
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
# type: games
# name: GoG Galaxy Launcher
# image: gog
# info_en:
# info_ru:
########################################################################
GOG_VER="$(curl "https://remote-config.gog.com/components/webinstaller?component_version=2.0.0" \
| awk -F'setup_galaxy_' '{print $2}' \
......
#!/usr/bin/env bash
# Author: Castro Fidel
# type: games
# name: Guild Wars 2
# image: gw2
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_PREFIX_NAME="GW2"
......
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
# type: games
# name: HoYoPlay
# image: hoyoplay
# info_en:
# info_ru:
########################################################################
export PW_VULKAN_USE=2
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Hoyolauncher_installer.exe"
......
#!/usr/bin/env bash
# Author: Castro Fidel
# type: games
# name: Indiegala Client
# image: igclient
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/S")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/igclient_setup.exe"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: games
# name: ITCH.IO
# image: itch
# info_en:
# info_ru:
##########################################################################
export LAUNCH_PARAMETERS=("--silent")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/itch-setup.exe"
......
#!/usr/bin/env bash
# Author: chal55rus
# type: games
# name: Lesta Game Center
# image: lgc
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Lesta_Game_Center_Install_RU.exe"
......
#!/usr/bin/env bash
# Author: chal55rus
# type: games
# name: Lost Light
# image: lostlight
# info_en:
# info_ru:
########################################################################
export PW_PREFIX_NAME="LOST_LIGHT"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/LostLight_installer.exe"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: emulators
# name: MAME
# image: mame
# info_en:
# info_ru:
########################################################################
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/mame0259b_64bit.exe"
start_portwine
......
#!/usr/bin/env bash
# Author: ValoKarDin
# type: games
# name: Modern Warships
# image: mw
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/modern_warships.exe"
......
#!/usr/bin/env bash
# Author: chal55rus
# type: games
# name: Metal War Online
# image: mwo
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/s" "/nr" "/l=Russian")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/MWO_Launcher_Setup.exe"
......
#!/usr/bin/env bash
# Author: cefeiko
# type: games
# name: OSU
# image: osu
# info_en:
# info_ru:
########################################################################
export PW_PREFIX_NAME="OSU"
export PORTWINE_CREATE_SHORTCUT_NAME="OSU"
......
#!/usr/bin/env bash
# Author: chal55rus
# type: games
# name: Panzar
# image: panzar
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_WINDOWS_VER="7"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: games
# name: Plarium Play
# image: plariumplay
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/s" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/plarium_play_setup.exe"
......
#!/usr/bin/env bash
# Author: Castro Fidel (linux-gaming.ru)
# type: games
# name: Path of Exile
# image: poe
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/S")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/PathOfExileInstaller.exe"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: emulators
# name: PPSSPP Window
# image: ppsspp
# info_en:
# info_ru:
##########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/PPSSPPSetup.exe"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: emulators
# name: Project64
# image: project64
# info_en:
# info_ru:
########################################################################
PR64_VER="$(curl https://www.pj64-emu.com/public-releases | grep 'installer' | head -n 1 \
| awk -F'/project64' '{print $2}' \
......
#!/usr/bin/env bash
# Author: cefeiko
# type: games
# name: Pulse Online
# image: pulseonline
# info_en:
# info_ru:
########################################################################
export PW_PREFIX_NAME="DOTNET"
export PORTWINE_CREATE_SHORTCUT_NAME="Pulse Online"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: games
# name: RetroArch
# image: retroarch
# info_en:
# info_ru:
########################################################################
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/RetroArch.7z"
start_portwine
......
#!/usr/bin/env bash
# Author: chal55rus
# type: games
# name: Rise of Flight
# image: riseofflight
# info_en:
# info_ru:
########################################################################
export PW_PREFIX_NAME="RISE_OF_FLIGHT"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/ROF_UE.zip"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: games
# name: Rockstar Games Launcher
# image: Rockstar
# info_en:
# info_ru:
########################################################################
export PW_VULKAN_USE="1"
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Rockstar-Games-Launcher.exe"
......
#!/usr/bin/env bash
# Author: Boria138
# type: games
# name: Russian Fishing 4
# image: rf4launcher
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/q" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/RF4SetupRU.exe"
......
#!/usr/bin/env bash
# Author: chal55rus
# type: games
# name: Stalker Online
# image: so
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/S")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/SO_installer.exe"
......
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
# type: games
# name: Star Conflict
# image: starconflict
# info_en:
# info_ru:
########################################################################
# export LAUNCH_PARAMETERS=("/S" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/EXBO_Setup_ru.exe"
......
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
# type: games
# name: Steam (unstable)
# image: steam
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/S" "/D=c:\Program Files (x86)\Steam")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/SteamSetup.exe"
......
#!/usr/bin/env bash
# Author: chal55rus
# type: games
# name: Secret World Legends (ENG)
# image: swl
# info_en:
# info_ru:
########################################################################
export WINEDLLOVERRIDES="d3d9=b"
export LAUNCH_PARAMETERS=("/VERYSILENT")
......
#!/usr/bin/env bash
# Author: Castro-Fidel (linux-gaming.ru)
# type: games
# name: Ubisoft Game Launcher
# image: ubc
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/S" "/D=c:\Program Files (x86)\Ubisoft Game Launcher")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/UbisoftConnectInstaller.exe"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: emulators
# name: VBA-M
# image: vba-m
# info_en:
# info_ru:
########################################################################
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/visualboyadvance-m-Win-x86_64.zip"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: games
# name: vkPlay Games Center
# image: mygames
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("")
export PW_PREFIX_NAME="VK_PLAY"
......
#!/bin/bash
# Author: chal55rus and Boria138
# type: games
# name: W3D Hub Launcher
# image: w3dhub
# info_en:
# info_ru:
########################################################################
export PW_PREFIX_NAME="DOTNET"
export LAUNCH_PARAMETERS=("/S")
......
#!/usr/bin/env bash
# Author: Castro Fidel
# type: games
# name: Warframe
# image: warframe
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/q")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Warframe.msi"
......
#!/usr/bin/env bash
# Author: cefeiko
# type: games
# name: Wargaming Game Center
# image: wgc
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/VERYSILENT")
[[ "$LANGUAGE" == "ru" ]] && export WGC_LOC=RU || export WGC_LOC=EU
......
#!/usr/bin/env bash
# Author: Cefeiko
# type: games
# name: World of Sea Battle
# image: wosb
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/S")
export PW_PREFIX_NAME="WORLD_OF_SEA_BATTLE"
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: emualators
# name: xemu
# image: xemu
# info_en:
# info_ru:
########################################################################
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/xemu-win-release.zip"
start_portwine
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: emulators
# name: Xenia
# image: xenia
# info_en:
# info_ru:
########################################################################
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/xenia_master.zip"
start_portwine
......
#!/usr/bin/env bash
# Author: chal55rus (Sergey P.)
# type: emulators
# name: Yabause
# image: yabause
# info_en:
# info_ru:
########################################################################
export LAUNCH_PARAMETERS=("/S")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/yabause-0.9.15-win64.exe"
......
......@@ -700,38 +700,39 @@ else
AI_FILE="${ai_file//"$PORT_SCRIPTS_PATH/pw_autoinstall/"/}"
while IFS= read -r line ; do
[[ $line =~ "##########" ]] && break
[[ $line =~ "# type: " ]] && AI_TYPE="${line//"# type: "/}"
[[ $line =~ "# name: " ]] && AI_NAME="${line//"# name: "/}"
[[ $line =~ "# image: " ]] && AI_IMAGE="${line//"# image: "/}"
[[ $line =~ "# type: " ]] && AI_TYPE="${line//# type: /}"
[[ $line =~ "# name: " ]] && AI_NAME="${line//# name: /}"
[[ $line =~ "# image: " ]] && AI_IMAGE="${line//# image: /}"
if [[ "$LANGUAGE" == ru ]] ; then
[[ $line =~ "# info_ru: " ]] && AI_INFO="${line//"# info_ru: "/}"
[[ $line =~ "# info_ru: " ]] && AI_INFO="${line//# info_ru: /}"
else
[[ $line =~ "# info_en: " ]] && AI_INFO="${line//"# info_en: "/}"
[[ $line =~ "# info_en: " ]] && AI_INFO="${line//# info_en: /}"
fi
done < "$ai_file"
IFS=$'\n'
case "$AI_TYPE" in
case $AI_TYPE in
games)
PW_GENERATE_BUTTONS_GAMES+="--field= $AI_NAME!${PW_GUI_ICON_PATH}/${AI_IMAGE}.png!$AI_INFO:FBTNR%@bash -c \"button_click --normal ${AI_FILE}\"%"
PW_GENERATE_BUTTONS_GAMES+="--field= $AI_NAME!$PW_GUI_ICON_PATH/$AI_IMAGE.png!$AI_INFO:FBTNR%@bash -c \"button_click --normal $AI_FILE\"%"
(( AI_AMOUNT_GAMES++ ))
;;
emulators)
PW_GENERATE_BUTTONS_EMUL+="--field= $AI_NAME!${PW_GUI_ICON_PATH}/${AI_IMAGE}.png!$AI_INFO:FBTNR%@bash -c \"button_click --normal ${AI_FILE}\"%"
PW_GENERATE_BUTTONS_EMULS+="--field= $AI_NAME!$PW_GUI_ICON_PATH/$AI_IMAGE.png!$AI_INFO:FBTNR%@bash -c \"button_click --normal $AI_FILE\"%"
(( AI_AMOUNT_EMULS++ ))
;;
esac
unset AI_FILE AI_TYPE AI_NAME AI_IMAGE AI_INFO
[[ -z $PW_DEBUG ]] && unset AI_FILE AI_TYPE AI_NAME AI_IMAGE AI_INFO
done
export MAIN_GUI_COLUMNS_ROWS="$(( $AI_AMOUNT_GAMES / $MAIN_GUI_COLUMNS ))"
MAIN_GUI_ROWS_GAMES="$(( $AI_AMOUNT_GAMES / $MAIN_GUI_COLUMNS + 1 ))"
MAIN_GUI_ROWS_EMULS="$(( $AI_AMOUNT_EMULS / $MAIN_GUI_COLUMNS + 1 ))"
IFS="%"
"${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[1]}" --form --columns="$MAIN_GUI_COLUMNS" --align-buttons --scroll --homogeneous-column \
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" --separator=" " ${PW_GENERATE_BUTTONS_EMUL} 2>/dev/null &
"${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[0]}" --form --columns="$MAIN_GUI_COLUMNS_ROWS" --align-buttons --scroll --homogeneous-column \
"${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[1]}" --form --columns="$MAIN_GUI_ROWS_EMULS" --align-buttons --scroll --homogeneous-column \
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" --separator=" " ${PW_GENERATE_BUTTONS_EMULS} 2>/dev/null &
"${pw_yad}" --plug=$KEY_MENU --tabnum="${PW_GUI_SORT_TABS[0]}" --form --columns="$MAIN_GUI_ROWS_GAMES" --align-buttons --scroll --homogeneous-column \
--gui-type-layout="${MAIN_MENU_GUI_TYPE_LAYOUT}" --separator=" " ${PW_GENERATE_BUTTONS_GAMES} 2>/dev/null &
unset PW_GENERATE_BUTTONS_GAMES PW_GENERATE_BUTTONS_EMULS
IFS="$orig_IFS"
unset PW_GENERATE_BUTTONS_GAMES PW_GENERATE_BUTTONS_EMUL
export START_FROM_PP_GUI="1"
if [[ -z ${TAB_MAIN_MENU} ]] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment