files:
- game_mod: https://github.com/rotators/Fo1in2/releases/latest/download/Fallout1in2.zip
- gogsetup: N/A:Select Fallout 2 setup exe file provided by GOG
game:
exe: drive_c/GOG Games/Fallout 2/Fallout1in2/Fallout2.exe
gogid: 1440151285
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- task:
description: Installing Fallout 2
executable: gogsetup
name: wineexec
prefix: $GAMEDIR
- extract:
dst: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2
file: game_mod
- insert-disc:
description: Please select the "master.dat" file located in the "Fallout 1" installation
directory. Do not click the "Automatic" button
requires: master.dat
- execute:
command: cd "$GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2"; cp "$DISC/MASTER.DAT"
.; chmod +x undat.sh; ./undat.sh MASTER.DAT;
description: Extracting Fallout 1 master.dat file, this could take a moment...
- input_menu:
description: 'Choose the game''s language:'
id: LANG
options:
- english: English
- french: French
- german: German
preselect: english
- write_config:
data:
preferences:
subtitles: 1
system:
language: $INPUT_LANG
file: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/Fallout2.cfg
merge: true
- copy:
dst: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/backup
src: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/ddraw.ini
- write_config:
data:
Graphics:
GraphicsHeight: $RESOLUTION_HEIGHT
GraphicsWidth: $RESOLUTION_WIDTH
file: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/ddraw.ini
merge: true
- copy:
dst: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/backup
src: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/f2_res.ini
- write_config:
data:
INPUT:
ALT_MOUSE_INPUT: 0
MAIN:
REFRESH_RATE: 60
SCALE_2X: 1
SCR_HEIGHT: $RESOLUTION_HEIGHT
SCR_WIDTH: $RESOLUTION_WIDTH
UAC_AWARE: 0
file: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/f2_res.ini
merge: true
wine:
overrides:
ddraw: n,b
description: Play "Fallout 1" with "Fallout 2" engine on Linux!
game_slug: fallout-2
gogslug: fallout_2
humblestoreid: ''
installer_slug: fallout-2-gog-fallout1in2
name: Fallout 2
notes: "- Using the open-source project \"Fallout1in2\"\r\n- During installation,\
\ you will need to provide the MASTER.DAT file from an existing Fallout 1 installation\r\
\n- Multilingual: During installation, you will be able to choose the menu and subtitle\
\ language from English (default), French, and German"
runner: wine
script:
files:
- game_mod: https://github.com/rotators/Fo1in2/releases/latest/download/Fallout1in2.zip
- gogsetup: N/A:Select Fallout 2 setup exe file provided by GOG
game:
exe: drive_c/GOG Games/Fallout 2/Fallout1in2/Fallout2.exe
gogid: 1440151285
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- task:
description: Installing Fallout 2
executable: gogsetup
name: wineexec
prefix: $GAMEDIR
- extract:
dst: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2
file: game_mod
- insert-disc:
description: Please select the "master.dat" file located in the "Fallout 1"
installation directory. Do not click the "Automatic" button
requires: master.dat
- execute:
command: cd "$GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2"; cp "$DISC/MASTER.DAT"
.; chmod +x undat.sh; ./undat.sh MASTER.DAT;
description: Extracting Fallout 1 master.dat file, this could take a moment...
- input_menu:
description: 'Choose the game''s language:'
id: LANG
options:
- english: English
- french: French
- german: German
preselect: english
- write_config:
data:
preferences:
subtitles: 1
system:
language: $INPUT_LANG
file: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/Fallout2.cfg
merge: true
- copy:
dst: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/backup
src: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/ddraw.ini
- write_config:
data:
Graphics:
GraphicsHeight: $RESOLUTION_HEIGHT
GraphicsWidth: $RESOLUTION_WIDTH
file: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/ddraw.ini
merge: true
- copy:
dst: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/backup
src: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/f2_res.ini
- write_config:
data:
INPUT:
ALT_MOUSE_INPUT: 0
MAIN:
REFRESH_RATE: 60
SCALE_2X: 1
SCR_HEIGHT: $RESOLUTION_HEIGHT
SCR_WIDTH: $RESOLUTION_WIDTH
UAC_AWARE: 0
file: $GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/f2_res.ini
merge: true
wine:
overrides:
ddraw: n,b
slug: fallout-2-gog-fallout1in2
steamid: 38410
version: GOG + Fallout1in2
year: 1998
{
"game_slug": "fallout-2",
"version": "GOG + Fallout1in2",
"description": "Play \"Fallout 1\" with \"Fallout 2\" engine on Linux!",
"notes": "- Using the open-source project \"Fallout1in2\"\r\n- During installation, you will need to provide the MASTER.DAT file from an existing Fallout 1 installation\r\n- Multilingual: During installation, you will be able to choose the menu and subtitle language from English (default), French, and German",
"name": "Fallout 2",
"year": 1998,
"steamid": 38410,
"gogslug": "fallout_2",
"humblestoreid": "",
"runner": "wine",
"slug": "fallout-2-gog-fallout1in2",
"installer_slug": "fallout-2-gog-fallout1in2",
"script": {
"files": [
{
"game_mod": "https://github.com/rotators/Fo1in2/releases/latest/download/Fallout1in2.zip"
},
{
"gogsetup": "N/A:Select Fallout 2 setup exe file provided by GOG"
}
],
"game": {
"exe": "drive_c/GOG Games/Fallout 2/Fallout1in2/Fallout2.exe",
"gogid": 1440151285,
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"description": "Installing Fallout 2",
"executable": "gogsetup",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2",
"file": "game_mod"
}
},
{
"insert-disc": {
"description": "Please select the \"master.dat\" file located in the \"Fallout 1\" installation directory. Do not click the \"Automatic\" button",
"requires": "master.dat"
}
},
{
"execute": {
"command": "cd \"$GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2\"; cp \"$DISC/MASTER.DAT\" .; chmod +x undat.sh; ./undat.sh MASTER.DAT;",
"description": "Extracting Fallout 1 master.dat file, this could take a moment..."
}
},
{
"input_menu": {
"description": "Choose the game's language:",
"id": "LANG",
"options": [
{
"english": "English"
},
{
"french": "French"
},
{
"german": "German"
}
],
"preselect": "english"
}
},
{
"write_config": {
"data": {
"preferences": {
"subtitles": 1
},
"system": {
"language": "$INPUT_LANG"
}
},
"file": "$GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/Fallout2.cfg",
"merge": true
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/backup",
"src": "$GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/ddraw.ini"
}
},
{
"write_config": {
"data": {
"Graphics": {
"GraphicsHeight": "$RESOLUTION_HEIGHT",
"GraphicsWidth": "$RESOLUTION_WIDTH"
}
},
"file": "$GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/ddraw.ini",
"merge": true
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/backup",
"src": "$GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/f2_res.ini"
}
},
{
"write_config": {
"data": {
"INPUT": {
"ALT_MOUSE_INPUT": 0
},
"MAIN": {
"REFRESH_RATE": 60,
"SCALE_2X": 1,
"SCR_HEIGHT": "$RESOLUTION_HEIGHT",
"SCR_WIDTH": "$RESOLUTION_WIDTH",
"UAC_AWARE": 0
}
},
"file": "$GAMEDIR/drive_c/GOG Games/Fallout 2/Fallout1in2/f2_res.ini",
"merge": true
}
}
],
"wine": {
"overrides": {
"ddraw": "n,b"
}
}
}
}