Installer battlefield-2-installer-cd-bf2-bas

files:
- bf2-setup: 'N/A: Select BF2 Standalone setup.exe'
- bf2-sp-setup: 'N/A: Select BF2 Special Forces setup.exe'
- bf2-patch-141: https://gamefiles.bf2hub.com/BF2_Patch_1_41_Full.exe
- bf2-patch-150: https://gamefiles.bf2hub.com/BF2_Patch_1_50_Full.exe
- punkbuster: https://www.bf2hub.com/downloads/pb-bf2-latest.zip
- bf2hub: https://www.bf2hub.com/downloads/bf2hub-client-setup.exe
game:
  args: +menu 1 +fullscreen 1
  exe: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2/BF2.exe
  launch_configs:
  - args: +menu 1 +fullscreen 1 +modPath mods/xpack +ignoreAsserts 1
    exe: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2/BF2.exe
    name: 'Battlefield 2: Special Forces'
    working_dir: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2
  - exe: $GAMEDIR/drive_c/Program Files (x86)/BF2Hub Client/bf2hub.exe
    name: BF2Hub Client
    working_dir: $GAMEDIR/drive_c/Program Files (x86)/BF2Hub Client
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2
installer:
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    description: Installing Battlefield 2
    executable: bf2-setup
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Installing Battlefield 2 Special Forces
    executable: bf2-sp-setup
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Installing Patch 1.41
    executable: bf2-patch-141
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Installing Patch 1.50
    executable: bf2-patch-150
    name: wineexec
    prefix: $GAMEDIR
- extract:
    description: Extracting Punkbuster
    dst: $CACHE
    file: punkbuster
- merge:
    description: Copying Punkbuster folder
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2/pb/
    src: $CACHE/pb
- task:
    description: Installing Punkbuster Service
    executable: $CACHE/pbsvc.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Installing BF2Hub
    executable: bf2hub
    name: wineexec
    prefix: $GAMEDIR
wine:
  dxvk: true
  esync: true
description: Install Battlefield 2 Complete Edition + Patch 1.50 + BF2Hub Client
game_slug: battlefield-2
gogslug: ''
humblestoreid: ''
installer_slug: battlefield-2-installer-cd-bf2-bas
name: Battlefield 2
notes: "- Requires BF2 Standalone and BF2 Special Forces setup executables from the\
  \ original DVD installer.\r\n - During installation, it is not necessary to install\
  \ GameSpy components\r\n- After installation, close the \"BF2Hub Client\" in the\
  \ tray to complete the installation."
runner: wine
script:
  files:
  - bf2-setup: 'N/A: Select BF2 Standalone setup.exe'
  - bf2-sp-setup: 'N/A: Select BF2 Special Forces setup.exe'
  - bf2-patch-141: https://gamefiles.bf2hub.com/BF2_Patch_1_41_Full.exe
  - bf2-patch-150: https://gamefiles.bf2hub.com/BF2_Patch_1_50_Full.exe
  - punkbuster: https://www.bf2hub.com/downloads/pb-bf2-latest.zip
  - bf2hub: https://www.bf2hub.com/downloads/bf2hub-client-setup.exe
  game:
    args: +menu 1 +fullscreen 1
    exe: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2/BF2.exe
    launch_configs:
    - args: +menu 1 +fullscreen 1 +modPath mods/xpack +ignoreAsserts 1
      exe: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2/BF2.exe
      name: 'Battlefield 2: Special Forces'
      working_dir: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2
    - exe: $GAMEDIR/drive_c/Program Files (x86)/BF2Hub Client/bf2hub.exe
      name: BF2Hub Client
      working_dir: $GAMEDIR/drive_c/Program Files (x86)/BF2Hub Client
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2
  installer:
  - task:
      arch: win64
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      description: Installing Battlefield 2
      executable: bf2-setup
      name: wineexec
      prefix: $GAMEDIR
  - task:
      description: Installing Battlefield 2 Special Forces
      executable: bf2-sp-setup
      name: wineexec
      prefix: $GAMEDIR
  - task:
      description: Installing Patch 1.41
      executable: bf2-patch-141
      name: wineexec
      prefix: $GAMEDIR
  - task:
      description: Installing Patch 1.50
      executable: bf2-patch-150
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      description: Extracting Punkbuster
      dst: $CACHE
      file: punkbuster
  - merge:
      description: Copying Punkbuster folder
      dst: $GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2/pb/
      src: $CACHE/pb
  - task:
      description: Installing Punkbuster Service
      executable: $CACHE/pbsvc.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      description: Installing BF2Hub
      executable: bf2hub
      name: wineexec
      prefix: $GAMEDIR
  wine:
    dxvk: true
    esync: true
