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
53f39c4b
Commit
53f39c4b
authored
Apr 12, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'galium-flatpak' of
https://github.com/Boria138/PortWINE
into Boria138-galium-flatpak
parents
2018ab5c
d4e48346
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
13 deletions
+25
-13
functions_helper
data_from_portwine/scripts/functions_helper
+23
-11
lang
data_from_portwine/scripts/lang
+2
-2
No files found.
data_from_portwine/scripts/functions_helper
View file @
53f39c4b
...
...
@@ -1901,21 +1901,33 @@ d3d11 d3d10 d3d10core d3d10_1 d3d9 d3d8 dxgi wined3d vulkan-1 shell32"
var_winedlloverride_update
"d3d9=n;wined3d=b;dxvk_config,vulkan-1,winevulkan="
unset
FIND_D3D_MODULE D3D_MODULE_PATH
FIND_D3D_MODULE
=
`
dirname
$(
find /usr/
-maxdepth
4
-type
f
-name
"d3dadapter9.so.*"
)
2>/dev/null
`
if
[[
!
-z
"
$FIND_D3D_MODULE
"
]]
;
then
old_IFS
=
$IFS
IFS
=
$'
\n
'
for
D3D_MP
in
$FIND_D3D_MODULE
;
do
FLATPAK_D3D_MODULES_PATH
=
"/app/lib/i386-linux-gnu/GL/default/lib/d3d
/usr/lib/x86_64-linux-gnu/GL/default/lib/d3d"
if
!
check_flatpak
;
then
if
[[
!
-z
"
$FIND_D3D_MODULE
"
]]
;
then
old_IFS
=
$IFS
IFS
=
$'
\n
'
for
D3D_MP
in
$FIND_D3D_MODULE
;
do
if
[[
!
-z
"
$D3D_MODULE_PATH
"
]]
then
export
D3D_MODULE_PATH
=
"
$D3D_MODULE_PATH
:/run/host
${
D3D_MP
}
"
else
export
D3D_MODULE_PATH
=
"/run/host
${
D3D_MP
}
"
fi
done
IFS
=
$old_IFS
print_info
"D3D_MODULE_PATH=
${
D3D_MODULE_PATH
}
"
else
pw_stop_progress_bar
yad_error
"d3dadapter9.so.1.0.0 -
${
loc_find_d3dadapter9_error
}
"
stop_portwine
fi
else
for
D3D_MP
in
$FLATPAK_D3D_MODULES_PATH
;
do
if
[[
!
-z
"
$D3D_MODULE_PATH
"
]]
then
export
D3D_MODULE_PATH
=
"
$D3D_MODULE_PATH
:/run/
hos
t
${
D3D_MP
}
"
else
export
D3D_MODULE_PATH
=
"/run/
hos
t
${
D3D_MP
}
"
then
export
D3D_MODULE_PATH
=
"
$D3D_MODULE_PATH
:/run/
paren
t
${
D3D_MP
}
"
else
export
D3D_MODULE_PATH
=
"/run/
paren
t
${
D3D_MP
}
"
fi
done
IFS
=
$old_IFS
print_info
"D3D_MODULE_PATH=
${
D3D_MODULE_PATH
}
"
else
pw_stop_progress_bar
yad_error
"d3dadapter9.so.1.0.0 -
${
loc_find_d3dadapter9_error
}
"
stop_portwine
fi
export
mesa_glthread
=
true
export
ENABLE_VKBASALT
=
0
...
...
data_from_portwine/scripts/lang
View file @
53f39c4b
...
...
@@ -285,7 +285,7 @@ if [[ "${update_loc}" == "RUS" ]] ; then
export
PW_PFX_BACKUP_SUCCESS
=
"Успешно создана резервная копия префикса:"
export
PW_PFX_BACKUP_ERROR
=
"Произошла ошибка во время создания резервной копии префикса:"
export
loc_find_d3dadapter9_error
=
"
не найден в системе.
\n
Установите недостающий пакет: </Sb>d3dadapter9</b>
"
export
loc_find_d3dadapter9_error
=
"
Не найден в системе.
\n
Установите недостающий пакет: d3dadapter9
"
export
loc_gui_create_shortcut_for_exe
=
"Выберите .exe файл для которого необходимо создать ярлык и нажмите ОК.
\n
"
...
...
@@ -700,7 +700,7 @@ elif [[ "${update_loc}" == "ENG" ]] ; then
export
PW_PFX_BACKUP_SUCCESS
=
"Backup has been successfully created for prefix:"
export
PW_PFX_BACKUP_ERROR
=
"An error occurred while backing up the prefix:"
export
loc_find_d3dadapter9_error
=
"Not found in the system.
\n
Install the missing package:
</Sb>d3dadapter9</b>
"
export
loc_find_d3dadapter9_error
=
"Not found in the system.
\n
Install the missing package:
d3dadapter9
"
export
loc_gui_create_shortcut_for_exe
=
"Choose the .exe file for which you need to create a shortcut and click OK.
\n
"
...
...
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