Installer spider-man-2002-cd-en-dxwnd-dgvoodoo

files:
- script_install: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2002)/sm2002_install_nocd2.bat
- reg_file: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2002)/sm2002.reg
- patch1: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2002)/stm_patch_v1.3.zip
- patch2: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2002)/sm2002_patch.zip
- wrapper_video1: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/dxwnd/v2_05_39_build.rar
- wrapper_video2: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip
game:
  args: /R:1
  exe: drive_c/dxwnd/dxwnd.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    description: Please insert CD1
    requires: Setup/Data/SpiderMan.exe
- merge:
    dst: $GAMEDIR/drive_c/tmp/cd1
    src: $DISC
- insert-disc:
    description: Please insert CD2
    requires: Setup/Data/Spiderman.ico
- merge:
    dst: $GAMEDIR/drive_c/tmp/cd2
    src: $DISC
- execute:
    command: chmod -R +rw "$GAMEDIR/drive_c/tmp";
- task:
    description: Installing  Spider-Man (2002), let all options to default, the install
      will end when asking for CD 2, it's normal
    executable: $script_install
    name: wineexec
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
    src: $GAMEDIR/drive_c/tmp/cd2/Setup/Data
- write_config:
    data:
      Flags:
        GAME_RESOLUTION: $RESOLUTION
    file: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/game.ini
    merge: true
- task:
    filename: reg_file
    name: set_regedit_file
- extract:
    dst: $CACHE
    file: patch1
- task:
    description: Installing  Spider-Man (2002) update 1.3, let all options to default
    executable: $CACHE/stm_patch_v1.3.exe
    name: wineexec
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/backup
    src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/SpiderMan.exe
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
    file: patch2
- extract:
    dst: $GAMEDIR/drive_c/dxwnd
    file: wrapper_video1
- write_config:
    data:
      target:
        cdvol0: 0
        codepage0: 0
        commitaddress0: 0
        commitlength0: 0
        coord0: 3
        country0: 0
        dflag0: 0
        dflagb0: 0
        filterid0: 0
        flag0: 673194016
        flagg0: 1275068416
        flagh0: 65558
        flagi0: 138412036
        flagj0: 4224
        flagk0: 65536
        flagl0: 0
        flagm0: 0
        flagn0: 17825796
        flago0: 0
        flagp0: 8192
        flagq0: 0
        flagr0: 128
        flags0: 0
        flagt0: 0
        flagu0: 0
        icon0: 0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF0000000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF00000000000000000000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000000000000000000000000000FF000000FF000000000000000000000000000000000000000000000000000000FF000000FF000000000000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000000000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000000000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000FF00000000000000000000000000000000000000FF000000FF000000FF0000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF0000000000000000000000FF000000FF000000FF00000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF00000000000000000000000000000000000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF00000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000000000000000000000000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF0000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000FF000000FF000000FF0000000000000000000000000000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF0000000000000000000000000000000000000000000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000000000000000000000000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
        initresh0: 600
        initresw0: 800
        initts0: 0
        lang0: 0
        maxddinterface0: 7
        maxfps0: 0
        maxres0: 0
        monitorid0: -1
        path0: C:\Program Files (x86)\Activision\Spider-Man (tm) Movie\SpiderMan.exe
        posx0: 50
        posy0: 50
        renderer0: 3
        scanline0: 0
        sizx0: 800
        sizy0: 600
        slowratio0: 2
        swapeffect0: 0
        tflag0: 0
        title0: Spider-Man - The Movie
        ver0: 0
        winver0: 0
      window:
        exepath: C:\Program Files (x86)\Activision\Spider-Man (tm) Movie\
        expert: 1
        exportpath: C:\dxwnd\exports\
        iconview: 1
        showhelp: false
    file: $GAMEDIR/drive_c/dxwnd/dxwnd.ini
- extract:
    dst: $CACHE
    file: wrapper_video2
- copy:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
    src: $CACHE/MS/x86/D3D8.dll
- write_config:
    data:
      DirectX:
        dgVoodooWatermark: false
    file: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/dgVoodoo.conf
- move:
    dst: $CACHE
    src: $GAMEDIR/drive_c/tmp
system:
  exclude_processes: xalia.exe dxwnd.exe
  reset_desktop: true
wine:
  overrides:
    d3d8: n,b
description: Play "Spider-Man (2002)" CD English Edition on Linux!
game_slug: spider-man-2002
gogslug: ''
humblestoreid: ''
installer_slug: spider-man-2002-cd-en-dxwnd-dgvoodoo
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- Using DxWnd and dgVoodoo2 for better graphic quality and stability\r\
  \n- During install, game will be updated to 1.3 official patch version\r\n- You\
  \ will need CDs only one time during install\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- This game\
  \ has poor controller support. You will find AntiMicroX profiles here: https://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Spider-Man%20(2002)/controller"
