Installer wing-commander-iv-the-price-o-gog-dos

files:
- setup: N/A:Select the "bonus" DOS installer downloaded from GOG
game:
  main_file: $GAMEDIR/dosboxWC4_lutris.conf
installer:
- extract:
    description: Extract GOG installer
    dst: $GAMEDIR
    file: setup
- copy:
    description: Move GOG files to $GAMEDIR
    dst: $GAMEDIR
    src: $GAMEDIR/support/app
- write_file:
    content: '[sdl]

      fullscreen     = true

      fullresolution = desktop

      output         = openglpp



      [cpu]

      core           = dynamic

      cputype        = auto

      cycles         = fixed 100000

      cycleup        = 1000

      cycledown      = 1000



      [autoexec]

      @echo off

      mount C "$GAMEDIR/game" -t dir

      mount C "$GAMEDIR/cloud_saves" -t overlay

      mount d "$GAMEDIR/game/CD1" -t cdrom

      c:

      cd WC4

      goto launcher

      :launcher

      cls

      ECHO  ------------------------------------------

      ECHO   Wing Commander IV

      ECHO  ------------------------------------------

      ECHO   1) Wing Commander IV: The Price of Freedom

      ECHO   2) Game settings

      ECHO  ------------------------------------------

      ECHO   3) Exit

      ECHO  ------------------------------------------

      @choice /c123 /s Choose option [1-3]: /n

      if errorlevel 3 goto exit

      if errorlevel 2 goto setup

      if errorlevel 1 goto wc4

      :wc4

      cls

      echo 1) Play

      echo 2) Play with debug mode

      echo 3) Return to launcher

      echo.

      @choice /c123 /s Choose option [1-3]: /n

      if errorlevel = 3 goto launcher

      if errorlevel = 2 goto debug

      if errorlevel = 1 goto play

      :play

      cls

      wc4.exe

      goto exit

      :debug

      cls

      wc4.exe -chicken

      goto exit

      :setup

      cls

      wc4.exe -i

      goto launcher

      :exit

      exit'
    file: $GAMEDIR/dosboxWC4_lutris.conf
description: The DOS version is available as a goodie/extra in your GOG library.
game_slug: wing-commander-iv-the-price-of-freedom
gogslug: wing_commander_4_the_price_of_freedom
humblestoreid: ''
installer_slug: wing-commander-iv-the-price-o-gog-dos
name: 'Wing Commander IV: The Price Of Freedom'
notes: ''
runner: dosbox
script:
  files:
  - setup: N/A:Select the "bonus" DOS installer downloaded from GOG
  game:
    main_file: $GAMEDIR/dosboxWC4_lutris.conf
  installer:
  - extract:
      description: Extract GOG installer
      dst: $GAMEDIR
      file: setup
  - copy:
      description: Move GOG files to $GAMEDIR
      dst: $GAMEDIR
      src: $GAMEDIR/support/app
  - write_file:
      content: '[sdl]

        fullscreen     = true

        fullresolution = desktop

        output         = openglpp



        [cpu]

        core           = dynamic

        cputype        = auto

        cycles         = fixed 100000

        cycleup        = 1000

        cycledown      = 1000



        [autoexec]

        @echo off

        mount C "$GAMEDIR/game" -t dir

        mount C "$GAMEDIR/cloud_saves" -t overlay

        mount d "$GAMEDIR/game/CD1" -t cdrom

        c:

        cd WC4

        goto launcher

        :launcher

        cls

        ECHO  ------------------------------------------

        ECHO   Wing Commander IV

        ECHO  ------------------------------------------

        ECHO   1) Wing Commander IV: The Price of Freedom

        ECHO   2) Game settings

        ECHO  ------------------------------------------

        ECHO   3) Exit

        ECHO  ------------------------------------------

        @choice /c123 /s Choose option [1-3]: /n

        if errorlevel 3 goto exit

        if errorlevel 2 goto setup

        if errorlevel 1 goto wc4

        :wc4

        cls

        echo 1) Play

        echo 2) Play with debug mode

        echo 3) Return to launcher

        echo.

        @choice /c123 /s Choose option [1-3]: /n

        if errorlevel = 3 goto launcher

        if errorlevel = 2 goto debug

        if errorlevel = 1 goto play

        :play

        cls

        wc4.exe

        goto exit

        :debug

        cls

        wc4.exe -chicken

        goto exit

        :setup

        cls

        wc4.exe -i

        goto launcher

        :exit

        exit'
      file: $GAMEDIR/dosboxWC4_lutris.conf
slug: wing-commander-iv-the-price-o-gog-dos
steamid: null
version: GOG - DOS
year: 1996
{
  "game_slug": "wing-commander-iv-the-price-of-freedom",
  "version": "GOG - DOS",
  "description": "The DOS version is available as a goodie/extra in your GOG library.",
  "notes": "",
  "name": "Wing Commander IV: The Price Of Freedom",
  "year": 1996,
  "steamid": null,
  "gogslug": "wing_commander_4_the_price_of_freedom",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "wing-commander-iv-the-price-o-gog-dos",
  "installer_slug": "wing-commander-iv-the-price-o-gog-dos",
  "script": {
    "files": [
      {
        "setup": "N/A:Select the \"bonus\" DOS installer downloaded from GOG"
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/dosboxWC4_lutris.conf"
    },
    "installer": [
      {
        "extract": {
          "description": "Extract GOG installer",
          "dst": "$GAMEDIR",
          "file": "setup"
        }
      },
      {
        "copy": {
          "description": "Move GOG files to $GAMEDIR",
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/support/app"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nfullscreen     = true\nfullresolution = desktop\noutput         = openglpp\n\n\n[cpu]\ncore           = dynamic\ncputype        = auto\ncycles         = fixed 100000\ncycleup        = 1000\ncycledown      = 1000\n\n\n[autoexec]\n@echo off\nmount C \"$GAMEDIR/game\" -t dir\nmount C \"$GAMEDIR/cloud_saves\" -t overlay\nmount d \"$GAMEDIR/game/CD1\" -t cdrom\nc:\ncd WC4\ngoto launcher\n:launcher\ncls\nECHO  ------------------------------------------\nECHO   Wing Commander IV\nECHO  ------------------------------------------\nECHO   1) Wing Commander IV: The Price of Freedom\nECHO   2) Game settings\nECHO  ------------------------------------------\nECHO   3) Exit\nECHO  ------------------------------------------\n@choice /c123 /s Choose option [1-3]: /n\nif errorlevel 3 goto exit\nif errorlevel 2 goto setup\nif errorlevel 1 goto wc4\n:wc4\ncls\necho 1) Play\necho 2) Play with debug mode\necho 3) Return to launcher\necho.\n@choice /c123 /s Choose option [1-3]: /n\nif errorlevel = 3 goto launcher\nif errorlevel = 2 goto debug\nif errorlevel = 1 goto play\n:play\ncls\nwc4.exe\ngoto exit\n:debug\ncls\nwc4.exe -chicken\ngoto exit\n:setup\ncls\nwc4.exe -i\ngoto launcher\n:exit\nexit",
          "file": "$GAMEDIR/dosboxWC4_lutris.conf"
        }
      }
    ]
  }
}
Back to game