Installer resident-evil-2-cd-sourcenext
This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full 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
{ "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" } } }