Installer tomb-raider-i-steam-tombati-hd

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.

custom-name: Tomb Raider I - Steam - TombATI HD
files:
- tombati:
    filename: TombATI_v1.7.rar
    url: http://download.glidos.net/TombATI/TombATI_v1.7.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
- menu: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/TOMBATI.BAT
- gppx360: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/gamepad%20profiles/tr1-2_x360.gamecontroller.amgp
- gppsteam: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/gamepad%20profiles/tr1-2_steam.sccprofile
- gppreadme: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/gamepad%20profiles/tr1-2_gamepad_readme.html
- wpp: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/tr1.bmp
- 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:
  arch: win64
  args: c:\\TOMBATI\\TOMBATI.BAT
  exe: drive_c/windows/syswow64/wineconsole.exe
  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
- move:
    dst: $GAMEDIR/drive_c/TOMBATI/
    src: menu
- merge:
    dst: $GAMEDIR/drive_c/TOMBATI/gamepad profiles/
    src: gppx360
- merge:
    dst: $GAMEDIR/drive_c/TOMBATI/gamepad profiles/
    src: gppsteam
- merge:
    dst: $GAMEDIR/drive_c/TOMBATI/gamepad profiles/
    src: gppreadme
- task:
    app: vcrun2015
    name: winetricks
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/app
    src: cdrtools
- insert-disc:
    description: Please select Tomb Raider 1 Steam folder install.
    requires: GAME.GOG
- merge:
    dst: $CACHE/app
    src: $DISC
- execute:
    command: 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
- move:
    dst: $GAMEDIR/drive_c/
    src: wpp
- 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
- task:
    arch: win64
    key: ddraw
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides\
    prefix: $GAMEDIR
    type: REG_SZ
    value: native,builtin
- task:
    arch: win64
    key: winmm
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides\
    prefix: $GAMEDIR
    type: REG_SZ
    value: native,builtin
- task:
    arch: win64
    key: csmt
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000000'
- task:
    arch: win64
    key: wallpaper
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Desktop\
    prefix: $GAMEDIR
    type: REG_SZ
    value: c:\\tr1.bmp
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
- task:
    arch: win64
    key: ActiveTitle
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
- task:
    arch: win64
    key: GradientActiveTitle
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 255 179 102
wine:
  Desktop: true
{
  "installer": [
    {
      "task": {
        "name": "create_prefix",
        "prefix": "$GAMEDIR",
        "description": "Creating WINE prefix",
        "arch": "win64",
        "install_gecko": false,
        "install_mono": false
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/TOMBATI/",
        "file": "tombati"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/TOMBATI/TR1HD/",
        "file": "hdtextures"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/drive_c/TOMBATI/",
        "src": "menu"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/TOMBATI/gamepad profiles/",
        "src": "gppx360"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/TOMBATI/gamepad profiles/",
        "src": "gppsteam"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/TOMBATI/gamepad profiles/",
        "src": "gppreadme"
      }
    },
    {
      "task": {
        "name": "winetricks",
        "prefix": "$GAMEDIR",
        "app": "vcrun2015"
      }
    },
    {
      "extract": {
        "dst": "$CACHE/app",
        "src": "cdrtools"
      }
    },
    {
      "insert-disc": {
        "requires": "GAME.GOG",
        "description": "Please select Tomb Raider 1 Steam folder install."
      }
    },
    {
      "merge": {
        "dst": "$CACHE/app",
        "src": "$DISC"
      }
    },
    {
      "execute": {
        "command": "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"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/drive_c/",
        "src": "wpp"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/TOMBATI/patches/locale",
        "src": "multilang"
      }
    },
    {
      "input_menu": {
        "preselect": "en_gb",
        "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)"
          }
        ],
        "description": "Choose your preferred game's language for menus:",
        "id": "LANG"
      }
    },
    {
      "chmodx": "script"
    },
    {
      "execute": {
        "args": "$INPUT_LANG",
        "file": "script"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "key": "ddraw",
        "prefix": "$GAMEDIR",
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides\\",
        "type": "REG_SZ",
        "value": "native,builtin"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "key": "winmm",
        "prefix": "$GAMEDIR",
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides\\",
        "type": "REG_SZ",
        "value": "native,builtin"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "key": "csmt",
        "prefix": "$GAMEDIR",
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
        "type": "REG_DWORD",
        "value": "00000000"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "key": "wallpaper",
        "prefix": "$GAMEDIR",
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Desktop\\",
        "type": "REG_SZ",
        "value": "c:\\\\tr1.bmp"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "key": "background",
        "prefix": "$GAMEDIR",
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "type": "REG_SZ",
        "value": "0 0 0"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "key": "ActiveTitle",
        "prefix": "$GAMEDIR",
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "type": "REG_SZ",
        "value": "0 0 0"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "key": "GradientActiveTitle",
        "prefix": "$GAMEDIR",
        "arch": "win64",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "type": "REG_SZ",
        "value": "255 179 102"
      }
    }
  ],
  "game": {
    "args": "c:\\\\TOMBATI\\\\TOMBATI.BAT",
    "prefix": "$GAMEDIR",
    "exe": "drive_c/windows/syswow64/wineconsole.exe",
    "arch": "win64"
  },
  "wine": {
    "Desktop": true
  },
  "custom-name": "Tomb Raider I - Steam - TombATI HD",
  "files": [
    {
      "tombati": {
        "url": "http://download.glidos.net/TombATI/TombATI_v1.7.exe",
        "filename": "TombATI_v1.7.rar"
      }
    },
    {
      "hdtextures": {
        "url": "http://download.glidos.net/TombATI/TombATI_HD_Textures_v1.0.exe",
        "filename": "TombATI_HD_Textures_v1.0.rar"
      }
    },
    {
      "trpcx": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/TITLEH.zip"
    },
    {
      "menu": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/TOMBATI.BAT"
    },
    {
      "gppx360": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/gamepad%20profiles/tr1-2_x360.gamecontroller.amgp"
    },
    {
      "gppsteam": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/gamepad%20profiles/tr1-2_steam.sccprofile"
    },
    {
      "gppreadme": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/gamepad%20profiles/tr1-2_gamepad_readme.html"
    },
    {
      "wpp": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%20I/tr1.bmp"
    },
    {
      "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"
    }
  ]
}
Back to game