Installer playstation-now-latest

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:
- psnowsetup:
    filename: psnowlatest.exe
    url: https://download-psnow.playstation.com/downloads/psnow/pc/latest
game:
  args: c:\\psnow.bat
  exe: drive_c/windows/syswow64/wineconsole.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
- task:
    app: win10 vcrun2013 winhttp wininet
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /desktop=PSNow,1024x780 $psnowsetup
    description: Installing PSNow...
    executable: $GAMEDIR/drive_c/windows/explorer.exe
    include_processes: explorer.exe
    name: wineexec
- write_file:
    content: '@echo off

      title Focus this windows and press a key to force PS Now to quit.

      c:

      cd \

      cd Program Files (x86)\PlayStationNow

      start psnowlauncher.exe

      echo. ===========================================================

      echo. focus this windows and press a key to force PS Now to quit.

      echo. ===========================================================

      echo.

      echo.

      pause

      taskkill /F /IM psnowlauncher.exe'
    file: $GAMEDIR/drive_c/psnow.bat
- task:
    app: win7
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
wine:
  Desktop: true
{
  "files": [
    {
      "psnowsetup": {
        "filename": "psnowlatest.exe",
        "url": "https://download-psnow.playstation.com/downloads/psnow/pc/latest"
      }
    }
  ],
  "game": {
    "args": "c:\\\\psnow.bat",
    "exe": "drive_c/windows/syswow64/wineconsole.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "install_gecko": false,
        "install_mono": false,
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "background",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "0 0 0"
      }
    },
    {
      "task": {
        "app": "win10 vcrun2013 winhttp wininet",
        "arch": "win64",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "args": "/desktop=PSNow,1024x780 $psnowsetup",
        "description": "Installing PSNow...",
        "executable": "$GAMEDIR/drive_c/windows/explorer.exe",
        "include_processes": "explorer.exe",
        "name": "wineexec"
      }
    },
    {
      "write_file": {
        "content": "@echo off\ntitle Focus this windows and press a key to force PS Now to quit.\nc:\ncd \\\ncd Program Files (x86)\\PlayStationNow\nstart psnowlauncher.exe\necho. ===========================================================\necho. focus this windows and press a key to force PS Now to quit.\necho. ===========================================================\necho.\necho.\npause\ntaskkill /F /IM psnowlauncher.exe",
        "file": "$GAMEDIR/drive_c/psnow.bat"
      }
    },
    {
      "task": {
        "app": "win7",
        "arch": "win64",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "wine": {
    "Desktop": true
  }
}
Back to game