Installer neverwinter-nights-gog-diamond

files:
- nwinstaller: N/A:Select location of GOG's executable (should be setup_nwn_diamond_2.1.x.x.exe)
- innoextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract.tar.gz
- nwclientgold: https://lutris.nyc3.digitaloceanspaces.com/games/neverwinter-nights/nwclientgold.tar.gz
- nwclient161: https://lutris.nyc3.digitaloceanspaces.com/games/neverwinter-nights/nwclienthotu.tar.gz
- nwclient169: https://lutris.nyc3.digitaloceanspaces.com/games/neverwinter-nights/English_linuxclient169_xp2.tar.gz
- nwlauncher: https://lutris.nyc3.digitaloceanspaces.com/games/neverwinter-nights/nwnlauncher.tar.gz
game:
  exe: nwn.sh
installer:
- extract:
    dst: $CACHE/tmp/innoextract
    file: innoextract
- execute:
    args: --extract $nwinstaller --output-dir $CACHE/tmp/nwn/ --gog
    file: $CACHE/tmp/innoextract/innoextract
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/ambient
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/data
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/dmvault
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/erf
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/hak
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/localvault
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/modules
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/movies
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/music
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/nwm
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/override
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/texturepacks
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/chitin.key
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/dialog.tlk
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/xp1.key
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/xp2.key
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/xp2patch.key
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/game/xp3.key
- extract:
    dst: $GAMEDIR
    file: nwclientgold
- extract:
    dst: $GAMEDIR
    file: nwclient161
- execute:
    args: u+w -R $GAMEDIR
    file: /bin/chmod
- extract:
    dst: $GAMEDIR
    file: nwclient169
- extract:
    dst: $GAMEDIR
    file: nwlauncher
- execute:
    file: $GAMEDIR/nwn.sh
- move:
    dst: $GAMEDIR/nwncdkey.ini.bak
    src: $GAMEDIR/nwncdkey.ini
- move:
    dst: $GAMEDIR
    src: $CACHE/tmp/nwn/support/app/nwncdkey.ini
require-binaries: unrar
description: Official Linux client with game files from GOG's Windows version
game_slug: neverwinter-nights
gogslug: neverwinter_nights_enhanced_edition_pack
humblestoreid: ''
installer_slug: neverwinter-nights-gog-diamond
name: Neverwinter Nights
notes: "If the game crashes on Intel GPUs, remove libtxc-dxtn-s2tc0:i386\r\nMovies\
  \ are currently not working, but it should be possible to make work."
runner: linux
script:
  files:
  - nwinstaller: N/A:Select location of GOG's executable (should be setup_nwn_diamond_2.1.x.x.exe)
  - innoextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract.tar.gz
  - nwclientgold: https://lutris.nyc3.digitaloceanspaces.com/games/neverwinter-nights/nwclientgold.tar.gz
  - nwclient161: https://lutris.nyc3.digitaloceanspaces.com/games/neverwinter-nights/nwclienthotu.tar.gz
  - nwclient169: https://lutris.nyc3.digitaloceanspaces.com/games/neverwinter-nights/English_linuxclient169_xp2.tar.gz
  - nwlauncher: https://lutris.nyc3.digitaloceanspaces.com/games/neverwinter-nights/nwnlauncher.tar.gz
  game:
    exe: nwn.sh
  installer:
  - extract:
      dst: $CACHE/tmp/innoextract
      file: innoextract
  - execute:
      args: --extract $nwinstaller --output-dir $CACHE/tmp/nwn/ --gog
      file: $CACHE/tmp/innoextract/innoextract
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/ambient
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/data
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/dmvault
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/erf
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/hak
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/localvault
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/modules
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/movies
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/music
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/nwm
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/override
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/texturepacks
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/chitin.key
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/dialog.tlk
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/xp1.key
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/xp2.key
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/xp2patch.key
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/game/xp3.key
  - extract:
      dst: $GAMEDIR
      file: nwclientgold
  - extract:
      dst: $GAMEDIR
      file: nwclient161
  - execute:
      args: u+w -R $GAMEDIR
      file: /bin/chmod
  - extract:
      dst: $GAMEDIR
      file: nwclient169
  - extract:
      dst: $GAMEDIR
      file: nwlauncher
  - execute:
      file: $GAMEDIR/nwn.sh
  - move:
      dst: $GAMEDIR/nwncdkey.ini.bak
      src: $GAMEDIR/nwncdkey.ini
  - move:
      dst: $GAMEDIR
      src: $CACHE/tmp/nwn/support/app/nwncdkey.ini
  require-binaries: unrar
slug: neverwinter-nights-gog-diamond
steamid: null
version: GOG Diamond
year: 2002
{
  "game_slug": "neverwinter-nights",
  "version": "GOG Diamond",
  "description": "Official Linux client with game files from GOG's Windows version",
  "notes": "If the game crashes on Intel GPUs, remove libtxc-dxtn-s2tc0:i386\r\nMovies are currently not working, but it should be possible to make work.",
  "name": "Neverwinter Nights",
  "year": 2002,
  "steamid": null,
  "gogslug": "neverwinter_nights_enhanced_edition_pack",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "neverwinter-nights-gog-diamond",
  "installer_slug": "neverwinter-nights-gog-diamond",
  "script": {
    "files": [
      {
        "nwinstaller": "N/A:Select location of GOG's executable (should be setup_nwn_diamond_2.1.x.x.exe)"
      },
      {
        "innoextract": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract.tar.gz"
      },
      {
        "nwclientgold": "https://lutris.nyc3.digitaloceanspaces.com/games/neverwinter-nights/nwclientgold.tar.gz"
      },
      {
        "nwclient161": "https://lutris.nyc3.digitaloceanspaces.com/games/neverwinter-nights/nwclienthotu.tar.gz"
      },
      {
        "nwclient169": "https://lutris.nyc3.digitaloceanspaces.com/games/neverwinter-nights/English_linuxclient169_xp2.tar.gz"
      },
      {
        "nwlauncher": "https://lutris.nyc3.digitaloceanspaces.com/games/neverwinter-nights/nwnlauncher.tar.gz"
      }
    ],
    "game": {
      "exe": "nwn.sh"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE/tmp/innoextract",
          "file": "innoextract"
        }
      },
      {
        "execute": {
          "args": "--extract $nwinstaller --output-dir $CACHE/tmp/nwn/ --gog",
          "file": "$CACHE/tmp/innoextract/innoextract"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/ambient"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/data"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/dmvault"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/erf"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/hak"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/localvault"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/modules"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/movies"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/music"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/nwm"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/override"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/texturepacks"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/chitin.key"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/dialog.tlk"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/xp1.key"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/xp2.key"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/xp2patch.key"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/game/xp3.key"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "nwclientgold"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "nwclient161"
        }
      },
      {
        "execute": {
          "args": "u+w -R $GAMEDIR",
          "file": "/bin/chmod"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "nwclient169"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "nwlauncher"
        }
      },
      {
        "execute": {
          "file": "$GAMEDIR/nwn.sh"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/nwncdkey.ini.bak",
          "src": "$GAMEDIR/nwncdkey.ini"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/tmp/nwn/support/app/nwncdkey.ini"
        }
      }
    ],
    "require-binaries": "unrar"
  }
}
Back to game