Installer originsro-dxvkdgvoodoo2

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:
- client: https://dl.originsro.org/client/OriginsRO-full-2020-03-05.zip
- dgvoodoo: http://dege.freeweb.hu/dgVoodoo2/dgVoodoo2_64.zip
game:
  exe: $GAMEDIR/OriginsroLauncher.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR
installer:
- execute:
    command: unzip $client -d $GAMEDIR && mv $GAMEDIR/OriginsRO/* $GAMEDIR && rmdir
      $GAMEDIR/OriginsRO
    description: Extracting OriginsRO...
- execute:
    command: unzip -P shitgoogle $dgvoodoo -d "$CACHE/dgvoodoo"
    description: Extracting dgVoodoo2...
- move:
    description: Installing dgVoodoo2 (1/3)...
    dst: $GAMEDIR
    src: $CACHE/dgvoodoo/dgVoodooCpl.exe
- move:
    description: Installing dgVoodoo2 (2/3)...
    dst: $GAMEDIR
    src: $CACHE/dgvoodoo/dgVoodoo.conf
- merge:
    description: Installing dgVoodoo2 (3/3)...
    dst: $GAMEDIR
    src: $CACHE/dgvoodoo/MS/x86/
- execute:
    command: sed -i 's/^dgVoodooWatermark *= *true/dgVoodooWatermark = false/g' $GAMEDIR/dgVoodoo.conf
    description: Configuring dgVoodoo2...
- execute:
    command: sed -i 's/^VRAM *= *[0-9][0-9]*/VRAM = 512/g' $GAMEDIR/dgVoodoo.conf
    description: Configuring dgVoodoo2...
- task:
    name: winekill
    prefix: $GAMEDIR
require-binaries: sed, unzip
system:
  env:
    DXVK_HUD: compiler
wine:
  dxvk: true
  esync: true
  overrides:
    d3d8: n
    d3d9: n
    d3dlmm: n
    ddraw: n
{
  "files": [
    {
      "client": "https://dl.originsro.org/client/OriginsRO-full-2020-03-05.zip"
    },
    {
      "dgvoodoo": "http://dege.freeweb.hu/dgVoodoo2/dgVoodoo2_64.zip"
    }
  ],
  "game": {
    "exe": "$GAMEDIR/OriginsroLauncher.exe",
    "prefix": "$GAMEDIR",
    "working_dir": "$GAMEDIR"
  },
  "installer": [
    {
      "execute": {
        "command": "unzip $client -d $GAMEDIR && mv $GAMEDIR/OriginsRO/* $GAMEDIR && rmdir $GAMEDIR/OriginsRO",
        "description": "Extracting OriginsRO..."
      }
    },
    {
      "execute": {
        "command": "unzip -P shitgoogle $dgvoodoo -d \"$CACHE/dgvoodoo\"",
        "description": "Extracting dgVoodoo2..."
      }
    },
    {
      "move": {
        "description": "Installing dgVoodoo2 (1/3)...",
        "dst": "$GAMEDIR",
        "src": "$CACHE/dgvoodoo/dgVoodooCpl.exe"
      }
    },
    {
      "move": {
        "description": "Installing dgVoodoo2 (2/3)...",
        "dst": "$GAMEDIR",
        "src": "$CACHE/dgvoodoo/dgVoodoo.conf"
      }
    },
    {
      "merge": {
        "description": "Installing dgVoodoo2 (3/3)...",
        "dst": "$GAMEDIR",
        "src": "$CACHE/dgvoodoo/MS/x86/"
      }
    },
    {
      "execute": {
        "command": "sed -i 's/^dgVoodooWatermark *= *true/dgVoodooWatermark = false/g' $GAMEDIR/dgVoodoo.conf",
        "description": "Configuring dgVoodoo2..."
      }
    },
    {
      "execute": {
        "command": "sed -i 's/^VRAM *= *[0-9][0-9]*/VRAM = 512/g' $GAMEDIR/dgVoodoo.conf",
        "description": "Configuring dgVoodoo2..."
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "require-binaries": "sed, unzip",
  "system": {
    "env": {
      "DXVK_HUD": "compiler"
    }
  },
  "wine": {
    "dxvk": true,
    "esync": true,
    "overrides": {
      "d3d8": "n",
      "d3d9": "n",
      "d3dlmm": "n",
      "ddraw": "n"
    }
  }
}
Back to game