Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
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
Vladislav
PortWINE-old
Commits
1554e7e7
Commit
1554e7e7
authored
Jul 26, 2023
by
Boria138
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Autoinstall
Added Battle Of Space Raiders autoinstall Replaced the url for the Caliber download Deleted try_download_caliber function Replaced wget -O in PW_ANKAMA to try_download function
parent
c94136c9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
11 deletions
+23
-11
bsr.png
data_from_portwine/img/gui/bsr.png
+0
-0
PW_ANKAMA
data_from_portwine/scripts/pw_autoinstall/PW_ANKAMA
+1
-1
PW_BSR
data_from_portwine/scripts/pw_autoinstall/PW_BSR
+19
-0
PW_CALIBER
data_from_portwine/scripts/pw_autoinstall/PW_CALIBER
+1
-9
start.sh
data_from_portwine/scripts/start.sh
+2
-1
No files found.
data_from_portwine/img/gui/bsr.png
0 → 100644
View file @
1554e7e7
987 Bytes
data_from_portwine/scripts/pw_autoinstall/PW_ANKAMA
View file @
1554e7e7
...
...
@@ -4,7 +4,7 @@
export
LAUNCH_PARAMETERS
=(
"/S"
)
export
PW_AUTOINSTALL_EXE
=
"
${
PW_USER_TEMP
}
/Ankama-Setup.exe"
start_portwine
if
wget
-O
"
${
PW_AUTOINSTALL_EXE
}
"
"https://download.ankama.com/launcher/full/win/
"
if
try_download
"download.ankama.com/launcher/full/win/"
"
${
PW_AUTOINSTALL_EXE
}
"
then
pw_start_progress_bar_block
"
${
loc_gui_installing_the
}
Ankama Launcher.
${
loc_gui_please_wait
}
"
pw_run
"
${
PW_AUTOINSTALL_EXE
}
"
...
...
data_from_portwine/scripts/pw_autoinstall/PW_BSR
0 → 100755
View file @
1554e7e7
#!/usr/bin/env bash
# Author: Boria138
########################################################################
export
LAUNCH_PARAMETERS
=(
"/VERYSILENT /SUPPRESSMSGBOXES"
)
export
PW_AUTOINSTALL_EXE
=
"
${
PW_USER_TEMP
}
/bsr_setup.exe"
start_portwine
if
try_download
"battleofspaceraiders.com/install/bsr_setup.exe"
"
${
PW_AUTOINSTALL_EXE
}
"
then
pw_start_progress_bar_block
"
${
loc_gui_installing_the
}
Battle Of Space Raiders.
${
loc_gui_please_wait
}
"
pw_run
"
${
PW_AUTOINSTALL_EXE
}
"
portwine_exe
=
"
$WINEPREFIX
/drive_c/Program Files (x86)/Battle Of Space Raiders/aops.exe"
try_remove_file
"
${
PW_AUTOINSTALL_EXE
}
"
try_remove_file
"
${
portwine_exe
}
.ppdb"
kill_portwine
pw_stop_progress_bar
export
PORTWINE_CREATE_SHORTCUT_NAME
=
"Battle Of Space Raiders"
portwine_create_shortcut
fi
stop_portwine
data_from_portwine/scripts/pw_autoinstall/PW_CALIBER
View file @
1554e7e7
...
...
@@ -20,16 +20,8 @@ if [ ! -d "${PORT_WINE_PATH}/data/dist/${PW_WINE_USE}" ] ; then
[[
"
${
UNPACK_STATUS
}
"
!=
0
]]
&&
exit
1
fi
try_download_caliber
()
{
set
-o
pipefail
wget
-t
5
-T
3
"
$1
"
--no-check-certificate
--output-document
=
"
$2
"
2>&1 |
\
tr
'\r'
'\n'
|
sed
-u
's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./'
|
\
"
${
pw_yad_v12_3
}
"
--center
--progress
--percentage
=
0
--title
=
"Download
$(
basename
$1
)
"
--text
=
Starting...
--auto-close
--auto-kill
--width
=
500
--height
=
90
[
"
${
PIPESTATUS
[0]
}
"
!=
0
]
&&
print_error
"failed to download
$1
. Scipping."
&&
return
1
||
return
0
}
start_portwine
if
try_download
_caliber
"https://cdn.playcaliber.com
/p1/a88c3b70f76a0e56b1e08b62c9895cfe/launcher/setup/CaliberSetup.exe"
"
${
PW_AUTOINSTALL_EXE
}
"
if
try_download
"https://caliber-files.gcdn.co/caliber-s3
/p1/a88c3b70f76a0e56b1e08b62c9895cfe/launcher/setup/CaliberSetup.exe"
"
${
PW_AUTOINSTALL_EXE
}
"
then
pw_start_progress_bar_block
"
${
loc_gui_installing_the
}
CALIBER.
${
loc_gui_please_wait
}
"
pw_kill_autostart VC_redist.x64.exe 3 &
...
...
data_from_portwine/scripts/start.sh
View file @
1554e7e7
...
...
@@ -768,7 +768,8 @@ else
--field
=
" Steam (unstable)"
!
"
$PW_GUI_ICON_PATH
/steam.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_STEAM"'
\
--field
=
" Path of Exile"
!
"
$PW_GUI_ICON_PATH
/poe.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_POE"'
\
--field
=
" Guild Wars 2"
!
"
$PW_GUI_ICON_PATH
/gw2.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_GUILD_WARS_2"'
\
--field
=
" Genshin Impact"
!
"
$PW_GUI_ICON_PATH
/genshinimpact.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_GENSHIN_IMPACT"'
2>/dev/null &
--field
=
" Genshin Impact"
!
"
$PW_GUI_ICON_PATH
/genshinimpact.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_GENSHIN_IMPACT"'
\
--field
=
" Battle Of Space Raiders"
!
"
$PW_GUI_ICON_PATH
/bsr.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_BSR"'
2>/dev/null &
# --field=" Electronic Arts App"!"$PW_GUI_ICON_PATH/eaapp.png"!"":"FBTN" '@bash -c "button_click PW_EAAPP"'
# --field=" Secret World Legends (ENG)"!"$PW_GUI_ICON_PATH/swl.png"!"":"FBTN" '@bash -c "button_click PW_SWL"'
...
...
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