Installer spider-man-2002-cd-en

files:
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20(2002)/sm1_install.bat
- patch: https://www.dropbox.com/s/ufbdc64m0wiiggy/SM1_patched_files_1.3.zip?dl=1
- antimx: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20(2002)/Spider-Man%20(2002).gamecontroller.amgp
- antimxdoc: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20(2002)/Spider-Man%20(2002)_gamecontroller_readme.html
game:
  exe: drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/SpiderMan.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    install_gecko: true
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: Setup/Data/SpiderMan.exe
- merge:
    dst: $GAMEDIR/drive_c/sm1/cd1
    src: $DISC
- insert-disc:
    requires: Setup/Data/Spiderman.ico
- merge:
    dst: $GAMEDIR/drive_c/sm1/cd2
    src: $DISC
- merge:
    dst: $GAMEDIR/drive_c/sm1
    src: script
- execute:
    command: cd "$GAMEDIR/drive_c/sm1"; chmod -R +rw cd1 cd2;
- task:
    args: /desktop=SM1,1024x780 "$GAMEDIR/drive_c/sm1/sm1_install.bat"
    description: Installing Spider-Man (2002)...
    executable: $GAMEDIR/drive_c/windows/explorer.exe
    include_processes: explorer.exe
    name: wineexec
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
    src: $GAMEDIR/drive_c/sm1/cd2/Setup/Data
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
    file: patch
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
    src: antimx
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
    src: antimxdoc
- write_config:
    data:
      Flags:
        GAME_RESOLUTION: $RESOLUTION
    file: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/game.ini
    merge: true
- move:
    dst: $CACHE
    src: $GAMEDIR/drive_c/sm1
wine:
  Desktop: true
description: Spider-Man (2002) - 2 CD english Edition
game_slug: spider-man-2002
gogslug: ''
humblestoreid: ''
installer_slug: spider-man-2002-cd-en
name: Spider-Man (2002)
notes: "- This script is compatible only with Spider-Man (2002) 2 CD english  edition(Version=1.1\
  \ QA=2616).\r\n- You will need CDs only one time during install.\r\n- Game will\
  \ be updated to 1.3 official patch version.\r\n- Graphics options set to maximum.\r\
  \n- main game executable patched for widescreen screen with a 16:9 ratio/fov.\r\n\
  - Cinematics played only at 640x480 resolution, you can only hear audio but video\
  \ is all black, see https://bugs.winehq.org/show_bug.cgi?id=54471\r\n- If you go\
  \ in graphics options menu, game resolution will be reset to 640x480. In this case,\
  \ open game.ini file and change GAME_RESOLUTION value to your native screen resolution.\r\
  \n- You will find an Antimicrox profile file in the game folder for playing with\
  \ a gamepad."
runner: wine
script:
  files:
  - script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20(2002)/sm1_install.bat
  - patch: https://www.dropbox.com/s/ufbdc64m0wiiggy/SM1_patched_files_1.3.zip?dl=1
  - antimx: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20(2002)/Spider-Man%20(2002).gamecontroller.amgp
  - antimxdoc: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20(2002)/Spider-Man%20(2002)_gamecontroller_readme.html
  game:
    exe: drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/SpiderMan.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      install_gecko: true
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: Setup/Data/SpiderMan.exe
  - merge:
      dst: $GAMEDIR/drive_c/sm1/cd1
      src: $DISC
  - insert-disc:
      requires: Setup/Data/Spiderman.ico
  - merge:
      dst: $GAMEDIR/drive_c/sm1/cd2
      src: $DISC
  - merge:
      dst: $GAMEDIR/drive_c/sm1
      src: script
  - execute:
      command: cd "$GAMEDIR/drive_c/sm1"; chmod -R +rw cd1 cd2;
  - task:
      args: /desktop=SM1,1024x780 "$GAMEDIR/drive_c/sm1/sm1_install.bat"
      description: Installing Spider-Man (2002)...
      executable: $GAMEDIR/drive_c/windows/explorer.exe
      include_processes: explorer.exe
      name: wineexec
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
      src: $GAMEDIR/drive_c/sm1/cd2/Setup/Data
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
      file: patch
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
      src: antimx
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
      src: antimxdoc
  - write_config:
      data:
        Flags:
          GAME_RESOLUTION: $RESOLUTION
      file: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/game.ini
      merge: true
  - move:
      dst: $CACHE
      src: $GAMEDIR/drive_c/sm1
  wine:
    Desktop: true
slug: spider-man-2002-cd-en
steamid: null
version: CD EN
year: 2002
{
  "game_slug": "spider-man-2002",
  "version": "CD EN",
  "description": "Spider-Man (2002) - 2 CD english Edition",
  "notes": "- This script is compatible only with Spider-Man (2002) 2 CD english  edition(Version=1.1 QA=2616).\r\n- You will need CDs only one time during install.\r\n- Game will be updated to 1.3 official patch version.\r\n- Graphics options set to maximum.\r\n- main game executable patched for widescreen screen with a 16:9 ratio/fov.\r\n- Cinematics played only at 640x480 resolution, you can only hear audio but video is all black, see https://bugs.winehq.org/show_bug.cgi?id=54471\r\n- If you go in graphics options menu, game resolution will be reset to 640x480. In this case, open game.ini file and change GAME_RESOLUTION value to your native screen resolution.\r\n- You will find an Antimicrox profile file in the game folder for playing with a gamepad.",
  "name": "Spider-Man (2002)",
  "year": 2002,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "spider-man-2002-cd-en",
  "installer_slug": "spider-man-2002-cd-en",
  "script": {
    "files": [
      {
        "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20(2002)/sm1_install.bat"
      },
      {
        "patch": "https://www.dropbox.com/s/ufbdc64m0wiiggy/SM1_patched_files_1.3.zip?dl=1"
      },
      {
        "antimx": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20(2002)/Spider-Man%20(2002).gamecontroller.amgp"
      },
      {
        "antimxdoc": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Spider-Man%20(2002)/Spider-Man%20(2002)_gamecontroller_readme.html"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/SpiderMan.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "install_gecko": true,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "Setup/Data/SpiderMan.exe"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/sm1/cd1",
          "src": "$DISC"
        }
      },
      {
        "insert-disc": {
          "requires": "Setup/Data/Spiderman.ico"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/sm1/cd2",
          "src": "$DISC"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/sm1",
          "src": "script"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/sm1\"; chmod -R +rw cd1 cd2;"
        }
      },
      {
        "task": {
          "args": "/desktop=SM1,1024x780 \"$GAMEDIR/drive_c/sm1/sm1_install.bat\"",
          "description": "Installing Spider-Man (2002)...",
          "executable": "$GAMEDIR/drive_c/windows/explorer.exe",
          "include_processes": "explorer.exe",
          "name": "wineexec"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie",
          "src": "$GAMEDIR/drive_c/sm1/cd2/Setup/Data"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie",
          "file": "patch"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie",
          "src": "antimx"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie",
          "src": "antimxdoc"
        }
      },
      {
        "write_config": {
          "data": {
            "Flags": {
              "GAME_RESOLUTION": "$RESOLUTION"
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/game.ini",
          "merge": true
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/drive_c/sm1"
        }
      }
    ],
    "wine": {
      "Desktop": true
    }
  }
}
Back to game