files:
- 32bit_installer:
filename: setup32.exe
url: https://github.com/idontnow/installers-4-lutris/raw/refs/heads/main/generic_32bit_installer/setup32.exe
game:
exe: $GAMEDIR/drive_c/Games/Sanity/lithtech/sanity.exe
prefix: $GAMEDIR
installer:
- insert-disc:
requires: setup.exe
- copy:
description: Copying CD files to cache
dst: $CACHE
src: $DISC
- move:
description: Replacing 16-bit installer with 32-bit version
dst: $CACHE/
src: $CACHE/32bit_installer/setup32.exe
- execute:
command: mkdir -p "$GAMEDIR/drive_c" && printf "[InstallShield Silent]\nVersion=v3.00.000\nFile=Response
File\n[Application]\nName=Sanity\nVersion=1.0\nCompany=Monolith Productions\n[DlgOrder]\nDlg0=SdWelcome-0\nCount=8\nDlg1=SdLicense-0\nDlg2=AskDestPath-0\nDlg3=SdOptionsButtons-0\nDlg4=SdSelectFolder-0\nDlg5=AskYesNo-0\nDlg6=AskYesNo-1\nDlg7=SdFinish-0\n[SdWelcome-0]\nResult=1\n[SdLicense-0]\nResult=1\n[AskDestPath-0]\nszPath=C:\Games\Sanity\nResult=1\n[SdOptionsButtons-0]\nResult=102\n[SdSelectFolder-0]\nszFolder=Fox\nResult=1\n[AskYesNo-0]\nResult=1\n[AskYesNo-1]\nResult=1\n[SdFinish-0]\nResult=1\nbOpt1=0\nbOpt2=0"
> "$GAMEDIR/drive_c/install.iss"
description: Ensuring drive_c directory exists and adding InstallShield .iss response
file
- task:
args: /s /f1c:/install.iss
description: Silent-installing game to C:\Games\Sanity
executable: $CACHE/setup32.exe
name: wineexec
prefix: $GAMEDIR
- task:
app: dmband dmcompos dmime dmloader dmscript dmstyle dmsynth dmusic dmusic32 dswave
arch: win64
description: Installing directmusic components
name: winetricks
prefix: $GAMEDIR
wine:
overrides:
dsound.dll: b
description: Custom installer (16bit>32bit)
game_slug: sanity-aikens-artifact
gogslug: ''
humblestoreid: ''
installer_slug: sanity-aikens-artifact-cd
name: 'Sanity: Aiken''s Artifact'
notes: "Works with US and EU versions. Helps to install the game from CD and apply\
\ patches for audio issues out of the box. By default, still requires you to have\
\ the game CD inserted or mounted.\r\n*To play without the game CD inserted/mounted,\
\ read the instructions available here: https://github.com/idontnow/installers-4-lutris/tree/main/sanity-aikens-artifact"
runner: wine
script:
files:
- 32bit_installer:
filename: setup32.exe
url: https://github.com/idontnow/installers-4-lutris/raw/refs/heads/main/generic_32bit_installer/setup32.exe
game:
exe: $GAMEDIR/drive_c/Games/Sanity/lithtech/sanity.exe
prefix: $GAMEDIR
installer:
- insert-disc:
requires: setup.exe
- copy:
description: Copying CD files to cache
dst: $CACHE
src: $DISC
- move:
description: Replacing 16-bit installer with 32-bit version
dst: $CACHE/
src: $CACHE/32bit_installer/setup32.exe
- execute:
command: mkdir -p "$GAMEDIR/drive_c" && printf "[InstallShield Silent]\nVersion=v3.00.000\nFile=Response
File\n[Application]\nName=Sanity\nVersion=1.0\nCompany=Monolith Productions\n[DlgOrder]\nDlg0=SdWelcome-0\nCount=8\nDlg1=SdLicense-0\nDlg2=AskDestPath-0\nDlg3=SdOptionsButtons-0\nDlg4=SdSelectFolder-0\nDlg5=AskYesNo-0\nDlg6=AskYesNo-1\nDlg7=SdFinish-0\n[SdWelcome-0]\nResult=1\n[SdLicense-0]\nResult=1\n[AskDestPath-0]\nszPath=C:\Games\Sanity\nResult=1\n[SdOptionsButtons-0]\nResult=102\n[SdSelectFolder-0]\nszFolder=Fox\nResult=1\n[AskYesNo-0]\nResult=1\n[AskYesNo-1]\nResult=1\n[SdFinish-0]\nResult=1\nbOpt1=0\nbOpt2=0"
> "$GAMEDIR/drive_c/install.iss"
description: Ensuring drive_c directory exists and adding InstallShield .iss
response file
- task:
args: /s /f1c:/install.iss
description: Silent-installing game to C:\Games\Sanity
executable: $CACHE/setup32.exe
name: wineexec
prefix: $GAMEDIR
- task:
app: dmband dmcompos dmime dmloader dmscript dmstyle dmsynth dmusic dmusic32
dswave
arch: win64
description: Installing directmusic components
name: winetricks
prefix: $GAMEDIR
wine:
overrides:
dsound.dll: b
slug: sanity-aikens-artifact-cd
steamid: null
version: CD
year: 2000
{
"game_slug": "sanity-aikens-artifact",
"version": "CD",
"description": "Custom installer (16bit>32bit)",
"notes": "Works with US and EU versions. Helps to install the game from CD and apply patches for audio issues out of the box. By default, still requires you to have the game CD inserted or mounted.\r\n*To play without the game CD inserted/mounted, read the instructions available here: https://github.com/idontnow/installers-4-lutris/tree/main/sanity-aikens-artifact",
"name": "Sanity: Aiken's Artifact",
"year": 2000,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "sanity-aikens-artifact-cd",
"installer_slug": "sanity-aikens-artifact-cd",
"script": {
"files": [
{
"32bit_installer": {
"filename": "setup32.exe",
"url": "https://github.com/idontnow/installers-4-lutris/raw/refs/heads/main/generic_32bit_installer/setup32.exe"
}
}
],
"game": {
"exe": "$GAMEDIR/drive_c/Games/Sanity/lithtech/sanity.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"insert-disc": {
"requires": "setup.exe"
}
},
{
"copy": {
"description": "Copying CD files to cache",
"dst": "$CACHE",
"src": "$DISC"
}
},
{
"move": {
"description": "Replacing 16-bit installer with 32-bit version",
"dst": "$CACHE/",
"src": "$CACHE/32bit_installer/setup32.exe"
}
},
{
"execute": {
"command": "mkdir -p \"$GAMEDIR/drive_c\" && printf \"[InstallShield Silent]\\nVersion=v3.00.000\\nFile=Response File\\n[Application]\\nName=Sanity\\nVersion=1.0\\nCompany=Monolith Productions\\n[DlgOrder]\\nDlg0=SdWelcome-0\\nCount=8\\nDlg1=SdLicense-0\\nDlg2=AskDestPath-0\\nDlg3=SdOptionsButtons-0\\nDlg4=SdSelectFolder-0\\nDlg5=AskYesNo-0\\nDlg6=AskYesNo-1\\nDlg7=SdFinish-0\\n[SdWelcome-0]\\nResult=1\\n[SdLicense-0]\\nResult=1\\n[AskDestPath-0]\\nszPath=C:\\Games\\Sanity\\nResult=1\\n[SdOptionsButtons-0]\\nResult=102\\n[SdSelectFolder-0]\\nszFolder=Fox\\nResult=1\\n[AskYesNo-0]\\nResult=1\\n[AskYesNo-1]\\nResult=1\\n[SdFinish-0]\\nResult=1\\nbOpt1=0\\nbOpt2=0\" > \"$GAMEDIR/drive_c/install.iss\"",
"description": "Ensuring drive_c directory exists and adding InstallShield .iss response file"
}
},
{
"task": {
"args": "/s /f1c:/install.iss",
"description": "Silent-installing game to C:\\Games\\Sanity",
"executable": "$CACHE/setup32.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "dmband dmcompos dmime dmloader dmscript dmstyle dmsynth dmusic dmusic32 dswave",
"arch": "win64",
"description": "Installing directmusic components",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
}
],
"wine": {
"overrides": {
"dsound.dll": "b"
}
}
}
}