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
Vladislav
PortWINE
Commits
b0828193
Commit
b0828193
authored
Sep 23, 2021
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
###Scripts version 2013-2###
parent
ccf6296b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
functions_helper
data_from_portwine/scripts/functions_helper
+3
-3
vkBasalt.conf
data_from_portwine/vkBasalt.conf
+1
-1
No files found.
data_from_portwine/scripts/functions_helper
View file @
b0828193
...
...
@@ -78,14 +78,14 @@ try_force_link_dir () {
try_download
()
{
set
-o
pipefail
wget
-c
-t
5
-T
20
"
$1
"
--output-document
=
"
$2
"
2>&1 |
\
wget
-c
-t
1
-T
20
"
$1
"
--output-document
=
"
$2
"
2>&1 |
\
sed
-u
's/.* \([0-9]\+%\)\ \+\([0-9,.]\+.\) \(.*\)/\1\n#Downloading at \1\/, \2\/s, ETA \3/; s/^20[0-9][0-9].*/#Done./'
|
\
zenity
--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
}
try_download_silent
()
{
wget
-c
-t
5
-T
20
"
$1
"
--output-document
=
"
$2
"
wget
-c
-t
1
-T
20
"
$1
"
--output-document
=
"
$2
"
[
"
$?
"
!=
0
]
&&
print_error
"failed to download
$1
. Scipping."
&&
return
1
||
return
0
}
...
...
@@ -153,7 +153,7 @@ pw_vkbasalt_check () {
if
[
-z
"
${
PW_VKBASALT_FFX_CAS
}
"
]
;
then
export
PW_VKBASALT_FFX_CAS
=
"0.7"
fi
sed
-ri
"s/casSharpness
=
.*/casSharpness =
${
PW_VKBASALT_FFX_CAS
}
/g"
"
${
PORT_WINE_PATH
}
/data/vkBasalt.conf"
sed
-ri
"s/casSharpness .*/casSharpness =
${
PW_VKBASALT_FFX_CAS
}
/g"
"
${
PORT_WINE_PATH
}
/data/vkBasalt.conf"
export
VKBASALT_CONFIG_FILE
=
"
${
PORT_WINE_PATH
}
/data/vkBasalt.conf"
else
export
DISABLE_VKBASALT
=
1
...
...
data_from_portwine/vkBasalt.conf
View file @
b0828193
...
...
@@ -73,6 +73,6 @@ UIMask = /usr/local/share/reshade/shaders/UIMask.fx
Vibrance
= /
usr
/
local
/
share
/
reshade
/
shaders
/
Vibrance
.
fx
Vignette
= /
usr
/
local
/
share
/
reshade
/
shaders
/
Vignette
.
fx
casSharpness
=
0
.
7
casSharpness
=
0
.
7
toggleKey
=
Home
effects
=
FakeHDR
:
cas
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