Installer 3dmark_2005-pro-130-complete

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- setup: https://benchmarks.ul.com/downloads/3dmark05.exe
game:
  arch: win64
  exe: $GAMEDIR/drive_c/Program Files (x86)/Futuremark/3DMark05/3DMark05.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating 64-bit prefix ...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: l3codecx
    arch: win64
    description: MP3codec DirectShow ...
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: vcrun2010
    arch: win64
    description: Visual C++ 2010 libraries ...
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: win81
    arch: win64
    description: Windows version 8.1 ...
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: d9vk_master
    arch: win64
    description: Vulkan ...
    name: winetricks
    prefix: $GAMEDIR
- merge:
    description: Copying SystemInfo 4.15.0 from 3dmark_2006 ...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Futuremark/Futuremark SystemInfo/
    src: $GAMEDIR/../3dmark_2006/drive_c/Program Files (x86)/Futuremark/Futuremark
      SystemInfo/
- move:
    dst: $GAMEDIR
    src: setup
- chmodx: $GAMEDIR/3dmark05.exe
- task:
    description: 3DMark 2005 ...
    executable: $GAMEDIR/3dmark05.exe
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: cd $HOME/Games/3dmark_2005/drive_c/Program\ Files\ \(x86\)/Futuremark/Futuremark\
      SystemInfo && WINEPREFIX="$HOME/Games/3dmark_2005/" wine start register_fmsi.bat
    description: Register SystemInfo 4.15.0 ...
- task:
    arch: win64
    description: Register KeyCode ...
    key: KeyCode
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Futuremark\3DMark05
    type: REG_SZ
    value: C1S0A-2VF80-D6RHW-UWZLU
- task:
    arch: win64
    description: Register KeyCode ...
    key: KeyCode
    name: set_regedit
    path: HKEY_USERS\S-1-5-21-0-0-0-1000\Software\Futuremark\3DMark
    type: REG_SZ
    value: C1S0A-2VF80-D6RHW-UWZLU
system:
  disable_compositor: true
wine:
  Desktop: true
  dxvk: true
{
  "files": [
    {
      "setup": "https://benchmarks.ul.com/downloads/3dmark05.exe"
    }
  ],
  "game": {
    "arch": "win64",
    "exe": "$GAMEDIR/drive_c/Program Files (x86)/Futuremark/3DMark05/3DMark05.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "description": "Creating 64-bit prefix ...",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "l3codecx",
        "arch": "win64",
        "description": "MP3codec DirectShow ...",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "vcrun2010",
        "arch": "win64",
        "description": "Visual C++ 2010 libraries ...",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "win81",
        "arch": "win64",
        "description": "Windows version 8.1 ...",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "d9vk_master",
        "arch": "win64",
        "description": "Vulkan ...",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "merge": {
        "description": "Copying SystemInfo 4.15.0 from 3dmark_2006 ...",
        "dst": "$GAMEDIR/drive_c/Program Files (x86)/Futuremark/Futuremark SystemInfo/",
        "src": "$GAMEDIR/../3dmark_2006/drive_c/Program Files (x86)/Futuremark/Futuremark SystemInfo/"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR",
        "src": "setup"
      }
    },
    {
      "chmodx": "$GAMEDIR/3dmark05.exe"
    },
    {
      "task": {
        "description": "3DMark 2005 ...",
        "executable": "$GAMEDIR/3dmark05.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "cd $HOME/Games/3dmark_2005/drive_c/Program\\ Files\\ \\(x86\\)/Futuremark/Futuremark\\ SystemInfo && WINEPREFIX=\"$HOME/Games/3dmark_2005/\" wine start register_fmsi.bat",
        "description": "Register SystemInfo 4.15.0 ..."
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Register KeyCode ...",
        "key": "KeyCode",
        "name": "set_regedit",
        "path": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\Futuremark\\3DMark05",
        "type": "REG_SZ",
        "value": "C1S0A-2VF80-D6RHW-UWZLU"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Register KeyCode ...",
        "key": "KeyCode",
        "name": "set_regedit",
        "path": "HKEY_USERS\\S-1-5-21-0-0-0-1000\\Software\\Futuremark\\3DMark",
        "type": "REG_SZ",
        "value": "C1S0A-2VF80-D6RHW-UWZLU"
      }
    }
  ],
  "system": {
    "disable_compositor": true
  },
  "wine": {
    "Desktop": true,
    "dxvk": true
  }
}
Back to game