Installer return-to-castle-wolfenstein-gog

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:
- install: N/A:Select the Windows setup file downloaded from GOG
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: install
    name: wineexec
    prefix: $GAMEDIR
- write_file:
    content: '

      seta com_recommendedSet "1"

      seta r_mode "8"

      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 "1"

      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/wolfconfig.cfg
system:
  env:
    MESA_EXTENSION_MAX_YEAR: '2005'
    __GL_ExtensionStringVersion: '17700'
{
  "files": [
    {
      "install": "N/A:Select the Windows setup file downloaded from GOG"
    }
  ],
  "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": "install",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "write_file": {
        "content": "\nseta com_recommendedSet \"1\"\nseta r_mode \"8\"\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 \"1\"\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/wolfconfig.cfg"
      }
    }
  ],
  "system": {
    "env": {
      "MESA_EXTENSION_MAX_YEAR": "2005",
      "__GL_ExtensionStringVersion": "17700"
    }
  }
}
Back to game