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
21c21f87
Commit
21c21f87
authored
Oct 31, 2022
by
castro-fidel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scripts version 2138
parent
9d4934ca
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
64 additions
and
4 deletions
+64
-4
LICENSE
LICENSE
+0
-0
changelog_eng
data_from_portwine/changelog_eng
+3
-0
changelog_rus
data_from_portwine/changelog_rus
+3
-0
caliber.png
data_from_portwine/img/gui/caliber.png
+0
-0
functions_helper
data_from_portwine/scripts/functions_helper
+6
-2
Battle.net_Launcher
data_from_portwine/scripts/portwine_db/Battle.net_Launcher
+1
-1
PW_CALIBER
data_from_portwine/scripts/pw_autoinstall/PW_CALIBER
+44
-0
start.sh
data_from_portwine/scripts/start.sh
+6
-0
var
data_from_portwine/scripts/var
+1
-1
No files found.
LICENSE
100644 → 100755
View file @
21c21f87
File mode changed from 100644 to 100755
data_from_portwine/changelog_eng
View file @
21c21f87
...
...
@@ -2,6 +2,9 @@ You can help us in the development of the project on the website: boosty.to/linu
-----------------------------------------
Changelog:
###Scripts version 2138###
* added "Calibre" in AUTOINSTALL (thanks chal55rus)
###Scripts version 2137###
* updated version of PROTON_LG 7.32 based on PROTON GE 7.38 (Added support for running games: "Overwatch 2" and "Uncharted: Legacy of Thieves")
* minor script optimizations for running PortProton
...
...
data_from_portwine/changelog_rus
View file @
21c21f87
...
...
@@ -2,6 +2,9 @@
-----------------------------------------
История изменений:
###Scripts version 2138###
* добавлена установка игры Калибр (спасибо chal55rus за помощь)
###Scripts version 2137###
* обновлена версия PROTON_LG 7.32 на основе PROTON GE 7.38 (Добавлена поддержка запуска игр: "Overwatch 2" и "Uncharted: Legacy of Thieves")
* небольшие оптимизации скриптов для запуска PortProton
...
...
data_from_portwine/img/gui/caliber.png
0 → 100644
View file @
21c21f87
1.68 KB
data_from_portwine/scripts/functions_helper
View file @
21c21f87
...
...
@@ -527,14 +527,18 @@ kill_portwine () {
export
-f
kill_portwine
pw_kill_autostart
()
{
if
[[
-z
"
${
2
}
"
]]
then
SWAIT
=
5
else
SWAIT
=
"
${
2
}
"
fi
sleep
5
while
true
;
do
if
[[
-z
"
`
ps aux |
grep
-m
1
"
$1
"
|
grep
-v
grep
|
awk
'{print $2}'
`
"
]]
&&
[[
!
-z
"
`
ps aux |
grep
wrap |
grep
-v
grep
|
grep
-i
${
portname
}
|
head
-n
1
`
"
]]
;
then
echo
-e
"PID "
$1
" not found"
sleep
5
sleep
"
${
SWAIT
}
"
else
sleep
5
sleep
"
${
SWAIT
}
"
kill_portwine
break
fi
...
...
data_from_portwine/scripts/portwine_db/Battle.net_Launcher
View file @
21c21f87
...
...
@@ -6,7 +6,7 @@
#Rating=5
################################################
#export PW_COMMENT_DB="We recommend using PROTON_GE + VULKAN!"
export
PW_WINE_USE
=
PROTON_GE
#
export PW_WINE_USE=PROTON_GE
export
PW_VULKAN_USE
=
1
export
LAUNCH_PARAMETERS
=
""
export
WINEDLLOVERRIDES
=
"locationapi="
...
...
data_from_portwine/scripts/pw_autoinstall/PW_CALIBER
0 → 100644
View file @
21c21f87
#!/usr/bin/env bash
# Author: chal55rus
########################################################################
export
PW_PREFIX_NAME
=
"CALIBER"
export
LAUNCH_PARAMETERS
=(
"/VERYSILENT"
)
export
PW_AUTOINSTALL_EXE
=
"
${
PW_USER_TEMP
}
/CaliberSetup.exe"
export
PW_WINE_USE
=
PROTON_STEAM_6.3-8
if
[
!
-d
"
${
PORT_WINE_PATH
}
/data/dist/
${
PW_WINE_USE
}
"
]
;
then
if
try_download
"github.com/Castro-Fidel/wine_builds/releases/download/
${
PW_WINE_USE
}
/
${
PW_WINE_USE
}
.tar.xz"
\
"
${
PORT_WINE_PATH
}
/data/tmp/
${
PW_WINE_USE
}
.tar.xz"
;
then
if
unpack_tar_xz
"
${
PORT_WINE_PATH
}
/data/tmp/
${
PW_WINE_USE
}
.tar.xz"
"
${
PORT_WINE_PATH
}
/data/dist/"
;
then
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/
${
PW_WINE_USE
}
.tar.xz"
UNPACK_STATUS
=
0
else
try_remove_file
"
${
PORT_WINE_PATH
}
/data/tmp/
${
PW_WINE_USE
}
.tar.xz"
try_remove_dir
"
${
PORT_WINE_PATH
}
/data/dist/
${
PW_WINE_USE
}
"
fi
fi
[[
"
${
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_new
}
"
--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
}
"
then
pw_start_progress_bar_block
"Installing the CALIBER. Please wait..."
pw_kill_autostart VC_redist.x64.exe 3 &
pw_run
"
${
PW_AUTOINSTALL_EXE
}
"
portwine_exe
=
"
$WINEPREFIX
/drive_c/Program Files (x86)/1C Game Studios/Caliber/Launcher.exe"
try_remove_file
"
${
PW_AUTOINSTALL_EXE
}
"
kill_portwine
pw_stop_progress_bar
export
PORTWINE_CREATE_SHORTCUT_NAME
=
"CALIBER"
portwine_create_shortcut
fi
stop_portwine
data_from_portwine/scripts/start.sh
View file @
21c21f87
...
...
@@ -448,6 +448,11 @@ if [[ ! -z "$(echo ${1} | grep wgc_api.exe)" ]] && [[ ! -f "${1}" ]] ; then
exit
0
fi
# HOTFIX CALIBRE
if
[[
!
-z
"
$(
echo
${
1
}
|
grep
'/Caliber/'
)
"
]]
;
then
export
PW_WINE_USE
=
PROTON_STEAM_6.3-8
fi
PW_PREFIX_NAME
=
"
$(
echo
"
${
PW_PREFIX_NAME
}
"
|
sed
-e
s/[[:blank:]]/_/g
)
"
PW_ALL_PREFIXES
=
$(
ls
"
${
PORT_WINE_PATH
}
/data/prefixes/"
|
sed
-e
s/
"
${
PW_PREFIX_NAME
}
$"
//g
)
export
PW_PREFIX_NAME PW_ALL_PREFIXES
...
...
@@ -667,6 +672,7 @@ else
--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"'
\
--field
=
" World of Sea Battle (BETA)"
!
"
$PW_GUI_ICON_PATH
/wosb.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_WOSB"'
\
--field
=
" CALIBER"
!
"
$PW_GUI_ICON_PATH
/caliber.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_CALIBER"'
\
--field
=
" ITCH.IO"
!
"
$PW_GUI_ICON_PATH
/itch.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_ITCH"'
&
# --field=" Steam Client Launcher"!"$PW_GUI_ICON_PATH/steam.png"!"":"FBTN" '@bash -c "button_click PW_STEAM"'
...
...
data_from_portwine/scripts/var
View file @
21c21f87
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=213
7
#SCRIPTS_NEXT_VERSION=213
8
########################################################################
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
...
...
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