Installer homeworld-retail-cd

game:
  args: /disableAVI
  exe: drive_c/Sierra/Homeworld/homeworld.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: HWSetup.EXE
- task:
    executable: $DISC/HWSetup.EXE
    name: wineexec
    prefix: $GAMEDIR
- task:
    key: screenDepth
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Homeworld
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000010'
- task:
    key: screenWidth
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Homeworld
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000640'
- task:
    key: screenHeight
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Homeworld
    prefix: $GAMEDIR
    type: REG_DWORD
    value: 000004b0
- task:
    key: deviceToSelect
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Homeworld
    prefix: $GAMEDIR
    type: REG_SZ
    value: d3d
- task:
    key: glToSelect
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Homeworld
    prefix: $GAMEDIR
    type: REG_SZ
    value: rgl.dll
- task:
    description: The game has been set to its highest supported resolution for d3d,
      1600x1200. If you wish to use an unsupported resolution, please navigate to
      HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Homeworld and set screenHeight and
      screenWidth to height and width of the desired resolution (switch from hexadecimal
      to decimal before entering the values). Exit regedit afterwards.
    executable: regedit
    name: wineexec
    prefix: $GAMEDIR
description: Sets resolution to the highest possible for that render engine, 1600x1200.  To
  use a lower resolution, see Technical Notes.
game_slug: homeworld
gogslug: ''
humblestoreid: ''
installer_slug: homeworld-retail-cd
name: Homeworld
notes: "The game has been set to its highest supported resolution for D3D, 1600x1200.\r\
  \n\r\nTo use a different resolution, open the registry editor and navigate to HKEY_LOCAL_MACHINE\\\
  Software\\Sierra On-Line\\Cataclysm and set screenHeight and screenWidth to height\
  \ and width of the desired resolution (switch from hexadecimal to decimal before\
  \ entering the values)\r\nExit regedit afterwards.\r\n\r\nOpening Sierra and Relic\
  \ screens are disabled.  To enable them, edit the Game starting Arguments.\r\n\r\
  \nSuggested edit: Game can only run 1280x1024 anything higher and it reverts back\
  \ to default 640x480 its better to use command arguments in Lutris as well as ticking\
  \ the option in system edit \"switch resolution to\" and then selecting 1280x1024\
  \ in order to get rid of the large black bars on the side of the screen. Tried using\
  \ wine registry however that suggested resolution change method didn't do anything.\
  \  Arguments used: /disableAVI /1280 /device d3d"
runner: wine
script:
  game:
    args: /disableAVI
    exe: drive_c/Sierra/Homeworld/homeworld.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      requires: HWSetup.EXE
  - task:
      executable: $DISC/HWSetup.EXE
      name: wineexec
      prefix: $GAMEDIR
  - task:
      key: screenDepth
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Homeworld
      prefix: $GAMEDIR
      type: REG_DWORD
      value: '00000010'
  - task:
      key: screenWidth
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Homeworld
      prefix: $GAMEDIR
      type: REG_DWORD
      value: '00000640'
  - task:
      key: screenHeight
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Homeworld
      prefix: $GAMEDIR
      type: REG_DWORD
      value: 000004b0
  - task:
      key: deviceToSelect
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Homeworld
      prefix: $GAMEDIR
      type: REG_SZ
      value: d3d
  - task:
      key: glToSelect
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Homeworld
      prefix: $GAMEDIR
      type: REG_SZ
      value: rgl.dll
  - task:
      description: The game has been set to its highest supported resolution for d3d,
        1600x1200. If you wish to use an unsupported resolution, please navigate to
        HKEY_LOCAL_MACHINE\Software\Sierra On-Line\Homeworld and set screenHeight
        and screenWidth to height and width of the desired resolution (switch from
        hexadecimal to decimal before entering the values). Exit regedit afterwards.
      executable: regedit
      name: wineexec
      prefix: $GAMEDIR
slug: homeworld-retail-cd
steamid: null
version: Retail CD
year: 1999
{
  "game_slug": "homeworld",
  "version": "Retail CD",
  "description": "Sets resolution to the highest possible for that render engine, 1600x1200.  To use a lower resolution, see Technical Notes.",
  "notes": "The game has been set to its highest supported resolution for D3D, 1600x1200.\r\n\r\nTo use a different resolution, open the registry editor and navigate to HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Cataclysm and set screenHeight and screenWidth to height and width of the desired resolution (switch from hexadecimal to decimal before entering the values)\r\nExit regedit afterwards.\r\n\r\nOpening Sierra and Relic screens are disabled.  To enable them, edit the Game starting Arguments.\r\n\r\nSuggested edit: Game can only run 1280x1024 anything higher and it reverts back to default 640x480 its better to use command arguments in Lutris as well as ticking the option in system edit \"switch resolution to\" and then selecting 1280x1024 in order to get rid of the large black bars on the side of the screen. Tried using wine registry however that suggested resolution change method didn't do anything.  Arguments used: /disableAVI /1280 /device d3d",
  "name": "Homeworld",
  "year": 1999,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "homeworld-retail-cd",
  "installer_slug": "homeworld-retail-cd",
  "script": {
    "game": {
      "args": "/disableAVI",
      "exe": "drive_c/Sierra/Homeworld/homeworld.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "HWSetup.EXE"
        }
      },
      {
        "task": {
          "executable": "$DISC/HWSetup.EXE",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "key": "screenDepth",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Homeworld",
          "prefix": "$GAMEDIR",
          "type": "REG_DWORD",
          "value": "00000010"
        }
      },
      {
        "task": {
          "key": "screenWidth",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Homeworld",
          "prefix": "$GAMEDIR",
          "type": "REG_DWORD",
          "value": "00000640"
        }
      },
      {
        "task": {
          "key": "screenHeight",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Homeworld",
          "prefix": "$GAMEDIR",
          "type": "REG_DWORD",
          "value": "000004b0"
        }
      },
      {
        "task": {
          "key": "deviceToSelect",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Homeworld",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "d3d"
        }
      },
      {
        "task": {
          "key": "glToSelect",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Homeworld",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "rgl.dll"
        }
      },
      {
        "task": {
          "description": "The game has been set to its highest supported resolution for d3d, 1600x1200. If you wish to use an unsupported resolution, please navigate to HKEY_LOCAL_MACHINE\\Software\\Sierra On-Line\\Homeworld and set screenHeight and screenWidth to height and width of the desired resolution (switch from hexadecimal to decimal before entering the values). Exit regedit afterwards.",
          "executable": "regedit",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ]
  }
}
Back to game