Installer true-crime-streets-of-la-cd

files:
- nocd: https://github.com/keenanweaver/lutris-files/raw/true-crime-streets-of-la/rtruecr.rar
- multifix: https://github.com/keenanweaver/lutris-files/raw/true-crime-streets-of-la/True_Crime_Multi_Fix.rar
- widescreen: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/truecrimesola/TrueCrimeStreetsofLA.WidescreenFix.zip
- dsoal: http://vaporeon.io/hosted/dsoal-builds/dsoal-latest.7z
game:
  arch: win32
  exe: drive_c/Program Files/Activision/True Crime/TrueCrime.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    description: Please select the directory where you copied the content of discs
      1-4
    requires: setup.exe
- task:
    arch: win32
    description: Installing True Crime. Please use default options.
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/Program Files/Activision/True Crime
    src: nocd
- extract:
    dst: $GAMEDIR/drive_c/Program Files/Activision/True Crime
    src: multifix
- extract:
    dst: $GAMEDIR/drive_c/Program Files/Activision/True Crime
    src: widescreen
- extract:
    dst: $GAMEDIR/drive_c/Program Files/Activision/True Crime
    src: dsoal
- execute:
    command: curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest
      | grep browser_download_url | grep -vE '(dbg|API)' | cut -d '"' -f 4 | wget
      -i- -P $CACHE
    description: Download latest dgVoodoo2 release
- execute:
    command: find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'
    description: Extract latest dgVoodoo2 release to $CACHE
- execute:
    command: mv $CACHE/MS/x86/D3D9.dll $CACHE/MS/x86/D3D8.dll $CACHE/dgVoodooCpl.exe
      $CACHE/dgVoodoo.conf '$GAMEDIR/drive_c/Program Files/Activision/True Crime'
    description: Move dgVoodoo2 components to $GAMEDIR
- write_config:
    data:
      DirectX:
        Antialiasing: 8x
        AppControlledScreenMode: false
        DisableAltEnterToToggleScreenMode: false
        Filtering: 16
        Resolution: max_isf
        VRAM: 128
        VideoCard: internal3D
        dgVoodooWatermark: false
      General:
        ScalingMode: stretched_ar
    description: Write dgVoodoo.conf file
    file: $GAMEDIR/drive_c/Program Files/Activision/True Crime/dgVoodoo.conf
    merge: false
wine:
  overrides:
    d3d8: n,b
    d3d9: n,b
    dinput8: n,b
    dsoal-aldrv: n,b
    dsound: n,b
description: Includes widescreen, audio fixes, and no-CD support
game_slug: true-crime-streets-of-la
gogslug: ''
humblestoreid: ''
installer_slug: true-crime-streets-of-la-cd
name: 'True Crime: Streets of LA'
notes: Copy the contents of the game discs to one directory prior to running the installer.
runner: wine
script:
  files:
  - nocd: https://github.com/keenanweaver/lutris-files/raw/true-crime-streets-of-la/rtruecr.rar
  - multifix: https://github.com/keenanweaver/lutris-files/raw/true-crime-streets-of-la/True_Crime_Multi_Fix.rar
  - widescreen: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/truecrimesola/TrueCrimeStreetsofLA.WidescreenFix.zip
  - dsoal: http://vaporeon.io/hosted/dsoal-builds/dsoal-latest.7z
  game:
    arch: win32
    exe: drive_c/Program Files/Activision/True Crime/TrueCrime.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      description: Please select the directory where you copied the content of discs
        1-4
      requires: setup.exe
  - task:
      arch: win32
      description: Installing True Crime. Please use default options.
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/Activision/True Crime
      src: nocd
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/Activision/True Crime
      src: multifix
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/Activision/True Crime
      src: widescreen
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/Activision/True Crime
      src: dsoal
  - execute:
      command: curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest
        | grep browser_download_url | grep -vE '(dbg|API)' | cut -d '"' -f 4 | wget
        -i- -P $CACHE
      description: Download latest dgVoodoo2 release
  - execute:
      command: find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'
      description: Extract latest dgVoodoo2 release to $CACHE
  - execute:
      command: mv $CACHE/MS/x86/D3D9.dll $CACHE/MS/x86/D3D8.dll $CACHE/dgVoodooCpl.exe
        $CACHE/dgVoodoo.conf '$GAMEDIR/drive_c/Program Files/Activision/True Crime'
      description: Move dgVoodoo2 components to $GAMEDIR
  - write_config:
      data:
        DirectX:
          Antialiasing: 8x
          AppControlledScreenMode: false
          DisableAltEnterToToggleScreenMode: false
          Filtering: 16
          Resolution: max_isf
          VRAM: 128
          VideoCard: internal3D
          dgVoodooWatermark: false
        General:
          ScalingMode: stretched_ar
      description: Write dgVoodoo.conf file
      file: $GAMEDIR/drive_c/Program Files/Activision/True Crime/dgVoodoo.conf
      merge: false
  wine:
    overrides:
      d3d8: n,b
      d3d9: n,b
      dinput8: n,b
      dsoal-aldrv: n,b
      dsound: n,b
