Installer scorched-planet-cd-nglide-dxwnd

files:
- ngl:
    filename: nGlide210_setup.exe
    url: http://www.zeus-software.com/downloads/nglide/d-1.html
- dxwnd: https://freefr.dl.sourceforge.net/project/dxwnd/Latest%20build/v2_05_20_build.rar
game:
  args: /r:0
  exe: drive_c/dxwnd/dxwnd.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: voodoo/spvoodoo.exe
- merge:
    dst: $GAMEDIR/drive_c/splanet/
    src: $DISC/splanet/
- merge:
    dst: $GAMEDIR/drive_c/splanet/
    src: $DISC/voodoo/
- merge:
    dst: $GAMEDIR/drive_c/splanetcd/splanet/
    src: $DISC/splanet/
- execute:
    command: cd "$GAMEDIR/drive_c/splanet/"; chmod -R u-x,g-x,o-x,u+X,u+w,g+r *;
- write_config:
    data:
      scorch:
        HighQualityVideo: 1
        settings: 1 0 1 1 5 95 127 0 0 5 320
    file: $GAMEDIR/drive_c/splanet/splanet.ini
- task:
    args: /S
    description: NGlide installation
    executable: $ngl
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    key: Splash
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Zeus Software\nGlide2
    prefix: $GAMEDIR
    type: REG_SZ
    value: '0'
- extract:
    dst: $GAMEDIR/drive_c/dxwnd
    file: dxwnd
- write_config:
    data:
      target:
        cdvol0: 0
        codepage0: 0
        coord0: 3
        country0: 0
        dflag0: 0
        dflagb0: 0
        exepath: C:\splanet\
        expert: 1
        fakec0: None
        fakecd0: c:\splanetcd
        fakecddrive0: 'D:'
        fakecdlabel0: SPLANET
        faked0: None
        filterid0: 0
        flag0: 673185825
        flagg0: 1207959568
        flagh0: 22
        flagi0: 138444804
        flagj0: 4224
        flagk0: 65536
        flagl0: 1114112
        flagm0: 0
        flagn0: 17825796
        flago0: 64
        flagp0: 8192
        flagq0: 0
        icon0: 0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF0000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF0000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF00000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF00000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF00000000000000000000000000000000000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF0000000000000000000000FF00000000000000FF0000000000000000000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF0000000000000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF0000000000000000000000FF000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF0000000000000000000000FF000000FF000000000000000000000000000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
        initresh0: 600
        initresw0: 800
        initts0: 0
        initx0: 0
        inity0: 0
        lang0: 0
        launchpath0: C:\splanet\spvoodoo.exe
        maxddinterface0: 7
        maxfps0: 0
        maxres0: -1
        maxx0: 0
        maxy0: 0
        minx0: 0
        miny0: 0
        module0: null
        monitorid0: -1
        notes0: null
        opengllib0: null
        path0: C:\splanet\spvoodoo.exe
        posx0: 50
        posy0: 50
        registry0: null
        renderer0: 3
        scanline0: 0
        sizx0: 800
        sizy0: 600
        slowratio0: 2
        startfolder0: C:\splanet
        swapeffect0: 0
        tflag0: 0
        title0: Scorched Planet
        ver0: 0
        winver0: 0
      window:
        exepath: C:\splanet\
        expert: 1
        exportpath: C:\dxwnd\exports\
        posx: 786
        posy: 506
    file: $GAMEDIR/drive_c/dxwnd/dxwnd.ini
- task:
    arch: win64
    key: csmt
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000000'
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
wine:
  Desktop: true
description: "\"Scorched Planet\" CD edition with support for modern computer configuration.\r\
  \n\r\nThis script uses different projects:\r\nDxWnd: https://sourceforge.net/projects/dxwnd/\r\
  \nNGlide: http://www.zeus-software.com/"
game_slug: scorched-planet
gogslug: ''
humblestoreid: ''
installer_slug: scorched-planet-cd-nglide-dxwnd
name: Scorched Planet
notes: "- You will need the cd only one time during install. \r\n \r\nThe game will\
  \ freeze more than  15s when you will enter/resume/quit game."
