Installer lego-island-2-the-bricksters-cd-dgvoodoo2

files:
- game_cd:
    filename: Lego Island 2.iso
    url: https://archive.org/download/lego-island-2/Lego%20Island%202.iso
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Lego%20Island%202/li2_patch.zip
- wrapper: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/dgVoodoo2/dgVoodoo2_79_3.zip
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Lego%20Island%202/li2.sh
game:
  exe: drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/LEGO Island 2.exe
  prefix: $GAMEDIR
installer:
- task:
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE
    file: game_cd
    format: iso
- task:
    executable: $CACHE/LEGO Island 2/Setup.exe
    name: wineexec
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/backup
    src: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/LEGO Island
      2.exe
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2
    file: patch
- chmodx: script
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2
    src: script
- task:
    app: dmusic dmstyle dmime dmband dmscript
    name: winetricks
    silent: true
- extract:
    dst: $CACHE
    format: zip
    src: wrapper
- copy:
    dst: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2
    src: $CACHE/MS/x86/DDraw.dll
- copy:
    dst: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2
    src: $CACHE/MS/x86/D3DImm.dll
- write_file:
    content: '[DirectX]

      dgVoodooWatermark=False

      [GeneralExt]

      FPSLimit=60'
    file: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/dgVoodoo.conf
system:
  gamescope: false
  prelaunch_command: '''$GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island
    2/li2.sh'''
wine:
  overrides:
    ddraw: n,b
description: Play "Lego Island 2 - The Brickster's Revenge" CD edition on Linux!
game_slug: lego-island-2-the-bricksters-revenge
gogslug: ''
humblestoreid: ''
installer_slug: lego-island-2-the-bricksters-cd-dgvoodoo2
name: 'Lego Island 2: The Brickster''s Revenge'
notes: "- Game executable already patched with \"Load screen fix\" and \"Skip cinematics\"\
  \r\n- Use xdotool to work around a Wine issue where a black window appears in front\
  \ of the game window. If this happens, simply press ALT+TAB to select the game window"
runner: wine
script:
  files:
  - game_cd:
      filename: Lego Island 2.iso
      url: https://archive.org/download/lego-island-2/Lego%20Island%202.iso
  - patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Lego%20Island%202/li2_patch.zip
  - wrapper: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/dgVoodoo2/dgVoodoo2_79_3.zip
  - script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Lego%20Island%202/li2.sh
  game:
    exe: drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/LEGO Island 2.exe
    prefix: $GAMEDIR
  installer:
  - task:
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE
      file: game_cd
      format: iso
  - task:
      executable: $CACHE/LEGO Island 2/Setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/backup
      src: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/LEGO Island
        2.exe
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2
      file: patch
  - chmodx: script
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2
      src: script
  - task:
      app: dmusic dmstyle dmime dmband dmscript
      name: winetricks
      silent: true
  - extract:
      dst: $CACHE
      format: zip
      src: wrapper
  - copy:
      dst: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2
      src: $CACHE/MS/x86/DDraw.dll
  - copy:
      dst: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2
      src: $CACHE/MS/x86/D3DImm.dll
  - write_file:
      content: '[DirectX]

        dgVoodooWatermark=False

        [GeneralExt]

        FPSLimit=60'
      file: $GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/dgVoodoo.conf
  system:
    gamescope: false
    prelaunch_command: '''$GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island
      2/li2.sh'''
  wine:
    overrides:
      ddraw: n,b
slug: lego-island-2-the-bricksters-cd-dgvoodoo2
steamid: null
version: CD + dgVoodoo2
year: 2001
{
  "game_slug": "lego-island-2-the-bricksters-revenge",
  "version": "CD + dgVoodoo2",
  "description": "Play \"Lego Island 2 - The Brickster's Revenge\" CD edition on Linux!",
  "notes": "- Game executable already patched with \"Load screen fix\" and \"Skip cinematics\"\r\n- Use xdotool to work around a Wine issue where a black window appears in front of the game window. If this happens, simply press ALT+TAB to select the game window",
  "name": "Lego Island 2: The Brickster's Revenge",
  "year": 2001,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "lego-island-2-the-bricksters-cd-dgvoodoo2",
  "installer_slug": "lego-island-2-the-bricksters-cd-dgvoodoo2",
  "script": {
    "files": [
      {
        "game_cd": {
          "filename": "Lego Island 2.iso",
          "url": "https://archive.org/download/lego-island-2/Lego%20Island%202.iso"
        }
      },
      {
        "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Lego%20Island%202/li2_patch.zip"
      },
      {
        "wrapper": "https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/dgVoodoo2/dgVoodoo2_79_3.zip"
      },
      {
        "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Lego%20Island%202/li2.sh"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/LEGO Island 2.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "game_cd",
          "format": "iso"
        }
      },
      {
        "task": {
          "executable": "$CACHE/LEGO Island 2/Setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/backup",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/LEGO Island 2.exe"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2",
          "file": "patch"
        }
      },
      {
        "chmodx": "script"
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2",
          "src": "script"
        }
      },
      {
        "task": {
          "app": "dmusic dmstyle dmime dmband dmscript",
          "name": "winetricks",
          "silent": true
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "format": "zip",
          "src": "wrapper"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2",
          "src": "$CACHE/MS/x86/DDraw.dll"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2",
          "src": "$CACHE/MS/x86/D3DImm.dll"
        }
      },
      {
        "write_file": {
          "content": "[DirectX]\ndgVoodooWatermark=False\n[GeneralExt]\nFPSLimit=60",
          "file": "$GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/dgVoodoo.conf"
        }
      }
    ],
    "system": {
      "gamescope": false,
      "prelaunch_command": "'$GAMEDIR/drive_c/Program Files (x86)/LEGO Media/LEGO Island 2/li2.sh'"
    },
    "wine": {
      "overrides": {
        "ddraw": "n,b"
      }
    }
  }
}
Back to game