slug: true-crime-streets-of-la-cd
steamid: null
version: CD
year: 2003
{
  "game_slug": "true-crime-streets-of-la",
  "version": "CD",
  "description": "Includes widescreen, audio fixes, and no-CD support",
  "notes": "Copy the contents of the game discs to one directory prior to running the installer.",
  "name": "True Crime: Streets of LA",
  "year": 2003,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "true-crime-streets-of-la-cd",
  "installer_slug": "true-crime-streets-of-la-cd",
  "script": {
    "files": [
      {
        "nocd": "https://github.com/keenanweaver/lutris-files/raw/true-crime-streets-of-la/rtruecr.rar"
      },
      {
        "multifix": "https://github.com/keenanweaver/lutris-files/raw/true-crime-streets-of-la/True_Crime_Multi_Fix.rar"
      },
      {
        "widescreen": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/truecrimesola/TrueCrimeStreetsofLA.WidescreenFix.zip"
      },
      {
        "dsoal": "http://vaporeon.io/hosted/dsoal-builds/dsoal-latest.7z"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "drive_c/Program Files/Activision/True Crime/TrueCrime.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "description": "Please select the directory where you copied the content of discs 1-4",
          "requires": "setup.exe"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Installing True Crime. Please use default options.",
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/Activision/True Crime",
          "src": "nocd"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/Activision/True Crime",
          "src": "multifix"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/Activision/True Crime",
          "src": "widescreen"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/Activision/True Crime",
          "src": "dsoal"
        }
      },
      {
        "execute": {
          "command": "curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest | grep browser_download_url | grep -vE '(dbg|API)' | cut -d '\"' -f 4 | wget -i- -P $CACHE",
          "description": "Download latest dgVoodoo2 release"
        }
      },
      {
        "execute": {
          "command": "find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'",
          "description": "Extract latest dgVoodoo2 release to $CACHE"
        }
      },
      {
        "execute": {
          "command": "mv $CACHE/MS/x86/D3D9.dll $CACHE/MS/x86/D3D8.dll $CACHE/dgVoodooCpl.exe $CACHE/dgVoodoo.conf '$GAMEDIR/drive_c/Program Files/Activision/True Crime'",
          "description": "Move dgVoodoo2 components to $GAMEDIR"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "Antialiasing": "8x",
              "AppControlledScreenMode": false,
              "DisableAltEnterToToggleScreenMode": false,
              "Filtering": 16,
              "Resolution": "max_isf",
              "VRAM": 128,
              "VideoCard": "internal3D",
              "dgVoodooWatermark": false
            },
            "General": {
              "ScalingMode": "stretched_ar"
            }
          },
          "description": "Write dgVoodoo.conf file",
          "file": "$GAMEDIR/drive_c/Program Files/Activision/True Crime/dgVoodoo.conf",
          "merge": false
        }
      }
    ],
    "wine": {
      "overrides": {
        "d3d8": "n,b",
        "d3d9": "n,b",
        "dinput8": "n,b",
        "dsoal-aldrv": "n,b",
        "dsound": "n,b"
      }
    }
  }
}
Back to game