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
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 insert Tomb Raider 1 CD and press autodetect.
    requires: GAME.GOG
- merge:
    dst: $CACHE/app
    src: $DISC
- execute:
    command: cd "$CACHE/app"; ./bin2iso game.cue -c GAME.GOG ; ./bchunk GAME.GOG game.cue
      tr1 ;
- extract:
    dst: $CACHE/app
    format: iso
    src: $CACHE/app/tr101.iso
- 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
- 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
- move:
    dst: $CACHE/
    src: $GAMEDIR/drive_c/TOMBATI/INSTALL.BAT
- move:
    dst: $CACHE/
    src: $GAMEDIR/drive_c/TOMBATI/shortcutJS.bat
- move:
    dst: $CACHE/
    src: $GAMEDIR/drive_c/TOMBATI/vc_redist.x86.exe
wine:
  Desktop: true
{
  "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"
    }
  ],
  "game": {
    "args": "c:\\\\TOMBATI\\\\TOMBATI.BAT",
    "arch": "win64",
    "exe": "drive_c/windows/syswow64/wineconsole.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "description": "Creating WINE prefix",
        "name": "create_prefix",
        "arch": "win64",
        "prefix": "$GAMEDIR",
        "install_mono": false,
        "install_gecko": 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": {
        "prefix": "$GAMEDIR",
        "name": "winetricks",
        "app": "vcrun2015"
      }
    },
    {
      "extract": {
        "dst": "$CACHE/app",
        "src": "cdrtools"
      }
    },
    {
      "insert-disc": {
        "description": "Please insert Tomb Raider 1 CD and press autodetect.",
        "requires": "GAME.GOG"
      }
    },
    {
      "merge": {
        "dst": "$CACHE/app",
        "src": "$DISC"
      }
    },
    {
      "execute": {
        "command": "cd \"$CACHE/app\"; ./bin2iso game.cue -c GAME.GOG ; ./bchunk GAME.GOG game.cue tr1 ;"
      }
    },
    {
      "extract": {
        "dst": "$CACHE/app",
        "format": "iso",
        "src": "$CACHE/app/tr101.iso"
      }
    },
    {
      "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"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "arch": "win64",
        "key": "ddraw",
        "prefix": "$GAMEDIR",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides\\",
        "value": "native,builtin",
        "type": "REG_SZ"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "arch": "win64",
        "key": "winmm",
        "prefix": "$GAMEDIR",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides\\",
        "value": "native,builtin",
        "type": "REG_SZ"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "arch": "win64",
        "key": "csmt",
        "prefix": "$GAMEDIR",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
        "value": "00000000",
        "type": "REG_DWORD"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "arch": "win64",
        "key": "wallpaper",
        "prefix": "$GAMEDIR",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Desktop\\",
        "value": "c:\\\\tr1.bmp",
        "type": "REG_SZ"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "arch": "win64",
        "key": "background",
        "prefix": "$GAMEDIR",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "value": "0 0 0",
        "type": "REG_SZ"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "arch": "win64",
        "key": "ActiveTitle",
        "prefix": "$GAMEDIR",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "value": "0 0 0",
        "type": "REG_SZ"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "arch": "win64",
        "key": "GradientActiveTitle",
        "prefix": "$GAMEDIR",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "value": "255 179 102",
        "type": "REG_SZ"
      }
    },
    {
      "move": {
        "dst": "$CACHE/",
        "src": "$GAMEDIR/drive_c/TOMBATI/INSTALL.BAT"
      }
    },
    {
      "move": {
        "dst": "$CACHE/",
        "src": "$GAMEDIR/drive_c/TOMBATI/shortcutJS.bat"
      }
    },
    {
      "move": {
        "dst": "$CACHE/",
        "src": "$GAMEDIR/drive_c/TOMBATI/vc_redist.x86.exe"
      }
    }
  ],
  "wine": {
    "Desktop": true
  },
  "custom-name": "Tomb Raider I - Steam - TombATI HD"
}
Back to game