Installer return-to-castle-wolfenstein-gog-realrtcw-mod-33

custom-name: Return to Castle Wolfenstein - GOG - RealRTCW mod
files:
- inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
- realrtcw: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/release-linux-x86_64.tar.xz
- gogsetup: N/A:Please select the RTCW setup exe file downloaded from your GOG account.
- realmod: N/A:Please select the RealRTCW mod archive you downloaded from https://www.moddb.com/mods/realrtcw-realism-mod/downloads/realrtcw-31
- realmodaddons: N/A:Please select the RealRTCW mod addons pack archive you downloaded
    from https://www.moddb.com/mods/realrtcw-realism-mod/downloads/realrtcw-31-addons-pack
- config: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/realrtcwconfig.cfg
game:
  exe: realrtcw.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: $GAMEDIR
    file: $realmod
- execute:
    command: cd "$GAMEDIR/!copy the content of this folder into rtcw root directory";
      cp -r Main/* ../main;
- extract:
    dst: $GAMEDIR
    file: $realmodaddons
- extract:
    dst: $GAMEDIR
    file: realrtcw
- copy:
    dst: $GAMEDIR/main
    src: config
- write_file:
    content: '#!/bin/bash

      ./RealRTCW.x86_64 +set fs_homepath .

      '
    file: $GAMEDIR/realrtcw.sh
- chmodx: $GAMEDIR/realrtcw.sh
- execute:
    command: cd "$GAMEDIR"; rm -f -r "!copy the content of this folder into rtcw root
      directory"; cd main; rm -f -r *.dll ;
description: "\r\n\"Return to Castle Wolfenstein\" provided by GOG using RealRTCW\
  \ project:\r\nhttps://github.com/wolfetplayer/RealRTCW and RealRTCW mod 3.3.\r\n\
  \r\n"
game_slug: return-to-castle-wolfenstein
gogslug: return_to_castle_wolfenstein
humblestoreid: ''
installer_slug: return-to-castle-wolfenstein-gog-realrtcw-mod-33
name: Return to Castle Wolfenstein
notes: "- RealRTCW version 3.3_GIT_50e4e51-2021-11-25 linux-x86_64\r\n- You will need\
  \ to download RealRTCW mod version 3.3 and his addons pack  from https://www.moddb.com/mods/realrtcw-realism-mod\r\
  \n- Use \"Alt-Tab\": press \"shift + \xB2\" to obtain console, then \"Alt\"+\"Enter\"\
  \ to enter RealTCW window mode. Now you can use \"Alt-Tab\""
runner: linux
script:
  custom-name: Return to Castle Wolfenstein - GOG - RealRTCW mod
  files:
  - inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
  - realrtcw: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/release-linux-x86_64.tar.xz
  - gogsetup: N/A:Please select the RTCW setup exe file downloaded from your GOG account.
  - realmod: N/A:Please select the RealRTCW mod archive you downloaded from https://www.moddb.com/mods/realrtcw-realism-mod/downloads/realrtcw-31
  - realmodaddons: N/A:Please select the RealRTCW mod addons pack archive you downloaded
      from https://www.moddb.com/mods/realrtcw-realism-mod/downloads/realrtcw-31-addons-pack
  - config: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/realrtcwconfig.cfg
  game:
    exe: realrtcw.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: $GAMEDIR
      file: $realmod
  - execute:
      command: cd "$GAMEDIR/!copy the content of this folder into rtcw root directory";
        cp -r Main/* ../main;
  - extract:
      dst: $GAMEDIR
      file: $realmodaddons
  - extract:
      dst: $GAMEDIR
      file: realrtcw
  - copy:
      dst: $GAMEDIR/main
      src: config
  - write_file:
      content: '#!/bin/bash

        ./RealRTCW.x86_64 +set fs_homepath .

        '
      file: $GAMEDIR/realrtcw.sh
  - chmodx: $GAMEDIR/realrtcw.sh
  - execute:
      command: cd "$GAMEDIR"; rm -f -r "!copy the content of this folder into rtcw
        root directory"; cd main; rm -f -r *.dll ;
slug: return-to-castle-wolfenstein-gog-realrtcw-mod-33
steamid: 9010
version: GOG + RealRTCW mod 3.3
year: 2001
{
  "game_slug": "return-to-castle-wolfenstein",
  "version": "GOG + RealRTCW mod 3.3",
  "description": "\r\n\"Return to Castle Wolfenstein\" provided by GOG using RealRTCW project:\r\nhttps://github.com/wolfetplayer/RealRTCW and RealRTCW mod 3.3.\r\n\r\n",
  "notes": "- RealRTCW version 3.3_GIT_50e4e51-2021-11-25 linux-x86_64\r\n- You will need to download RealRTCW mod version 3.3 and his addons pack  from https://www.moddb.com/mods/realrtcw-realism-mod\r\n- Use \"Alt-Tab\": press \"shift + \u00b2\" to obtain console, then \"Alt\"+\"Enter\" to enter RealTCW window mode. 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-realrtcw-mod-33",
  "installer_slug": "return-to-castle-wolfenstein-gog-realrtcw-mod-33",
  "script": {
    "custom-name": "Return to Castle Wolfenstein - GOG - RealRTCW mod",
    "files": [
      {
        "inno": "https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz"
      },
      {
        "realrtcw": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/release-linux-x86_64.tar.xz"
      },
      {
        "gogsetup": "N/A:Please select the RTCW setup exe file downloaded from your GOG account."
      },
      {
        "realmod": "N/A:Please select the RealRTCW mod archive you downloaded from https://www.moddb.com/mods/realrtcw-realism-mod/downloads/realrtcw-31"
      },
      {
        "realmodaddons": "N/A:Please select the RealRTCW mod addons pack archive you downloaded from https://www.moddb.com/mods/realrtcw-realism-mod/downloads/realrtcw-31-addons-pack"
      },
      {
        "config": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Return%20to%20Castle%20Wolfenstein/realrtcwconfig.cfg"
      }
    ],
    "game": {
      "exe": "realrtcw.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": "$GAMEDIR",
          "file": "$realmod"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/!copy the content of this folder into rtcw root directory\"; cp -r Main/* ../main;"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "$realmodaddons"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "realrtcw"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/main",
          "src": "config"
        }
      },
      {
        "write_file": {
          "content": "#!/bin/bash\n./RealRTCW.x86_64 +set fs_homepath .\n",
          "file": "$GAMEDIR/realrtcw.sh"
        }
      },
      {
        "chmodx": "$GAMEDIR/realrtcw.sh"
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR\"; rm -f -r \"!copy the content of this folder into rtcw root directory\"; cd main; rm -f -r *.dll ;"
        }
      }
    ]
  }
}
Back to game