files:
- patch16: https://archive.org/download/cod-4-1.6-1.7-patches/Cod4_1.6-1.7_Patches.zip/Cod4Patches%2FCoD4MW-1.6-PatchSetup.exe
- patch17: https://archive.org/download/cod-4-1.6-1.7-patches/Cod4_1.6-1.7_Patches.zip/Cod4Patches%2FCoD4MW-1.6-1.7-PatchSetup.exe
- cdpatch: https://archive.org/download/cod4-mw-cdpatch/CoD4MW_CDPatch.zip
- patch181: https://archive.org/download/cod4mw-patch181/Multiplayer%20Patch%201.8.1.zip
game:
exe: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3sp.exe
launch_configs:
- exe: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3mp.exe
name: Call of Duty 4 Multiplayer
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR
- insert-disc:
requires: CoD4MW.msi
- task:
description: Installing Base Game. Do not change target directory!
executable: $DISC/setup.exe
name: wineexec
- task:
description: 'Installing Patch 1.6
It might get stuck initializing for a while. '
executable: patch16
name: wineexec
prefix: $GAMEDIR
- task:
description: Installing Patch 1.7
executable: patch17
name: wineexec
- execute:
command: cd "$GAMEDIR/drive_c/Program Files (x86)"; chmod -R +w "Activision";
- task:
app: d3dx9
name: winetricks
silent: false
- move:
dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3sp.exe.backup
src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3sp.exe
- move:
dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3mp-1.7.exe.backup
src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3mp.exe
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/
file: cdpatch
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/
file: patch181
description: Simple Installer
game_slug: call-of-duty-4-modern-warfare
gogslug: ''
humblestoreid: ''
installer_slug: call-of-duty-4-modern-warfare-retail-17
name: 'Call of Duty 4: Modern Warfare'
notes: "- Automated Download of necessary files\r\n- Backups files and applies CD/DVD\
\ Preservation Patch\r\n- Patches Multiplayer to 1.8.1 (Current Steam version)\r\
\n- Everything fully functional!"
runner: wine
script:
files:
- patch16: https://archive.org/download/cod-4-1.6-1.7-patches/Cod4_1.6-1.7_Patches.zip/Cod4Patches%2FCoD4MW-1.6-PatchSetup.exe
- patch17: https://archive.org/download/cod-4-1.6-1.7-patches/Cod4_1.6-1.7_Patches.zip/Cod4Patches%2FCoD4MW-1.6-1.7-PatchSetup.exe
- cdpatch: https://archive.org/download/cod4-mw-cdpatch/CoD4MW_CDPatch.zip
- patch181: https://archive.org/download/cod4mw-patch181/Multiplayer%20Patch%201.8.1.zip
game:
exe: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3sp.exe
launch_configs:
- exe: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern
Warfare/iw3mp.exe
name: Call of Duty 4 Multiplayer
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR
- insert-disc:
requires: CoD4MW.msi
- task:
description: Installing Base Game. Do not change target directory!
executable: $DISC/setup.exe
name: wineexec
- task:
description: 'Installing Patch 1.6
It might get stuck initializing for a while. '
executable: patch16
name: wineexec
prefix: $GAMEDIR
- task:
description: Installing Patch 1.7
executable: patch17
name: wineexec
- execute:
command: cd "$GAMEDIR/drive_c/Program Files (x86)"; chmod -R +w "Activision";
- task:
app: d3dx9
name: winetricks
silent: false
- move:
dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern
Warfare/iw3sp.exe.backup
src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern
Warfare/iw3sp.exe
- move:
dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern
Warfare/iw3mp-1.7.exe.backup
src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern
Warfare/iw3mp.exe
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern
Warfare/
file: cdpatch
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern
Warfare/
file: patch181
slug: call-of-duty-4-modern-warfare-retail-17
steamid: 7940
version: Retail 1.7
year: 2007
{
"game_slug": "call-of-duty-4-modern-warfare",
"version": "Retail 1.7",
"description": "Simple Installer",
"notes": "- Automated Download of necessary files\r\n- Backups files and applies CD/DVD Preservation Patch\r\n- Patches Multiplayer to 1.8.1 (Current Steam version)\r\n- Everything fully functional!",
"name": "Call of Duty 4: Modern Warfare",
"year": 2007,
"steamid": 7940,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "call-of-duty-4-modern-warfare-retail-17",
"installer_slug": "call-of-duty-4-modern-warfare-retail-17",
"script": {
"files": [
{
"patch16": "https://archive.org/download/cod-4-1.6-1.7-patches/Cod4_1.6-1.7_Patches.zip/Cod4Patches%2FCoD4MW-1.6-PatchSetup.exe"
},
{
"patch17": "https://archive.org/download/cod-4-1.6-1.7-patches/Cod4_1.6-1.7_Patches.zip/Cod4Patches%2FCoD4MW-1.6-1.7-PatchSetup.exe"
},
{
"cdpatch": "https://archive.org/download/cod4-mw-cdpatch/CoD4MW_CDPatch.zip"
},
{
"patch181": "https://archive.org/download/cod4mw-patch181/Multiplayer%20Patch%201.8.1.zip"
}
],
"game": {
"exe": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3sp.exe",
"launch_configs": [
{
"exe": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3mp.exe",
"name": "Call of Duty 4 Multiplayer"
}
],
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"description": "Creating Wine prefix",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"insert-disc": {
"requires": "CoD4MW.msi"
}
},
{
"task": {
"description": "Installing Base Game. Do not change target directory!",
"executable": "$DISC/setup.exe",
"name": "wineexec"
}
},
{
"task": {
"description": "Installing Patch 1.6\nIt might get stuck initializing for a while. ",
"executable": "patch16",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"description": "Installing Patch 1.7",
"executable": "patch17",
"name": "wineexec"
}
},
{
"execute": {
"command": "cd \"$GAMEDIR/drive_c/Program Files (x86)\"; chmod -R +w \"Activision\";"
}
},
{
"task": {
"app": "d3dx9",
"name": "winetricks",
"silent": false
}
},
{
"move": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3sp.exe.backup",
"src": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3sp.exe"
}
},
{
"move": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3mp-1.7.exe.backup",
"src": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/iw3mp.exe"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/",
"file": "cdpatch"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Call of Duty 4 - Modern Warfare/",
"file": "patch181"
}
}
]
}
}