Installer tomb-raider-iii-the-lost-arte-cd-tomb3-dgvoodoo2

files:
- wrapper: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip
- mod: https://github.com/Trxyebeep/tomb3/releases/download/V2.0.2/tomb3.zip
game:
  args: -gold
  exe: drive_c/TR3TLA/tomb3.exe
  launch_configs:
  - args: -setup
    exe: $GAMEDIR/drive_c/TR3TLA/tomb3.exe
    name: Tomb Raider 3 - Setup dialog box
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating WINE prefix
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    description: Please insert "Tomb Raider III - The Lost Artefact" CD and press
      "Autodetect"
    requires: data/trtla.dat
- merge:
    dst: $GAMEDIR/drive_c/TR3TLA
    src: $DISC
- execute:
    command: cd $GAMEDIR/drive_c; chmod -R +rw TR3TLA;
- extract:
    dst: $GAMEDIR/drive_c/TR3TLA
    file: mod
- extract:
    dst: $GAMEDIR/drive_c/TR3TLA
    file: wrapper
- merge:
    dst: $GAMEDIR/drive_c/TR3TLA
    src: $GAMEDIR/drive_c/TR3TLA/MS/x86
- write_config:
    data:
      DirectX:
        dgVoodooWatermark: false
    file: $GAMEDIR/drive_c/TR3TLA/dgVoodoo.conf
    merge: false
- execute:
    command: unset LD_LIBRARY_PATH; cd "$GAMEDIR/drive_c/TR3TLA"; ls -d */ | grep
      -i pix | xargs -I {} -t mv {} pixg; ls -d */ | grep -i data | xargs -I {} -t
      mv {} datag; mv saves savesg; mv datag/Data/TOMBPC.DAT datag; rm -f -r tr3gold.exe
      3Dfx Doc MS DIRECTX Script autorun* data1* DSETUP* _* setup.* layout.bin os.dat
      DATA.TAG lang.dat Setup.exe SETUP.INI D3D9.dll D3D8.dll datag/Data;
system:
  env:
    DXVK_FRAME_RATE: '60'
    DXVK_HUD: null
  gamescope: true
  gamescope_fps_limiter: '60'
  gamescope_game_res: $RESOLUTION
  gamescope_output_res: $RESOLUTION
wine:
  overrides:
    ddraw: n,b
description: Play "Tomb Raider III - The Lost Artefact" CD edition on Linux! using
  TOMB3 open source project and dgVoodoo2
game_slug: tomb-raider-iii-the-lost-artefact
gogslug: ''
humblestoreid: ''
installer_slug: tomb-raider-iii-the-lost-arte-cd-tomb3-dgvoodoo2
name: 'Tomb Raider III: The Lost Artefact'
notes: '- TR3 has insufficient controller support, you will find profiles for AntimicroX
  keymapper here: https://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Tomb%20Raider%20III%20-%20Adventures%20of%20Lara%20Croft/gamepad%20profiles'
runner: wine
script:
  files:
  - wrapper: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip
  - mod: https://github.com/Trxyebeep/tomb3/releases/download/V2.0.2/tomb3.zip
  game:
    args: -gold
    exe: drive_c/TR3TLA/tomb3.exe
    launch_configs:
    - args: -setup
      exe: $GAMEDIR/drive_c/TR3TLA/tomb3.exe
      name: Tomb Raider 3 - Setup dialog box
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating WINE prefix
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      description: Please insert "Tomb Raider III - The Lost Artefact" CD and press
        "Autodetect"
      requires: data/trtla.dat
  - merge:
      dst: $GAMEDIR/drive_c/TR3TLA
      src: $DISC
  - execute:
      command: cd $GAMEDIR/drive_c; chmod -R +rw TR3TLA;
  - extract:
      dst: $GAMEDIR/drive_c/TR3TLA
      file: mod
  - extract:
      dst: $GAMEDIR/drive_c/TR3TLA
      file: wrapper
  - merge:
      dst: $GAMEDIR/drive_c/TR3TLA
      src: $GAMEDIR/drive_c/TR3TLA/MS/x86
  - write_config:
      data:
        DirectX:
          dgVoodooWatermark: false
      file: $GAMEDIR/drive_c/TR3TLA/dgVoodoo.conf
      merge: false
  - execute:
      command: unset LD_LIBRARY_PATH; cd "$GAMEDIR/drive_c/TR3TLA"; ls -d */ | grep
        -i pix | xargs -I {} -t mv {} pixg; ls -d */ | grep -i data | xargs -I {}
        -t mv {} datag; mv saves savesg; mv datag/Data/TOMBPC.DAT datag; rm -f -r
        tr3gold.exe 3Dfx Doc MS DIRECTX Script autorun* data1* DSETUP* _* setup.*
        layout.bin os.dat DATA.TAG lang.dat Setup.exe SETUP.INI D3D9.dll D3D8.dll
        datag/Data;
  system:
    env:
      DXVK_FRAME_RATE: '60'
      DXVK_HUD: null
    gamescope: true
    gamescope_fps_limiter: '60'
    gamescope_game_res: $RESOLUTION
    gamescope_output_res: $RESOLUTION
  wine:
    overrides:
      ddraw: n,b
