Installer realmyst-gog-dgvoodoo2

custom-name: realMyst - GOG
files:
- setup: N/A:Select the EXE downloaded from GOG
- dgv: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_61.zip
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/realMyst/resolution.sh
game:
  exe: drive_c/GOG Games/realMyst/RealMYST.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating WINE prefix
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /SUPPRESSMSGBOXES /SILENT
    description: Installing...
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/realMyst/
    file: dgv
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/realMyst/
    src: $GAMEDIR/drive_c/GOG Games/realMyst/MS/x86/DDraw.dll
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/realMyst/
    src: $GAMEDIR/drive_c/GOG Games/realMyst/MS/x86/D3DImm.dll
- execute:
    command: cd "$GAMEDIR/drive_c/GOG Games/realMyst/"; mv dgVoodoo.conf dgVoodoo_original.conf
- write_config:
    data:
      DirectX:
        ForceVerticalSync: true
        Resolution: max_qhd_isf
        VRAM: 256
        dgVoodooWatermark: false
      General:
        CaptureMouse: false
        FullScreenMode: false
        ScalingMode: stretched_ar
    file: $GAMEDIR/drive_c/GOG Games/realMyst/dgVoodoo.conf
- task:
    arch: win64
    key: ddraw
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides\
    prefix: $GAMEDIR
    type: REG_SZ
    value: native,builtin
- task:
    app: d3dcompiler_47
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: icodecs
    name: winetricks
    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:
    arch: win64
    key: csmt
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000000'
- execute:
    command: cd "$GAMEDIR/drive_c/GOG Games/realMyst" ; rm -f -r 3Dfx* Doc MS ddraw.dll
      webcache.zip glide* gog* Launch* nglide_* nGlideEULA.txt QuickGuide.html support.ico
      unins000.* ;
- chmodx: script
- execute:
    args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT
    file: script
wine:
  Desktop: true
description: "\"realMyst\" GOG edition with support for modern computer configuration.\r\
  \n\r\nThis script uses dgVoodoo2: http://www.dege.freeweb.hu/"
game_slug: realmyst
gogslug: ultra_pack_deluxe_turbo_hd_remix_vol2
humblestoreid: ''
installer_slug: realmyst-gog-dgvoodoo2
name: realMyst
notes: "this game could look stretched in widescreen resolution.\r\n- GOG stopped\
  \ to sell this game for 2014, but it stays available for download for gamers bought\
  \ this game before this date."
runner: wine
script:
  custom-name: realMyst - GOG
  files:
  - setup: N/A:Select the EXE downloaded from GOG
  - dgv: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_61.zip
  - script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/realMyst/resolution.sh
  game:
    exe: drive_c/GOG Games/realMyst/RealMYST.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating WINE prefix
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      args: /SUPPRESSMSGBOXES /SILENT
      description: Installing...
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/realMyst/
      file: dgv
  - copy:
      dst: $GAMEDIR/drive_c/GOG Games/realMyst/
      src: $GAMEDIR/drive_c/GOG Games/realMyst/MS/x86/DDraw.dll
  - copy:
      dst: $GAMEDIR/drive_c/GOG Games/realMyst/
      src: $GAMEDIR/drive_c/GOG Games/realMyst/MS/x86/D3DImm.dll
  - execute:
      command: cd "$GAMEDIR/drive_c/GOG Games/realMyst/"; mv dgVoodoo.conf dgVoodoo_original.conf
  - write_config:
      data:
        DirectX:
          ForceVerticalSync: true
          Resolution: max_qhd_isf
          VRAM: 256
          dgVoodooWatermark: false
        General:
          CaptureMouse: false
          FullScreenMode: false
          ScalingMode: stretched_ar
      file: $GAMEDIR/drive_c/GOG Games/realMyst/dgVoodoo.conf
  - task:
      arch: win64
      key: ddraw
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DllOverrides\
      prefix: $GAMEDIR
      type: REG_SZ
      value: native,builtin
  - task:
      app: d3dcompiler_47
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: icodecs
      name: winetricks
      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:
      arch: win64
      key: csmt
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
      prefix: $GAMEDIR
      type: REG_DWORD
      value: '00000000'
  - execute:
      command: cd "$GAMEDIR/drive_c/GOG Games/realMyst" ; rm -f -r 3Dfx* Doc MS ddraw.dll
        webcache.zip glide* gog* Launch* nglide_* nGlideEULA.txt QuickGuide.html support.ico
        unins000.* ;
  - chmodx: script
  - execute:
      args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT
      file: script
  wine:
    Desktop: true
slug: realmyst-gog-dgvoodoo2
steamid: 63600
version: GOG + dgVoodoo2
year: 2000
{
  "game_slug": "realmyst",
  "version": "GOG + dgVoodoo2",
  "description": "\"realMyst\" GOG edition with support for modern computer configuration.\r\n\r\nThis script uses dgVoodoo2: http://www.dege.freeweb.hu/",
  "notes": "this game could look stretched in widescreen resolution.\r\n- GOG stopped to sell this game for 2014, but it stays available for download for gamers bought this game before this date.",
  "name": "realMyst",
  "year": 2000,
  "steamid": 63600,
  "gogslug": "ultra_pack_deluxe_turbo_hd_remix_vol2",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "realmyst-gog-dgvoodoo2",
  "installer_slug": "realmyst-gog-dgvoodoo2",
  "script": {
    "custom-name": "realMyst - GOG",
    "files": [
      {
        "setup": "N/A:Select the EXE downloaded from GOG"
      },
      {
        "dgv": "https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_61.zip"
      },
      {
        "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/realMyst/resolution.sh"
      }
    ],
    "game": {
      "exe": "drive_c/GOG Games/realMyst/RealMYST.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating WINE prefix",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/SUPPRESSMSGBOXES /SILENT",
          "description": "Installing...",
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/realMyst/",
          "file": "dgv"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/GOG Games/realMyst/",
          "src": "$GAMEDIR/drive_c/GOG Games/realMyst/MS/x86/DDraw.dll"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/GOG Games/realMyst/",
          "src": "$GAMEDIR/drive_c/GOG Games/realMyst/MS/x86/D3DImm.dll"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/GOG Games/realMyst/\"; mv dgVoodoo.conf dgVoodoo_original.conf"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "ForceVerticalSync": true,
              "Resolution": "max_qhd_isf",
              "VRAM": 256,
              "dgVoodooWatermark": false
            },
            "General": {
              "CaptureMouse": false,
              "FullScreenMode": false,
              "ScalingMode": "stretched_ar"
            }
          },
          "file": "$GAMEDIR/drive_c/GOG Games/realMyst/dgVoodoo.conf"
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "ddraw",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides\\",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "native,builtin"
        }
      },
      {
        "task": {
          "app": "d3dcompiler_47",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "icodecs",
          "name": "winetricks",
          "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": {
          "arch": "win64",
          "key": "csmt",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
          "prefix": "$GAMEDIR",
          "type": "REG_DWORD",
          "value": "00000000"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/GOG Games/realMyst\" ; rm -f -r 3Dfx* Doc MS ddraw.dll webcache.zip glide* gog* Launch* nglide_* nGlideEULA.txt QuickGuide.html support.ico unins000.* ;"
        }
      },
      {
        "chmodx": "script"
      },
      {
        "execute": {
          "args": "$RESOLUTION_WIDTH $RESOLUTION_HEIGHT",
          "file": "script"
        }
      }
    ],
    "wine": {
      "Desktop": true
    }
  }
}
Back to game