runner: wine
script:
  files:
  - script_install: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2002)/sm2002_install_nocd2.bat
  - reg_file: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2002)/sm2002.reg
  - patch1: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2002)/stm_patch_v1.3.zip
  - patch2: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2002)/sm2002_patch.zip
  - wrapper_video1: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/dxwnd/v2_05_39_build.rar
  - wrapper_video2: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip
  game:
    args: /R:1
    exe: drive_c/dxwnd/dxwnd.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      description: Please insert CD1
      requires: Setup/Data/SpiderMan.exe
  - merge:
      dst: $GAMEDIR/drive_c/tmp/cd1
      src: $DISC
  - insert-disc:
      description: Please insert CD2
      requires: Setup/Data/Spiderman.ico
  - merge:
      dst: $GAMEDIR/drive_c/tmp/cd2
      src: $DISC
  - execute:
      command: chmod -R +rw "$GAMEDIR/drive_c/tmp";
  - task:
      description: Installing  Spider-Man (2002), let all options to default, the
        install will end when asking for CD 2, it's normal
      executable: $script_install
      name: wineexec
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
      src: $GAMEDIR/drive_c/tmp/cd2/Setup/Data
  - write_config:
      data:
        Flags:
          GAME_RESOLUTION: $RESOLUTION
      file: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/game.ini
      merge: true
  - task:
      filename: reg_file
      name: set_regedit_file
  - extract:
      dst: $CACHE
      file: patch1
  - task:
      description: Installing  Spider-Man (2002) update 1.3, let all options to default
      executable: $CACHE/stm_patch_v1.3.exe
      name: wineexec
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/backup
      src: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/SpiderMan.exe
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
      file: patch2
  - extract:
      dst: $GAMEDIR/drive_c/dxwnd
      file: wrapper_video1
  - write_config:
      data:
        target:
          cdvol0: 0
          codepage0: 0
          commitaddress0: 0
          commitlength0: 0
          coord0: 3
          country0: 0
          dflag0: 0
          dflagb0: 0
          filterid0: 0
          flag0: 673194016
          flagg0: 1275068416
          flagh0: 65558
          flagi0: 138412036
          flagj0: 4224
          flagk0: 65536
          flagl0: 0
          flagm0: 0
          flagn0: 17825796
          flago0: 0
          flagp0: 8192
          flagq0: 0
          flagr0: 128
          flags0: 0
          flagt0: 0
          flagu0: 0
          icon0: 0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF0000000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF00000000000000000000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000000000000000000000000000FF000000FF000000000000000000000000000000000000000000000000000000FF000000FF000000000000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000000000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000000000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000FF00000000000000000000000000000000000000FF000000FF000000FF0000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF0000000000000000000000FF000000FF000000FF00000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF00000000000000000000000000000000000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF00000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000000000000000000000000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF0000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000FF000000FF000000FF0000000000000000000000000000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF0000000000000000000000000000000000000000000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000000000000000000000000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
          initresh0: 600
          initresw0: 800
          initts0: 0
          lang0: 0
          maxddinterface0: 7
          maxfps0: 0
          maxres0: 0
          monitorid0: -1
          path0: C:\Program Files (x86)\Activision\Spider-Man (tm) Movie\SpiderMan.exe
          posx0: 50
          posy0: 50
          renderer0: 3
          scanline0: 0
          sizx0: 800
          sizy0: 600
          slowratio0: 2
          swapeffect0: 0
          tflag0: 0
          title0: Spider-Man - The Movie
          ver0: 0
          winver0: 0
        window:
          exepath: C:\Program Files (x86)\Activision\Spider-Man (tm) Movie\
          expert: 1
          exportpath: C:\dxwnd\exports\
          iconview: 1
          showhelp: false
      file: $GAMEDIR/drive_c/dxwnd/dxwnd.ini
  - extract:
      dst: $CACHE
      file: wrapper_video2
  - copy:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie
      src: $CACHE/MS/x86/D3D8.dll
  - write_config:
      data:
        DirectX:
          dgVoodooWatermark: false
      file: $GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/dgVoodoo.conf
  - move:
      dst: $CACHE
      src: $GAMEDIR/drive_c/tmp
  system:
    exclude_processes: xalia.exe dxwnd.exe
    reset_desktop: true
  wine:
    overrides:
      d3d8: n,b