slug: tomb-raider-iii-the-lost-arte-cd-tomb3-dgvoodoo2
steamid: null
version: CD + TOMB3 + dgVoodoo2
year: 2000
{
  "game_slug": "tomb-raider-iii-the-lost-artefact",
  "version": "CD + TOMB3 + dgVoodoo2",
  "description": "Play \"Tomb Raider III - The Lost Artefact\" CD edition on Linux! using TOMB3 open source project and dgVoodoo2",
  "notes": "- TR3 has insufficient controller support, you will find profiles for AntimicroX keymapper here: https://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Tomb%20Raider%20III%20-%20Adventures%20of%20Lara%20Croft/gamepad%20profiles",
  "name": "Tomb Raider III: The Lost Artefact",
  "year": 2000,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "tomb-raider-iii-the-lost-arte-cd-tomb3-dgvoodoo2",
  "installer_slug": "tomb-raider-iii-the-lost-arte-cd-tomb3-dgvoodoo2",
  "script": {
    "files": [
      {
        "wrapper": "https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip"
      },
      {
        "mod": "https://github.com/Trxyebeep/tomb3/releases/download/V2.0.2/tomb3.zip"
      }
    ],
    "game": {
      "args": "-gold",
      "exe": "drive_c/TR3TLA/tomb3.exe",
      "launch_configs": [
        {
          "args": "-setup",
          "exe": "$GAMEDIR/drive_c/TR3TLA/tomb3.exe",
          "name": "Tomb Raider 3 - Setup dialog box"
        }
      ],
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating WINE prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert \"Tomb Raider III - The Lost Artefact\" CD and press \"Autodetect\"",
          "requires": "data/trtla.dat"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/TR3TLA",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "command": "cd $GAMEDIR/drive_c; chmod -R +rw TR3TLA;"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/TR3TLA",
          "file": "mod"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/TR3TLA",
          "file": "wrapper"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/TR3TLA",
          "src": "$GAMEDIR/drive_c/TR3TLA/MS/x86"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "dgVoodooWatermark": false
            }
          },
          "file": "$GAMEDIR/drive_c/TR3TLA/dgVoodoo.conf",
          "merge": false
        }
      },
      {
        "execute": {
          "command": "unset LD_LIBRARY_PATH; cd \"$GAMEDIR/drive_c/TR3TLA\"; ls -d */ | grep -i pix | xargs -I {} -t mv {} pixg; ls -d */ | grep -i data | xargs -I {} -t mv {} datag; mv saves savesg; mv datag/Data/TOMBPC.DAT datag; rm -f -r tr3gold.exe 3Dfx Doc MS DIRECTX Script autorun* data1* DSETUP* _* setup.* layout.bin os.dat DATA.TAG lang.dat Setup.exe SETUP.INI D3D9.dll D3D8.dll datag/Data;"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": "60",
        "DXVK_HUD": null
      },
      "gamescope": true,
      "gamescope_fps_limiter": "60",
      "gamescope_game_res": "$RESOLUTION",
      "gamescope_output_res": "$RESOLUTION"
    },
    "wine": {
      "overrides": {
        "ddraw": "n,b"
      }
    }
  }
}
Back to game