Installer resident-evil-2-cd-sourcenext

files:
- gemini: N/A:Please download Classic REbirth here and select it https://appleofeden.de-doc.com/index.php/downloads/resident-evil-2-classic-rebirth/
- patch: https://ia803107.us.archive.org/view_archive.php?archive=/20/items/biohazard2sourcenextjpnpc/BH2%20%28All%20Fixes%29%20-%20Game%20Patch.7z&file=BH2%20%28All%20Fixes%29%20-%20Game%20Patch%2FBH2%20Official%201.1.0%20patch%20by%20SourceNext%2Fpatch_bio2_110%2Fbio2%201.10.exe
game:
  arch: win32
  exe: drive_c/Program Files/Biohazard 2/bio2 1.10.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    description: Please mount Resident Evil 2/Biohazard 2 SourceNext disc
    requires: setup.exe
- task:
    arch: win32
    description: Creating Wine prefix (32-bit)
    name: create_prefix
    prefix: $GAMEDIR
- copy:
    description: Copy $DISC/data to $GAMEDIR/drive_c/Program Files/Biohazard 2
    dst: $GAMEDIR/drive_c/Program Files/Biohazard 2
    src: $DISC/data
- execute:
    command: mv "$patch" "$GAMEDIR/drive_c/Program Files/Biohazard 2/bio2 1.10.exe"
    description: Move patch file
- 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
- merge:
    description: Copy dgVoodoo2 components to $GAMEDIR
    dst: $GAMEDIR/drive_c/Program Files/Biohazard 2
    src: $CACHE/MS/x86/DDraw.dll
- merge:
    dst: $GAMEDIR/drive_c/Program Files/Biohazard 2
    src: $CACHE/MS/x86/D3DImm.dll
- merge:
    dst: $GAMEDIR/drive_c/Program Files/Biohazard 2
    src: $CACHE/dgVoodooCpl.exe
- merge:
    dst: $GAMEDIR/drive_c/Program Files/Biohazard 2
    src: $CACHE/dgVoodoo.conf
- write_config:
    data:
      DirectX:
        Antialiasing: appdriven
        AppControlledScreenMode: false
        DisableAltEnterToToggleScreenMode: true
        Filtering: appdriven
        Resolution: unforced
        VRAM: 128
        VideoCard: internal3D
        dgVoodooWatermark: false
      General:
        CaptureMouse: true
        CenterAppWindow: true
        FullScreenOutput: default
        KeepWindowAspectRatio: true
        ScalingMode: stretched_ar
    description: Write dgVoodoo.conf file
    file: $GAMEDIR/drive_c/Program Files/Biohazard 2/dgVoodoo.conf
    merge: false
- execute:
    command: mv "$GAMEDIR/drive_c/Program Files/Biohazard 2/DDraw.dll" "$GAMEDIR/drive_c/Program
      Files/Biohazard 2/re2_ddraw.dll"
    description: Rename dgVoodoo2 ddraw.dll
- extract:
    description: Extract Classic REbirth dll
    dst: $GAMEDIR/drive_c/Program Files/Biohazard 2
    file: gemini
wine:
  overrides:
    ddraw.dll: n,b
description: Installs the Windows version by Sourcenext with the Classic REbirth patch.
  Highly recommended to also install the HD sounds & FMV packs. https://www.pcgamingwiki.com/wiki/Biohazard_2_(Sourcenext)#Essential_improvements
game_slug: resident-evil-2
gogslug: ''
humblestoreid: ''
installer_slug: resident-evil-2-cd-sourcenext
name: Resident Evil 2
notes: 'Warning if you decide to install the HD sounds/music/FMV packs: these packs
  have mixed states of upper & lowercase filenames, so you will want to rename the
  game files to either fully upper or lowercase, along with the HD pack files, so
  they are universal across the board.'
runner: wine
script:
  files:
  - gemini: N/A:Please download Classic REbirth here and select it https://appleofeden.de-doc.com/index.php/downloads/resident-evil-2-classic-rebirth/
  - patch: https://ia803107.us.archive.org/view_archive.php?archive=/20/items/biohazard2sourcenextjpnpc/BH2%20%28All%20Fixes%29%20-%20Game%20Patch.7z&file=BH2%20%28All%20Fixes%29%20-%20Game%20Patch%2FBH2%20Official%201.1.0%20patch%20by%20SourceNext%2Fpatch_bio2_110%2Fbio2%201.10.exe
  game:
    arch: win32
    exe: drive_c/Program Files/Biohazard 2/bio2 1.10.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      description: Please mount Resident Evil 2/Biohazard 2 SourceNext disc
      requires: setup.exe
  - task:
      arch: win32
      description: Creating Wine prefix (32-bit)
      name: create_prefix
      prefix: $GAMEDIR
  - copy:
      description: Copy $DISC/data to $GAMEDIR/drive_c/Program Files/Biohazard 2
      dst: $GAMEDIR/drive_c/Program Files/Biohazard 2
      src: $DISC/data
  - execute:
      command: mv "$patch" "$GAMEDIR/drive_c/Program Files/Biohazard 2/bio2 1.10.exe"
      description: Move patch file
  - 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
  - merge:
      description: Copy dgVoodoo2 components to $GAMEDIR
      dst: $GAMEDIR/drive_c/Program Files/Biohazard 2
      src: $CACHE/MS/x86/DDraw.dll
  - merge:
      dst: $GAMEDIR/drive_c/Program Files/Biohazard 2
      src: $CACHE/MS/x86/D3DImm.dll
  - merge:
      dst: $GAMEDIR/drive_c/Program Files/Biohazard 2
      src: $CACHE/dgVoodooCpl.exe
  - merge:
      dst: $GAMEDIR/drive_c/Program Files/Biohazard 2
      src: $CACHE/dgVoodoo.conf
  - write_config:
      data:
        DirectX:
          Antialiasing: appdriven
          AppControlledScreenMode: false
          DisableAltEnterToToggleScreenMode: true
          Filtering: appdriven
          Resolution: unforced
          VRAM: 128
          VideoCard: internal3D
          dgVoodooWatermark: false
        General:
          CaptureMouse: true
          CenterAppWindow: true
          FullScreenOutput: default
          KeepWindowAspectRatio: true
          ScalingMode: stretched_ar
      description: Write dgVoodoo.conf file
      file: $GAMEDIR/drive_c/Program Files/Biohazard 2/dgVoodoo.conf
      merge: false
  - execute:
      command: mv "$GAMEDIR/drive_c/Program Files/Biohazard 2/DDraw.dll" "$GAMEDIR/drive_c/Program
        Files/Biohazard 2/re2_ddraw.dll"
      description: Rename dgVoodoo2 ddraw.dll
  - extract:
      description: Extract Classic REbirth dll
      dst: $GAMEDIR/drive_c/Program Files/Biohazard 2
      file: gemini
  wine:
    overrides:
      ddraw.dll: n,b
