Installer return-to-castle-wolfenstein-gog-knightmare-patch

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- game: N/A:Please select the GOG.com Windows installer.
- 142d: http://www.markshan.com/knightmare/downloads/rtcw-sp-1.42d-win32-bin.zip
game:
  arch: win32
  exe: drive_c/GOG Games/Return to Castle Wolfenstein/WolfSP.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win32
    args: /VERYSILENT /SUPPRESSMSGBOXES
    description: Installing the Game
    executable: game
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Return to Castle Wolfenstein
    file: 142d
- write_file:
    content: '

      seta com_recommendedSet "1"

      seta r_mode "-1"

      seta r_customheight "$RESOLUTION_HEIGHT"

      seta r_customwidth "$RESOLUTION_WIDTH"

      seta r_depthbits "24"

      seta r_detailtextures "1"

      seta r_ext_framebuffer_multisample "4"

      seta r_ext_max_anisotropy "16"

      seta r_ext_texture_filter_anisotropic "16.000000"

      seta r_stencilbits "16"

      seta r_textureMode "GL_LINEAR_MIPMAP_LINEAR"

      seta r_texturebits "32"

      seta r_subdivisions "12"

      seta r_picmip "0"

      seta r_picmip2 "0

      seta r_lodbias "0"

      seta r_ext_compressed_textures "0"

      seta r_dynamiclight "1"'
    file: $GAMEDIR/drive_c/GOG Games/Return to Castle Wolfenstein/Main/autoexec.cfg
    mode: a
{
  "files": [
    {
      "game": "N/A:Please select the GOG.com Windows installer."
    },
    {
      "142d": "http://www.markshan.com/knightmare/downloads/rtcw-sp-1.42d-win32-bin.zip"
    }
  ],
  "game": {
    "arch": "win32",
    "exe": "drive_c/GOG Games/Return to Castle Wolfenstein/WolfSP.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win32",
        "description": "Creating Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win32",
        "args": "/VERYSILENT /SUPPRESSMSGBOXES",
        "description": "Installing the Game",
        "executable": "game",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/GOG Games/Return to Castle Wolfenstein",
        "file": "142d"
      }
    },
    {
      "write_file": {
        "content": "\nseta com_recommendedSet \"1\"\nseta r_mode \"-1\"\nseta r_customheight \"$RESOLUTION_HEIGHT\"\nseta r_customwidth \"$RESOLUTION_WIDTH\"\nseta r_depthbits \"24\"\nseta r_detailtextures \"1\"\nseta r_ext_framebuffer_multisample \"4\"\nseta r_ext_max_anisotropy \"16\"\nseta r_ext_texture_filter_anisotropic \"16.000000\"\nseta r_stencilbits \"16\"\nseta r_textureMode \"GL_LINEAR_MIPMAP_LINEAR\"\nseta r_texturebits \"32\"\nseta r_subdivisions \"12\"\nseta r_picmip \"0\"\nseta r_picmip2 \"0\nseta r_lodbias \"0\"\nseta r_ext_compressed_textures \"0\"\nseta r_dynamiclight \"1\"",
        "file": "$GAMEDIR/drive_c/GOG Games/Return to Castle Wolfenstein/Main/autoexec.cfg",
        "mode": "a"
      }
    }
  ]
}
Back to game