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
447c314d
Commit
447c314d
authored
May 04, 2021
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
###Scripts version 1066###
parent
7168b324
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
47 additions
and
50 deletions
+47
-50
changelog
data_from_portwine/changelog
+0
-0
netprofm.dll
data_from_portwine/dist/lib/wine/netprofm.dll
+0
-0
netprofm.dll
data_from_portwine/dist/lib64/wine/netprofm.dll
+0
-0
Battle.net_Launcher
data_from_portwine/scripts/portwine_db/Battle.net_Launcher
+4
-3
GalaxyClient
data_from_portwine/scripts/portwine_db/GalaxyClient
+3
-4
WorldOfTanks
data_from_portwine/scripts/portwine_db/WorldOfTanks
+4
-3
wgc
data_from_portwine/scripts/portwine_db/wgc
+9
-8
runlib
data_from_portwine/scripts/runlib
+0
-0
setup.sh
data_from_portwine/scripts/setup.sh
+1
-1
start.sh
data_from_portwine/scripts/start.sh
+22
-28
var
data_from_portwine/scripts/var
+4
-3
No files found.
data_from_portwine/changelog
View file @
447c314d
This diff is collapsed.
Click to expand it.
data_from_portwine/dist/lib/wine/netprofm.dll
deleted
100755 → 0
View file @
7168b324
File deleted
data_from_portwine/dist/lib64/wine/netprofm.dll
deleted
100755 → 0
View file @
7168b324
File deleted
data_from_portwine/scripts/portwine_db/Battle.net_Launcher
View file @
447c314d
#!/bin/bash
#Author: dez
#Battle.net Launcher.exe
#Battle.net Launcher.exe
#Battle.net-Setup.exe
#Battle.net.exe
#Rating=5
################################################
##export PW_VULKAN_USE=dxvk
export
LAUNCH_PARAMETERS
=
""
export
WINEDLLOVERRIDES
=
"locationapi="
export
PW_DLL_INSTALL
=
"vcrun201
7
d3dx11_42 d3dx11_43"
export
PW_DLL_INSTALL
=
"vcrun201
9
d3dx11_42 d3dx11_43"
export
PW_WINDOWS_VER
=
10
export
PW_NVAPI_DISABLE
=
1
ADD_IN_START_PORTWINE
()
{
ADD_IN_START_PORTWINE
()
{
rm
-fr
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/ProgramData/Agent/data"
rm
-fr
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/users/
${
USER
}
/Blizzard Entertainment/Battle.net/Cache"
rm
-fr
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/users/Public/Blizzard Entertainment/Battle.net/Cache"
...
...
data_from_portwine/scripts/portwine_db/GalaxyClient
View file @
447c314d
...
...
@@ -4,8 +4,7 @@
#GOG_Galaxy_2.0.exe
#Rating=1-5
################################################
export
PW_VULKAN_USE
=
dxvk
export
WINEDLLOVERRIDES
=
"galaxycommunication.exe=n"
export
WINEDLLOVERRIDES
=
"galaxycommunication.exe=n;libglesv2="
export
LAUNCH_PARAMETERS
=
"/runWithoutUpdating /deelevated"
export
PW_DLL_INSTALL
=
"vcrun2017 vcrun6 mfc140"
ADD_IN_START_PORTWINE
()
...
...
@@ -13,4 +12,4 @@ ADD_IN_START_PORTWINE ()
if
[
-e
"
${
WINEPREFIX
}
/drive_c/users/
${
USER
}
/Local Settings/Application Data/GOG.com/Galaxy/Configuration/config.json"
]
;
then
sed
-i
's/"featureOverlay" : true,/"featureOverlay" : false,/'
"
${
WINEPREFIX
}
/drive_c/
${
USER
}
/steamuser/Local Settings/Application Data/GOG.com/Galaxy/Configuration/config.json"
fi
}
\ No newline at end of file
}
\ No newline at end of file
data_from_portwine/scripts/portwine_db/WorldOfTanks
View file @
447c314d
#!/bin/bash
#Author: xuser
#WorldOfTanks.exe
#WorldOfTanks.exe
#Rating=5
################################################
export
PW_VULKAN_USE
=
dxvk
#dxvk, vkd3d or 0 for OpenGL
export
PW_DLL_INSTALL
=
"lucida"
# Install DDL in port prefix (used winetricks)
export
WINEDLLOVERRIDES
=
"xaudio2_7="
export
PW_DLL_INSTALL
=
"lucida vcrun2019"
# Install DDL in port prefix (used winetricks)
export
WINEDLLOVERRIDES
=
"xaudio2_7="
export
PW_WINEDBG_DISABLE
=
1
# Disabled WINEDBG
data_from_portwine/scripts/portwine_db/wgc
View file @
447c314d
#!/bin/bash
#Author: PortWINE
#wgc.exe
#wgc.exe
#Rating=5
################################################
#export PW_VULKAN_USE=dxvk #dxvk, vkd3d or 0 for OpenGL
export
LAUNCH_PARAMETERS
=
"--disable-gpu"
# Additional launch options
export
PW_USE_TERMINAL
=
1
export
PW_WINDOWS_VER
=
7
# Set windows version 10, 7 or XP
#
export PW_USE_TERMINAL=1
#
export PW_WINDOWS_VER=7 # Set windows version 10, 7 or XP
export
PW_NVAPI_DISABLE
=
1
export
WINEDLLOVERRIDES
=
"ucrtbase=b,n"
#export WINEDLLOVERRIDES="xaudio2_7=n"
export
PW_DLL_INSTALL
=
"lucida vcrun2019"
# Install DDL in port prefix (used winetricks)
##export PW_GUI_DISABLED_CS=1
export
PW_WINEDBG_DISABLE
=
1
# Disabled WINEDBG
ADD_IN_START_PORTWINE
()
{
ADD_IN_START_PORTWINE
()
{
sed
-i
's/true/false/g'
"
$WINEPREFIX
/drive_c/ProgramData/Wargaming.net/GameCenter/preferences.xml"
}
\ No newline at end of file
}
\ No newline at end of file
data_from_portwine/scripts/runlib
View file @
447c314d
This diff is collapsed.
Click to expand it.
data_from_portwine/scripts/setup.sh
View file @
447c314d
...
...
@@ -57,7 +57,7 @@ done
chmod
u+x
"
${
PORT_SCRIPTS_PATH
}
/"
*
try_force_link_dir
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/"
"
${
PORT_WINE_PATH
}
/"
pw_clear_pfx
#
pw_clear_pfx
if
[
"
${
s_install
}
"
=
"1"
]
;
then
echo
"Installation completed successfully."
else
...
...
data_from_portwine/scripts/start.sh
View file @
447c314d
...
...
@@ -13,17 +13,13 @@ PORTWINE_LAUNCH () {
PORTWINE_BAT
=
`
basename
"
${
portwine_exe
}
"
|
grep
.bat
`
if
[
!
-z
"
${
PW_VIRTUAL_DESKTOP
}
"
]
&&
[
"
${
PW_VIRTUAL_DESKTOP
}
"
==
"1"
]
;
then
pw_screen_resolution
=
`
xrandr
--current
|
grep
"*"
|
awk
'{print $1;}'
|
head
-1
`
PW_RUN explorer
"/desktop=portwine,
${
pw_screen_resolution
}
"
"
$portwine_exe
"
elif
[
!
-z
"
${
PORTWINE_MSI
}
"
]
;
then
echo
"PORTWINE_MSI=
${
PORTWINE_MSI
}
"
PW_RUN explorer
"/desktop=portwine,
${
pw_screen_resolution
}
"
"
$WINE_WIN_START
"
/b /unix
"
$portwine_exe
"
elif
[
!
-z
"
${
PORTWINE_MSI
}
"
]
;
then
PW_RUN msiexec /i
"
$portwine_exe
"
elif
[
!
-z
"
${
PORTWINE_BAT
}
"
]
;
then
echo
"PORTWINE_BAT=
${
PORTWINE_BAT
}
"
PW_RUN explorer
"
$portwine_exe
"
elif
[
!
-z
"
${
portwine_exe
}
"
]
;
then
PW_RUN
"
$portwine_exe
"
else
PW_RUN explorer
elif
[
!
-z
"
${
PORTWINE_BAT
}
"
]
||
[
!
-z
"
${
portwine_exe
}
"
]
;
then
PW_RUN
"
$WINE_WIN_START
"
/b /unix
"
$portwine_exe
"
else
PW_RUN
"
$WINE_WIN_START
"
/b explorer
fi
}
PORTWINE_CREATE_SHORTCUT
()
{
...
...
@@ -35,7 +31,7 @@ PORTWINE_CREATE_SHORTCUT () {
if
[
$?
-eq
1
]
;
then
exit
1
;
fi
fi
PORTPROTON_NAME
=
"
$(
basename
"
${
PORTPROTON_EXE
}
"
|
sed
s/
".exe"
/
""
/gi
)
"
PORTPROTON_PATH
=
"
$(
cd
"
$(
dirname
"
${
PORTPROTON_EXE
}
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
PORTPROTON_PATH
=
"
$(
cd
"
$(
dirname
"
${
PORTPROTON_EXE
}
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
if
[
-x
"
`
which wrestool 2>/dev/null
`
"
]
;
then
wrestool
-x
--output
=
"
${
PORTPROTON_PATH
}
/"
-t14
"
${
PORTPROTON_EXE
}
"
cp
"
$(
ls
-S
-1
"
${
PORTPROTON_EXE
}
"
*
".ico"
|
head
-n
1
)
"
"
${
PORTPROTON_EXE
}
.ico"
...
...
@@ -59,9 +55,9 @@ PORTWINE_CREATE_SHORTCUT () {
cat
"
${
PORT_SCRIPTS_PATH
}
/portwine_db/default"
|
grep
"##"
>>
"
${
PORT_SCRIPTS_PATH
}
/portwine_db/
$PORTWINE_DB
"
fi
fi
name_desktop
=
"
${
PORTPROTON_NAME
}
"
name_desktop
=
"
${
PORTPROTON_NAME
}
"
echo
"[Desktop Entry]"
>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Name=
${
PORTPROTON_NAME
}
"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Name=
${
PORTPROTON_NAME
}
"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
if
[
-z
"
${
PW_CHECK_AUTOINSTAL
}
"
]
then
echo
"Exec=env PW_GUI_DISABLED_CS=1 "
\"
${
PORT_SCRIPTS_PATH
}
/start.sh
\"
\"
${
PORTPROTON_EXE
}
\"
""
\
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
...
...
@@ -74,14 +70,14 @@ name_desktop="${PORTPROTON_NAME}"
echo
"Path="
${
PORT_SCRIPTS_PATH
}
/
""
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Icon="
${
PORT_WINE_PATH
}
/data/img/
${
PORTPROTON_NAME
}
.png
""
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
chmod
u+x
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
`
zenity
--question
--title
"
${
inst_set
}
."
--text
"
${
ss_done
}
"
--no-wrap
`
&> /dev/null
`
zenity
--question
--title
"
${
inst_set
}
."
--text
"
${
ss_done
}
"
--no-wrap
`
&> /dev/null
if
[
$?
-eq
"0"
]
;
then
cp
-f
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
/home/
${
USER
}
/.local/share/applications/
cp
-f
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
/home/
${
USER
}
/.local/share/applications/
fi
xdg-open
"
${
PORT_WINE_PATH
}
"
2>1
>
/dev/null &
}
PORTWINE_DEBUG
()
{
KILL_PORTWINE
KILL_PORTWINE
export
PW_LOG
=
1
export
PW_WINEDBG_DISABLE
=
0
START_PORTWINE
...
...
@@ -92,7 +88,7 @@ PORTWINE_DEBUG () {
read
install_ver <
"
${
PORT_WINE_TMP_PATH
}
/
${
portname
}
_ver"
echo
"
${
portname
}
-
${
install_ver
}
"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
echo
"----------------------------------------------------------"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
if
[
!
-z
"
${
portwine_exe
}
"
]
;
then
if
[
!
-z
"
${
portwine_exe
}
"
]
;
then
echo
"Debug for programm:"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
echo
"
${
portwine_exe
}
"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
echo
"---------------------------------------------------------"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
...
...
@@ -132,8 +128,8 @@ PORTWINE_DEBUG () {
echo
"----------------------------------------------"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
echo
"Vulkan info device name:"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
"
${
WINELIB
}
/amd64/usr/bin/vulkaninfo"
|
grep
deviceName
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
"
${
WINELIB
}
/amd64/usr/bin/vkcube"
--c
50
if
[
$?
-eq
0
]
;
then
"
${
WINELIB
}
/amd64/usr/bin/vkcube"
--c
50
if
[
$?
-eq
0
]
;
then
echo
"Vulkan cube test passed successfully"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
else
echo
"Vkcube test completed with error"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
...
...
@@ -161,8 +157,8 @@ PORTWINE_DEBUG () {
echo
"Log WINE:"
>>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
export
DXVK_HUD
=
"full"
PORTWINE_LAUNCH &
PORTWINE_LAUNCH &
sleep
1
&&
zenity
--info
--title
"DEBUG"
--text
"
${
port_debug
}
"
--no-wrap
&> /dev/null
&&
KILL_PORTWINE
deb_text
=
$(
cat
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
|
awk
'! a[$0]++'
)
echo
"
$deb_text
"
>
"
${
PORT_WINE_PATH
}
/
${
portname
}
.log"
...
...
@@ -172,20 +168,20 @@ PORTWINE_DEBUG () {
}
PW_WINECFG
()
{
START_PORTWINE
PW_RUN winecfg
}
PW_RUN
"
$WINE_WIN_START
"
/b
winecfg
}
PW_WINEFILE
()
{
START_PORTWINE
PW_RUN
"
explorer"
PW_RUN
"
$WINE_WIN_START
"
/b explorer
}
PW_WINECMD
()
{
export
PW_USE_TERMINAL
=
1
START_PORTWINE
PW_RUN
"cmd"
PW_RUN
cmd
}
PW_WINEREG
()
{
START_PORTWINE
PW_RUN
"
regedit"
PW_RUN
"
$WINE_WIN_START
"
/b regedit
}
PW_WINETRICKS
()
{
UPDATE_WINETRICKS
...
...
@@ -200,8 +196,6 @@ PW_AUTO_INSTALL_FROM_DB () {
.
"
$PORT_SCRIPTS_PATH
/autoinstall"
$PW_YAD_SET
}
if
[
!
-z
"
${
portwine_exe
}
"
]
;
then
if
[
-z
"
${
PW_GUI_DISABLED_CS
}
"
]
||
[
"
${
PW_GUI_DISABLED_CS
}
"
=
0
]
||
[
-z
"
${
PW_VULKAN_USE
}
"
]
;
then
if
[
!
-z
"
${
PORTWINE_DB_FILE
}
"
]
&&
[
!
-z
"
${
PW_VULKAN_USE
}
"
]
;
then
...
...
data_from_portwine/scripts/var
View file @
447c314d
...
...
@@ -4,8 +4,9 @@
#export PW_MANGOHUD=1
#export MANGOHUD_CONFIG=full,height=500,font_size=24,position=top-left,toggle_hud=F12
#export DXVK_HUD=fps,devinfo
#export PW_VIRTUAL_DESKTOP=1
export
PW_FORCE_DISABLED_GAMEMOD
=
0
export
PW_FORCE_DISABLED_GAMEMOD
=
0
export
PW_DEF_DXVK_VER
=
1.8.1
export
PW_DEF_VKD3D_VER
=
2.3.1
...
...
@@ -18,7 +19,7 @@ export PW_USE_TERMINAL=0
export
PW_WINDOWS_VER
=
"7"
export
WINEARCH
=
"win64"
export
mono_ver
=
6.1.
2
export
mono_ver
=
6.1.
1
export
gecko_ver
=
2.47.2
export
pw_libs_ver
=
"_v10"
...
...
@@ -32,7 +33,7 @@ echo " "
}
########################################################################
ADD_IN_STOP_PORTWINE
()
{
{
echo
" "
}
########################################################################
...
...
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