Installer phantasy-star-universe-clementine

files:
- installer: N/A:Select the ClementineInstaller.zip archive
- patch: N/A:Select the ClemPatchOct20201030.exe executable
game:
  arch: win64
  exe: drive_c/Program Files (x86)/Phantasy Star Universe Clementine/online.exe
  prefix: $GAMEDIR
installer:
- extract:
    dst: $CACHE/ClementineInstaller
    file: installer
- task:
    arch: win64
    description: Creating Wine prefix
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: dotnet472 vcrun2019 win10 csmt=off
    description: Installing .NET 4.72, could take up to 10-20 minutes, please wait...
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /VERYSILENT /ALLUSERS
    description: Installing Clementine
    executable: $CACHE/ClementineInstaller/ClementineInstaller.exe
    name: wineexec
- task:
    args: /VERYSILENT
    description: Applying client patch
    executable: patch
    name: wineexec
- execute:
    command: sed -i -e 's/BUTTON_B=.*/BUTTON_B=1/' -e 's/BUTTON_A=.*/BUTTON_A=2/'
      -e 's/BUTTON_X=.*/BUTTON_X=4/' -e 's/BUTTON_Y=.*/BUTTON_Y=3/' -e 's/BUTTON_L1=.*/BUTTON_L1=5/'
      -e 's/BUTTON_R1=.*/BUTTON_R1=6/' -e 's/BUTTON_L2=.*/BUTTON_L2=7/' -e 's/BUTTON_R2=.*/BUTTON_R2=8/'
      -e 's/BUTTON_R3=.*/BUTTON_R3=13/' -e 's/BUTTON_START=.*/BUTTON_START=10/' -e
      's/BUTTON_L3=.*/BUTTON_L3=12/' -e 's/STICK2_INPUT_X=.*/STICK2_INPUT_X=4/' -e
      's/STICK2_INPUT_Y=.*/STICK2_INPUT_Y=5/' "$GAMEDIR/drive_c/users/$USER/AppData/Local/SEGA/PHANTASY
      STAR UNIVERSE Illuminus/PsuIlluminus.ini"
    description: Applying DualShock 4 / DualSense controller configuration
system:
  pulse_latency: true
description: Installation script for Phantasy Star Universe by SEGA for the purpose
  of connecting to the Clementine private server. Clementine revives the game's Online
  Mode, which was shut down by SEGA in 2012. Download both the Client and Patch locally
  from https://psu-clementine.net/community/index.php?/client_download/ before proceeding.
game_slug: phantasy-star-universe
gogslug: ''
humblestoreid: ''
installer_slug: phantasy-star-universe-clementine
name: Phantasy Star Universe
notes: "Controller configuration is preconfigured for DualShock 4 / DualSense controllers.\
  \ Customization may still be necessary for other controller types.\r\nBe aware that\
  \ the game client will instantly close if it loses focus while using the game's\
  \ fullscreen mode. Use of gamescope or other borderless-windowed configuration is\
  \ recommended to avoid this."
runner: wine
script:
  files:
  - installer: N/A:Select the ClementineInstaller.zip archive
  - patch: N/A:Select the ClemPatchOct20201030.exe executable
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/Phantasy Star Universe Clementine/online.exe
    prefix: $GAMEDIR
  installer:
  - extract:
      dst: $CACHE/ClementineInstaller
      file: installer
  - task:
      arch: win64
      description: Creating Wine prefix
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: dotnet472 vcrun2019 win10 csmt=off
      description: Installing .NET 4.72, could take up to 10-20 minutes, please wait...
      name: winetricks
      prefix: $GAMEDIR
  - task:
      args: /VERYSILENT /ALLUSERS
      description: Installing Clementine
      executable: $CACHE/ClementineInstaller/ClementineInstaller.exe
      name: wineexec
  - task:
      args: /VERYSILENT
      description: Applying client patch
      executable: patch
      name: wineexec
  - execute:
      command: sed -i -e 's/BUTTON_B=.*/BUTTON_B=1/' -e 's/BUTTON_A=.*/BUTTON_A=2/'
        -e 's/BUTTON_X=.*/BUTTON_X=4/' -e 's/BUTTON_Y=.*/BUTTON_Y=3/' -e 's/BUTTON_L1=.*/BUTTON_L1=5/'
        -e 's/BUTTON_R1=.*/BUTTON_R1=6/' -e 's/BUTTON_L2=.*/BUTTON_L2=7/' -e 's/BUTTON_R2=.*/BUTTON_R2=8/'
        -e 's/BUTTON_R3=.*/BUTTON_R3=13/' -e 's/BUTTON_START=.*/BUTTON_START=10/'
        -e 's/BUTTON_L3=.*/BUTTON_L3=12/' -e 's/STICK2_INPUT_X=.*/STICK2_INPUT_X=4/'
        -e 's/STICK2_INPUT_Y=.*/STICK2_INPUT_Y=5/' "$GAMEDIR/drive_c/users/$USER/AppData/Local/SEGA/PHANTASY
        STAR UNIVERSE Illuminus/PsuIlluminus.ini"
      description: Applying DualShock 4 / DualSense controller configuration
  system:
    pulse_latency: true
