Installer tomb-raider-steam-tombati-hd

files:
- tombati:
    filename: TombATI_v1.8.rar
    url: http://download.glidos.net/TombATI/TombATI_v1.8.exe
- hdtextures:
    filename: TombATI_HD_Textures_v1.0.rar
    url: http://download.glidos.net/TombATI/TombATI_HD_Textures_v1.0.exe
- trpcx: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/TITLEH.zip
- cdrtools: https://github.com/legluondunet/mlls-tools/raw/master/cdrtools/cdrtools.zip
- multilang: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/tombati_multi_lang/tombati_locale.zip
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/clean.sh
game:
  exe: drive_c/TOMBATI/tombati.exe
  launch_configs:
  - exe: $GAMEDIR/drive_c/TOMBATI/Tombub.exe
    name: Tomb Raider I - Unfinished Business
  - exe: $GAMEDIR/drive_c/TOMBATI/TombATIConfigure.exe
    name: Configure TombATI HD textures
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating WINE prefix
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/TOMBATI
    file: tombati
- extract:
    dst: $GAMEDIR/drive_c/TOMBATI/TR1HD
    file: hdtextures
- task:
    app: vcrun2015
    name: winetricks
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/app
    src: cdrtools
- insert-disc:
    description: Please select "Tomb Raider I" Steam folder install.
    requires: GAME.GOG
- merge:
    dst: $CACHE/app
    src: $DISC
- execute:
    command: unset LD_LIBRARY_PATH ; cd "$CACHE/app"; ./bin2iso game.cue -c GAME.GOG
      ;./bin2iso game.cue; if [ -f "GAME-01.iso" ]; then cd=GAME-01.iso; else  cd=GAME.GOG;
      fi; echo $cd; ./7z x -y $cd;
- merge:
    dst: $GAMEDIR/drive_c/TOMBATI/DATA
    src: $CACHE/app/DATA
- merge:
    dst: $GAMEDIR/drive_c/TOMBATI/FMV
    src: $CACHE/app/FMV
- extract:
    dst: $GAMEDIR/drive_c/TOMBATI/DATA
    src: trpcx
- extract:
    dst: $GAMEDIR/drive_c/TOMBATI/patches/locale
    src: multilang
- input_menu:
    description: 'Choose your preferred game''s language for menus:'
    id: LANG
    options:
    - en_gb: English (interface + audio cutscenes)
    - fr_fr: French (interface + audio cutscenes)
    - de_de: German (interface + audio cutscenes)
    - jp_jp: Japanese (audio cutscenes)
    - es_es: Spanish (interface)
    - fi_fi: Finish (interface)
    - hu_hu: Hungarian (interface)
    - id_id: Indonesian (interface)
    - it_it: Italian (interface)
    - nl_nl: Dutch (interface)
    - pt_pt: Portuguese (interface)
    - sv_se: Swedish (interface)
    preselect: en_gb
- chmodx: script
- execute:
    args: $INPUT_LANG
    file: script
system:
  env:
    MESA_GL_VERSION_OVERRIDE: '3.3'
wine:
  overrides:
    ddraw: n,b
    winmm: n,b
description: Play "Tomb Raider I" provided by Steam on Linux! using GLRage engine
  and TombATI HD textures pack
game_slug: tomb-raider-i
gogslug: tomb_raider_123
humblestoreid: ''
installer_slug: tomb-raider-steam-tombati-hd
name: Tomb Raider
notes: "- You have to install \"Tomb Raider 1\" on Steam before to launch this script\
  \ installer\r\n- Gold extension included\r\n- Multilanguage: during install, you\
  \ could choose your preferred language for interface and audio cutscenes between\
  \ English, French and German; only audio cutscenes translation for Japanese; only\
  \ translated interface  for Spanish, Finish, Hungarian, Indonesian, Italian, Dutch,\
  \ Portuguese and Swedish\r\n- TR1 has insufficient controller support, you will\
  \ find AntimicroX profiles I wrote here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Tomb%20Raider%20I/gamepad%20profiles"
