Installer playstation-now-latest

files:
- psnowsetup:
    filename: psnowlatest.exe
    url: https://download-psnow.playstation.com/downloads/psnow/pc/latest
- dll: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/OBSOLETE%20NO%20MORE%20MAINTAINED/Playstation%20Now/msvcr120.dll.tar.xz
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
- merge:
    dst: $GAMEDIR/drive_c/tmp
    src: psnowsetup
- extract:
    dst: $GAMEDIR/drive_c/tmp
    format: txz
    src: dll
- task:
    args: /extract
    description: Installing PSNow...Do not execute app at the end of the install,
      just close setup program.
    executable: $GAMEDIR/drive_c/tmp/psnowlatest.exe
    name: wineexec
- execute:
    command: cd "$GAMEDIR/drive_c/tmp"; PSNDIR=$(ls -td * | head -1); mv $PSNDIR ../PlayStationNow;
      mv msvcr120.dll ../PlayStationNow;
- write_config:
    file: $GAMEDIR/drive_c/PlayStationNow/unidater.ini
    key: URL
    merge: true
    section: config
    value: null
- write_file:
    content: '@echo off

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

      c:

      cd \

      cd 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
  overrides:
    msvcr120.dll: n
description: Play Playstation 1,2,3,4 games on Linux.
game_slug: playstation-now
gogslug: ''
humblestoreid: ''
installer_slug: playstation-now-latest
name: PlayStation Now
notes: "- This script will download the latest PSNow client version from PlayStation\
  \ official servers\r\n- x360 and PS3 Dualshock 3 compatible\r\n \r\n-- \"PlayStation\
  \ Now\" does not exit cleanly with Wine. Workaround: Focus the DOS terminal window\
  \ located in the top left corner and press a key to force PS Now to exit\r\n-- White\
  \ rectangular window at the right bottom corner. Workaround: use PSNow window in\
  \ fullscreen (press F11). Same method if main Window becomes  black or white, press\
  \ F11 to refresh it\r\n-- no Directx11 or DXVK compatible for the moment (Wine bug\
  \ https://bugs.winehq.org/show_bug.cgi?id=48581)\r\n-- works only with Proton-GE\
  \ available for download here: \r\nhttps://github.com/GloriousEggroll/proton-ge-custom/releases/tag/6.21-GE-2,\
  \ then extract archive to $home/.local/share/lutris/runners/wine/ and move all content\
  \ from /Proton-6.21-GE-2/files/ to /Proton-6.21-GE-2/"
runner: wine
script:
  files:
  - psnowsetup:
      filename: psnowlatest.exe
      url: https://download-psnow.playstation.com/downloads/psnow/pc/latest
  - dll: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/OBSOLETE%20NO%20MORE%20MAINTAINED/Playstation%20Now/msvcr120.dll.tar.xz
  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
  - merge:
      dst: $GAMEDIR/drive_c/tmp
      src: psnowsetup
  - extract:
      dst: $GAMEDIR/drive_c/tmp
      format: txz
      src: dll
  - task:
      args: /extract
      description: Installing PSNow...Do not execute app at the end of the install,
        just close setup program.
      executable: $GAMEDIR/drive_c/tmp/psnowlatest.exe
      name: wineexec
  - execute:
      command: cd "$GAMEDIR/drive_c/tmp"; PSNDIR=$(ls -td * | head -1); mv $PSNDIR
        ../PlayStationNow; mv msvcr120.dll ../PlayStationNow;
  - write_config:
      file: $GAMEDIR/drive_c/PlayStationNow/unidater.ini
      key: URL
      merge: true
      section: config
      value: null
  - write_file:
      content: '@echo off

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

        c:

        cd \

        cd 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
    overrides:
      msvcr120.dll: n
slug: playstation-now-latest
steamid: null
version: Latest
year: 2018
{
  "game_slug": "playstation-now",
  "version": "Latest",
  "description": "Play Playstation 1,2,3,4 games on Linux.",
  "notes": "- This script will download the latest PSNow client version from PlayStation official servers\r\n- x360 and PS3 Dualshock 3 compatible\r\n \r\n-- \"PlayStation Now\" does not exit cleanly with Wine. Workaround: Focus the DOS terminal window located in the top left corner and press a key to force PS Now to exit\r\n-- White rectangular window at the right bottom corner. Workaround: use PSNow window in fullscreen (press F11). Same method if main Window becomes  black or white, press F11 to refresh it\r\n-- no Directx11 or DXVK compatible for the moment (Wine bug https://bugs.winehq.org/show_bug.cgi?id=48581)\r\n-- works only with Proton-GE available for download here: \r\nhttps://github.com/GloriousEggroll/proton-ge-custom/releases/tag/6.21-GE-2, then extract archive to $home/.local/share/lutris/runners/wine/ and move all content from /Proton-6.21-GE-2/files/ to /Proton-6.21-GE-2/",
  "name": "PlayStation Now",
  "year": 2018,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "playstation-now-latest",
  "installer_slug": "playstation-now-latest",
  "script": {
    "files": [
      {
        "psnowsetup": {
          "filename": "psnowlatest.exe",
          "url": "https://download-psnow.playstation.com/downloads/psnow/pc/latest"
        }
      },
      {
        "dll": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/OBSOLETE%20NO%20MORE%20MAINTAINED/Playstation%20Now/msvcr120.dll.tar.xz"
      }
    ],
    "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"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/tmp",
          "src": "psnowsetup"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/tmp",
          "format": "txz",
          "src": "dll"
        }
      },
      {
        "task": {
          "args": "/extract",
          "description": "Installing PSNow...Do not execute app at the end of the install, just close setup program.",
          "executable": "$GAMEDIR/drive_c/tmp/psnowlatest.exe",
          "name": "wineexec"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/tmp\"; PSNDIR=$(ls -td * | head -1); mv $PSNDIR ../PlayStationNow; mv msvcr120.dll ../PlayStationNow;"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/drive_c/PlayStationNow/unidater.ini",
          "key": "URL",
          "merge": true,
          "section": "config",
          "value": null
        }
      },
      {
        "write_file": {
          "content": "@echo off\ntitle Focus this windows and press a key to force PS Now to quit.\nc:\ncd \\\ncd 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,
      "overrides": {
        "msvcr120.dll": "n"
      }
    }
  }
}
Back to game