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
56e80195
Commit
56e80195
authored
May 06, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scripts version 2294
parent
d3ee4024
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
25 deletions
+35
-25
changelog_en
data_from_portwine/changelog_en
+3
-0
changelog_ru
data_from_portwine/changelog_ru
+3
-0
functions_helper
data_from_portwine/scripts/functions_helper
+25
-24
start.sh
data_from_portwine/scripts/start.sh
+3
-0
var
data_from_portwine/scripts/var
+1
-1
No files found.
data_from_portwine/changelog_en
View file @
56e80195
...
...
@@ -2,6 +2,9 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
Changelog:
###Scripts version 2294### Date: 06.05.2024 / Download update size: 3 megabytes
* HOTFIX - definitions of the settings file used
###Scripts version 2293### Date: 06.05.2024 / Download update size: 3 megabytes
* multiple FPS limits have been added to MANGOHUD settings (thanks to Boria138)
* improved creation of a settings file for .exe files on first launch
...
...
data_from_portwine/changelog_ru
View file @
56e80195
...
...
@@ -2,6 +2,9 @@
-----------------------------------------
История изменений:
###Scripts version 2294### Дата: 06.05.2024 / Размер скачиваемого обновления: 3 мегабайта
* HOTFIX - определения используемого файла настроек
###Scripts version 2293### Дата: 06.05.2024 / Размер скачиваемого обновления: 3 мегабайта
* в настройки MANGOHUD добавлен выбор нескольких ограничений FPS (спасибо Boria138)
* улучшено создание файла настроек для .exe файлов при первом запуске
...
...
data_from_portwine/scripts/functions_helper
View file @
56e80195
...
...
@@ -1204,12 +1204,37 @@ pw_init_db () {
PW_PREFIX_NAME
=
$(
echo
"
${
portwine_exe
}
"
|
awk
-F
"/prefixes/"
'{print $2}'
|
awk
-F
"/"
'{print $1}'
)
fi
fi
if
[[
-f
"
${
PORTWINE_DB_FILE
}
"
]]
;
then
# shellcheck source=/dev/null
source
"
${
PORTWINE_DB_FILE
}
"
init_wine_ver
&&
print_info
"Use
$PORTWINE_DB_FILE
db file."
else
if
[[
"
${
PW_DISABLED_CREATE_DB
}
"
!=
1
]]
;
then
if
[[
!
-z
"
${
PORTWINE_DB
}
"
]]
;
then
export
PORTWINE_DB_FILE
=
$(
grep
-il
"
\#
${
PORTWINE_DB
}
.exe"
"
${
PORT_SCRIPTS_PATH
}
/portwine_db"
/
*)
if
[[
-z
"
${
PORTWINE_DB_FILE
}
"
]]
;
then
{
echo
"#!/usr/bin/env bash"
echo
"#Author:
${
USER
}
"
echo
"#
${
PORTWINE_DB
}
.exe"
echo
"#Rating=1-5"
}
>
"
${
portwine_exe
}
"
.ppdb
export
PORTWINE_DB_FILE
=
"
${
portwine_exe
}
"
.ppdb
fi
if
[[
!
-z
$(
echo
"
${
portwine_exe
}
"
|
grep
"/data/prefixes/"
)
]]
&&
\
[[
-z
$(
echo
"
${
portwine_exe
}
"
|
grep
"/data/prefixes/DEFAULT/"
)
]]
then
PW_PREFIX_NAME
=
$(
echo
"
${
portwine_exe
}
"
|
awk
-F
"/prefixes/"
'{print $2}'
|
awk
-F
"/"
'{print $1}'
)
fi
# shellcheck source=/dev/null
source
"
${
PORTWINE_DB_FILE
}
"
fi
edit_db_from_gui PW_VULKAN_USE PW_WINE_USE PW_PREFIX_NAME
fi
fi
if
[[
-z
"
${
PATH_TO_GAME
}
"
]]
||
[[
!
-d
"
${
PATH_TO_GAME
}
"
]]
;
then
PATH_TO_GAME
=
"
$(
cd
"
$(
dirname
"
${
portwine_exe
}
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
export
PATH_TO_GAME
...
...
@@ -1240,30 +1265,6 @@ pw_init_db () {
fi
done
fi
if
[[
"
${
PW_DISABLED_CREATE_DB
}
"
!=
1
]]
;
then
if
[[
!
-z
"
${
PORTWINE_DB
}
"
]]
\
&&
[[
-z
"
${
PORTWINE_DB_FILE
}
"
]]
then
PORTWINE_DB_FILE
=
$(
grep
-il
"
\#
${
PORTWINE_DB
}
.exe"
"
${
PORT_SCRIPTS_PATH
}
/portwine_db"
/
*)
if
[[
-z
"
${
PORTWINE_DB_FILE
}
"
]]
;
then
{
echo
"#!/usr/bin/env bash"
echo
"#Author:
${
USER
}
"
echo
"#
${
PORTWINE_DB
}
.exe"
echo
"#Rating=1-5"
}
>
"
${
portwine_exe
}
"
.ppdb
export
PORTWINE_DB_FILE
=
"
${
portwine_exe
}
"
.ppdb
fi
if
[[
!
-z
$(
echo
"
${
portwine_exe
}
"
|
grep
"/data/prefixes/"
)
]]
&&
\
[[
-z
$(
echo
"
${
portwine_exe
}
"
|
grep
"/data/prefixes/DEFAULT/"
)
]]
then
PW_PREFIX_NAME
=
$(
echo
"
${
portwine_exe
}
"
|
awk
-F
"/prefixes/"
'{print $2}'
|
awk
-F
"/"
'{print $1}'
)
fi
# shellcheck source=/dev/null
source
"
${
PORTWINE_DB_FILE
}
"
fi
edit_db_from_gui PW_VULKAN_USE PW_WINE_USE PW_PREFIX_NAME
fi
fi
[[
"
${
START_FROM_STEAM
}
"
==
1
]]
&&
export
PW_GUI_DISABLED_CS
=
1
...
...
data_from_portwine/scripts/start.sh
View file @
56e80195
...
...
@@ -617,6 +617,9 @@ case "${VULKAN_MOD}" in
esac
init_wine_ver
if [[ -f
"
${
PORTWINE_DB_FILE
}
"
]] ; then
edit_db_from_gui PW_VULKAN_USE PW_WINE_USE PW_PREFIX_NAME
fi
[[ ! -z
"
$PW_YAD_SET
"
]] && case
"
$PW_YAD_SET
"
in
98) portwine_delete_shortcut ;;
...
...
data_from_portwine/scripts/var
View file @
56e80195
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=229
3
#SCRIPTS_NEXT_VERSION=229
4
########################################################################
export
LANGUAGES_LIST
=
"ru"
export
PW_MANGOHUD
=
"0"
...
...
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