Installer freelancer-freelancer-cdrom-dis

files:
- nocd: https://r.je/freelancer/Freelancer.exe
- msacm32: https://r.je/freelancer/msacm32.dll
- wmfdist: https://r.je/freelancer/WMFDIST.EXE
- discovery: https://discoverygc.com/files/discovery_5.00.8.exe
game:
  arch: win32
  exe: $GAMEDIR/drive_c/users/steamuser/AppData/Local/Discovery Freelancer 5.00.8/DSLauncher.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/users/steamuser/AppData/Local/Discovery Freelancer
    5.00.8
installer:
- task:
    arch: win32
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: setup.exe
- task:
    description: Installing Freelancer. Please choose "Express install" and CLOSE
      the window when done.
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
    return_code: 256
- task:
    app: directplay
    description: Installing DirectPlay (required for multi-player)
    name: winetricks
    prefix: $GAMEDIR
- task:
    description: Installing required audio codecs (prevents in-game stuttering)
    executable: wmfdist
    name: wineexec
    prefix: $GAMEDIR
- move:
    description: Installing no-cd
    dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/Freelancer.exe
    src: nocd
- move:
    description: Adding msacm32.dll (saves downloading a 300mb file from winetricks)
    dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/msacm32.dll
    src: msacm32
- task:
    description: Installing Discovery Mod
    executable: discovery
    name: wineexec
    prefix: $GAMEDIR
wine:
  overrides:
    msacm32.dll: n,b
description: Includes discovery mod 5.00.8
game_slug: freelancer
gogslug: ''
humblestoreid: ''
installer_slug: freelancer-freelancer-cdrom-dis
name: Freelancer
notes: Download the ISO from the discovery mod website. Mounting the ISO on Linux
  as a browsable folder is required prior to install. Then just click through the
  installers using the default options for everything. On first run, the discovery
  mod launcher will need to patch the game, then subsequent runs can launch the game
  from the discovery mod launcher. I was disconnected from the discovery mod server
  when I undocked in game for the first time, but after reconnecting no further issues
  persisted.
runner: wine
script:
  files:
  - nocd: https://r.je/freelancer/Freelancer.exe
  - msacm32: https://r.je/freelancer/msacm32.dll
  - wmfdist: https://r.je/freelancer/WMFDIST.EXE
  - discovery: https://discoverygc.com/files/discovery_5.00.8.exe
  game:
    arch: win32
    exe: $GAMEDIR/drive_c/users/steamuser/AppData/Local/Discovery Freelancer 5.00.8/DSLauncher.exe
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/users/steamuser/AppData/Local/Discovery Freelancer
      5.00.8
  installer:
  - task:
      arch: win32
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: setup.exe
  - task:
      description: Installing Freelancer. Please choose "Express install" and CLOSE
        the window when done.
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
      return_code: 256
  - task:
      app: directplay
      description: Installing DirectPlay (required for multi-player)
      name: winetricks
      prefix: $GAMEDIR
  - task:
      description: Installing required audio codecs (prevents in-game stuttering)
      executable: wmfdist
      name: wineexec
      prefix: $GAMEDIR
  - move:
      description: Installing no-cd
      dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/Freelancer.exe
      src: nocd
  - move:
      description: Adding msacm32.dll (saves downloading a 300mb file from winetricks)
      dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/msacm32.dll
      src: msacm32
  - task:
      description: Installing Discovery Mod
      executable: discovery
      name: wineexec
      prefix: $GAMEDIR
  wine:
    overrides:
      msacm32.dll: n,b
slug: freelancer-freelancer-cdrom-dis
steamid: null
version: freelancer-cdrom-discovery5
year: 2003
{
  "game_slug": "freelancer",
  "version": "freelancer-cdrom-discovery5",
  "description": "Includes discovery mod 5.00.8",
  "notes": "Download the ISO from the discovery mod website. Mounting the ISO on Linux as a browsable folder is required prior to install. Then just click through the installers using the default options for everything. On first run, the discovery mod launcher will need to patch the game, then subsequent runs can launch the game from the discovery mod launcher. I was disconnected from the discovery mod server when I undocked in game for the first time, but after reconnecting no further issues persisted.",
  "name": "Freelancer",
  "year": 2003,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "freelancer-freelancer-cdrom-dis",
  "installer_slug": "freelancer-freelancer-cdrom-dis",
  "script": {
    "files": [
      {
        "nocd": "https://r.je/freelancer/Freelancer.exe"
      },
      {
        "msacm32": "https://r.je/freelancer/msacm32.dll"
      },
      {
        "wmfdist": "https://r.je/freelancer/WMFDIST.EXE"
      },
      {
        "discovery": "https://discoverygc.com/files/discovery_5.00.8.exe"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "$GAMEDIR/drive_c/users/steamuser/AppData/Local/Discovery Freelancer 5.00.8/DSLauncher.exe",
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/users/steamuser/AppData/Local/Discovery Freelancer 5.00.8"
    },
    "installer": [
      {
        "task": {
          "arch": "win32",
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "setup.exe"
        }
      },
      {
        "task": {
          "description": "Installing Freelancer. Please choose \"Express install\" and CLOSE the window when done.",
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "return_code": 256
        }
      },
      {
        "task": {
          "app": "directplay",
          "description": "Installing DirectPlay (required for multi-player)",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing required audio codecs (prevents in-game stuttering)",
          "executable": "wmfdist",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "move": {
          "description": "Installing no-cd",
          "dst": "$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/Freelancer.exe",
          "src": "nocd"
        }
      },
      {
        "move": {
          "description": "Adding msacm32.dll (saves downloading a 300mb file from winetricks)",
          "dst": "$GAMEDIR/drive_c/Program Files/Microsoft Games/Freelancer/EXE/msacm32.dll",
          "src": "msacm32"
        }
      },
      {
        "task": {
          "description": "Installing Discovery Mod",
          "executable": "discovery",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "wine": {
      "overrides": {
        "msacm32.dll": "n,b"
      }
    }
  }
}
Back to game