files:
- cncddraw: https://github.com/CnCNet/cnc-ddraw/files/3139881/ddraw.zip
game:
exe: drive_c/Starship Titanic/St.exe
prefix: $GAMEDIR
installer:
- insert-disc:
requires: Autorun.exe
- task:
args: /desktop=StarshipTitanic,1024x780 $DISC/Autorun.exe
description: Running setup of the game. Just proceed and keep all settings at
their defaults
executable: $GAMEDIR/drive_c/windows/explorer.exe
include_processes: explorer.exe
name: wineexec
- extract:
dst: $GAMEDIR/drive_c/Starship Titanic/
file: cncddraw
- execute:
command: cp "$GAMEDIR/drive_c/Starship Titanic/ddraw.ini" "$GAMEDIR/drive_c/Starship
Titanic/ddraw_original.ini"
- write_config:
data:
ddraw:
border: false
fullscreen: false
height: $RESOLUTION_HEIGHT
maintas: true
maxfps: -1
renderer: opengl
singlecpu: false
vsync: true
width: $RESOLUTION_WIDTH
windowed: true
file: $GAMEDIR/drive_c/Starship Titanic/ddraw.ini
merge: true
- task:
arch: win64
key: ddraw
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\DllOverrides\
prefix: $GAMEDIR
type: REG_SZ
value: native,builtin
- task:
arch: win64
key: csmt
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
prefix: $GAMEDIR
type: REG_DWORD
value: '00000000'
- task:
arch: win64
key: background
name: set_regedit
path: HKEY_CURRENT_USER\Control Panel\Colors\
prefix: $GAMEDIR
type: REG_SZ
value: 0 0 0
wine:
Desktop: true
description: "\"Starship Titanic\" CD edition with support for modern screen resolution.\r\
\n\r\nThis script uses cnc-ddraw: https://github.com/CnCNet/cnc-ddraw\r\nTo modify\
\ graphic config, edit ddraw.ini text file. \r\nLook at ddraw_original.ini file\
\ for instructions."
game_slug: starship-titanic
gogslug: starship_titanic
humblestoreid: ''
installer_slug: starship-titanic-cd-cnc-ddraw
name: Starship Titanic
notes: ''
runner: wine
script:
files:
- cncddraw: https://github.com/CnCNet/cnc-ddraw/files/3139881/ddraw.zip
game:
exe: drive_c/Starship Titanic/St.exe
prefix: $GAMEDIR
installer:
- insert-disc:
requires: Autorun.exe
- task:
args: /desktop=StarshipTitanic,1024x780 $DISC/Autorun.exe
description: Running setup of the game. Just proceed and keep all settings at
their defaults
executable: $GAMEDIR/drive_c/windows/explorer.exe
include_processes: explorer.exe
name: wineexec
- extract:
dst: $GAMEDIR/drive_c/Starship Titanic/
file: cncddraw
- execute:
command: cp "$GAMEDIR/drive_c/Starship Titanic/ddraw.ini" "$GAMEDIR/drive_c/Starship
Titanic/ddraw_original.ini"
- write_config:
data:
ddraw:
border: false
fullscreen: false
height: $RESOLUTION_HEIGHT
maintas: true
maxfps: -1
renderer: opengl
singlecpu: false
vsync: true
width: $RESOLUTION_WIDTH
windowed: true
file: $GAMEDIR/drive_c/Starship Titanic/ddraw.ini
merge: true
- task:
arch: win64
key: ddraw
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\DllOverrides\
prefix: $GAMEDIR
type: REG_SZ
value: native,builtin
- task:
arch: win64
key: csmt
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
prefix: $GAMEDIR
type: REG_DWORD
value: '00000000'
- task:
arch: win64
key: background
name: set_regedit
path: HKEY_CURRENT_USER\Control Panel\Colors\
prefix: $GAMEDIR
type: REG_SZ
value: 0 0 0
wine:
Desktop: true
slug: starship-titanic-cd-cnc-ddraw
steamid: 467290
version: CD + cnc-ddraw
year: 1998
{
"game_slug": "starship-titanic",
"version": "CD + cnc-ddraw",
"description": "\"Starship Titanic\" CD edition with support for modern screen resolution.\r\n\r\nThis script uses cnc-ddraw: https://github.com/CnCNet/cnc-ddraw\r\nTo modify graphic config, edit ddraw.ini text file. \r\nLook at ddraw_original.ini file for instructions.",
"notes": "",
"name": "Starship Titanic",
"year": 1998,
"steamid": 467290,
"gogslug": "starship_titanic",
"humblestoreid": "",
"runner": "wine",
"slug": "starship-titanic-cd-cnc-ddraw",
"installer_slug": "starship-titanic-cd-cnc-ddraw",
"script": {
"files": [
{
"cncddraw": "https://github.com/CnCNet/cnc-ddraw/files/3139881/ddraw.zip"
}
],
"game": {
"exe": "drive_c/Starship Titanic/St.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"insert-disc": {
"requires": "Autorun.exe"
}
},
{
"task": {
"args": "/desktop=StarshipTitanic,1024x780 $DISC/Autorun.exe",
"description": "Running setup of the game. Just proceed and keep all settings at their defaults",
"executable": "$GAMEDIR/drive_c/windows/explorer.exe",
"include_processes": "explorer.exe",
"name": "wineexec"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Starship Titanic/",
"file": "cncddraw"
}
},
{
"execute": {
"command": "cp \"$GAMEDIR/drive_c/Starship Titanic/ddraw.ini\" \"$GAMEDIR/drive_c/Starship Titanic/ddraw_original.ini\""
}
},
{
"write_config": {
"data": {
"ddraw": {
"border": false,
"fullscreen": false,
"height": "$RESOLUTION_HEIGHT",
"maintas": true,
"maxfps": -1,
"renderer": "opengl",
"singlecpu": false,
"vsync": true,
"width": "$RESOLUTION_WIDTH",
"windowed": true
}
},
"file": "$GAMEDIR/drive_c/Starship Titanic/ddraw.ini",
"merge": true
}
},
{
"task": {
"arch": "win64",
"key": "ddraw",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides\\",
"prefix": "$GAMEDIR",
"type": "REG_SZ",
"value": "native,builtin"
}
},
{
"task": {
"arch": "win64",
"key": "csmt",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
"prefix": "$GAMEDIR",
"type": "REG_DWORD",
"value": "00000000"
}
},
{
"task": {
"arch": "win64",
"key": "background",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
"prefix": "$GAMEDIR",
"type": "REG_SZ",
"value": "0 0 0"
}
}
],
"wine": {
"Desktop": true
}
}
}