Installer cncnet-latest

files:
- xnafx40: https://download.microsoft.com/download/A/C/2/AC2C903B-E6E8-42C2-9FD7-BEBAC362A930/xnafx40_redist.msi
- cncnet-yuris-revenge: https://downloads.cncnet.org/CnCNet5_YR_Installer.exe
game:
  exe: $GAMEDIR/drive_c/Program Files/EA Games/Command and Conquer Red Alert II/CnCNetYRLauncher.exe
  working_dir: $GAMEDIR
installer:
- task:
    app: dotnet48
    name: winetricks
    prefix: $GAMEDIR
- task:
    description: Installing Microsoft .NET Framework 4 Client Profile (requirement)...
    executable: xnafx40
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Installing CnCNet Yuri's Revenge client...
    exclude_processes: CnCNetYRLauncher.exe clientxna.exe
    executable: cncnet-yuris-revenge
    name: wineexec
    prefix: $GAMEDIR
requires: origin
description: 'Required: Origin with Red Alert 2: Yuri''s Revenge installed.'
game_slug: cncnet
gogslug: ''
humblestoreid: ''
installer_slug: cncnet-latest
name: CnCNet
notes: '- If you''d experience glitches in game, you can try to change the Renderer
  to ''TS-DDraw (GDI)'' (hover the top bar of the client > Options > Display) within
  the client itself.'
runner: wine
script:
  files:
  - xnafx40: https://download.microsoft.com/download/A/C/2/AC2C903B-E6E8-42C2-9FD7-BEBAC362A930/xnafx40_redist.msi
  - cncnet-yuris-revenge: https://downloads.cncnet.org/CnCNet5_YR_Installer.exe
  game:
    exe: $GAMEDIR/drive_c/Program Files/EA Games/Command and Conquer Red Alert II/CnCNetYRLauncher.exe
    working_dir: $GAMEDIR
  installer:
  - task:
      app: dotnet48
      name: winetricks
      prefix: $GAMEDIR
  - task:
      description: Installing Microsoft .NET Framework 4 Client Profile (requirement)...
      executable: xnafx40
      name: wineexec
      prefix: $GAMEDIR
  - task:
      description: Installing CnCNet Yuri's Revenge client...
      exclude_processes: CnCNetYRLauncher.exe clientxna.exe
      executable: cncnet-yuris-revenge
      name: wineexec
      prefix: $GAMEDIR
  requires: origin
slug: cncnet-latest
steamid: null
version: latest
year: 2009
{
  "game_slug": "cncnet",
  "version": "latest",
  "description": "Required: Origin with Red Alert 2: Yuri's Revenge installed.",
  "notes": "- If you'd experience glitches in game, you can try to change the Renderer to 'TS-DDraw (GDI)' (hover the top bar of the client > Options > Display) within the client itself.",
  "name": "CnCNet",
  "year": 2009,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "cncnet-latest",
  "installer_slug": "cncnet-latest",
  "script": {
    "files": [
      {
        "xnafx40": "https://download.microsoft.com/download/A/C/2/AC2C903B-E6E8-42C2-9FD7-BEBAC362A930/xnafx40_redist.msi"
      },
      {
        "cncnet-yuris-revenge": "https://downloads.cncnet.org/CnCNet5_YR_Installer.exe"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/Program Files/EA Games/Command and Conquer Red Alert II/CnCNetYRLauncher.exe",
      "working_dir": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "app": "dotnet48",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing Microsoft .NET Framework 4 Client Profile (requirement)...",
          "executable": "xnafx40",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing CnCNet Yuri's Revenge client...",
          "exclude_processes": "CnCNetYRLauncher.exe clientxna.exe",
          "executable": "cncnet-yuris-revenge",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "requires": "origin"
  }
}
Back to game