slug: phantasy-star-universe-clementine
steamid: null
version: Clementine
year: 2006
{
  "game_slug": "phantasy-star-universe",
  "version": "Clementine",
  "description": "Installation script for Phantasy Star Universe by SEGA for the purpose of connecting to the Clementine private server. Clementine revives the game's Online Mode, which was shut down by SEGA in 2012. Download both the Client and Patch locally from https://psu-clementine.net/community/index.php?/client_download/ before proceeding.",
  "notes": "Controller configuration is preconfigured for DualShock 4 / DualSense controllers. Customization may still be necessary for other controller types.\r\nBe aware that the game client will instantly close if it loses focus while using the game's fullscreen mode. Use of gamescope or other borderless-windowed configuration is recommended to avoid this.",
  "name": "Phantasy Star Universe",
  "year": 2006,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "phantasy-star-universe-clementine",
  "installer_slug": "phantasy-star-universe-clementine",
  "script": {
    "files": [
      {
        "installer": "N/A:Select the ClementineInstaller.zip archive"
      },
      {
        "patch": "N/A:Select the ClemPatchOct20201030.exe executable"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/Phantasy Star Universe Clementine/online.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE/ClementineInstaller",
          "file": "installer"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine prefix",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "dotnet472 vcrun2019 win10 csmt=off",
          "description": "Installing .NET 4.72, could take up to 10-20 minutes, please wait...",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/VERYSILENT /ALLUSERS",
          "description": "Installing Clementine",
          "executable": "$CACHE/ClementineInstaller/ClementineInstaller.exe",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "args": "/VERYSILENT",
          "description": "Applying client patch",
          "executable": "patch",
          "name": "wineexec"
        }
      },
      {
        "execute": {
          "command": "sed -i -e 's/BUTTON_B=.*/BUTTON_B=1/' -e 's/BUTTON_A=.*/BUTTON_A=2/' -e 's/BUTTON_X=.*/BUTTON_X=4/' -e 's/BUTTON_Y=.*/BUTTON_Y=3/' -e 's/BUTTON_L1=.*/BUTTON_L1=5/' -e 's/BUTTON_R1=.*/BUTTON_R1=6/' -e 's/BUTTON_L2=.*/BUTTON_L2=7/' -e 's/BUTTON_R2=.*/BUTTON_R2=8/' -e 's/BUTTON_R3=.*/BUTTON_R3=13/' -e 's/BUTTON_START=.*/BUTTON_START=10/' -e 's/BUTTON_L3=.*/BUTTON_L3=12/' -e 's/STICK2_INPUT_X=.*/STICK2_INPUT_X=4/' -e 's/STICK2_INPUT_Y=.*/STICK2_INPUT_Y=5/' \"$GAMEDIR/drive_c/users/$USER/AppData/Local/SEGA/PHANTASY STAR UNIVERSE Illuminus/PsuIlluminus.ini\"",
          "description": "Applying DualShock 4 / DualSense controller configuration"
        }
      }
    ],
    "system": {
      "pulse_latency": true
    }
  }
}
Back to game