Installer return-to-castle-wolfenstein-gog-iortcw-x64

custom-name: Return to Castle Wolfenstein - GOG - iortcw
files:
- inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
- gogsetup: N/A:Select the Windows setup file downloaded from GOG
- iortcw: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/iortcw_x64.7z
- confsp: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/wolfconfig.cfg
- confmp: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/wolfconfig_mp.cfg
- gamepad: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/x360.cfg
game:
  exe: $GAMEDIR/iowolf.sh
installer:
- extract:
    dst: $CACHE/innoextract
    file: inno
- execute:
    args: --extract --gog $gogsetup --output-dir "$CACHE/"
    file: $CACHE/innoextract/innoextract
- merge:
    dst: $GAMEDIR/main
    src: $CACHE/app/Main
- merge:
    dst: $GAMEDIR/docs
    src: $CACHE/app/Docs
- extract:
    dst: $CACHE/
    file: iortcw
- merge:
    dst: $GAMEDIR/
    src: $CACHE/sp_build/release-linux-x86_64/
- merge:
    dst: $GAMEDIR/
    src: $CACHE/mp_build/release-linux-x86_64/
- copy:
    dst: $GAMEDIR/main/
    src: confsp
- copy:
    dst: $GAMEDIR/main/
    src: confmp
- copy:
    dst: $GAMEDIR/main/
    src: gamepad
- write_file:
    content: '#!/bin/bash

      ./iowolfsp.x86_64&

      '
    file: $GAMEDIR/iowolf.sh
- chmodx: $GAMEDIR/iowolf.sh
- write_file:
    content: 'set fs_homepath ./

      exec x360

      '
    file: $GAMEDIR/main/autoexec.cfg
description: "\r\n\"Return to Castle Wolfenstein\" provided by GOG using iortcw project:\r\
  \nhttps://github.com/iortcw/iortcw\r\n\r\n"
game_slug: return-to-castle-wolfenstein
gogslug: return_to_castle_wolfenstein
humblestoreid: ''
installer_slug: return-to-castle-wolfenstein-gog-iortcw-x64
name: Return to Castle Wolfenstein
notes: "- iortcw Git version  1.51c-ed3a70d x64 - 19 september 2020\r\n- Open console:\
  \ \"Shift\"+\"Esc\"\r\n- Enable \"Alt-Tab\": press \"Alt\"+\"Enter\" to enter iortcw\
  \ window mode. Then open iortcw console. Now you can use \"Alt-Tab\"."
runner: linux
script:
  custom-name: Return to Castle Wolfenstein - GOG - iortcw
  files:
  - inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
  - gogsetup: N/A:Select the Windows setup file downloaded from GOG
  - iortcw: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/iortcw_x64.7z
  - confsp: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/wolfconfig.cfg
  - confmp: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/wolfconfig_mp.cfg
  - gamepad: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/x360.cfg
  game:
    exe: $GAMEDIR/iowolf.sh
  installer:
  - extract:
      dst: $CACHE/innoextract
      file: inno
  - execute:
      args: --extract --gog $gogsetup --output-dir "$CACHE/"
      file: $CACHE/innoextract/innoextract
  - merge:
      dst: $GAMEDIR/main
      src: $CACHE/app/Main
  - merge:
      dst: $GAMEDIR/docs
      src: $CACHE/app/Docs
  - extract:
      dst: $CACHE/
      file: iortcw
  - merge:
      dst: $GAMEDIR/
      src: $CACHE/sp_build/release-linux-x86_64/
  - merge:
      dst: $GAMEDIR/
      src: $CACHE/mp_build/release-linux-x86_64/
  - copy:
      dst: $GAMEDIR/main/
      src: confsp
  - copy:
      dst: $GAMEDIR/main/
      src: confmp
  - copy:
      dst: $GAMEDIR/main/
      src: gamepad
  - write_file:
      content: '#!/bin/bash

        ./iowolfsp.x86_64&

        '
      file: $GAMEDIR/iowolf.sh
  - chmodx: $GAMEDIR/iowolf.sh
  - write_file:
      content: 'set fs_homepath ./

        exec x360

        '
      file: $GAMEDIR/main/autoexec.cfg
slug: return-to-castle-wolfenstein-gog-iortcw-x64
steamid: 9010
version: GOG + iortcw x64
year: 2001
{
  "game_slug": "return-to-castle-wolfenstein",
  "version": "GOG + iortcw x64",
  "description": "\r\n\"Return to Castle Wolfenstein\" provided by GOG using iortcw project:\r\nhttps://github.com/iortcw/iortcw\r\n\r\n",
  "notes": "- iortcw Git version  1.51c-ed3a70d x64 - 19 september 2020\r\n- Open console: \"Shift\"+\"Esc\"\r\n- Enable \"Alt-Tab\": press \"Alt\"+\"Enter\" to enter iortcw window mode. Then open iortcw console. Now you can use \"Alt-Tab\".",
  "name": "Return to Castle Wolfenstein",
  "year": 2001,
  "steamid": 9010,
  "gogslug": "return_to_castle_wolfenstein",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "return-to-castle-wolfenstein-gog-iortcw-x64",
  "installer_slug": "return-to-castle-wolfenstein-gog-iortcw-x64",
  "script": {
    "custom-name": "Return to Castle Wolfenstein - GOG - iortcw",
    "files": [
      {
        "inno": "https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz"
      },
      {
        "gogsetup": "N/A:Select the Windows setup file downloaded from GOG"
      },
      {
        "iortcw": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/iortcw_x64.7z"
      },
      {
        "confsp": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/wolfconfig.cfg"
      },
      {
        "confmp": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/wolfconfig_mp.cfg"
      },
      {
        "gamepad": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/x360.cfg"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/iowolf.sh"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE/innoextract",
          "file": "inno"
        }
      },
      {
        "execute": {
          "args": "--extract --gog $gogsetup --output-dir \"$CACHE/\"",
          "file": "$CACHE/innoextract/innoextract"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/main",
          "src": "$CACHE/app/Main"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/docs",
          "src": "$CACHE/app/Docs"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/",
          "file": "iortcw"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/",
          "src": "$CACHE/sp_build/release-linux-x86_64/"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/",
          "src": "$CACHE/mp_build/release-linux-x86_64/"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/main/",
          "src": "confsp"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/main/",
          "src": "confmp"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/main/",
          "src": "gamepad"
        }
      },
      {
        "write_file": {
          "content": "#!/bin/bash\n./iowolfsp.x86_64&\n",
          "file": "$GAMEDIR/iowolf.sh"
        }
      },
      {
        "chmodx": "$GAMEDIR/iowolf.sh"
      },
      {
        "write_file": {
          "content": "set fs_homepath ./\nexec x360\n",
          "file": "$GAMEDIR/main/autoexec.cfg"
        }
      }
    ]
  }
}
Back to game