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
9c88e6c0
Commit
9c88e6c0
authored
Jun 02, 2023
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scripts version 2198
parent
1a9631af
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
26 deletions
+38
-26
changelog_eng
data_from_portwine/changelog_eng
+4
-0
changelog_rus
data_from_portwine/changelog_rus
+4
-0
lang
data_from_portwine/scripts/lang
+9
-1
runlib
data_from_portwine/scripts/runlib
+19
-23
start.sh
data_from_portwine/scripts/start.sh
+1
-1
var
data_from_portwine/scripts/var
+1
-1
No files found.
data_from_portwine/changelog_eng
View file @
9c88e6c0
...
...
@@ -2,6 +2,10 @@ You can help us in the development of the project on the website: boosty.to/linu
-----------------------------------------
Changelog:
###Scripts version 2198### Date: 02/06/2023 / Update download size: 9 megabytes.
* HOTFIX №2 for DLSS
* HOTFIX - language change
###Scripts version 2197### Date: 02/06/2023 / Update download size: 9 megabytes.
* HOTFIX for DLSS
...
...
data_from_portwine/changelog_rus
View file @
9c88e6c0
...
...
@@ -2,6 +2,10 @@
-----------------------------------------
История изменений:
###Scripts version 2198### Дата: 02.06.2023 / Размер скачиваемого обновления: 9 мегабайт.
* HOTFIX №2 для включения DLSS
* HOTFIX выбора языка интерфейса
###Scripts version 2197### Дата: 02.06.2023 / Размер скачиваемого обновления: 9 мегабайт.
* HOTFIX для включения DLSS
...
...
data_from_portwine/scripts/lang
View file @
9c88e6c0
#!/usr/bin/env bash
# Author: linux-gaming.ru
unset
update_loc
if
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
]]
;
then
read
"update_loc"
<
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
export
update_loc
=
${
update_loc
}
fi
if
[[
"
${
update_loc
}
"
==
"RUS"
||
"
${
update_loc
}
"
==
"ENG"
]]
&&
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
]]
;
then
echo
"language
${
update_loc
}
"
else
SET_LANG
=
`
zenity
--title
"LAUNGUAGE"
--text
"Select the language"
--list
--radiolist
\
--column
=
"Set:"
--column
"Choose language:"
TRUE
"RUS"
FALSE
"ENG"
`
echo
"
${
SET_LANG
}
"
>
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
export
update_loc
=
${
SET_LANG
}
if
[[
!
-z
"
${
SET_LANG
}
"
]]
then
export
update_loc
=
${
SET_LANG
}
else
exit
1
fi
fi
if
[
"
${
update_loc
}
"
=
"RUS"
]
...
...
data_from_portwine/scripts/runlib
View file @
9c88e6c0
...
...
@@ -146,23 +146,19 @@ start_portwine () {
var_winedlloverride_update
"nvapi,nvapi64,nvngx=n;_nvngx="
export
DXVK_ENABLE_NVAPI
=
1
export
WINE_HIDE_NVIDIA_GPU
=
0
export
VKD3D_FEATURE_LEVEL
=
"12_
1
"
export
VKD3D_FEATURE_LEVEL
=
"12_
2
"
# export DXVK_NVAPI_DRIVER_VERSION=
elif
[[
"
${
PW_USE_NVAPI_AND_DLSS
}
"
==
1
]]
;
then
FIND_NVNGX_DLL
=
`
find /usr/
*
-type
f
-name
"nvngx.dll"
2>/dev/null |
awk
'{print $1}'
|
grep
'/lib/'
`
[[
-f
"
${
FIND_NVNGX_DLL
}
"
]]
&&
FIND__NVNGX_DLL
=
`
find /usr/
*
-type
f
-name
"nvngx.dll"
2>/dev/null |
awk
'{print $1}'
|
grep
'/lib/'
`
if
[[
!
-z
"
${
FIND_NVNGX_DLL
}
"
]]
&&
[[
-f
"
${
FIND_NVNGX_DLL
}
"
]]
then
try_copy_file
"
${
FIND_NVNGX_DLL
}
"
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
else
try_copy_file
"
${
PW_PLUGINS_PATH
}
/nvngx/nvngx.dll"
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
fi
if
[[
!
-z
"
${
FIND__NVNGX_DLL
}
"
]]
&&
[[
-f
"
${
FIND__NVNGX_DLL
}
"
]]
then
try_copy_file
"
${
FIND__NVNGX_DLL
}
"
"
${
PORT__WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/drive_c/windows/system32/"
else
try_copy_file
"
${
PW_PLUGINS_PATH
}
/nvngx/_nvngx.dll"
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
if
!
try_copy_file
`
find /usr/
*
-type
f
-name
"nvngx.dll"
2>/dev/null |
awk
'{print $1}'
|
grep
'/lib/'
`
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
then
try_copy_file
"
${
PW_PLUGINS_PATH
}
/nvngx/nvngx.dll"
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
fi
if
!
try_copy_file
`
find /usr/
*
-type
f
-name
"_nvngx.dll"
2>/dev/null |
awk
'{print $1}'
|
grep
'/lib/'
`
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
then
try_copy_file
"
${
PW_PLUGINS_PATH
}
/nvngx/_nvngx.dll"
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
fi
enabled_fake_nvidia_videocard 0
export
DXVK_ENABLE_NVAPI
=
1
export
WINE_HIDE_NVIDIA_GPU
=
0
export
VKD3D_FEATURE_LEVEL
=
"12_
1
"
export
VKD3D_FEATURE_LEVEL
=
"12_
2
"
# export DXVK_NVAPI_DRIVER_VERSION=
var_winedlloverride_update
"nvngx,_nvngx,nvapi,nvapi64=n"
else
...
...
@@ -171,10 +167,10 @@ start_portwine () {
var_winedlloverride_update
"nvngx,_nvngx="
fi
grep
'"renderer"='
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/user.reg"
grep
'"renderer"='
"
${
WINEPREFIX
}
/user.reg"
if
[[
"
$?
"
==
0
]]
;
then
sed
-i
/
'"renderer"='
/d
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/user.reg"
sed
-i
/
'renderer='
/d
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/winetricks.log"
sed
-i
/
'"renderer"='
/d
"
${
WINEPREFIX
}
/user.reg"
sed
-i
/
'renderer='
/d
"
${
WINEPREFIX
}
/winetricks.log"
fi
if
[[
!
-z
"
${
optirun_on
}
"
&&
"
${
optirun_on
}
"
!=
""
]]
;
then
...
...
@@ -205,9 +201,9 @@ start_portwine () {
[[
"
${
PW_MANGOHUD_USER_CONF
}
"
==
1
]]
&&
unset
MANGOHUD_CONFIG
if
[[
"
${
PW_USE_DXR11
}
"
==
1
]]
||
[[
"
${
PW_USE_DXR10
}
"
==
1
]]
||
[[
"
${
PW_USE_RAY_TRACING
}
"
==
1
]]
;
then
var_vkd3d_config_update dxr
var_vkd3d_config_update dxr
,dxr11
var_radv_perftest_config_update rt
export
VKD3D_FEATURE_LEVEL
=
"12_
1
"
export
VKD3D_FEATURE_LEVEL
=
"12_
2
"
export
WINE_HIDE_NVIDIA_GPU
=
0
export
DXVK_ENABLE_NVAPI
=
1
fi
...
...
@@ -247,13 +243,13 @@ start_portwine () {
pw_other_fixes
check_dirs_and_files_in_pfx
()
{
create_new_dir
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
"
create_new_dir
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/drive_c"
create_new_dir
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/dosdevices"
create_new_dir
"
${
WINEPREFIX
}
"
create_new_dir
"
${
WINEPREFIX
}
/drive_c"
create_new_dir
"
${
WINEPREFIX
}
/dosdevices"
create_new_dir
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/"
create_new_dir
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
[
!
-d
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/dosdevices/c:"
]
&&
try_force_link_dir
"
${
WINEPREFIX
}
/drive_c/"
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/dosdevices/c:"
[
!
-d
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/dosdevices/z:"
]
&&
try_force_link_dir
"/"
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
/dosdevices/z:"
[
!
-d
"
${
WINEPREFIX
}
/dosdevices/c:"
]
&&
try_force_link_dir
"
${
WINEPREFIX
}
/drive_c/"
"
${
WINEPREFIX
}
/dosdevices/c:"
[
!
-d
"
${
WINEPREFIX
}
/dosdevices/z:"
]
&&
try_force_link_dir
"/"
"
${
WINEPREFIX
}
/dosdevices/z:"
create_new_dir
"
${
WINEPREFIX
}
/drive_c/windows/Fonts/"
try_force_link_file
"
${
WINEDIR
}
/share/fonts/"
LiberationSans-Regular.ttf
"
${
WINEPREFIX
}
/drive_c/windows/Fonts/"
arial.ttf
try_force_link_file
"
${
WINEDIR
}
/share/fonts/"
LiberationSans-Bold.ttf
"
${
WINEPREFIX
}
/drive_c/windows/Fonts/"
arialbd.ttf
...
...
@@ -272,7 +268,7 @@ start_portwine () {
}
PROGPFX_URL
=
"github.com/Castro-Fidel/PortWINE/releases/download/progpfx
${
PROGPFX_VER
}
/progpfx
${
PROGPFX_VER
}
.tar.xz"
if
[[
"
${
PW_PREFIX_NAME
}
"
==
"PROGRAMS"
&&
!
-f
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
"
/.progpfx
]]
;
then
if
[[
"
${
PW_PREFIX_NAME
}
"
==
"PROGRAMS"
&&
!
-f
"
${
WINEPREFIX
}
"
/.progpfx
]]
;
then
print_info
"Download and install PROGRAMS pfx..."
if
try_download
"
${
PROGPFX_URL
}
"
"
${
PORT_WINE_PATH
}
/data/tmp/progpfx.tar.xz"
;
then
unpack_tar_xz
"
${
PORT_WINE_PATH
}
/data/tmp/progpfx.tar.xz"
"
${
PORT_WINE_PATH
}
/data/prefixes/"
...
...
@@ -284,7 +280,7 @@ start_portwine () {
fi
DOTPFX_URL
=
"github.com/Castro-Fidel/PortWINE/releases/download/dotpfx
${
DOTPFX_VER
}
/dotpfx
${
DOTPFX_VER
}
.tar.xz"
if
[[
"
${
PW_PREFIX_NAME
}
"
==
"DOTNET"
&&
!
-f
"
${
PORT_WINE_PATH
}
/data/prefixes/
${
PW_PREFIX_NAME
}
"
/.dotnet48
]]
;
then
if
[[
"
${
PW_PREFIX_NAME
}
"
==
"DOTNET"
&&
!
-f
"
${
WINEPREFIX
}
"
/.dotnet48
]]
;
then
print_info
"Download and install DOTNET pfx..."
if
try_download
"
${
DOTPFX_URL
}
"
"
${
PORT_WINE_PATH
}
/data/tmp/dotpfx.tar.xz"
;
then
unpack_tar_xz
"
${
PORT_WINE_PATH
}
/data/tmp/dotpfx.tar.xz"
"
${
PORT_WINE_PATH
}
/data/prefixes/"
...
...
data_from_portwine/scripts/start.sh
View file @
9c88e6c0
...
...
@@ -647,7 +647,7 @@ else
}
change_loc
()
{
try_remove_file
"
${
PORT_WINE_TMP_PATH
}
/
PortProton
_loc"
try_remove_file
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_loc"
echo
"Restarting PP for change language..."
/usr/bin/env bash
-c
${
pw_full_command_line
[*]
}
&
exit
0
...
...
data_from_portwine/scripts/var
View file @
9c88e6c0
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=219
7
#SCRIPTS_NEXT_VERSION=219
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