files:
- game_patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Rayman%202/rayman2_patch.zip
- wrapper: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/dgVoodoo2/dgVoodoo2_79_3.zip
- mod: https://github.com/spitfirex86/Ray2Fix/releases/download/v1.4.0/Ray2Fix_1.4.0.zip
game:
exe: drive_c/UbiSoft/Rayman2/Rayman2.exe
launch_configs:
- exe: $GAMEDIR/drive_c/UbiSoft/Rayman2/R2FixCfg.exe
name: Ray2Fix
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- insert-disc:
requires: Rayman2.exe
- execute:
command: mkdir -p "$GAMEDIR/drive_c/UbiSoft/Rayman2"; cd "$GAMEDIR/drive_c/UbiSoft/Rayman2";
rsync -va "$DISC/"* "."; chmod u+w -R "."; cp "Dll/SND_CPA_MMX.ini" "Dll/SND_CPA.ini";
- merge:
dst: $GAMEDIR/drive_c/UbiSoft/Rayman2/backup
src: $GAMEDIR/drive_c/UbiSoft/Rayman2/Rayman2.exe
- extract:
dst: $GAMEDIR/drive_c/UbiSoft/Rayman2
file: game_patch
- write_config:
data:
Rayman2:
GLI_Dll: Glide2
GLI_DllFile: GliVd1
GLI_Mode: 1 - $RESOLUTION_WIDTH x $RESOLUTION_HEIGHT x 32
ParticuleRate: High
file: $GAMEDIR/drive_c/UbiSoft/Rayman2/ubi.ini
- extract:
dst: $GAMEDIR/drive_c/UbiSoft/Rayman2
file: mod
- extract:
dst: $CACHE
file: wrapper
- merge:
dst: $GAMEDIR/drive_c/UbiSoft/Rayman2
src: $CACHE/3Dfx/x86/Glide2x.dll
- merge:
dst: $GAMEDIR/drive_c/UbiSoft/Rayman2/Dll
src: $GAMEDIR/drive_c/UbiSoft/Rayman2/DLL
- execute:
command: cd "$GAMEDIR/drive_c/UbiSoft/Rayman2"; sed -i "s/FullscreenAttributes\
.*/FullscreenAttributes=fake/" dgVoodoo.conf; rm -f -r DLL;
wine:
overrides:
dinput: n,b
dinput8: n,b
description: Play "Rayman 2" CD edition on Linux!
game_slug: rayman-2-the-great-escape
gogslug: rayman_2_the_great_escape
humblestoreid: ''
installer_slug: rayman-2-the-great-escape-cd-ray2fix
name: 'Rayman 2: The Great Escape'
notes: "- Using Ray2Fix that provides dgVoodoo2 for better graphic performance and\
\ stability, widescreen support and xidi for modern gamepad support\r\n- You will\
\ need CD only one time during install\r\n- At first launch, the game will launch\
\ in windowed. Choose your preferred language, then in menu select Ray2Fix to change\
\ to enable fullscreen and Widescreen mode"
runner: wine
script:
files:
- game_patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Rayman%202/rayman2_patch.zip
- wrapper: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/dgVoodoo2/dgVoodoo2_79_3.zip
- mod: https://github.com/spitfirex86/Ray2Fix/releases/download/v1.4.0/Ray2Fix_1.4.0.zip
game:
exe: drive_c/UbiSoft/Rayman2/Rayman2.exe
launch_configs:
- exe: $GAMEDIR/drive_c/UbiSoft/Rayman2/R2FixCfg.exe
name: Ray2Fix
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- insert-disc:
requires: Rayman2.exe
- execute:
command: mkdir -p "$GAMEDIR/drive_c/UbiSoft/Rayman2"; cd "$GAMEDIR/drive_c/UbiSoft/Rayman2";
rsync -va "$DISC/"* "."; chmod u+w -R "."; cp "Dll/SND_CPA_MMX.ini" "Dll/SND_CPA.ini";
- merge:
dst: $GAMEDIR/drive_c/UbiSoft/Rayman2/backup
src: $GAMEDIR/drive_c/UbiSoft/Rayman2/Rayman2.exe
- extract:
dst: $GAMEDIR/drive_c/UbiSoft/Rayman2
file: game_patch
- write_config:
data:
Rayman2:
GLI_Dll: Glide2
GLI_DllFile: GliVd1
GLI_Mode: 1 - $RESOLUTION_WIDTH x $RESOLUTION_HEIGHT x 32
ParticuleRate: High
file: $GAMEDIR/drive_c/UbiSoft/Rayman2/ubi.ini
- extract:
dst: $GAMEDIR/drive_c/UbiSoft/Rayman2
file: mod
- extract:
dst: $CACHE
file: wrapper
- merge:
dst: $GAMEDIR/drive_c/UbiSoft/Rayman2
src: $CACHE/3Dfx/x86/Glide2x.dll
- merge:
dst: $GAMEDIR/drive_c/UbiSoft/Rayman2/Dll
src: $GAMEDIR/drive_c/UbiSoft/Rayman2/DLL
- execute:
command: cd "$GAMEDIR/drive_c/UbiSoft/Rayman2"; sed -i "s/FullscreenAttributes\
.*/FullscreenAttributes=fake/" dgVoodoo.conf; rm -f -r DLL;
wine:
overrides:
dinput: n,b
dinput8: n,b
slug: rayman-2-the-great-escape-cd-ray2fix
steamid: null
version: CD + Ray2Fix
year: 1999
{
"game_slug": "rayman-2-the-great-escape",
"version": "CD + Ray2Fix",
"description": "Play \"Rayman 2\" CD edition on Linux!",
"notes": "- Using Ray2Fix that provides dgVoodoo2 for better graphic performance and stability, widescreen support and xidi for modern gamepad support\r\n- You will need CD only one time during install\r\n- At first launch, the game will launch in windowed. Choose your preferred language, then in menu select Ray2Fix to change to enable fullscreen and Widescreen mode",
"name": "Rayman 2: The Great Escape",
"year": 1999,
"steamid": null,
"gogslug": "rayman_2_the_great_escape",
"humblestoreid": "",
"runner": "wine",
"slug": "rayman-2-the-great-escape-cd-ray2fix",
"installer_slug": "rayman-2-the-great-escape-cd-ray2fix",
"script": {
"files": [
{
"game_patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Rayman%202/rayman2_patch.zip"
},
{
"wrapper": "https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/dgVoodoo2/dgVoodoo2_79_3.zip"
},
{
"mod": "https://github.com/spitfirex86/Ray2Fix/releases/download/v1.4.0/Ray2Fix_1.4.0.zip"
}
],
"game": {
"exe": "drive_c/UbiSoft/Rayman2/Rayman2.exe",
"launch_configs": [
{
"exe": "$GAMEDIR/drive_c/UbiSoft/Rayman2/R2FixCfg.exe",
"name": "Ray2Fix"
}
],
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"insert-disc": {
"requires": "Rayman2.exe"
}
},
{
"execute": {
"command": "mkdir -p \"$GAMEDIR/drive_c/UbiSoft/Rayman2\"; cd \"$GAMEDIR/drive_c/UbiSoft/Rayman2\"; rsync -va \"$DISC/\"* \".\"; chmod u+w -R \".\"; cp \"Dll/SND_CPA_MMX.ini\" \"Dll/SND_CPA.ini\";"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/UbiSoft/Rayman2/backup",
"src": "$GAMEDIR/drive_c/UbiSoft/Rayman2/Rayman2.exe"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/UbiSoft/Rayman2",
"file": "game_patch"
}
},
{
"write_config": {
"data": {
"Rayman2": {
"GLI_Dll": "Glide2",
"GLI_DllFile": "GliVd1",
"GLI_Mode": "1 - $RESOLUTION_WIDTH x $RESOLUTION_HEIGHT x 32",
"ParticuleRate": "High"
}
},
"file": "$GAMEDIR/drive_c/UbiSoft/Rayman2/ubi.ini"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/UbiSoft/Rayman2",
"file": "mod"
}
},
{
"extract": {
"dst": "$CACHE",
"file": "wrapper"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/UbiSoft/Rayman2",
"src": "$CACHE/3Dfx/x86/Glide2x.dll"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/UbiSoft/Rayman2/Dll",
"src": "$GAMEDIR/drive_c/UbiSoft/Rayman2/DLL"
}
},
{
"execute": {
"command": "cd \"$GAMEDIR/drive_c/UbiSoft/Rayman2\"; sed -i \"s/FullscreenAttributes\\ .*/FullscreenAttributes=fake/\" dgVoodoo.conf; rm -f -r DLL;"
}
}
],
"wine": {
"overrides": {
"dinput": "n,b",
"dinput8": "n,b"
}
}
}
}