runner: wine
script:
  files:
  - ngl:
      filename: nGlide210_setup.exe
      url: http://www.zeus-software.com/downloads/nglide/d-1.html
  - dxwnd: https://freefr.dl.sourceforge.net/project/dxwnd/Latest%20build/v2_05_20_build.rar
  game:
    args: /r:0
    exe: drive_c/dxwnd/dxwnd.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: voodoo/spvoodoo.exe
  - merge:
      dst: $GAMEDIR/drive_c/splanet/
      src: $DISC/splanet/
  - merge:
      dst: $GAMEDIR/drive_c/splanet/
      src: $DISC/voodoo/
  - merge:
      dst: $GAMEDIR/drive_c/splanetcd/splanet/
      src: $DISC/splanet/
  - execute:
      command: cd "$GAMEDIR/drive_c/splanet/"; chmod -R u-x,g-x,o-x,u+X,u+w,g+r *;
  - write_config:
      data:
        scorch:
          HighQualityVideo: 1
          settings: 1 0 1 1 5 95 127 0 0 5 320
      file: $GAMEDIR/drive_c/splanet/splanet.ini
  - task:
      args: /S
      description: NGlide installation
      executable: $ngl
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win64
      key: Splash
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Zeus Software\nGlide2
      prefix: $GAMEDIR
      type: REG_SZ
      value: '0'
  - extract:
      dst: $GAMEDIR/drive_c/dxwnd
      file: dxwnd
  - write_config:
      data:
        target:
          cdvol0: 0
          codepage0: 0
          coord0: 3
          country0: 0
          dflag0: 0
          dflagb0: 0
          exepath: C:\splanet\
          expert: 1
          fakec0: None
          fakecd0: c:\splanetcd
          fakecddrive0: 'D:'
          fakecdlabel0: SPLANET
          faked0: None
          filterid0: 0
          flag0: 673185825
          flagg0: 1207959568
          flagh0: 22
          flagi0: 138444804
          flagj0: 4224
          flagk0: 65536
          flagl0: 1114112
          flagm0: 0
          flagn0: 17825796
          flago0: 64
          flagp0: 8192
          flagq0: 0
          icon0: 0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF0000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF0000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF00000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF00000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF00000000000000000000000000000000000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF0000000000000000000000FF00000000000000FF0000000000000000000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF0000000000000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF0000000000000000000000FF000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF0000000000000000000000FF000000FF000000000000000000000000000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
          initresh0: 600
          initresw0: 800
          initts0: 0
          initx0: 0
          inity0: 0
          lang0: 0
          launchpath0: C:\splanet\spvoodoo.exe
          maxddinterface0: 7
          maxfps0: 0
          maxres0: -1
          maxx0: 0
          maxy0: 0
          minx0: 0
          miny0: 0
          module0: null
          monitorid0: -1
          notes0: null
          opengllib0: null
          path0: C:\splanet\spvoodoo.exe
          posx0: 50
          posy0: 50
          registry0: null
          renderer0: 3
          scanline0: 0
          sizx0: 800
          sizy0: 600
          slowratio0: 2
          startfolder0: C:\splanet
          swapeffect0: 0
          tflag0: 0
          title0: Scorched Planet
          ver0: 0
          winver0: 0
        window:
          exepath: C:\splanet\
          expert: 1
          exportpath: C:\dxwnd\exports\
          posx: 786
          posy: 506
      file: $GAMEDIR/drive_c/dxwnd/dxwnd.ini
  - task:
      arch: win64
      key: csmt
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
      prefix: $GAMEDIR
      type: REG_DWORD
      value: '00000000'
  - task:
      arch: win64
      key: background
      name: set_regedit
      path: HKEY_CURRENT_USER\Control Panel\Colors\
      prefix: $GAMEDIR
      type: REG_SZ
      value: 0 0 0
  wine:
    Desktop: true
