Installer spider-man-2001-cd-dxwrapper

files:
- wrapper: https://github.com/elishacloud/dxwrapper/releases/download/v1.3.7700.25/dxwrapper.zip
- game_patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2001)/spider-man_2001_patch.zip
game:
  exe: drive_c/Program Files (x86)/Activision/Spider-Man/SpideyPC.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: Setup/SpideyPC.ico
- task:
    description: Installing Spider-Man (2000), during install let all options to default.
    executable: $DISC/Setup.exe
    name: wineexec
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man
    src: $DISC/Setup/media.pkr
- move:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/SpideyPC.bak
    src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/SpideyPC.exe
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man
    file: game_patch
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man
    file: wrapper
- copy:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man
    src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/Stub/ddraw.dll
- copy:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man
    src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/Stub/dsound.dll
- write_config:
    data:
      Compatibility:
        Dd7to9: 1
        EnableDdrawWrapper: 1
        EnableDsoundWrapper: 1
      d3d9:
        EnableWindowMode: 1
        FullscreenWindowMode: 1
        LimitPerFrameFPS: 30
      dsound:
        AudioClipDetection: 1
        PrimaryBufferBits: 16
        PrimaryBufferSamples: 44100
    file: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/dxwrapper.ini
system:
  gamescope: true
  gamescope_fps_limiter: '30'
  gamescope_game_res: 1280x1024
  gamescope_output_res: $RESOLUTION
wine:
  overrides:
    ddraw: n,b
    dsound: n,b
description: Play "Spider-Man (2001)" CD edition on Linux!
game_slug: spider-man-2000
gogslug: ''
humblestoreid: ''
installer_slug: spider-man-2001-cd-dxwrapper
name: Spider-Man (2001)
notes: "- Using dxwrapper for better graphic and sound compatibility\r\n- This game\
  \ does not support ALT-TAB, which will either cause the game to crash or cause loss\
  \ of keyboard/mouse functionality. To avoid this, use Gamescope\r\n- You will need\
  \ the CD only one time during install\r\n-  Game limitations: 4:3 ratio and 30 fps\
  \ maximum\r\n- This PC port has some unresolved bug: too loud ambient audio, audio\
  \ crackles and some portions of the game can only be completed at 20 fps. Read this\
  \ page for more infos and workarounds: https://www.pcgamingwiki.com/wiki/Spider-Man_(2001)#Issues_unresolved\r\
  \n- This game has insufficient controller support, you will find profiles for AntimicroX\
  \ keymapper here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Spider-Man%20(2000)/gamepad%20profiles"
runner: wine
script:
  files:
  - wrapper: https://github.com/elishacloud/dxwrapper/releases/download/v1.3.7700.25/dxwrapper.zip
  - game_patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2001)/spider-man_2001_patch.zip
  game:
    exe: drive_c/Program Files (x86)/Activision/Spider-Man/SpideyPC.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: Setup/SpideyPC.ico
  - task:
      description: Installing Spider-Man (2000), during install let all options to
        default.
      executable: $DISC/Setup.exe
      name: wineexec
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man
      src: $DISC/Setup/media.pkr
  - move:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/SpideyPC.bak
      src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/SpideyPC.exe
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man
      file: game_patch
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man
      file: wrapper
  - copy:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man
      src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/Stub/ddraw.dll
  - copy:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man
      src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/Stub/dsound.dll
  - write_config:
      data:
        Compatibility:
          Dd7to9: 1
          EnableDdrawWrapper: 1
          EnableDsoundWrapper: 1
        d3d9:
          EnableWindowMode: 1
          FullscreenWindowMode: 1
          LimitPerFrameFPS: 30
        dsound:
          AudioClipDetection: 1
          PrimaryBufferBits: 16
          PrimaryBufferSamples: 44100
      file: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/dxwrapper.ini
  system:
    gamescope: true
    gamescope_fps_limiter: '30'
    gamescope_game_res: 1280x1024
    gamescope_output_res: $RESOLUTION
  wine:
    overrides:
      ddraw: n,b
      dsound: n,b
slug: spider-man-2001-cd-dxwrapper
steamid: null
version: CD + dxwrapper
year: 2001
{
  "game_slug": "spider-man-2000",
  "version": "CD + dxwrapper",
  "description": "Play \"Spider-Man (2001)\" CD edition on Linux!",
  "notes": "- Using dxwrapper for better graphic and sound compatibility\r\n- This game does not support ALT-TAB, which will either cause the game to crash or cause loss of keyboard/mouse functionality. To avoid this, use Gamescope\r\n- You will need the CD only one time during install\r\n-  Game limitations: 4:3 ratio and 30 fps maximum\r\n- This PC port has some unresolved bug: too loud ambient audio, audio crackles and some portions of the game can only be completed at 20 fps. Read this page for more infos and workarounds: https://www.pcgamingwiki.com/wiki/Spider-Man_(2001)#Issues_unresolved\r\n- This game has insufficient controller support, you will find profiles for AntimicroX keymapper here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Spider-Man%20(2000)/gamepad%20profiles",
  "name": "Spider-Man (2001)",
  "year": 2001,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "spider-man-2001-cd-dxwrapper",
  "installer_slug": "spider-man-2001-cd-dxwrapper",
  "script": {
    "files": [
      {
        "wrapper": "https://github.com/elishacloud/dxwrapper/releases/download/v1.3.7700.25/dxwrapper.zip"
      },
      {
        "game_patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2001)/spider-man_2001_patch.zip"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files (x86)/Activision/Spider-Man/SpideyPC.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "Setup/SpideyPC.ico"
        }
      },
      {
        "task": {
          "description": "Installing Spider-Man (2000), during install let all options to default.",
          "executable": "$DISC/Setup.exe",
          "name": "wineexec"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man",
          "src": "$DISC/Setup/media.pkr"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/SpideyPC.bak",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/SpideyPC.exe"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man",
          "file": "game_patch"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man",
          "file": "wrapper"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/Stub/ddraw.dll"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/Stub/dsound.dll"
        }
      },
      {
        "write_config": {
          "data": {
            "Compatibility": {
              "Dd7to9": 1,
              "EnableDdrawWrapper": 1,
              "EnableDsoundWrapper": 1
            },
            "d3d9": {
              "EnableWindowMode": 1,
              "FullscreenWindowMode": 1,
              "LimitPerFrameFPS": 30
            },
            "dsound": {
              "AudioClipDetection": 1,
              "PrimaryBufferBits": 16,
              "PrimaryBufferSamples": 44100
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man/dxwrapper.ini"
        }
      }
    ],
    "system": {
      "gamescope": true,
      "gamescope_fps_limiter": "30",
      "gamescope_game_res": "1280x1024",
      "gamescope_output_res": "$RESOLUTION"
    },
    "wine": {
      "overrides": {
        "ddraw": "n,b",
        "dsound": "n,b"
      }
    }
  }
}
Back to game