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
Mikhail Tergoev
PortWINE
Commits
535fec96
Commit
535fec96
authored
Jan 18, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'valokardin-master'
parents
6c08c16f
6682459c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
0 deletions
+36
-0
mw.png
data_from_portwine/img/gui/mw.png
+0
-0
MW.sh
data_from_portwine/scripts/portwine_db/MW.sh
+12
-0
PW_MW
data_from_portwine/scripts/pw_autoinstall/PW_MW
+23
-0
start.sh
data_from_portwine/scripts/start.sh
+1
-0
No files found.
data_from_portwine/img/gui/mw.png
0 → 100644
View file @
535fec96
6.08 KB
data_from_portwine/scripts/portwine_db/MW.sh
0 → 100644
View file @
535fec96
#!/usr/bin/env bash
#Author: ValoKarDin
#launcher.exe
#Rating=5
export
PW_COMMENT_DB
=
"Modern Warships"
################################################
export
PW_VULKAN_USE
=
2
#dxvk, vkd3d or 0 for OpenGL
export
PW_DLL_INSTALL
=
"lucida"
# Install DLL in port prefix (used winetricks)
export
PW_USE_D3D_EXTRAS
=
"1"
export
PW_USE_EAC_AND_BE
=
"0"
export
PW_PREFIX_NAME
=
"MW"
export
PW_USE_SHADER_CACHE
=
"1"
data_from_portwine/scripts/pw_autoinstall/PW_MW
0 → 100644
View file @
535fec96
#!/usr/bin/env bash
# Author: ValoKarDin
########################################################################
export
LAUNCH_PARAMETERS
=(
"/VERYSILENT"
)
export
PW_AUTOINSTALL_EXE
=
"
${
PW_USER_TEMP
}
/.exe"
export
PW_PREFIX_NAME
=
"MW"
start_portwine
if
try_download_game
"https://gdn.gaijin.net/launcher/current.php?id=ModernWarshipsLauncher"
"
${
PW_AUTOINSTALL_EXE
}
"
then
pw_start_progress_bar_block
"Starting Modern Warships installation..."
pw_kill_autostart launcher.exe &
pw_run
"
${
PW_AUTOINSTALL_EXE
}
"
portwine_exe
=
"
$WINEPREFIX
/drive_c/users/steamuser/AppData/Local/ModernWarships/launcher.exe"
export
PORTWINE_CREATE_SHORTCUT_NAME
=
"Modern Warships"
try_remove_file
"
${
PW_AUTOINSTALL_EXE
}
"
try_remove_file
"
${
portwine_exe
}
.ppdb"
kill_portwine
portwine_create_shortcut
fi
stop_portwine
data_from_portwine/scripts/start.sh
View file @
535fec96
...
...
@@ -817,6 +817,7 @@ else
--field
=
" STALCRAFT"
!
"
$PW_GUI_ICON_PATH
/stalcraft.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_STALCRAFT"'
\
--field
=
" CONTRACT WARS"
!
"
$PW_GUI_ICON_PATH
/cwc.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_CWC"'
\
--field
=
" Stalker Online"
!
"
$PW_GUI_ICON_PATH
/so.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_SO"'
\
--field
=
" Modern Warships"
!
"
$PW_GUI_ICON_PATH
/mw.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_MW"'
\
--field
=
" Metal War Online"
!
"
$PW_GUI_ICON_PATH
/mwo.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_MWO"'
\
--field
=
" Ankama Launcher"
!
"
$PW_GUI_ICON_PATH
/ankama.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_ANKAMA"'
\
--field
=
" Indiegala Client"
!
"
$PW_GUI_ICON_PATH
/igclient.png"
!
""
:
"FBTN"
'@bash -c "button_click PW_IGCLIENT"'
\
...
...
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