slug: scorched-planet-cd-nglide-dxwnd
steamid: null
version: CD + NGlide + DxWnd
year: 1996
{
  "game_slug": "scorched-planet",
  "version": "CD + NGlide + DxWnd",
  "description": "\"Scorched Planet\" CD edition with support for modern computer configuration.\r\n\r\nThis script uses different projects:\r\nDxWnd: https://sourceforge.net/projects/dxwnd/\r\nNGlide: http://www.zeus-software.com/",
  "notes": "- You will need the cd only one time during install. \r\n \r\nThe game will freeze more than  15s when you will enter/resume/quit game.",
  "name": "Scorched Planet",
  "year": 1996,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "scorched-planet-cd-nglide-dxwnd",
  "installer_slug": "scorched-planet-cd-nglide-dxwnd",
  "script": {
    "files": [
      {
        "ngl": {
          "filename": "nGlide210_setup.exe",
          "url": "http://www.zeus-software.com/downloads/nglide/d-1.html"
        }
      },
      {
        "dxwnd": "https://freefr.dl.sourceforge.net/project/dxwnd/Latest%20build/v2_05_20_build.rar"
      }
    ],
    "game": {
      "args": "/r:0",
      "exe": "drive_c/dxwnd/dxwnd.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "voodoo/spvoodoo.exe"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/splanet/",
          "src": "$DISC/splanet/"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/splanet/",
          "src": "$DISC/voodoo/"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/splanetcd/splanet/",
          "src": "$DISC/splanet/"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/splanet/\"; chmod -R u-x,g-x,o-x,u+X,u+w,g+r *;"
        }
      },
      {
        "write_config": {
          "data": {
            "scorch": {
              "HighQualityVideo": 1,
              "settings": "1 0 1 1 5 95 127 0 0 5 320"
            }
          },
          "file": "$GAMEDIR/drive_c/splanet/splanet.ini"
        }
      },
      {
        "task": {
          "args": "/S",
          "description": "NGlide installation",
          "executable": "$ngl",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "Splash",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Zeus Software\\nGlide2",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "0"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/dxwnd",
          "file": "dxwnd"
        }
      },
      {
        "write_config": {
          "data": {
            "target": {
              "cdvol0": 0,
              "codepage0": 0,
              "coord0": 3,
              "country0": 0,
              "dflag0": 0,
              "dflagb0": 0,
              "exepath": "C:\\splanet\\",
              "expert": 1,
              "fakec0": "None",
              "fakecd0": "c:\\splanetcd",
              "fakecddrive0": "D:",
              "fakecdlabel0": "SPLANET",
              "faked0": "None",
              "filterid0": 0,
              "flag0": 673185825,
              "flagg0": 1207959568,
              "flagh0": 22,
              "flagi0": 138444804,
              "flagj0": 4224,
              "flagk0": 65536,
              "flagl0": 1114112,
              "flagm0": 0,
              "flagn0": 17825796,
              "flago0": 64,
              "flagp0": 8192,
              "flagq0": 0,
              "icon0": "0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF0000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF0000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF00000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000000000000000000000000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF000000FF00000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000FF0000000000000000000000FF00000000000000000000000000000000000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF0000000000000000000000FF00000000000000FF0000000000000000000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF0000000000000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF0000000000000000000000FF000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000000000000000000000000000FF000000FF000000FF00000000000000FF000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF00000000000000FF000000000000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF00000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF000000FF0000000000000000000000FF000000000000000000000000000000FF000000000000000000000000000000FF0000000000000000000000FF000000FF000000000000000000000000000000FF0000000000000000000000FF00000000000000FF00000000000000FF000000FF000000FF00000000000000FF000000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
              "initresh0": 600,
              "initresw0": 800,
              "initts0": 0,
              "initx0": 0,
              "inity0": 0,
              "lang0": 0,
              "launchpath0": "C:\\splanet\\spvoodoo.exe",
              "maxddinterface0": 7,
              "maxfps0": 0,
              "maxres0": -1,
              "maxx0": 0,
              "maxy0": 0,
              "minx0": 0,
              "miny0": 0,
              "module0": null,
              "monitorid0": -1,
              "notes0": null,
              "opengllib0": null,
              "path0": "C:\\splanet\\spvoodoo.exe",
              "posx0": 50,
              "posy0": 50,
              "registry0": null,
              "renderer0": 3,
              "scanline0": 0,
              "sizx0": 800,
              "sizy0": 600,
              "slowratio0": 2,
              "startfolder0": "C:\\splanet",
              "swapeffect0": 0,
              "tflag0": 0,
              "title0": "Scorched Planet",
              "ver0": 0,
              "winver0": 0
            },
            "window": {
              "exepath": "C:\\splanet\\",
              "expert": 1,
              "exportpath": "C:\\dxwnd\\exports\\",
              "posx": 786,
              "posy": 506
            }
          },
          "file": "$GAMEDIR/drive_c/dxwnd/dxwnd.ini"
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "csmt",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
          "prefix": "$GAMEDIR",
          "type": "REG_DWORD",
          "value": "00000000"
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "background",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "0 0 0"
        }
      }
    ],
    "wine": {
      "Desktop": true
    }
  }
}
Back to game