slug: spider-man-2002-cd-en-dxwnd-dgvoodoo
steamid: null
version: CD EN + DxWnd + dgVoodoo2
year: 2002
{
  "game_slug": "spider-man-2002",
  "version": "CD EN + DxWnd + dgVoodoo2",
  "description": "Play \"Spider-Man (2002)\" CD English Edition on Linux!",
  "notes": "- This script is compatible only with Spider-Man (2002) 2 CD english  edition(Version=1.1 QA=2616)\r\n- Using DxWnd and dgVoodoo2 for better graphic quality and stability\r\n- During install, game will be updated to 1.3 official patch version\r\n- You will need CDs only one time during install\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- This game has poor controller support. You will find AntiMicroX profiles here: https://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Spider-Man%20(2002)/controller",
  "name": "Spider-Man (2002)",
  "year": 2002,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "spider-man-2002-cd-en-dxwnd-dgvoodoo",
  "installer_slug": "spider-man-2002-cd-en-dxwnd-dgvoodoo",
  "script": {
    "files": [
      {
        "script_install": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2002)/sm2002_install_nocd2.bat"
      },
      {
        "reg_file": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2002)/sm2002.reg"
      },
      {
        "patch1": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2002)/stm_patch_v1.3.zip"
      },
      {
        "patch2": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Spider-Man%20(2002)/sm2002_patch.zip"
      },
      {
        "wrapper_video1": "https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/dxwnd/v2_05_39_build.rar"
      },
      {
        "wrapper_video2": "https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip"
      }
    ],
    "game": {
      "args": "/R:1",
      "exe": "drive_c/dxwnd/dxwnd.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert CD1",
          "requires": "Setup/Data/SpiderMan.exe"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/tmp/cd1",
          "src": "$DISC"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert CD2",
          "requires": "Setup/Data/Spiderman.ico"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/tmp/cd2",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "command": "chmod -R +rw \"$GAMEDIR/drive_c/tmp\";"
        }
      },
      {
        "task": {
          "description": "Installing  Spider-Man (2002), let all options to default, the install will end when asking for CD 2, it's normal",
          "executable": "$script_install",
          "name": "wineexec"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie",
          "src": "$GAMEDIR/drive_c/tmp/cd2/Setup/Data"
        }
      },
      {
        "write_config": {
          "data": {
            "Flags": {
              "GAME_RESOLUTION": "$RESOLUTION"
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/game.ini",
          "merge": true
        }
      },
      {
        "task": {
          "filename": "reg_file",
          "name": "set_regedit_file"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "patch1"
        }
      },
      {
        "task": {
          "description": "Installing  Spider-Man (2002) update 1.3, let all options to default",
          "executable": "$CACHE/stm_patch_v1.3.exe",
          "name": "wineexec"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/backup",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/SpiderMan.exe"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie",
          "file": "patch2"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/dxwnd",
          "file": "wrapper_video1"
        }
      },
      {
        "write_config": {
          "data": {
            "target": {
              "cdvol0": 0,
              "codepage0": 0,
              "commitaddress0": 0,
              "commitlength0": 0,
              "coord0": 3,
              "country0": 0,
              "dflag0": 0,
              "dflagb0": 0,
              "filterid0": 0,
              "flag0": 673194016,
              "flagg0": 1275068416,
              "flagh0": 65558,
              "flagi0": 138412036,
              "flagj0": 4224,
              "flagk0": 65536,
              "flagl0": 0,
              "flagm0": 0,
              "flagn0": 17825796,
              "flago0": 0,
              "flagp0": 8192,
              "flagq0": 0,
              "flagr0": 128,
              "flags0": 0,
              "flagt0": 0,
              "flagu0": 0,
              "icon0": "0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF0000000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF00000000000000000000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000000000000000000000000000FF000000FF000000000000000000000000000000000000000000000000000000FF000000FF000000000000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000000000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000000000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000FF00000000000000000000000000000000000000FF000000FF000000FF0000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF0000000000000000000000FF000000FF000000FF00000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF00000000000000000000000000000000000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF00000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000000000000000000000000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF0000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000FF000000FF000000FF0000000000000000000000000000000000000000000000FF0000000000000000000000000000000000000000000000000000000000000000000000FF0000000000000000000000000000000000000000000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000000000000000000000000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000000000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000000000000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF00000000000000FF000000FF000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
              "initresh0": 600,
              "initresw0": 800,
              "initts0": 0,
              "lang0": 0,
              "maxddinterface0": 7,
              "maxfps0": 0,
              "maxres0": 0,
              "monitorid0": -1,
              "path0": "C:\\Program Files (x86)\\Activision\\Spider-Man (tm) Movie\\SpiderMan.exe",
              "posx0": 50,
              "posy0": 50,
              "renderer0": 3,
              "scanline0": 0,
              "sizx0": 800,
              "sizy0": 600,
              "slowratio0": 2,
              "swapeffect0": 0,
              "tflag0": 0,
              "title0": "Spider-Man - The Movie",
              "ver0": 0,
              "winver0": 0
            },
            "window": {
              "exepath": "C:\\Program Files (x86)\\Activision\\Spider-Man (tm) Movie\\",
              "expert": 1,
              "exportpath": "C:\\dxwnd\\exports\\",
              "iconview": 1,
              "showhelp": false
            }
          },
          "file": "$GAMEDIR/drive_c/dxwnd/dxwnd.ini"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "wrapper_video2"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie",
          "src": "$CACHE/MS/x86/D3D8.dll"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "dgVoodooWatermark": false
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/Activision/Spider-Man (tm) Movie/dgVoodoo.conf"
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/drive_c/tmp"
        }
      }
    ],
    "system": {
      "exclude_processes": "xalia.exe dxwnd.exe",
      "reset_desktop": true
    },
    "wine": {
      "overrides": {
        "d3d8": "n,b"
      }
    }
  }
}
Back to game