Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mikhail Tergoev
PortWINE
Commits
6fa9d078
Commit
6fa9d078
authored
Oct 04, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minimum sort for autoinstall
parent
fc20dc69
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
111 additions
and
0 deletions
+111
-0
PW_001_LGC
data_from_portwine/scripts/pw_autoinstall/PW_001_LGC
+28
-0
PW_002_VKPLAY
data_from_portwine/scripts/pw_autoinstall/PW_002_VKPLAY
+25
-0
PW_003_EPIC
data_from_portwine/scripts/pw_autoinstall/PW_003_EPIC
+31
-0
PW_004_BATTLE_NET
data_from_portwine/scripts/pw_autoinstall/PW_004_BATTLE_NET
+27
-0
No files found.
data_from_portwine/scripts/pw_autoinstall/PW_001_LGC
0 → 100755
View file @
6fa9d078
#!/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"
export
PW_PREFIX_NAME
=
"LGC"
start_portwine
if
try_download
"https://redirect.lesta.ru/LGC/Lesta_Game_Center_Install_RU.exe"
"
${
PW_AUTOINSTALL_EXE
}
"
no_mirror
then
pw_start_progress_bar_install_game
"Lesta Game Center"
pw_kill_autostart lgc.exe &
pw_run
"
${
PW_AUTOINSTALL_EXE
}
"
portwine_exe
=
"
$WINEPREFIX
/drive_c/ProgramData/Lesta/GameCenter/api/lgc_api.exe"
export
PORTWINE_CREATE_SHORTCUT_NAME
=
"Lesta Game Center"
try_remove_file
"
${
PW_AUTOINSTALL_EXE
}
"
try_remove_file
"
${
portwine_exe
}
.ppdb"
kill_portwine
portwine_create_shortcut
fi
stop_portwine
data_from_portwine/scripts/pw_autoinstall/PW_002_VKPLAY
0 → 100755
View file @
6fa9d078
#!/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"
export
PW_AUTOINSTALL_EXE
=
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe"
export
WINEDLLOVERRIDES
=
"mscoree,mshtml="
export
PW_MUST_HAVE_DLL
=
""
export
PW_WINE_USE
=
"WINE_LG"
start_portwine
if
try_download
"https://static.gc.my.games/VKPlayLoader.exe"
"
${
PW_AUTOINSTALL_EXE
}
"
no_mirror
then
portwine_exe
=
"
$WINEPREFIX
/drive_c/users/steamuser/AppData/Local/VKPlayLoader.exe"
try_remove_file
"
${
portwine_exe
}
.ppdb"
pw_stop_progress_bar
export
PORTWINE_CREATE_SHORTCUT_NAME
=
"vkPlay"
portwine_create_shortcut
fi
stop_portwine
data_from_portwine/scripts/pw_autoinstall/PW_003_EPIC
0 → 100755
View file @
6fa9d078
#!/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"
export
PW_USE_D3D_EXTRAS
=
1
export
PORTWINE_CREATE_SHORTCUT_NAME
=
"Epic Games Launcher"
# sed -i '/Epic Games/d' "${PORT_WINE_PATH}/data/prefixes/${PW_PREFIX_NAME}"/*.reg >/dev/null
try_remove_file
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/.wine_ver"
start_portwine
if
try_download
"https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
"
${
PW_AUTOINSTALL_EXE
}
"
no_mirror
then
pw_start_progress_bar_install_game
"Epic Games Launcher."
# try_remove_dir "${WINEPREFIX}/drive_c/Program Files (x86)/Epic Games/Epic Online Services/"
# try_remove_dir "${WINEPREFIX}/drive_c/Program Files (x86)/Epic Games/Launcher/"
# try_remove_dir "${WINEPREFIX}/drive_c/ProgramData/Epic"
pw_run msiexec /i
"
${
PW_AUTOINSTALL_EXE
}
"
portwine_exe
=
"
${
WINEPREFIX
}
/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe"
try_remove_file
"
${
PW_AUTOINSTALL_EXE
}
"
try_remove_file
"
${
portwine_exe
}
.ppdb"
kill_portwine
pw_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine
data_from_portwine/scripts/pw_autoinstall/PW_004_BATTLE_NET
0 → 100755
View file @
6fa9d078
#!/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"
export
WINEDLLOVERRIDES
=
"locationapi="
export
PW_PREFIX_NAME
=
"BATTLE_NET"
start_portwine
if
try_download
"https://battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP"
"
${
PW_AUTOINSTALL_EXE
}
"
no_mirror
then
try_remove_dir
"
$WINEPREFIX
/drive_c/ProgramData/Battle.net"
pw_kill_autostart Battle.net.exe &
pw_run
"
${
PW_AUTOINSTALL_EXE
}
"
pw_start_progress_bar_install_game
"Battle Net."
portwine_exe
=
"
$(
find
"
$WINEPREFIX
/drive_c/"
-type
f
-name
"Battle.net.exe"
|
grep
"Battle.net/Battle.net.exe"
)
"
pw_stop_progress_bar
portwine_create_shortcut
try_remove_file
"
${
PW_AUTOINSTALL_EXE
}
"
try_remove_file
"
${
portwine_exe
}
.ppdb"
fi
stop_portwine
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment