Call of Duty: Modern Warfare 3

Informatie

Creator Bericht
petch

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 228087
Wine: 3.0.3

Feedbacks

Broncode

#!/bin/bash
# Date : (2012-02-18 12-48)
# Last revision : see changelog
# Wine version used : 
# Distribution used to test : Debiann unstable amd64
# Author : Pierre Etchemaite
#    based on script by GNU_Raziel
# Licence : Retail
#
# CHANGELOG
# [SuperPlumus] (2013-08-20 19-41)
#   Update script
# [Dadu042] (2020-01-22 21:30)
#   Wine "1.7.53-steam_crossoverhack -> 3.0.3.
#   GAME_VMS="512" -> 256

#  Playing windowed with forced mouse capture
#
# 1.4-rc4: "flashes" in smoke/dirt textures
# 1.3.37: idem
# 1.3.36: crash at start
# 1.3.35: crash at start
# 1.3.34: flashes in smoke/dirt
# 1.3.30: idem
# 1.3.28: idem
# 1.3.23: idem
# Flashes fixed with StrictDrawOrdering = enabled


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Call of Duty: Modern Warfare 3"
PREFIX="CallOfDutyMW3"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="256"
VID="42690"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Infinity Ward / Sledgehammer Games" "http://www.callofduty.com/mw3" "Pierre Etchemaite" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_steam
POL_Call POL_Install_steam_flags "$VID"

cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "steam.exe" "steam://install/$VID"
POL_Wine_WaitExit "$TITLE"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

POL_Wine_X11Drv "GrabFullScreen" "Y"

# Fix moire flashes in smoke and dirt
# POL_Wine_Direct3D "StrictDrawOrdering" "enabled"

# Making shortcut
POL_Shortcut "Steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$VID"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Bericht
Dadu042 Woensdag 29 Januari 2020 om 11:14
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,13 +1,20 @@
 #!/bin/bash
 # Date : (2012-02-18 12-48)
-# Last revision : (2013-08-20 19-41)
-# Wine version used : 1.4
+# Last revision : see changelog
+# Wine version used : 
 # Distribution used to test : Debiann unstable amd64
 # Author : Pierre Etchemaite
 #    based on script by GNU_Raziel
 # Licence : Retail
+#
+# CHANGELOG
+# [SuperPlumus] (2013-08-20 19-41)
+#   Update script
+# [Dadu042] (2020-01-22 21:30)
+#   Wine "1.7.53-steam_crossoverhack -> 3.0.3.
+#   GAME_VMS="512" -> 256
 
-# Playing windowed with forced mouse capture
+#  Playing windowed with forced mouse capture
 #
 # 1.4-rc4: "flashes" in smoke/dirt textures
 # 1.3.37: idem
@@ -19,17 +26,14 @@
 # 1.3.23: idem
 # Flashes fixed with StrictDrawOrdering = enabled
 
-# CHANGELOG
-# [SuperPlumus] (2013-08-20 19-41)
-#   Update script
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Call of Duty: Modern Warfare 3"
 PREFIX="CallOfDutyMW3"
-WORKING_WINE_VERSION="1.7.53-steam_crossoverhack"
-GAME_VMS="512"
+WORKING_WINE_VERSION="3.0.3"
+GAME_VMS="256"
 VID="42690"
 
 POL_SetupWindow_Init
@@ -62,7 +66,7 @@
 POL_Wine_X11Drv "GrabFullScreen" "Y"
 
 # Fix moire flashes in smoke and dirt
-#POL_Wine_Direct3D "StrictDrawOrdering" "enabled"
+# POL_Wine_Direct3D "StrictDrawOrdering" "enabled"
 
 # Making shortcut
 POL_Shortcut "Steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$VID"

New source code

#!/bin/bash
# Date : (2012-02-18 12-48)
# Last revision : see changelog
# Wine version used : 
# Distribution used to test : Debiann unstable amd64
# Author : Pierre Etchemaite
#    based on script by GNU_Raziel
# Licence : Retail
#
# CHANGELOG
# [SuperPlumus] (2013-08-20 19-41)
#   Update script
# [Dadu042] (2020-01-22 21:30)
#   Wine "1.7.53-steam_crossoverhack -> 3.0.3.
#   GAME_VMS="512" -> 256

#  Playing windowed with forced mouse capture
#
# 1.4-rc4: "flashes" in smoke/dirt textures
# 1.3.37: idem
# 1.3.36: crash at start
# 1.3.35: crash at start
# 1.3.34: flashes in smoke/dirt
# 1.3.30: idem
# 1.3.28: idem
# 1.3.23: idem
# Flashes fixed with StrictDrawOrdering = enabled


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Call of Duty: Modern Warfare 3"
PREFIX="CallOfDutyMW3"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="256"
VID="42690"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Infinity Ward / Sledgehammer Games" "http://www.callofduty.com/mw3" "Pierre Etchemaite" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_steam
POL_Call POL_Install_steam_flags "$VID"

cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "steam.exe" "steam://install/$VID"
POL_Wine_WaitExit "$TITLE"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

POL_Wine_X11Drv "GrabFullScreen" "Y"

# Fix moire flashes in smoke and dirt
# POL_Wine_Direct3D "StrictDrawOrdering" "enabled"

# Making shortcut
POL_Shortcut "Steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$VID"

POL_SetupWindow_Close
exit 0

Antwoorden

petch Vrijdag 23 October 2015 om 11:29
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Bericht

Update Wine to 1.7.53-steam_crossoverhack

Remove StrictDrawOrdering since it no longer seems necessary (?)

Remove a statement used when the icon was extracted from the executable (icons now come from the web server)

Differences

@@ -28,7 +28,7 @@
 
 TITLE="Call of Duty: Modern Warfare 3"
 PREFIX="CallOfDutyMW3"
-WORKING_WINE_VERSION="1.7.46"
+WORKING_WINE_VERSION="1.7.53-steam_crossoverhack"
 GAME_VMS="512"
 VID="42690"
 
@@ -62,10 +62,7 @@
 POL_Wine_X11Drv "GrabFullScreen" "Y"
 
 # Fix moire flashes in smoke and dirt
-POL_Wine_Direct3D "StrictDrawOrdering" "enabled"
-
-# It is what? [SuperPlumus]
-REALBIN="`find $WINEPREFIX -iname iw5mp.exe`"
+#POL_Wine_Direct3D "StrictDrawOrdering" "enabled"
 
 # Making shortcut
 POL_Shortcut "Steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$VID"

New source code

#!/bin/bash
# Date : (2012-02-18 12-48)
# Last revision : (2013-08-20 19-41)
# Wine version used : 1.4
# Distribution used to test : Debiann unstable amd64
# Author : Pierre Etchemaite
#    based on script by GNU_Raziel
# Licence : Retail

# Playing windowed with forced mouse capture
#
# 1.4-rc4: "flashes" in smoke/dirt textures
# 1.3.37: idem
# 1.3.36: crash at start
# 1.3.35: crash at start
# 1.3.34: flashes in smoke/dirt
# 1.3.30: idem
# 1.3.28: idem
# 1.3.23: idem
# Flashes fixed with StrictDrawOrdering = enabled

# CHANGELOG
# [SuperPlumus] (2013-08-20 19-41)
#   Update script

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Call of Duty: Modern Warfare 3"
PREFIX="CallOfDutyMW3"
WORKING_WINE_VERSION="1.7.53-steam_crossoverhack"
GAME_VMS="512"
VID="42690"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Infinity Ward / Sledgehammer Games" "http://www.callofduty.com/mw3" "Pierre Etchemaite" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_steam
POL_Call POL_Install_steam_flags "$VID"

cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "steam.exe" "steam://install/$VID"
POL_Wine_WaitExit "$TITLE"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

POL_Wine_X11Drv "GrabFullScreen" "Y"

# Fix moire flashes in smoke and dirt
#POL_Wine_Direct3D "StrictDrawOrdering" "enabled"

# Making shortcut
POL_Shortcut "Steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$VID"

POL_SetupWindow_Close
exit 0

Antwoorden

Anonymous
Woensdag 25 October 2017 om 14:14
marche pas

Aangepast door petch

deri82 Vrijdag 10 Juli 2015 om 16:46
deri82 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -28,8 +28,8 @@
 
 TITLE="Call of Duty: Modern Warfare 3"
 PREFIX="CallOfDutyMW3"
-WORKING_WINE_VERSION="1.4"
-GAME_VMS="256"
+WORKING_WINE_VERSION="1.7.46"
+GAME_VMS="512"
 VID="42690"
 
 POL_SetupWindow_Init

New source code

#!/bin/bash
# Date : (2012-02-18 12-48)
# Last revision : (2013-08-20 19-41)
# Wine version used : 1.4
# Distribution used to test : Debiann unstable amd64
# Author : Pierre Etchemaite
#    based on script by GNU_Raziel
# Licence : Retail

# Playing windowed with forced mouse capture
#
# 1.4-rc4: "flashes" in smoke/dirt textures
# 1.3.37: idem
# 1.3.36: crash at start
# 1.3.35: crash at start
# 1.3.34: flashes in smoke/dirt
# 1.3.30: idem
# 1.3.28: idem
# 1.3.23: idem
# Flashes fixed with StrictDrawOrdering = enabled

# CHANGELOG
# [SuperPlumus] (2013-08-20 19-41)
#   Update script

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Call of Duty: Modern Warfare 3"
PREFIX="CallOfDutyMW3"
WORKING_WINE_VERSION="1.7.46"
GAME_VMS="512"
VID="42690"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Infinity Ward / Sledgehammer Games" "http://www.callofduty.com/mw3" "Pierre Etchemaite" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_steam
POL_Call POL_Install_steam_flags "$VID"

cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "steam.exe" "steam://install/$VID"
POL_Wine_WaitExit "$TITLE"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

POL_Wine_X11Drv "GrabFullScreen" "Y"

# Fix moire flashes in smoke and dirt
POL_Wine_Direct3D "StrictDrawOrdering" "enabled"

# It is what? [SuperPlumus]
REALBIN="`find $WINEPREFIX -iname iw5mp.exe`"

# Making shortcut
POL_Shortcut "Steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$VID"

POL_SetupWindow_Close
exit 0

Antwoorden

Anonymous
Vrijdag 10 Juli 2015 om 16:53
The installer works, but it's a bit confusing since you need to login into steam and logout (without fonts being drawn) and the continue the POL installer. Then it works like it should. Still downloading the game itself.
Vrijdag 10 Juli 2015 om 19:15
The script enabled StrictDrawOrdering to avoid some weird graphic glitches in smoke and dirt clouds, is it still necessary with recent Wine versions? And is it still necessary with Wine staging?
Vrijdag 10 Juli 2015 om 19:15
(enabling StrictDrawOrdering slows down things significantly)
Anonymous
Zaterdag 11 Juli 2015 om 2:20
Downloaded now. Going to try later. Too tired now. Reporting back.
Anonymous
Zaterdag 11 Juli 2015 om 10:09
Ok I have shortly tested now. StrictDrawOrdering was default at the config. I changed it to disable. I dont see any drawing issues. I tried 1.7.46 and 1.7.46-staging. I had different map for the tries, but the staging might have given a bit more fps. It felt more responsive to the movements of the player. I didnt change any video settings.
Anonymous
Zaterdag 11 Juli 2015 om 10:20
I tried the CSMT option too. It's hard to tell the difference between these versions. I checked the default video settings and they are a bit high. Thiskind of game would need a bit more fps to be enjoyable. I am assuming 15-35fps with r9 290 open source drivers. Is it possible to change the title that this is about the multiplayer version of the game?
deri82 Vrijdag 10 Juli 2015 om 16:43
deri82 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -28,8 +28,8 @@
 
 TITLE="Call of Duty: Modern Warfare 3"
 PREFIX="CallOfDutyMW3"
-WORKING_WINE_VERSION="1.4"
-GAME_VMS="256"
+WORKING_WINE_VERSION="1.7-46"
+GAME_VMS="512"
 VID="42690"
 
 POL_SetupWindow_Init

New source code

#!/bin/bash
# Date : (2012-02-18 12-48)
# Last revision : (2013-08-20 19-41)
# Wine version used : 1.4
# Distribution used to test : Debiann unstable amd64
# Author : Pierre Etchemaite
#    based on script by GNU_Raziel
# Licence : Retail

# Playing windowed with forced mouse capture
#
# 1.4-rc4: "flashes" in smoke/dirt textures
# 1.3.37: idem
# 1.3.36: crash at start
# 1.3.35: crash at start
# 1.3.34: flashes in smoke/dirt
# 1.3.30: idem
# 1.3.28: idem
# 1.3.23: idem
# Flashes fixed with StrictDrawOrdering = enabled

# CHANGELOG
# [SuperPlumus] (2013-08-20 19-41)
#   Update script

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Call of Duty: Modern Warfare 3"
PREFIX="CallOfDutyMW3"
WORKING_WINE_VERSION="1.7-46"
GAME_VMS="512"
VID="42690"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Infinity Ward / Sledgehammer Games" "http://www.callofduty.com/mw3" "Pierre Etchemaite" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_steam
POL_Call POL_Install_steam_flags "$VID"

cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "steam.exe" "steam://install/$VID"
POL_Wine_WaitExit "$TITLE"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

POL_Wine_X11Drv "GrabFullScreen" "Y"

# Fix moire flashes in smoke and dirt
POL_Wine_Direct3D "StrictDrawOrdering" "enabled"

# It is what? [SuperPlumus]
REALBIN="`find $WINEPREFIX -iname iw5mp.exe`"

# Making shortcut
POL_Shortcut "Steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$VID"

POL_SetupWindow_Close
exit 0

Antwoorden

Anonymous
Vrijdag 10 Juli 2015 om 16:45
Hmm crashes very early stage with these changes.
Anonymous
Vrijdag 10 Juli 2015 om 16:47
had a typo at version
MatSifres Vrijdag 5 Juni\ 2015 om 6:47
MatSifres Anonymous

Bericht

With this version of COD MW3 Script. ¿We can play for free online games?

Antwoorden

Vrijdag 5 Juni\ 2015 om 6:59
I don't follow; do you mean pirated games? If so, then no.