Installer tomb-raider-i-cd-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 - CD - 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
- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
- 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
- insert-disc:
    description: Please insert Tomb Raider 1 CD and press autodetect.
    requires: tomb.exe
- execute:
    command: cd "$DISC"; ls | grep -i data | xargs -I '{}' find '{}' | xargs cp -t
      "$GAMEDIR/drive_c/TOMBATI/DATA"; chmod +w "$GAMEDIR/drive_c/TOMBATI/DATA/"*
      ;
- execute:
    command: cd "$DISC"; ls | grep -i fmv | xargs -I '{}' find '{}' | xargs cp -t
      "$GAMEDIR/drive_c/TOMBATI/FMV"; chmod +w "$GAMEDIR/drive_c/TOMBATI/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"
      }
    },
    {
      "insert-disc": {
        "requires": "tomb.exe",
        "description": "Please insert Tomb Raider 1 CD and press autodetect."
      }
    },
    {
      "execute": {
        "command": "cd \"$DISC\"; ls | grep -i data | xargs -I '{}' find '{}' | xargs cp -t \"$GAMEDIR/drive_c/TOMBATI/DATA\"; chmod +w \"$GAMEDIR/drive_c/TOMBATI/DATA/\"* ;"
      }
    },
    {
      "execute": {
        "command": "cd \"$DISC\"; ls | grep -i fmv | xargs -I '{}' find '{}' | xargs cp -t \"$GAMEDIR/drive_c/TOMBATI/FMV\"; chmod +w \"$GAMEDIR/drive_c/TOMBATI/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 - CD - 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"
    },
    {
      "inno": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    },
    {
      "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