Installer spore-ea-app

files:
- client: https://origin-a.akamaihd.net/EA-Desktop-Client-Download/installer-releases/EAappInstaller.exe
game:
  arch: win64
  exe: $GAMEDIR/drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating Wine Prefix...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: arial d3dcompiler_43 d3dcompiler_47 d3dx9
    description: Installing dependencies
    name: winetricks
    prefix: $GAMEDIR
- execute:
    command: mkdir "$GAMEDIR/nv-shaders"
- input_menu:
    description: 'Applying DXVK workarounds. Please select your GPU:'
    id: GPU
    options:
    - Not needed for AMD. Ignore this.: AMD
    - ? 'dxgi.customVendorId = 10de

        dxgi.nvapiHack = False'
      : Nvidia
    preselect: Not needed for AMD. Ignore this.
- write_file:
    content: $INPUT_GPU
    file: $GAMEDIR/dxvk.conf
- task:
    args: /silent
    description: Installing EA App...
    exclude_processes: EADesktop.exe EABackgroundService.exe EALocalHostSvc.exe QtWebEngineProcess.exe
      explorer.exe
    executable: client
    name: wineexec
    prefix: $GAMEDIR
    return_code: 768
- task:
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
    STAGING_SHARED_MEMORY: 0
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/nv-shaders
wine:
  overrides:
    nvapi,nvapi64: disabled
    xaudio2_7: native,builtin
description: This script will install the EA app. Once the installation is complete,
  you'll need to manually download Spore and its expansion packs through the installed
  EA app.
game_slug: spore
gogslug: spore_collection
humblestoreid: ''
installer_slug: spore-ea-app
name: Spore
notes: "**CONFIGURE AND INSTALL THE DEPENDENCIES FIRST**\r\nInstructions for D9VK\
  \ support: https://github.com/lutris/lutris/wiki/Installing-drivers"
runner: wine
script:
  files:
  - client: https://origin-a.akamaihd.net/EA-Desktop-Client-Download/installer-releases/EAappInstaller.exe
  game:
    arch: win64
    exe: $GAMEDIR/drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe
    prefix: $GAMEDIR
  installer:
  - task:
      description: Creating Wine Prefix...
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: arial d3dcompiler_43 d3dcompiler_47 d3dx9
      description: Installing dependencies
      name: winetricks
      prefix: $GAMEDIR
  - execute:
      command: mkdir "$GAMEDIR/nv-shaders"
  - input_menu:
      description: 'Applying DXVK workarounds. Please select your GPU:'
      id: GPU
      options:
      - Not needed for AMD. Ignore this.: AMD
      - ? 'dxgi.customVendorId = 10de

          dxgi.nvapiHack = False'
        : Nvidia
      preselect: Not needed for AMD. Ignore this.
  - write_file:
      content: $INPUT_GPU
      file: $GAMEDIR/dxvk.conf
  - task:
      args: /silent
      description: Installing EA App...
      exclude_processes: EADesktop.exe EABackgroundService.exe EALocalHostSvc.exe
        QtWebEngineProcess.exe explorer.exe
      executable: client
      name: wineexec
      prefix: $GAMEDIR
      return_code: 768
  - task:
      name: winekill
      prefix: $GAMEDIR
  system:
    env:
      DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
      STAGING_SHARED_MEMORY: 0
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/nv-shaders
  wine:
    overrides:
      nvapi,nvapi64: disabled
      xaudio2_7: native,builtin
slug: spore-ea-app
steamid: 17390
version: EA App
year: 2008
{
  "game_slug": "spore",
  "version": "EA App",
  "description": "This script will install the EA app. Once the installation is complete, you'll need to manually download Spore and its expansion packs through the installed EA app.",
  "notes": "**CONFIGURE AND INSTALL THE DEPENDENCIES FIRST**\r\nInstructions for D9VK support: https://github.com/lutris/lutris/wiki/Installing-drivers",
  "name": "Spore",
  "year": 2008,
  "steamid": 17390,
  "gogslug": "spore_collection",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "spore-ea-app",
  "installer_slug": "spore-ea-app",
  "script": {
    "files": [
      {
        "client": "https://origin-a.akamaihd.net/EA-Desktop-Client-Download/installer-releases/EAappInstaller.exe"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "$GAMEDIR/drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "description": "Creating Wine Prefix...",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "arial d3dcompiler_43 d3dcompiler_47 d3dx9",
          "description": "Installing dependencies",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "mkdir \"$GAMEDIR/nv-shaders\""
        }
      },
      {
        "input_menu": {
          "description": "Applying DXVK workarounds. Please select your GPU:",
          "id": "GPU",
          "options": [
            {
              "Not needed for AMD. Ignore this.": "AMD"
            },
            {
              "dxgi.customVendorId = 10de\ndxgi.nvapiHack = False": "Nvidia"
            }
          ],
          "preselect": "Not needed for AMD. Ignore this."
        }
      },
      {
        "write_file": {
          "content": "$INPUT_GPU",
          "file": "$GAMEDIR/dxvk.conf"
        }
      },
      {
        "task": {
          "args": "/silent",
          "description": "Installing EA App...",
          "exclude_processes": "EADesktop.exe EABackgroundService.exe EALocalHostSvc.exe QtWebEngineProcess.exe explorer.exe",
          "executable": "client",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "return_code": 768
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
        "STAGING_SHARED_MEMORY": 0,
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR/nv-shaders"
      }
    },
    "wine": {
      "overrides": {
        "nvapi,nvapi64": "disabled",
        "xaudio2_7": "native,builtin"
      }
    }
  }
}
Back to game