Call of Duty 4: Modern Warfare

Informations

Créateur Messages
NSLW

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 114140
Wine: 3.0.3

Retours d'expérience

Description

FPS, 2007. Wikipedia.

2010 comments :

- use latest 1.7 game patch.
- disable "depth of field" and "soften smoke edges" in game as they don't work.
- don't install DirectX 9.0c if prompted.
- game doesn't work with original iw3sp.exe (NoCD required).

Code source

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Mercredi 29 Janvier 2020 à 11:05
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

Differences

Nouveau code source

Réponses

vidocq Mardi 22 Décembre 2015 à 20:43
vidocq Anonymous

Messages

COD4MW runs perfectly with Wine 1.7.55 under Debian 8

Réponses

petch Mercredi 27 Mai 2015 à 7:08
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Remove full path from shortcut creations

Differences

Nouveau code source

Réponses

Vendredi 3 Janvier 2020 à 0:27
Script approved.
petch Dimanche 24 Mai 2015 à 18:14
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Attempt at updating the script, untested

Differences

Nouveau code source

Réponses

Anonymous
Mardi 26 Mai 2015 à 23:35
The code don't work, it has a few errors in it, and then it works. Put a 0 after exit.
Anonymous
Mardi 26 Mai 2015 à 23:39
And "TRUE" ]; then not "t4
Anonymous
Mardi 26 Mai 2015 à 23:39
Not "TRUE" ;then
Anonymous
Mardi 26 Mai 2015 à 23:40
Then it installs just fine, may have to configure to install your shortcut from pol
Anonymous
Mardi 26 Mai 2015 à 23:54
Inside of pol click configure, and click make link, because it did not make a link for me, thank you
Anonymous
Mercredi 27 Mai 2015 à 0:03
sorry there is two exits with typos. Just add 0 to both. exit 0
Anonymous
Mercredi 27 Mai 2015 à 2:38

#!/bin/bash
# Date : (2009-05-23 12-14)
# Last revision : (2015-05-24 18-13)
# Wine version used : 1.6.2
# Author : NSLW
# updated: petch
# Licence : Retail

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

TITLE="Call of Duty 4: Modern Warfare"
PREFIX="COD4"

#procedure for patching cod4
patch_cod4()
{
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Select patch file downloaded from www.infinityward.com')" "$TITLE" ""
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$APP_ANSWER"
POL_SetupWindow_message "$(eval_gettext 'Patch for $TITLE has been installed successfully')" "$TITLE"
}

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "infinityward" "www.infinityward.com" "NSLW" "$PREFIX"

if [ -e "$POL_USER_ROOT/configurations/installed/$TITLE" ]; then
POL_SetupWindow_menu "$(eval_gettext 'What do you want to do?')" "$(eval_gettext 'Actions')" "$(eval_gettext 'Patch game')" "~"

if [ "$APP_ANSWER" == "$(eval_gettext 'Patch game')" ]; then
patch_cod4
fi

POL_SetupWindow_Close
exit 0
fi

POL_SetupWindow_message "$(eval_gettext 'Please insert $TITLE media into your disk drive.')"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"

LATESTVERSION="1.6.2"
CHOSENWINEVERSION="$LATESTVERSION"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$CHOSENWINEVERSION"

#starting installation
POL_Wine_WaitBefore "$TITLE"
cd "$CDROM"
POL_Wine "setup.exe"
POL_Wine_WaitExit "$TITLE"

POL_Wine_Direct3D "Multisampling" "enabled"
POL_SetupWindow_VMS

cd "$WINEPREFIX/drive_c/windows/temp/"
convert "$CDROM/Setup/rsrc/cod4.ico" -geometry 32X32 "cod4.png"
cp "cod4-1.png" "$POL_USER_ROOT/icones/32/$TITLE Singleplayer"
cp "cod4-1.png" "$POL_USER_ROOT/icones/32/$TITLE Multiplayer"

#making shortcut
POL_Shortcut "$PROGRAMFILES/Activision/Call of Duty 4 - Modern Warfare/iw3sp.exe" "$TITLE Singleplayer"
POL_Shortcut "$PROGRAMFILES/Activision/Call of Duty 4 - Modern Warfare/iw3mp.exe" "$TITLE Multiplayer"

#asking about patching
POL_SetupWindow_question "$(eval_gettext 'Do you want to patch your game?')" "$TITLE"
if [ "$APP_ANSWER" == "TRUE" ]; then
patch_cod4
fi

POL_SetupWindow_message "$(eval_gettext 'Please note that this game has a copy protection system\nand sadly, it prevents Wine from running the game.\n\nPlayOnLinux will not provide any help concerning any illegal\nstuff.')" "Note about copy protection"

POL_SetupWindow_Close
exit 0

Edité par petch

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com