Installer starlancer-cd

files:
- nocd: 'N/A:Please download and select the no-cd from here: https://www.myabandonware.com/download/k73-starlancer'
- dsoundfix: 'N/A: Please download and select dsound fix from here: https://community.pcgamingwiki.com/files/file/1440-starlancer-dsound-fix/'
game:
  arch: win32
  exe: drive_c/Program Files/Microsoft Games/StarLancer/Lancer.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    description: Please select the directory where you copied the content of discs
      1 & 2
    requires: setup.exe
- execute:
    args: 744 -R $DISC
    file: chmod
- task:
    arch: win32
    description: Create Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- execute:
    command: ln -sf "$DISC" "$GAMEDIR/dosdevices/f:"
    description: Set directory as CD drive
- task:
    arch: win32
    description: Installing Starlancer
    executable: $GAMEDIR/dosdevices/f:/setup.exe
    name: wineexec
    prefix: $GAMEDIR
    return_code: 256
- move:
    dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/LANCER.EXE.BAK
    src: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/LANCER.EXE
- move:
    dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/MSS32.DLL.BAK
    src: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/MSS32.DLL
- extract:
    dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer
    file: nocd
- extract:
    dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer
    file: dsoundfix
- write_config:
    data:
      DirectX:
        Resolution: h:1024, v:768
        VRAM: 128
        VideoCard: ati_radeon_8500
        dgVoodooWatermark: false
      General:
        ScalingMode: stretched_ar
    description: Write dgVoodoo.conf file
    file: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/dgVoodoo.conf
    merge: false
wine:
  dgvoodoo2: true
description: ''
game_slug: starlancer
gogslug: ''
humblestoreid: ''
installer_slug: starlancer-cd
name: StarLancer
notes: Copy the content of discs 1 and 2 to a directory before installing, overwriting
  any files when prompted. You may delete this directory after successful installation.
  During install, select full/custom installation. Select 1024x768 resolution in game.
runner: wine
script:
  files:
  - nocd: 'N/A:Please download and select the no-cd from here: https://www.myabandonware.com/download/k73-starlancer'
  - dsoundfix: 'N/A: Please download and select dsound fix from here: https://community.pcgamingwiki.com/files/file/1440-starlancer-dsound-fix/'
  game:
    arch: win32
    exe: drive_c/Program Files/Microsoft Games/StarLancer/Lancer.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      description: Please select the directory where you copied the content of discs
        1 & 2
      requires: setup.exe
  - execute:
      args: 744 -R $DISC
      file: chmod
  - task:
      arch: win32
      description: Create Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - execute:
      command: ln -sf "$DISC" "$GAMEDIR/dosdevices/f:"
      description: Set directory as CD drive
  - task:
      arch: win32
      description: Installing Starlancer
      executable: $GAMEDIR/dosdevices/f:/setup.exe
      name: wineexec
      prefix: $GAMEDIR
      return_code: 256
  - move:
      dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/LANCER.EXE.BAK
      src: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/LANCER.EXE
  - move:
      dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/MSS32.DLL.BAK
      src: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/MSS32.DLL
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer
      file: nocd
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer
      file: dsoundfix
  - write_config:
      data:
        DirectX:
          Resolution: h:1024, v:768
          VRAM: 128
          VideoCard: ati_radeon_8500
          dgVoodooWatermark: false
        General:
          ScalingMode: stretched_ar
      description: Write dgVoodoo.conf file
      file: $GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/dgVoodoo.conf
      merge: false
  wine:
    dgvoodoo2: true
slug: starlancer-cd
steamid: null
version: CD
year: 2000
{
  "game_slug": "starlancer",
  "version": "CD",
  "description": "",
  "notes": "Copy the content of discs 1 and 2 to a directory before installing, overwriting any files when prompted. You may delete this directory after successful installation. During install, select full/custom installation. Select 1024x768 resolution in game.",
  "name": "StarLancer",
  "year": 2000,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "starlancer-cd",
  "installer_slug": "starlancer-cd",
  "script": {
    "files": [
      {
        "nocd": "N/A:Please download and select the no-cd from here: https://www.myabandonware.com/download/k73-starlancer"
      },
      {
        "dsoundfix": "N/A: Please download and select dsound fix from here: https://community.pcgamingwiki.com/files/file/1440-starlancer-dsound-fix/"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "drive_c/Program Files/Microsoft Games/StarLancer/Lancer.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "description": "Please select the directory where you copied the content of discs 1 & 2",
          "requires": "setup.exe"
        }
      },
      {
        "execute": {
          "args": "744 -R $DISC",
          "file": "chmod"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Create Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "ln -sf \"$DISC\" \"$GAMEDIR/dosdevices/f:\"",
          "description": "Set directory as CD drive"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Installing Starlancer",
          "executable": "$GAMEDIR/dosdevices/f:/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "return_code": 256
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/LANCER.EXE.BAK",
          "src": "$GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/LANCER.EXE"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/MSS32.DLL.BAK",
          "src": "$GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/MSS32.DLL"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer",
          "file": "nocd"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer",
          "file": "dsoundfix"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "Resolution": "h:1024, v:768",
              "VRAM": 128,
              "VideoCard": "ati_radeon_8500",
              "dgVoodooWatermark": false
            },
            "General": {
              "ScalingMode": "stretched_ar"
            }
          },
          "description": "Write dgVoodoo.conf file",
          "file": "$GAMEDIR/drive_c/Program Files/Microsoft Games/StarLancer/dgVoodoo.conf",
          "merge": false
        }
      }
    ],
    "wine": {
      "dgvoodoo2": true
    }
  }
}
Back to game