runner: wine
script:
  files:
  - tombati:
      filename: TombATI_v1.8.rar
      url: http://download.glidos.net/TombATI/TombATI_v1.8.exe
  - hdtextures:
      filename: TombATI_HD_Textures_v1.0.rar
      url: http://download.glidos.net/TombATI/TombATI_HD_Textures_v1.0.exe
  - trpcx: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/TITLEH.zip
  - cdrtools: https://github.com/legluondunet/mlls-tools/raw/master/cdrtools/cdrtools.zip
  - multilang: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/tombati_multi_lang/tombati_locale.zip
  - script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/clean.sh
  game:
    exe: drive_c/TOMBATI/tombati.exe
    launch_configs:
    - exe: $GAMEDIR/drive_c/TOMBATI/Tombub.exe
      name: Tomb Raider I - Unfinished Business
    - exe: $GAMEDIR/drive_c/TOMBATI/TombATIConfigure.exe
      name: Configure TombATI HD textures
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating WINE prefix
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/TOMBATI
      file: tombati
  - extract:
      dst: $GAMEDIR/drive_c/TOMBATI/TR1HD
      file: hdtextures
  - task:
      app: vcrun2015
      name: winetricks
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE/app
      src: cdrtools
  - insert-disc:
      description: Please select "Tomb Raider I" Steam folder install.
      requires: GAME.GOG
  - merge:
      dst: $CACHE/app
      src: $DISC
  - execute:
      command: unset LD_LIBRARY_PATH ; cd "$CACHE/app"; ./bin2iso game.cue -c GAME.GOG
        ;./bin2iso game.cue; if [ -f "GAME-01.iso" ]; then cd=GAME-01.iso; else  cd=GAME.GOG;
        fi; echo $cd; ./7z x -y $cd;
  - merge:
      dst: $GAMEDIR/drive_c/TOMBATI/DATA
      src: $CACHE/app/DATA
  - merge:
      dst: $GAMEDIR/drive_c/TOMBATI/FMV
      src: $CACHE/app/FMV
  - extract:
      dst: $GAMEDIR/drive_c/TOMBATI/DATA
      src: trpcx
  - extract:
      dst: $GAMEDIR/drive_c/TOMBATI/patches/locale
      src: multilang
  - input_menu:
      description: 'Choose your preferred game''s language for menus:'
      id: LANG
      options:
      - en_gb: English (interface + audio cutscenes)
      - fr_fr: French (interface + audio cutscenes)
      - de_de: German (interface + audio cutscenes)
      - jp_jp: Japanese (audio cutscenes)
      - es_es: Spanish (interface)
      - fi_fi: Finish (interface)
      - hu_hu: Hungarian (interface)
      - id_id: Indonesian (interface)
      - it_it: Italian (interface)
      - nl_nl: Dutch (interface)
      - pt_pt: Portuguese (interface)
      - sv_se: Swedish (interface)
      preselect: en_gb
  - chmodx: script
  - execute:
      args: $INPUT_LANG
      file: script
  system:
    env:
      MESA_GL_VERSION_OVERRIDE: '3.3'
  wine:
    overrides:
      ddraw: n,b
      winmm: n,b