slug: battlefield-2-installer-cd-bf2-bas
steamid: 24860
version: Installer CD (BF2 Base + BF2 SF)
year: 2005
{
  "game_slug": "battlefield-2",
  "version": "Installer CD (BF2 Base + BF2 SF)",
  "description": "Install Battlefield 2 Complete Edition + Patch 1.50 + BF2Hub Client",
  "notes": "- Requires BF2 Standalone and BF2 Special Forces setup executables from the original DVD installer.\r\n - During installation, it is not necessary to install GameSpy components\r\n- After installation, close the \"BF2Hub Client\" in the tray to complete the installation.",
  "name": "Battlefield 2",
  "year": 2005,
  "steamid": 24860,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "battlefield-2-installer-cd-bf2-bas",
  "installer_slug": "battlefield-2-installer-cd-bf2-bas",
  "script": {
    "files": [
      {
        "bf2-setup": "N/A: Select BF2 Standalone setup.exe"
      },
      {
        "bf2-sp-setup": "N/A: Select BF2 Special Forces setup.exe"
      },
      {
        "bf2-patch-141": "https://gamefiles.bf2hub.com/BF2_Patch_1_41_Full.exe"
      },
      {
        "bf2-patch-150": "https://gamefiles.bf2hub.com/BF2_Patch_1_50_Full.exe"
      },
      {
        "punkbuster": "https://www.bf2hub.com/downloads/pb-bf2-latest.zip"
      },
      {
        "bf2hub": "https://www.bf2hub.com/downloads/bf2hub-client-setup.exe"
      }
    ],
    "game": {
      "args": "+menu 1 +fullscreen 1",
      "exe": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2/BF2.exe",
      "launch_configs": [
        {
          "args": "+menu 1 +fullscreen 1 +modPath mods/xpack +ignoreAsserts 1",
          "exe": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2/BF2.exe",
          "name": "Battlefield 2: Special Forces",
          "working_dir": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2"
        },
        {
          "exe": "$GAMEDIR/drive_c/Program Files (x86)/BF2Hub Client/bf2hub.exe",
          "name": "BF2Hub Client",
          "working_dir": "$GAMEDIR/drive_c/Program Files (x86)/BF2Hub Client"
        }
      ],
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing Battlefield 2",
          "executable": "bf2-setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing Battlefield 2 Special Forces",
          "executable": "bf2-sp-setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing Patch 1.41",
          "executable": "bf2-patch-141",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing Patch 1.50",
          "executable": "bf2-patch-150",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "description": "Extracting Punkbuster",
          "dst": "$CACHE",
          "file": "punkbuster"
        }
      },
      {
        "merge": {
          "description": "Copying Punkbuster folder",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA GAMES/Battlefield 2/pb/",
          "src": "$CACHE/pb"
        }
      },
      {
        "task": {
          "description": "Installing Punkbuster Service",
          "executable": "$CACHE/pbsvc.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing BF2Hub",
          "executable": "bf2hub",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "wine": {
      "dxvk": true,
      "esync": true
    }
  }
}
Back to game