slug: resident-evil-2-cd-sourcenext
steamid: null
version: CD (SourceNext)
year: 1998
{
  "game_slug": "resident-evil-2",
  "version": "CD (SourceNext)",
  "description": "Installs the Windows version by Sourcenext with the Classic REbirth patch. Highly recommended to also install the HD sounds & FMV packs. https://www.pcgamingwiki.com/wiki/Biohazard_2_(Sourcenext)#Essential_improvements",
  "notes": "Warning if you decide to install the HD sounds/music/FMV packs: these packs have mixed states of upper & lowercase filenames, so you will want to rename the game files to either fully upper or lowercase, along with the HD pack files, so they are universal across the board.",
  "name": "Resident Evil 2",
  "year": 1998,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "resident-evil-2-cd-sourcenext",
  "installer_slug": "resident-evil-2-cd-sourcenext",
  "script": {
    "files": [
      {
        "gemini": "N/A:Please download Classic REbirth here and select it https://appleofeden.de-doc.com/index.php/downloads/resident-evil-2-classic-rebirth/"
      },
      {
        "patch": "https://ia803107.us.archive.org/view_archive.php?archive=/20/items/biohazard2sourcenextjpnpc/BH2%20%28All%20Fixes%29%20-%20Game%20Patch.7z&file=BH2%20%28All%20Fixes%29%20-%20Game%20Patch%2FBH2%20Official%201.1.0%20patch%20by%20SourceNext%2Fpatch_bio2_110%2Fbio2%201.10.exe"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "drive_c/Program Files/Biohazard 2/bio2 1.10.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "description": "Please mount Resident Evil 2/Biohazard 2 SourceNext disc",
          "requires": "setup.exe"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Creating Wine prefix (32-bit)",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "copy": {
          "description": "Copy $DISC/data to $GAMEDIR/drive_c/Program Files/Biohazard 2",
          "dst": "$GAMEDIR/drive_c/Program Files/Biohazard 2",
          "src": "$DISC/data"
        }
      },
      {
        "execute": {
          "command": "mv \"$patch\" \"$GAMEDIR/drive_c/Program Files/Biohazard 2/bio2 1.10.exe\"",
          "description": "Move patch file"
        }
      },
      {
        "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"
        }
      },
      {
        "merge": {
          "description": "Copy dgVoodoo2 components to $GAMEDIR",
          "dst": "$GAMEDIR/drive_c/Program Files/Biohazard 2",
          "src": "$CACHE/MS/x86/DDraw.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files/Biohazard 2",
          "src": "$CACHE/MS/x86/D3DImm.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files/Biohazard 2",
          "src": "$CACHE/dgVoodooCpl.exe"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files/Biohazard 2",
          "src": "$CACHE/dgVoodoo.conf"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "Antialiasing": "appdriven",
              "AppControlledScreenMode": false,
              "DisableAltEnterToToggleScreenMode": true,
              "Filtering": "appdriven",
              "Resolution": "unforced",
              "VRAM": 128,
              "VideoCard": "internal3D",
              "dgVoodooWatermark": false
            },
            "General": {
              "CaptureMouse": true,
              "CenterAppWindow": true,
              "FullScreenOutput": "default",
              "KeepWindowAspectRatio": true,
              "ScalingMode": "stretched_ar"
            }
          },
          "description": "Write dgVoodoo.conf file",
          "file": "$GAMEDIR/drive_c/Program Files/Biohazard 2/dgVoodoo.conf",
          "merge": false
        }
      },
      {
        "execute": {
          "command": "mv \"$GAMEDIR/drive_c/Program Files/Biohazard 2/DDraw.dll\" \"$GAMEDIR/drive_c/Program Files/Biohazard 2/re2_ddraw.dll\"",
          "description": "Rename dgVoodoo2 ddraw.dll"
        }
      },
      {
        "extract": {
          "description": "Extract Classic REbirth dll",
          "dst": "$GAMEDIR/drive_c/Program Files/Biohazard 2",
          "file": "gemini"
        }
      }
    ],
    "wine": {
      "overrides": {
        "ddraw.dll": "n,b"
      }
    }
  }
}
Back to game