Installer hexen-ii-gog-uhexen2-1
custom-name: Hexen II - GOG - uHexen2
files:
- uhx2: https://netix.dl.sourceforge.net/project/uhexen2/Hammer%20of%20Thyrion/1.5.9/Linux-x86_64/hexen2-1.5.9-linux-x86_64.tgz
- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
- goginstaller: N/A:Select the game's setup file
game:
args: -vsync
exe: glhexen2
installer:
- extract:
dst: $CACHE
file: inno
- execute:
args: -d "$GAMEDIR" "$goginstaller"
file: $CACHE/innoextract
- extract:
dst: $GAMEDIR
src: uhx2
- move:
dst: $GAMEDIR/data1/music/casa1.ogg
src: $GAMEDIR/music/Track02.ogg
- move:
dst: $GAMEDIR/data1/music/casa2.ogg
src: $GAMEDIR/music/Track03.ogg
- move:
dst: $GAMEDIR/data1/music/casa3.ogg
src: $GAMEDIR/music/Track04.ogg
- move:
dst: $GAMEDIR/data1/music/casa4.ogg
src: $GAMEDIR/music/Track05.ogg
- move:
dst: $GAMEDIR/data1/music/egyp1.ogg
src: $GAMEDIR/music/Track06.ogg
- move:
dst: $GAMEDIR/data1/music/egyp2.ogg
src: $GAMEDIR/music/Track07.ogg
- move:
dst: $GAMEDIR/data1/music/egyp3.ogg
src: $GAMEDIR/music/Track08.ogg
- move:
dst: $GAMEDIR/data1/music/meso1.ogg
src: $GAMEDIR/music/Track09.ogg
- move:
dst: $GAMEDIR/data1/music/meso2.ogg
src: $GAMEDIR/music/Track10.ogg
- move:
dst: $GAMEDIR/data1/music/meso3.ogg
src: $GAMEDIR/music/Track11.ogg
- move:
dst: $GAMEDIR/data1/music/roma1.ogg
src: $GAMEDIR/music/Track12.ogg
- move:
dst: $GAMEDIR/data1/music/roma2.ogg
src: $GAMEDIR/music/Track13.ogg
- move:
dst: $GAMEDIR/data1/music/roma3.ogg
src: $GAMEDIR/music/Track14.ogg
- move:
dst: $GAMEDIR/data1/music/casb1.ogg
src: $GAMEDIR/music/Track15.ogg
- move:
dst: $GAMEDIR/data1/music/casb2.ogg
src: $GAMEDIR/music/Track16.ogg
- move:
dst: $GAMEDIR/data1/music/casb3.ogg
src: $GAMEDIR/music/Track17.ogg
- write_file:
content: 'bgmtype "midi"
vid_config_glx "$RESOLUTION_WIDTH"
vid_config_gly "$RESOLUTION_HEIGHT"
vid_config_fscr "1"
'
file: $GAMEDIR/config.cfg
- merge:
dst: $HOME/.hexen2/data1/
src: $GAMEDIR/config.cfg
description: "\"Hexen II\" GOG edition on modern computer configurations with Linux\
\ OS.\r\nThis script uses uHexen2 project: https://sourceforge.net/projects/uhexen2/.\r\
\nTested with GOG installer version:\r\nsetup_hexen_ii_1.11_(43447).exe"
game_slug: hexen-ii
gogslug: hexen_ii
humblestoreid: ''
installer_slug: hexen-ii-gog-uhexen2-1
name: HeXen II
notes: ''
runner: linux
script:
custom-name: Hexen II - GOG - uHexen2
files:
- uhx2: https://netix.dl.sourceforge.net/project/uhexen2/Hammer%20of%20Thyrion/1.5.9/Linux-x86_64/hexen2-1.5.9-linux-x86_64.tgz
- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
- goginstaller: N/A:Select the game's setup file
game:
args: -vsync
exe: glhexen2
installer:
- extract:
dst: $CACHE
file: inno
- execute:
args: -d "$GAMEDIR" "$goginstaller"
file: $CACHE/innoextract
- extract:
dst: $GAMEDIR
src: uhx2
- move:
dst: $GAMEDIR/data1/music/casa1.ogg
src: $GAMEDIR/music/Track02.ogg
- move:
dst: $GAMEDIR/data1/music/casa2.ogg
src: $GAMEDIR/music/Track03.ogg
- move:
dst: $GAMEDIR/data1/music/casa3.ogg
src: $GAMEDIR/music/Track04.ogg
- move:
dst: $GAMEDIR/data1/music/casa4.ogg
src: $GAMEDIR/music/Track05.ogg
- move:
dst: $GAMEDIR/data1/music/egyp1.ogg
src: $GAMEDIR/music/Track06.ogg
- move:
dst: $GAMEDIR/data1/music/egyp2.ogg
src: $GAMEDIR/music/Track07.ogg
- move:
dst: $GAMEDIR/data1/music/egyp3.ogg
src: $GAMEDIR/music/Track08.ogg
- move:
dst: $GAMEDIR/data1/music/meso1.ogg
src: $GAMEDIR/music/Track09.ogg
- move:
dst: $GAMEDIR/data1/music/meso2.ogg
src: $GAMEDIR/music/Track10.ogg
- move:
dst: $GAMEDIR/data1/music/meso3.ogg
src: $GAMEDIR/music/Track11.ogg
- move:
dst: $GAMEDIR/data1/music/roma1.ogg
src: $GAMEDIR/music/Track12.ogg
- move:
dst: $GAMEDIR/data1/music/roma2.ogg
src: $GAMEDIR/music/Track13.ogg
- move:
dst: $GAMEDIR/data1/music/roma3.ogg
src: $GAMEDIR/music/Track14.ogg
- move:
dst: $GAMEDIR/data1/music/casb1.ogg
src: $GAMEDIR/music/Track15.ogg
- move:
dst: $GAMEDIR/data1/music/casb2.ogg
src: $GAMEDIR/music/Track16.ogg
- move:
dst: $GAMEDIR/data1/music/casb3.ogg
src: $GAMEDIR/music/Track17.ogg
- write_file:
content: 'bgmtype "midi"
vid_config_glx "$RESOLUTION_WIDTH"
vid_config_gly "$RESOLUTION_HEIGHT"
vid_config_fscr "1"
'
file: $GAMEDIR/config.cfg
- merge:
dst: $HOME/.hexen2/data1/
src: $GAMEDIR/config.cfg
slug: hexen-ii-gog-uhexen2-1
steamid: 9060
version: GOG + uHexen2
year: 1998
{
"game_slug": "hexen-ii",
"version": "GOG + uHexen2",
"description": "\"Hexen II\" GOG edition on modern computer configurations with Linux OS.\r\nThis script uses uHexen2 project: https://sourceforge.net/projects/uhexen2/.\r\nTested with GOG installer version:\r\nsetup_hexen_ii_1.11_(43447).exe",
"notes": "",
"name": "HeXen II",
"year": 1998,
"steamid": 9060,
"gogslug": "hexen_ii",
"humblestoreid": "",
"runner": "linux",
"slug": "hexen-ii-gog-uhexen2-1",
"installer_slug": "hexen-ii-gog-uhexen2-1",
"script": {
"custom-name": "Hexen II - GOG - uHexen2",
"files": [
{
"uhx2": "https://netix.dl.sourceforge.net/project/uhexen2/Hammer%20of%20Thyrion/1.5.9/Linux-x86_64/hexen2-1.5.9-linux-x86_64.tgz"
},
{
"inno": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
},
{
"goginstaller": "N/A:Select the game's setup file"
}
],
"game": {
"args": "-vsync",
"exe": "glhexen2"
},
"installer": [
{
"extract": {
"dst": "$CACHE",
"file": "inno"
}
},
{
"execute": {
"args": "-d \"$GAMEDIR\" \"$goginstaller\"",
"file": "$CACHE/innoextract"
}
},
{
"extract": {
"dst": "$GAMEDIR",
"src": "uhx2"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/casa1.ogg",
"src": "$GAMEDIR/music/Track02.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/casa2.ogg",
"src": "$GAMEDIR/music/Track03.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/casa3.ogg",
"src": "$GAMEDIR/music/Track04.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/casa4.ogg",
"src": "$GAMEDIR/music/Track05.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/egyp1.ogg",
"src": "$GAMEDIR/music/Track06.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/egyp2.ogg",
"src": "$GAMEDIR/music/Track07.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/egyp3.ogg",
"src": "$GAMEDIR/music/Track08.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/meso1.ogg",
"src": "$GAMEDIR/music/Track09.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/meso2.ogg",
"src": "$GAMEDIR/music/Track10.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/meso3.ogg",
"src": "$GAMEDIR/music/Track11.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/roma1.ogg",
"src": "$GAMEDIR/music/Track12.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/roma2.ogg",
"src": "$GAMEDIR/music/Track13.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/roma3.ogg",
"src": "$GAMEDIR/music/Track14.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/casb1.ogg",
"src": "$GAMEDIR/music/Track15.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/casb2.ogg",
"src": "$GAMEDIR/music/Track16.ogg"
}
},
{
"move": {
"dst": "$GAMEDIR/data1/music/casb3.ogg",
"src": "$GAMEDIR/music/Track17.ogg"
}
},
{
"write_file": {
"content": "bgmtype \"midi\"\nvid_config_glx \"$RESOLUTION_WIDTH\"\nvid_config_gly \"$RESOLUTION_HEIGHT\"\nvid_config_fscr \"1\"\n",
"file": "$GAMEDIR/config.cfg"
}
},
{
"merge": {
"dst": "$HOME/.hexen2/data1/",
"src": "$GAMEDIR/config.cfg"
}
}
]
}
}