files:
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20-%20Friend%20or%20Foe/SMFOF.zip
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20-%20Friend%20or%20Foe/resolution.sh
- regfile: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20-%20Friend%20or%20Foe/smfof_utf8.reg
game:
exe: drive_c/Program Files (x86)/Activision/Spider-Man - FOF/Game.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
install_gecko: false
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- task:
arch: win64
key: background
name: set_regedit
path: HKEY_CURRENT_USER\Control Panel\Colors\
prefix: $GAMEDIR
type: REG_SZ
value: 0 0 0
- insert-disc:
requires: Setup/Data/Spider-Man Friend Or Foe.exe
- task:
args: /desktop=SMFOF,1024x780 $DISC/setup.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
- execute:
command: cd "$GAMEDIR/drive_c/Program Files (x86)/Activision"; path=$(find Spider*
-name "Game.exe" | sed -r 's|/[^/]+$||' |sort |uniq) ; ln -s "$path" "Spider-Man
- FOF";
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man - FOF/backup
src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man - FOF/Game.exe
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man - FOF
file: patch
- task:
app: xact
name: winetricks
silent: true
- chmodx: script
- merge:
dst: $GAMEDIR/drive_c/tmp
src: regfile
- merge:
dst: $GAMEDIR/drive_c/tmp
src: script
- execute:
args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT smfof_utf8.reg ResolutionX ResolutionY
file: $GAMEDIR/drive_c/tmp/resolution.sh
- task:
args: $GAMEDIR/drive_c/tmp/smfof_utf8.reg
executable: regedit
name: wineexec
prefix: $GAMEDIR
wine:
Desktop: true
description: '"Spider-Man: Friend or Foe" DVD edition'
game_slug: spider-man-friend-or-foe
gogslug: ''
humblestoreid: ''
installer_slug: spider-man-friend-or-foe-dvd
name: 'Spider-Man: Friend or Foe'
notes: '- You will need the DVD only one time during install.'
runner: wine
script:
files:
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20-%20Friend%20or%20Foe/SMFOF.zip
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20-%20Friend%20or%20Foe/resolution.sh
- regfile: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20-%20Friend%20or%20Foe/smfof_utf8.reg
game:
exe: drive_c/Program Files (x86)/Activision/Spider-Man - FOF/Game.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
install_gecko: false
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- task:
arch: win64
key: background
name: set_regedit
path: HKEY_CURRENT_USER\Control Panel\Colors\
prefix: $GAMEDIR
type: REG_SZ
value: 0 0 0
- insert-disc:
requires: Setup/Data/Spider-Man Friend Or Foe.exe
- task:
args: /desktop=SMFOF,1024x780 $DISC/setup.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
- execute:
command: cd "$GAMEDIR/drive_c/Program Files (x86)/Activision"; path=$(find Spider*
-name "Game.exe" | sed -r 's|/[^/]+$||' |sort |uniq) ; ln -s "$path" "Spider-Man
- FOF";
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man - FOF/backup
src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man - FOF/Game.exe
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man - FOF
file: patch
- task:
app: xact
name: winetricks
silent: true
- chmodx: script
- merge:
dst: $GAMEDIR/drive_c/tmp
src: regfile
- merge:
dst: $GAMEDIR/drive_c/tmp
src: script
- execute:
args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT smfof_utf8.reg ResolutionX ResolutionY
file: $GAMEDIR/drive_c/tmp/resolution.sh
- task:
args: $GAMEDIR/drive_c/tmp/smfof_utf8.reg
executable: regedit
name: wineexec
prefix: $GAMEDIR
wine:
Desktop: true
slug: spider-man-friend-or-foe-dvd
steamid: null
version: DVD
year: 2007
{
"game_slug": "spider-man-friend-or-foe",
"version": "DVD",
"description": "\"Spider-Man: Friend or Foe\" DVD edition",
"notes": "- You will need the DVD only one time during install.",
"name": "Spider-Man: Friend or Foe",
"year": 2007,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "spider-man-friend-or-foe-dvd",
"installer_slug": "spider-man-friend-or-foe-dvd",
"script": {
"files": [
{
"patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20-%20Friend%20or%20Foe/SMFOF.zip"
},
{
"script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20-%20Friend%20or%20Foe/resolution.sh"
},
{
"regfile": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20-%20Friend%20or%20Foe/smfof_utf8.reg"
}
],
"game": {
"exe": "drive_c/Program Files (x86)/Activision/Spider-Man - FOF/Game.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"install_gecko": false,
"install_mono": false,
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win64",
"key": "background",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
"prefix": "$GAMEDIR",
"type": "REG_SZ",
"value": "0 0 0"
}
},
{
"insert-disc": {
"requires": "Setup/Data/Spider-Man Friend Or Foe.exe"
}
},
{
"task": {
"args": "/desktop=SMFOF,1024x780 $DISC/setup.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"
}
},
{
"execute": {
"command": "cd \"$GAMEDIR/drive_c/Program Files (x86)/Activision\"; path=$(find Spider* -name \"Game.exe\" | sed -r 's|/[^/]+$||' |sort |uniq) ; ln -s \"$path\" \"Spider-Man - FOF\";"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man - FOF/backup",
"src": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man - FOF/Game.exe"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man - FOF",
"file": "patch"
}
},
{
"task": {
"app": "xact",
"name": "winetricks",
"silent": true
}
},
{
"chmodx": "script"
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/tmp",
"src": "regfile"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/tmp",
"src": "script"
}
},
{
"execute": {
"args": "$RESOLUTION_WIDTH $RESOLUTION_HEIGHT smfof_utf8.reg ResolutionX ResolutionY",
"file": "$GAMEDIR/drive_c/tmp/resolution.sh"
}
},
{
"task": {
"args": "$GAMEDIR/drive_c/tmp/smfof_utf8.reg",
"executable": "regedit",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
}
],
"wine": {
"Desktop": true
}
}
}