files:
- engine: https://github.com/zaps166/NFSIISE/releases/download/v1.4.0/nfs2se-linux-x86-v1.4.0.tar.gz
game:
exe: nfs2se
installer:
- insert_disc:
message: Insert the NFSIISE CD-ROM
requires: fedata
- merge:
dst: $GAMEDIR
src: $DISC
- extract:
dst: $GAMEDIR
file: engine
- write_file:
content: ' #!/bin/bash
find . -depth -exec sh -c ''
t=${0%/*}/$(printf %s "${0##*/}" | tr "[:upper:]" "[:lower:]");
[ "$t" = "$0" ] || mv -i "$0" "$t"
'' {} \; '
file: $GAMEDIR/convert_to_lowercase.sh
- chmodx: $GAMEDIR/convert_to_lowercase.sh
- execute:
command: cd $GAMEDIR; ./convert_to_lowercase.sh
- input_menu:
description: 'Choose the game''s language:'
id: LANG
options:
- english: English
- french: French
- german: German
- italian: Italian
- spanish: Spanish
- swedish: Swedish
preselect: english
- execute:
command: cd "$GAMEDIR"; sed -i "s/english/$INPUT_LANG/" install.win
description: Play "Need for Speed II" CD edition on Linux!
game_slug: need-for-speed-ii
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-ii-cd-nfsiise
name: Need for Speed II
notes: "- Using NFSIISE engine\r\n- You will need \"Need for Speed II\" CD only one\
\ time during install\r\n- You can choose language for menu during install between:\
\ English, French, German, Italian, Spanish and Swedish"
runner: linux
script:
files:
- engine: https://github.com/zaps166/NFSIISE/releases/download/v1.4.0/nfs2se-linux-x86-v1.4.0.tar.gz
game:
exe: nfs2se
installer:
- insert_disc:
message: Insert the NFSIISE CD-ROM
requires: fedata
- merge:
dst: $GAMEDIR
src: $DISC
- extract:
dst: $GAMEDIR
file: engine
- write_file:
content: ' #!/bin/bash
find . -depth -exec sh -c ''
t=${0%/*}/$(printf %s "${0##*/}" | tr "[:upper:]" "[:lower:]");
[ "$t" = "$0" ] || mv -i "$0" "$t"
'' {} \; '
file: $GAMEDIR/convert_to_lowercase.sh
- chmodx: $GAMEDIR/convert_to_lowercase.sh
- execute:
command: cd $GAMEDIR; ./convert_to_lowercase.sh
- input_menu:
description: 'Choose the game''s language:'
id: LANG
options:
- english: English
- french: French
- german: German
- italian: Italian
- spanish: Spanish
- swedish: Swedish
preselect: english
- execute:
command: cd "$GAMEDIR"; sed -i "s/english/$INPUT_LANG/" install.win
slug: need-for-speed-ii-cd-nfsiise
steamid: null
version: CD + NFSIISE
year: 1997
{
"game_slug": "need-for-speed-ii",
"version": "CD + NFSIISE",
"description": "Play \"Need for Speed II\" CD edition on Linux!",
"notes": "- Using NFSIISE engine\r\n- You will need \"Need for Speed II\" CD only one time during install\r\n- You can choose language for menu during install between: English, French, German, Italian, Spanish and Swedish",
"name": "Need for Speed II",
"year": 1997,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "linux",
"slug": "need-for-speed-ii-cd-nfsiise",
"installer_slug": "need-for-speed-ii-cd-nfsiise",
"script": {
"files": [
{
"engine": "https://github.com/zaps166/NFSIISE/releases/download/v1.4.0/nfs2se-linux-x86-v1.4.0.tar.gz"
}
],
"game": {
"exe": "nfs2se"
},
"installer": [
{
"insert_disc": {
"message": "Insert the NFSIISE CD-ROM",
"requires": "fedata"
}
},
{
"merge": {
"dst": "$GAMEDIR",
"src": "$DISC"
}
},
{
"extract": {
"dst": "$GAMEDIR",
"file": "engine"
}
},
{
"write_file": {
"content": " #!/bin/bash\nfind . -depth -exec sh -c '\nt=${0%/*}/$(printf %s \"${0##*/}\" | tr \"[:upper:]\" \"[:lower:]\");\n[ \"$t\" = \"$0\" ] || mv -i \"$0\" \"$t\"\n' {} \\; ",
"file": "$GAMEDIR/convert_to_lowercase.sh"
}
},
{
"chmodx": "$GAMEDIR/convert_to_lowercase.sh"
},
{
"execute": {
"command": "cd $GAMEDIR; ./convert_to_lowercase.sh"
}
},
{
"input_menu": {
"description": "Choose the game's language:",
"id": "LANG",
"options": [
{
"english": "English"
},
{
"french": "French"
},
{
"german": "German"
},
{
"italian": "Italian"
},
{
"spanish": "Spanish"
},
{
"swedish": "Swedish"
}
],
"preselect": "english"
}
},
{
"execute": {
"command": "cd \"$GAMEDIR\"; sed -i \"s/english/$INPUT_LANG/\" install.win"
}
}
]
}
}