Installer homeworld-emergence-gog

files:
- installer: N/A:Please select the GOG.com Windows installer
game:
  arch: win32
  args: -disableAVI -noglddraw -noswddraw -device gl -enableSSE
  exe: $GAMEDIR/drive_c/GOG Games/Homeworld Emergence/cataclysm.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win32
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- task:
    key: deviceToSelect
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm
    type: REG_SZ
    value: gl
- task:
    key: glToSelect
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm
    type: REG_SZ
    value: opengl32.dll
- task:
    key: screenDepth
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm
    type: REG_DWORD
    value: '20'
- task:
    arch: win32
    description: Please navigate to HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm
      and set screenHeight and screenWidth to height and width of the native resolution
      of your monitor (switch from hexadecimal to decimal before entering the values).
      Exit regedit afterwards.
    executable: regedit
    name: wineexec
    prefix: $GAMEDIR
system:
  env:
    __GL_FSAA_MODE: -1
    __GL_LOG_MAX_ANISO: -1
  pulse_latency: true
description: null
game_slug: homeworld-emergence
gogslug: homeworld_emergence
humblestoreid: ''
installer_slug: homeworld-emergence-gog
name: 'Homeworld: Emergence'
notes: "- The GOG installer may throw errors which can be ignored\r\n- To setup the\
  \ game properly a few manual steps are required:\r\n 1. When the GOG installer finished\
  \ do not exit it, instead click \"Launch Game\"\r\n 2. In the game go to Options\
  \ -> Video and set the settings to your liking but do not touch renderer or resolution\r\
  \n 3. Exit the game\r\n 4. Regedit will now open, navigate to HKEY_LOCAL_MACHINE\\\
  Software\\Sierra On-Line\\Cataclysm and set screenHeight and screenWidth to height\
  \ and width of the native resolution of your monitor (switch from hexadecimal to\
  \ decimal before entering the values)\r\n- Changing video options afterwards requires\
  \ to setup renderer and resolution again, for this follow the steps at https://appdb.winehq.org/objectManager.php?sClass=version&iId=38025&iTestingId=105557"
runner: wine
script:
  files:
  - installer: N/A:Please select the GOG.com Windows installer
  game:
    arch: win32
    args: -disableAVI -noglddraw -noswddraw -device gl -enableSSE
    exe: $GAMEDIR/drive_c/GOG Games/Homeworld Emergence/cataclysm.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win32
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      arch: win32
      executable: installer
      name: wineexec
      prefix: $GAMEDIR
  - task:
      key: deviceToSelect
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm
      type: REG_SZ
      value: gl
  - task:
      key: glToSelect
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm
      type: REG_SZ
      value: opengl32.dll
  - task:
      key: screenDepth
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm
      type: REG_DWORD
      value: '20'
  - task:
      arch: win32
      description: Please navigate to HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm
        and set screenHeight and screenWidth to height and width of the native resolution
        of your monitor (switch from hexadecimal to decimal before entering the values).
        Exit regedit afterwards.
      executable: regedit
      name: wineexec
      prefix: $GAMEDIR
  system:
    env:
      __GL_FSAA_MODE: -1
      __GL_LOG_MAX_ANISO: -1
    pulse_latency: true
slug: homeworld-emergence-gog
steamid: null
version: GOG
year: 2000
{
  "game_slug": "homeworld-emergence",
  "version": "GOG",
  "description": null,
  "notes": "- The GOG installer may throw errors which can be ignored\r\n- To setup the game properly a few manual steps are required:\r\n 1. When the GOG installer finished do not exit it, instead click \"Launch Game\"\r\n 2. In the game go to Options -> Video and set the settings to your liking but do not touch renderer or resolution\r\n 3. Exit the game\r\n 4. Regedit will now open, navigate to HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Cataclysm and set screenHeight and screenWidth to height and width of the native resolution of your monitor (switch from hexadecimal to decimal before entering the values)\r\n- Changing video options afterwards requires to setup renderer and resolution again, for this follow the steps at https://appdb.winehq.org/objectManager.php?sClass=version&iId=38025&iTestingId=105557",
  "name": "Homeworld: Emergence",
  "year": 2000,
  "steamid": null,
  "gogslug": "homeworld_emergence",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "homeworld-emergence-gog",
  "installer_slug": "homeworld-emergence-gog",
  "script": {
    "files": [
      {
        "installer": "N/A:Please select the GOG.com Windows installer"
      }
    ],
    "game": {
      "arch": "win32",
      "args": "-disableAVI -noglddraw -noswddraw -device gl -enableSSE",
      "exe": "$GAMEDIR/drive_c/GOG Games/Homeworld Emergence/cataclysm.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win32",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win32",
          "executable": "installer",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "key": "deviceToSelect",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Cataclysm",
          "type": "REG_SZ",
          "value": "gl"
        }
      },
      {
        "task": {
          "key": "glToSelect",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Cataclysm",
          "type": "REG_SZ",
          "value": "opengl32.dll"
        }
      },
      {
        "task": {
          "key": "screenDepth",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Cataclysm",
          "type": "REG_DWORD",
          "value": "20"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Please navigate to HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Cataclysm and set screenHeight and screenWidth to height and width of the native resolution of your monitor (switch from hexadecimal to decimal before entering the values). Exit regedit afterwards.",
          "executable": "regedit",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "__GL_FSAA_MODE": -1,
        "__GL_LOG_MAX_ANISO": -1
      },
      "pulse_latency": true
    }
  }
}
Back to game