Installer indiana-jones-and-the-emperor-gog-dgv2

files:
- multi5: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Indiana%20Jones%20and%20the%20Emperor's%20Tomb/ijet_multi5.tar.xz
- gogsetup: N/A:Please select the game setup Windows exe file downloaded from your
    GOG account.
- wrapper: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip
- conf_file: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Indiana%20Jones%20and%20the%20Emperor's%20Tomb/vars.cfg
game:
  exe: drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/bin/indy.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb
    file: gogsetup
    format: gog
- merge:
    dst: drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/indy
    src: drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/__support/app/GameData/indy
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/indy
    src: conf_file
- extract:
    dst: $CACHE
    format: txz
    src: multi5
- input_menu:
    description: 'Please choose your preferred game''s language for menus and subtitles:'
    id: LANG
    options:
    - keep: Keep the default language from the downloaded installer
    - fr: French
    - es: Spanish
    - it: Italian
    - de: German
    - ru: Russian
    preselect: keep
- execute:
    command: cd "$GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/indy";
      if [ $INPUT_LANG != "keep" ];  then echo "language choisi " $INPUT_LANG; cp
      -f -r "$CACHE/"$INPUT_LANG/gameinfo . ; else echo "keep" ; fi;
- extract:
    dst: $CACHE
    file: wrapper
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/bin
    src: $CACHE/MS/x86/D3D8.dll
- write_config:
    data:
      DirectX:
        dgVoodooWatermark: false
    file: $GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/bin/dgVoodoo.conf
system:
  gamescope: true
  gamescope_fps_limiter: '60'
  gamescope_game_res: 1280x960
  gamescope_output_res: $RESOLUTION
wine:
  overrides:
    d3d8: n,b
description: Play "Indiana Jones and the Emperor's Tomb" provided by GOG on Linux!
game_slug: indiana-jones-and-the-emperors-tomb
gogslug: indiana_jones_and_the_emperors_tomb
humblestoreid: ''
installer_slug: indiana-jones-and-the-emperor-gog-dgv2
name: Indiana Jones and the Emperor's Tomb
notes: "- Using dgVoodoo2 to fix white lines and playing scaled cinematics\r\n- Using\
  \ Gamescope is mandatory with this game because it does not support alt+tab causing\
  \ the game to crash\r\n- If game crashes with this error message: \"An invalid floating\
  \ point camera matrix was passed to the D3D driver\", use Proton experimental\r\n\
  - Multilingual: You could choose your preferred game's language for menus and subtitles\
  \ between English (default), French, Spanish, German, Italian and Russian\r\n- IJET\
  \ has insufficient controller support, I invite you to use a keymapper. You will\
  \ find AntiMicroX profile(s) here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Indiana%20Jones%20and%20the%20Emperor's%20Tomb/gamepad%20profiles"
runner: wine
script:
  files:
  - multi5: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Indiana%20Jones%20and%20the%20Emperor's%20Tomb/ijet_multi5.tar.xz
  - gogsetup: N/A:Please select the game setup Windows exe file downloaded from your
      GOG account.
  - wrapper: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip
  - conf_file: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Indiana%20Jones%20and%20the%20Emperor's%20Tomb/vars.cfg
  game:
    exe: drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/bin/indy.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb
      file: gogsetup
      format: gog
  - merge:
      dst: drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/indy
      src: drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/__support/app/GameData/indy
  - copy:
      dst: $GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/indy
      src: conf_file
  - extract:
      dst: $CACHE
      format: txz
      src: multi5
  - input_menu:
      description: 'Please choose your preferred game''s language for menus and subtitles:'
      id: LANG
      options:
      - keep: Keep the default language from the downloaded installer
      - fr: French
      - es: Spanish
      - it: Italian
      - de: German
      - ru: Russian
      preselect: keep
  - execute:
      command: cd "$GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/indy";
        if [ $INPUT_LANG != "keep" ];  then echo "language choisi " $INPUT_LANG; cp
        -f -r "$CACHE/"$INPUT_LANG/gameinfo . ; else echo "keep" ; fi;
  - extract:
      dst: $CACHE
      file: wrapper
  - copy:
      dst: $GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/bin
      src: $CACHE/MS/x86/D3D8.dll
  - write_config:
      data:
        DirectX:
          dgVoodooWatermark: false
      file: $GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/bin/dgVoodoo.conf
  system:
    gamescope: true
    gamescope_fps_limiter: '60'
    gamescope_game_res: 1280x960
    gamescope_output_res: $RESOLUTION
  wine:
    overrides:
      d3d8: n,b
