forked from CastroFidel/PortWINE
		
	Merge branch 'master' of https://github.com/valokardin/PortWINE into valokardin-master
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								data_from_portwine/img/gui/mw.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								data_from_portwine/img/gui/mw.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 6.1 KiB | 
							
								
								
									
										12
									
								
								data_from_portwine/scripts/portwine_db/MW.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								data_from_portwine/scripts/portwine_db/MW.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| #!/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" | ||||
							
								
								
									
										23
									
								
								data_from_portwine/scripts/pw_autoinstall/PW_MW
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								data_from_portwine/scripts/pw_autoinstall/PW_MW
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| #!/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 | ||||
| @@ -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"' \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user