Installer american-mcgees-alice-cds

game:
  arch: win32
  exe: drive_c/Program Files/EA GAMES/American McGee's Alice/alice.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: Autoplay.exe
- task:
    arch: win32
    name: create_prefix
    prefix: $GAMEDIR
- merge:
    dst: $CACHE/SndDrivers/
    src: $DISC/SndDrivers/
- merge:
    dst: $CACHE/
    src: $DISC/alice.exe
- merge:
    dst: $CACHE/
    src: $DISC/drvmgt.dll
- merge:
    dst: $CACHE/
    src: $DISC/secdrv.sys
- task:
    executable: $DISC/Setup.exe
    name: wineexec
    prefix: $GAMEDIR
- move:
    dst: $GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/
    src: $CACHE/alice.exe
- move:
    dst: $GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/
    src: $CACHE/secdrv.sys
- move:
    dst: $GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/
    src: $CACHE/drvmgt.dll
- move:
    dst: $GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/SndDrivers/
    src: $CACHE/SndDrivers/
- write_file:
    content: 'seta r_mode "-1"

      seta r_customheight "$RESOLUTION_HEIGHT"

      seta r_customwidth "$RESOLUTION_WIDTH"

      seta r_depthbits "24"

      seta r_detailtextures "1"

      seta r_ext_framebuffer_multisample "4"

      seta r_ext_max_anisotropy "16"

      seta r_ext_texture_filter_anisotropic "1"

      seta r_stencilbits "16"

      seta r_textureMode "GL_LINEAR_MIPMAP_LINEAR"

      seta r_texturebits "32"'
    file: $GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/Base/autoexec.cfg
description: Basic installer to use with both CDs that you own.
game_slug: american-mcgees-alice
gogslug: ''
humblestoreid: ''
installer_slug: american-mcgees-alice-cds
name: American McGee's Alice
notes: "Install the game in the default location!\r\n\r\nThis game is protected with\
  \ SafeDisc 2. Therefore, the original disc must be inserted to be able to play.\r\
  \nAnother option is to manually get and install a NO-CD patch (not included here)."
runner: wine
script:
  game:
    arch: win32
    exe: drive_c/Program Files/EA GAMES/American McGee's Alice/alice.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      requires: Autoplay.exe
  - task:
      arch: win32
      name: create_prefix
      prefix: $GAMEDIR
  - merge:
      dst: $CACHE/SndDrivers/
      src: $DISC/SndDrivers/
  - merge:
      dst: $CACHE/
      src: $DISC/alice.exe
  - merge:
      dst: $CACHE/
      src: $DISC/drvmgt.dll
  - merge:
      dst: $CACHE/
      src: $DISC/secdrv.sys
  - task:
      executable: $DISC/Setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - move:
      dst: $GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/
      src: $CACHE/alice.exe
  - move:
      dst: $GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/
      src: $CACHE/secdrv.sys
  - move:
      dst: $GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/
      src: $CACHE/drvmgt.dll
  - move:
      dst: $GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/SndDrivers/
      src: $CACHE/SndDrivers/
  - write_file:
      content: 'seta r_mode "-1"

        seta r_customheight "$RESOLUTION_HEIGHT"

        seta r_customwidth "$RESOLUTION_WIDTH"

        seta r_depthbits "24"

        seta r_detailtextures "1"

        seta r_ext_framebuffer_multisample "4"

        seta r_ext_max_anisotropy "16"

        seta r_ext_texture_filter_anisotropic "1"

        seta r_stencilbits "16"

        seta r_textureMode "GL_LINEAR_MIPMAP_LINEAR"

        seta r_texturebits "32"'
      file: $GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/Base/autoexec.cfg
slug: american-mcgees-alice-cds
steamid: null
version: CDs
year: 2000
{
  "game_slug": "american-mcgees-alice",
  "version": "CDs",
  "description": "Basic installer to use with both CDs that you own.",
  "notes": "Install the game in the default location!\r\n\r\nThis game is protected with SafeDisc 2. Therefore, the original disc must be inserted to be able to play.\r\nAnother option is to manually get and install a NO-CD patch (not included here).",
  "name": "American McGee's Alice",
  "year": 2000,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "american-mcgees-alice-cds",
  "installer_slug": "american-mcgees-alice-cds",
  "script": {
    "game": {
      "arch": "win32",
      "exe": "drive_c/Program Files/EA GAMES/American McGee's Alice/alice.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "Autoplay.exe"
        }
      },
      {
        "task": {
          "arch": "win32",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "merge": {
          "dst": "$CACHE/SndDrivers/",
          "src": "$DISC/SndDrivers/"
        }
      },
      {
        "merge": {
          "dst": "$CACHE/",
          "src": "$DISC/alice.exe"
        }
      },
      {
        "merge": {
          "dst": "$CACHE/",
          "src": "$DISC/drvmgt.dll"
        }
      },
      {
        "merge": {
          "dst": "$CACHE/",
          "src": "$DISC/secdrv.sys"
        }
      },
      {
        "task": {
          "executable": "$DISC/Setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/",
          "src": "$CACHE/alice.exe"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/",
          "src": "$CACHE/secdrv.sys"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/",
          "src": "$CACHE/drvmgt.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/SndDrivers/",
          "src": "$CACHE/SndDrivers/"
        }
      },
      {
        "write_file": {
          "content": "seta r_mode \"-1\"\nseta r_customheight \"$RESOLUTION_HEIGHT\"\nseta r_customwidth \"$RESOLUTION_WIDTH\"\nseta r_depthbits \"24\"\nseta r_detailtextures \"1\"\nseta r_ext_framebuffer_multisample \"4\"\nseta r_ext_max_anisotropy \"16\"\nseta r_ext_texture_filter_anisotropic \"1\"\nseta r_stencilbits \"16\"\nseta r_textureMode \"GL_LINEAR_MIPMAP_LINEAR\"\nseta r_texturebits \"32\"",
          "file": "$GAMEDIR/drive_c/Program Files/EA GAMES/American McGee's Alice/Base/autoexec.cfg"
        }
      }
    ]
  }
}
Back to game