slug: indiana-jones-and-the-emperor-gog-dgv2
steamid: 560430
version: GOG + dgV2
year: 2003
{
  "game_slug": "indiana-jones-and-the-emperors-tomb",
  "version": "GOG + dgV2",
  "description": "Play \"Indiana Jones and the Emperor's Tomb\" provided by GOG on Linux!",
  "notes": "- Using dgVoodoo2 to fix white lines and playing scaled cinematics\r\n- Using Gamescope is mandatory with this game because it does not support alt+tab causing the game to crash\r\n- If game crashes with this error message: \"An invalid floating point camera matrix was passed to the D3D driver\", use Proton experimental\r\n- Multilingual: You could choose your preferred game's language for menus and subtitles between English (default), French, Spanish, German, Italian and Russian\r\n- IJET has insufficient controller support, I invite you to use a keymapper. You will find AntiMicroX profile(s) here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Indiana%20Jones%20and%20the%20Emperor's%20Tomb/gamepad%20profiles",
  "name": "Indiana Jones and the Emperor's Tomb",
  "year": 2003,
  "steamid": 560430,
  "gogslug": "indiana_jones_and_the_emperors_tomb",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "indiana-jones-and-the-emperor-gog-dgv2",
  "installer_slug": "indiana-jones-and-the-emperor-gog-dgv2",
  "script": {
    "files": [
      {
        "multi5": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Indiana%20Jones%20and%20the%20Emperor's%20Tomb/ijet_multi5.tar.xz"
      },
      {
        "gogsetup": "N/A:Please select the game setup Windows exe file downloaded from your GOG account."
      },
      {
        "wrapper": "https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip"
      },
      {
        "conf_file": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Indiana%20Jones%20and%20the%20Emperor's%20Tomb/vars.cfg"
      }
    ],
    "game": {
      "exe": "drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/bin/indy.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb",
          "file": "gogsetup",
          "format": "gog"
        }
      },
      {
        "merge": {
          "dst": "drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/indy",
          "src": "drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/__support/app/GameData/indy"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/indy",
          "src": "conf_file"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "format": "txz",
          "src": "multi5"
        }
      },
      {
        "input_menu": {
          "description": "Please choose your preferred game's language for menus and subtitles:",
          "id": "LANG",
          "options": [
            {
              "keep": "Keep the default language from the downloaded installer"
            },
            {
              "fr": "French"
            },
            {
              "es": "Spanish"
            },
            {
              "it": "Italian"
            },
            {
              "de": "German"
            },
            {
              "ru": "Russian"
            }
          ],
          "preselect": "keep"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/indy\"; if [ $INPUT_LANG != \"keep\" ];  then echo \"language choisi \" $INPUT_LANG; cp -f -r \"$CACHE/\"$INPUT_LANG/gameinfo . ; else echo \"keep\" ; fi;"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "wrapper"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/bin",
          "src": "$CACHE/MS/x86/D3D8.dll"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "dgVoodooWatermark": false
            }
          },
          "file": "$GAMEDIR/drive_c/GOG Games/Indiana Jones and the Emperor's Tomb/GameData/bin/dgVoodoo.conf"
        }
      }
    ],
    "system": {
      "gamescope": true,
      "gamescope_fps_limiter": "60",
      "gamescope_game_res": "1280x960",
      "gamescope_output_res": "$RESOLUTION"
    },
    "wine": {
      "overrides": {
        "d3d8": "n,b"
      }
    }
  }
}
Back to game