Installer homeworld-emergence-gog

files:
- installer: N/A:Please select the GOG.com Windows installer
game:
  arch: win64
  args: -disableAVI -noglddraw -noswddraw -device gl -enableSSE
  exe: $GAMEDIR/drive_c/GOG Games/Homeworld Emergence/cataclysm.exe
  prefix: $GAMEDIR
installer:
- task:
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    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:
    key: screenHeight
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm
    type: REG_DWORD
    value: '438'
- task:
    key: screenWidth
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm
    type: REG_DWORD
    value: '780'
- task:
    description: Resolution has been set to 1920x1080.  If you want to change this
      please navigate to HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm and
      set screenHeight and screenWidth to the height and width you want. (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: ''
game_slug: homeworld-emergence
gogslug: homeworld_emergence
humblestoreid: ''
installer_slug: homeworld-emergence-gog
name: 'Homeworld: Emergence'
notes: "I used this runner:  wine-ge-8-26-x86_64 , but you can try others.\r\n\r\n\
  \ 1. When the GOG installer finishes 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.  If\
  \ Regedit doesn't open, click the little wine glass next to the Play button at the\
  \ bottom of the Lutris screen, and choose the Registry option there.\r\n\r\n5. Change\
  \ the following settings in the registry:\r\ndeviceToSelect = gl\r\nglToSelect =\
  \ opengl32.dll\r\nscreenDepth = 32      (make sure to select decimal)\r\nscreenHeight\
  \ = 1080      (make sure to select decimal)\r\nscreenWidth = 1920      (make sure\
  \ to select decimal)\r\nCmdLine = /enableSSE /disableAVI /noglddraw /noswddraw /device\
  \ gl \r\n\r\nClose regedit\r\n\r\nNow the game should work, and look decent.\r\n\
  You can try different resolutions, but the menu text might be really tiny.  The\
  \ 1920x1080 looks pretty good.\r\n\r\nThere's additional information here if you\
  \ need it:  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: win64
    args: -disableAVI -noglddraw -noswddraw -device gl -enableSSE
    exe: $GAMEDIR/drive_c/GOG Games/Homeworld Emergence/cataclysm.exe
    prefix: $GAMEDIR
  installer:
  - task:
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      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:
      key: screenHeight
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm
      type: REG_DWORD
      value: '438'
  - task:
      key: screenWidth
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm
      type: REG_DWORD
      value: '780'
  - task:
      description: Resolution has been set to 1920x1080.  If you want to change this
        please navigate to HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Cataclysm and
        set screenHeight and screenWidth to the height and width you want. (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": "",
  "notes": "I used this runner:  wine-ge-8-26-x86_64 , but you can try others.\r\n\r\n 1. When the GOG installer finishes 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.  If Regedit doesn't open, click the little wine glass next to the Play button at the bottom of the Lutris screen, and choose the Registry option there.\r\n\r\n5. Change the following settings in the registry:\r\ndeviceToSelect = gl\r\nglToSelect = opengl32.dll\r\nscreenDepth = 32      (make sure to select decimal)\r\nscreenHeight = 1080      (make sure to select decimal)\r\nscreenWidth = 1920      (make sure to select decimal)\r\nCmdLine = /enableSSE /disableAVI /noglddraw /noswddraw /device gl \r\n\r\nClose regedit\r\n\r\nNow the game should work, and look decent.\r\nYou can try different resolutions, but the menu text might be really tiny.  The 1920x1080 looks pretty good.\r\n\r\nThere's additional information here if you need it:  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": "win64",
      "args": "-disableAVI -noglddraw -noswddraw -device gl -enableSSE",
      "exe": "$GAMEDIR/drive_c/GOG Games/Homeworld Emergence/cataclysm.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "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": {
          "key": "screenHeight",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Cataclysm",
          "type": "REG_DWORD",
          "value": "438"
        }
      },
      {
        "task": {
          "key": "screenWidth",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Cataclysm",
          "type": "REG_DWORD",
          "value": "780"
        }
      },
      {
        "task": {
          "description": "Resolution has been set to 1920x1080.  If you want to change this please navigate to HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Cataclysm and set screenHeight and screenWidth to the height and width you want. (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