slug: tomb-raider-steam-tombati-hd
steamid: 224960
version: Steam + TombATI HD
year: 1996
{
  "game_slug": "tomb-raider-i",
  "version": "Steam + TombATI HD",
  "description": "Play \"Tomb Raider I\" provided by Steam on Linux! using GLRage engine and TombATI HD textures pack",
  "notes": "- You have to install \"Tomb Raider 1\" on Steam before to launch this script installer\r\n- Gold extension included\r\n- Multilanguage: during install, you could choose your preferred language for interface and audio cutscenes between English, French and German; only audio cutscenes translation for Japanese; only translated interface  for Spanish, Finish, Hungarian, Indonesian, Italian, Dutch, Portuguese and Swedish\r\n- TR1 has insufficient controller support, you will find AntimicroX profiles I wrote here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Tomb%20Raider%20I/gamepad%20profiles",
  "name": "Tomb Raider",
  "year": 1996,
  "steamid": 224960,
  "gogslug": "tomb_raider_123",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "tomb-raider-steam-tombati-hd",
  "installer_slug": "tomb-raider-steam-tombati-hd",
  "script": {
    "files": [
      {
        "tombati": {
          "filename": "TombATI_v1.8.rar",
          "url": "http://download.glidos.net/TombATI/TombATI_v1.8.exe"
        }
      },
      {
        "hdtextures": {
          "filename": "TombATI_HD_Textures_v1.0.rar",
          "url": "http://download.glidos.net/TombATI/TombATI_HD_Textures_v1.0.exe"
        }
      },
      {
        "trpcx": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/TITLEH.zip"
      },
      {
        "cdrtools": "https://github.com/legluondunet/mlls-tools/raw/master/cdrtools/cdrtools.zip"
      },
      {
        "multilang": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/tombati_multi_lang/tombati_locale.zip"
      },
      {
        "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/clean.sh"
      }
    ],
    "game": {
      "exe": "drive_c/TOMBATI/tombati.exe",
      "launch_configs": [
        {
          "exe": "$GAMEDIR/drive_c/TOMBATI/Tombub.exe",
          "name": "Tomb Raider I - Unfinished Business"
        },
        {
          "exe": "$GAMEDIR/drive_c/TOMBATI/TombATIConfigure.exe",
          "name": "Configure TombATI HD textures"
        }
      ],
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating WINE prefix",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/TOMBATI",
          "file": "tombati"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/TOMBATI/TR1HD",
          "file": "hdtextures"
        }
      },
      {
        "task": {
          "app": "vcrun2015",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/app",
          "src": "cdrtools"
        }
      },
      {
        "insert-disc": {
          "description": "Please select \"Tomb Raider I\" Steam folder install.",
          "requires": "GAME.GOG"
        }
      },
      {
        "merge": {
          "dst": "$CACHE/app",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "command": "unset LD_LIBRARY_PATH ; cd \"$CACHE/app\"; ./bin2iso game.cue -c GAME.GOG ;./bin2iso game.cue; if [ -f \"GAME-01.iso\" ]; then cd=GAME-01.iso; else  cd=GAME.GOG; fi; echo $cd; ./7z x -y $cd;"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/TOMBATI/DATA",
          "src": "$CACHE/app/DATA"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/TOMBATI/FMV",
          "src": "$CACHE/app/FMV"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/TOMBATI/DATA",
          "src": "trpcx"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/TOMBATI/patches/locale",
          "src": "multilang"
        }
      },
      {
        "input_menu": {
          "description": "Choose your preferred game's language for menus:",
          "id": "LANG",
          "options": [
            {
              "en_gb": "English (interface + audio cutscenes)"
            },
            {
              "fr_fr": "French (interface + audio cutscenes)"
            },
            {
              "de_de": "German (interface + audio cutscenes)"
            },
            {
              "jp_jp": "Japanese (audio cutscenes)"
            },
            {
              "es_es": "Spanish (interface)"
            },
            {
              "fi_fi": "Finish (interface)"
            },
            {
              "hu_hu": "Hungarian (interface)"
            },
            {
              "id_id": "Indonesian (interface)"
            },
            {
              "it_it": "Italian (interface)"
            },
            {
              "nl_nl": "Dutch (interface)"
            },
            {
              "pt_pt": "Portuguese (interface)"
            },
            {
              "sv_se": "Swedish (interface)"
            }
          ],
          "preselect": "en_gb"
        }
      },
      {
        "chmodx": "script"
      },
      {
        "execute": {
          "args": "$INPUT_LANG",
          "file": "script"
        }
      }
    ],
    "system": {
      "env": {
        "MESA_GL_VERSION_OVERRIDE": "3.3"
      }
    },
    "wine": {
      "overrides": {
        "ddraw": "n,b",
        "winmm": "n,b"
      }
    }
  }
}
Back to game