Installer heart-of-darkness-cd-dxwnd

files:
- dxwnd: https://freefr.dl.sourceforge.net/project/dxwnd/Latest%20build/v2_05_18_build.rar
- script1: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heart%20of%20Darkness/local.sh
game:
  args: /r:0
  exe: drive_c/dxwnd/dxwnd.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: bin/HODWin32.exe
- merge:
    dst: $GAMEDIR/drive_c/HODCD
    src: $DISC
- copy:
    dst: $GAMEDIR/drive_c/HODCD
    src: script1
- chmodx: $GAMEDIR/drive_c/HODCD/local.sh
- execute:
    file: $GAMEDIR/drive_c/HODCD/local.sh
- task:
    args: /desktop=HeartOfDarkness,1024x780 $GAMEDIR/drive_c/HODCD/HeartOfDarkness.EXE
    description: Running setup of the game. Just proceed and keep all settings at
      their defaults
    executable: $GAMEDIR/drive_c/windows/explorer.exe
    include_processes: explorer.exe
    name: wineexec
- extract:
    dst: $GAMEDIR/drive_c/dxwnd
    file: dxwnd
- write_config:
    data:
      target:
        cdvol0: 100
        codepage0: 0
        coord0: 3
        country0: 0
        dflag0: 0
        dflagb0: 0
        expert: 1
        fakec0: None
        faked0: None
        filterid0: 0
        flag0: 673185825
        flagg0: 1207959568
        flagh0: 22
        flagi0: 138444804
        flagj0: 4224
        flagk0: 65536
        flagl0: 0
        flagm0: 0
        flagn0: 17825796
        flago0: 0
        flagp0: 8192
        flagq0: 0
        icon0: 0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800000000000000000000000000000000000000000008080800080808000808080008080800080808000808080008080800080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000808080008080800000000000000000000000000000000000808080008080800080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000FFFFFF00C0C0C000C0C0C000FFFFFF00C0C0C000FFFFFF00FFFFFF00C0C0C000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00C0C0C000C0C0C000C0C0C00080808000000000000000000000000000000000008080800080808000C0C0C00080808000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000C0C0C000C0C0C000FFFFFF00FFFFFF00C0C0C00000000000000000000000000000000000000000000000000080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000C0C0C000FFFFFF00FFFFFF008080800000000000000000000000000000000000000000000000000080808000808080008080800000000000000000008080800080808000808080008080800080808000808080008080800080808000C0C0C000C0C0C000C0C0C000808080008080800080808000808080000000000080808000C0C0C000FFFFFF00C0C0C000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800080808000C0C0C000C0C0C000C0C0C000C0C0C000FFFFFF00C0C0C000FFFFFF00FFFFFF00FFFFFF00FFFFFF00C0C0C000808080000000000080808000FFFFFF00FFFFFF00808080000000000000000000000000000000000000000000000000000000000000000000808080008080800080808000000000008080800080808000C0C0C000808080000000000000000000000000000000000000000000000000000000000080808000FFFFFF00FFFFFF008080800000000000C0C0C000FFFFFF00C0C0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFF00C0C0C0000000000080808000C0C0C000FFFFFF00808080000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080008080800000000000808080008080800000000000000000008080800080808000C0C0C000C0C0C000808080000000000080808000FFFFFF008080800000000000C0C0C000FFFFFF00FFFFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800000000000C0C0C000C0C0C000FFFFFF00FFFFFF00C0C0C00000000000C0C0C000C0C0C0000000000080808000C0C0C000FFFFFF008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800000000000C0C0C0008080800000000000808080008080800000000000C0C0C0008080800000000000C0C0C000C0C0C000FFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000C0C0C00000000000C0C0C0000000000080808000C0C0C0000000000080808000C0C0C000FFFFFF0080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800000000000C0C0C000000000008080800000000000C0C0C000808080000000000080808000C0C0C000C0C0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800000000000C0C0C000808080000000000080808000C0C0C000000000008080800080808000C0C0C000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000C0C0C00000000000C0C0C000C0C0C0000000000080808000C0C0C000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800000000000C0C0C00080808000C0C0C000808080000000000080808000C0C0C00080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800000000000C0C0C000FFFFFF00C0C0C0000000000080808000C0C0C000C0C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000C0C0C000808080000000000080808000C0C0C00080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000000000008080800080808000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800000000000000000008080800080808000C0C0C000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080800080808000000000008080800080808000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080800000000000808080008080800080808000C0C0C000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000C0C0C000C0C0C000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080000000000080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E000000FC000000780000003800000038000000380000007C0000007C000000FE000000FE000001FF000001FF000003FF800003FF800007FFC00007FFC0000FFFE0000FFFE0001FFFF0001FFFF0003FFFF0003FFFF8007FFFF8007FFFFC00FFFFFC00FFFFFE01FFFFFE01FFFFFF03FFFFFF07FFFFFF8FFFFFFF8FFFFFFFCFFFF
        initresh0: 600
        initresw0: 800
        initts0: 0
        initx0: 0
        inity0: 0
        lang0: 0
        launchpath0: C:\Program Files (x86)\Heart Of Darkness\HODWin32.exe
        maxddinterface0: 7
        maxfps0: 0
        maxres0: -1
        maxx0: 0
        maxy0: 0
        minx0: 0
        miny0: 0
        module0: None
        monitorid0: -1
        notes0: None
        opengllib0: None
        path0: C:\Program Files (x86)\Heart Of Darkness\HODWin32.exe
        posx0: 50
        posy0: 50
        registry0: None
        renderer0: 3
        scanline0: 0
        sizx0: 800
        sizy0: 600
        slowratio0: 2
        startfolder0: C:\Program Files (x86)\Heart Of Darkness\
        swapeffect0: 0
        tflag0: 0
        title0: Heart of Darkness
        ver0: 0
        winver0: 0
    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
- move:
    dst: $CACHE
    src: $GAMEDIR/drive_c/HODCD
wine:
  Desktop: true
description: "\"Heart of Darkness\" CD edition with support for modern computer configuration.\r\
  \n\r\nThis script uses DxWnd: https://sourceforge.net/projects/dxwnd/"
game_slug: heart-of-darkness
gogslug: ''
humblestoreid: ''
installer_slug: heart-of-darkness-cd-dxwnd
name: Heart of Darkness
notes: "- x360 natively supported\r\n- The cd is necessary during install and gaming,\
  \ you can mount a cd image with cdemu.\r\n- This script support english, french\
  \ and german HOD cd version."
runner: wine
script:
  files:
  - dxwnd: https://freefr.dl.sourceforge.net/project/dxwnd/Latest%20build/v2_05_18_build.rar
  - script1: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heart%20of%20Darkness/local.sh
  game:
    args: /r:0
    exe: drive_c/dxwnd/dxwnd.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: bin/HODWin32.exe
  - merge:
      dst: $GAMEDIR/drive_c/HODCD
      src: $DISC
  - copy:
      dst: $GAMEDIR/drive_c/HODCD
      src: script1
  - chmodx: $GAMEDIR/drive_c/HODCD/local.sh
  - execute:
      file: $GAMEDIR/drive_c/HODCD/local.sh
  - task:
      args: /desktop=HeartOfDarkness,1024x780 $GAMEDIR/drive_c/HODCD/HeartOfDarkness.EXE
      description: Running setup of the game. Just proceed and keep all settings at
        their defaults
      executable: $GAMEDIR/drive_c/windows/explorer.exe
      include_processes: explorer.exe
      name: wineexec
  - extract:
      dst: $GAMEDIR/drive_c/dxwnd
      file: dxwnd
  - write_config:
      data:
        target:
          cdvol0: 100
          codepage0: 0
          coord0: 3
          country0: 0
          dflag0: 0
          dflagb0: 0
          expert: 1
          fakec0: None
          faked0: None
          filterid0: 0
          flag0: 673185825
          flagg0: 1207959568
          flagh0: 22
          flagi0: 138444804
          flagj0: 4224
          flagk0: 65536
          flagl0: 0
          flagm0: 0
          flagn0: 17825796
          flago0: 0
          flagp0: 8192
          flagq0: 0
          icon0: 0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800000000000000000000000000000000000000000008080800080808000808080008080800080808000808080008080800080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000808080008080800000000000000000000000000000000000808080008080800080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000FFFFFF00C0C0C000C0C0C000FFFFFF00C0C0C000FFFFFF00FFFFFF00C0C0C000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00C0C0C000C0C0C000C0C0C00080808000000000000000000000000000000000008080800080808000C0C0C00080808000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000C0C0C000C0C0C000FFFFFF00FFFFFF00C0C0C00000000000000000000000000000000000000000000000000080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000C0C0C000FFFFFF00FFFFFF008080800000000000000000000000000000000000000000000000000080808000808080008080800000000000000000008080800080808000808080008080800080808000808080008080800080808000C0C0C000C0C0C000C0C0C000808080008080800080808000808080000000000080808000C0C0C000FFFFFF00C0C0C000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800080808000C0C0C000C0C0C000C0C0C000C0C0C000FFFFFF00C0C0C000FFFFFF00FFFFFF00FFFFFF00FFFFFF00C0C0C000808080000000000080808000FFFFFF00FFFFFF00808080000000000000000000000000000000000000000000000000000000000000000000808080008080800080808000000000008080800080808000C0C0C000808080000000000000000000000000000000000000000000000000000000000080808000FFFFFF00FFFFFF008080800000000000C0C0C000FFFFFF00C0C0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFF00C0C0C0000000000080808000C0C0C000FFFFFF00808080000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080008080800000000000808080008080800000000000000000008080800080808000C0C0C000C0C0C000808080000000000080808000FFFFFF008080800000000000C0C0C000FFFFFF00FFFFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800000000000C0C0C000C0C0C000FFFFFF00FFFFFF00C0C0C00000000000C0C0C000C0C0C0000000000080808000C0C0C000FFFFFF008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800000000000C0C0C0008080800000000000808080008080800000000000C0C0C0008080800000000000C0C0C000C0C0C000FFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000C0C0C00000000000C0C0C0000000000080808000C0C0C0000000000080808000C0C0C000FFFFFF0080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800000000000C0C0C000000000008080800000000000C0C0C000808080000000000080808000C0C0C000C0C0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800000000000C0C0C000808080000000000080808000C0C0C000000000008080800080808000C0C0C000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000C0C0C00000000000C0C0C000C0C0C0000000000080808000C0C0C000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800000000000C0C0C00080808000C0C0C000808080000000000080808000C0C0C00080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800000000000C0C0C000FFFFFF00C0C0C0000000000080808000C0C0C000C0C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000C0C0C000808080000000000080808000C0C0C00080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000000000008080800080808000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800000000000000000008080800080808000C0C0C000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080800080808000000000008080800080808000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080800000000000808080008080800080808000C0C0C000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000C0C0C000C0C0C000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080000000000080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E000000FC000000780000003800000038000000380000007C0000007C000000FE000000FE000001FF000001FF000003FF800003FF800007FFC00007FFC0000FFFE0000FFFE0001FFFF0001FFFF0003FFFF0003FFFF8007FFFF8007FFFFC00FFFFFC00FFFFFE01FFFFFE01FFFFFF03FFFFFF07FFFFFF8FFFFFFF8FFFFFFFCFFFF
          initresh0: 600
          initresw0: 800
          initts0: 0
          initx0: 0
          inity0: 0
          lang0: 0
          launchpath0: C:\Program Files (x86)\Heart Of Darkness\HODWin32.exe
          maxddinterface0: 7
          maxfps0: 0
          maxres0: -1
          maxx0: 0
          maxy0: 0
          minx0: 0
          miny0: 0
          module0: None
          monitorid0: -1
          notes0: None
          opengllib0: None
          path0: C:\Program Files (x86)\Heart Of Darkness\HODWin32.exe
          posx0: 50
          posy0: 50
          registry0: None
          renderer0: 3
          scanline0: 0
          sizx0: 800
          sizy0: 600
          slowratio0: 2
          startfolder0: C:\Program Files (x86)\Heart Of Darkness\
          swapeffect0: 0
          tflag0: 0
          title0: Heart of Darkness
          ver0: 0
          winver0: 0
      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
  - move:
      dst: $CACHE
      src: $GAMEDIR/drive_c/HODCD
  wine:
    Desktop: true
slug: heart-of-darkness-cd-dxwnd
steamid: null
version: CD + DxWnd
year: 1998
{
  "game_slug": "heart-of-darkness",
  "version": "CD + DxWnd",
  "description": "\"Heart of Darkness\" CD edition with support for modern computer configuration.\r\n\r\nThis script uses DxWnd: https://sourceforge.net/projects/dxwnd/",
  "notes": "- x360 natively supported\r\n- The cd is necessary during install and gaming, you can mount a cd image with cdemu.\r\n- This script support english, french and german HOD cd version.",
  "name": "Heart of Darkness",
  "year": 1998,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "heart-of-darkness-cd-dxwnd",
  "installer_slug": "heart-of-darkness-cd-dxwnd",
  "script": {
    "files": [
      {
        "dxwnd": "https://freefr.dl.sourceforge.net/project/dxwnd/Latest%20build/v2_05_18_build.rar"
      },
      {
        "script1": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Heart%20of%20Darkness/local.sh"
      }
    ],
    "game": {
      "args": "/r:0",
      "exe": "drive_c/dxwnd/dxwnd.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "bin/HODWin32.exe"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/HODCD",
          "src": "$DISC"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/HODCD",
          "src": "script1"
        }
      },
      {
        "chmodx": "$GAMEDIR/drive_c/HODCD/local.sh"
      },
      {
        "execute": {
          "file": "$GAMEDIR/drive_c/HODCD/local.sh"
        }
      },
      {
        "task": {
          "args": "/desktop=HeartOfDarkness,1024x780 $GAMEDIR/drive_c/HODCD/HeartOfDarkness.EXE",
          "description": "Running setup of the game. Just proceed and keep all settings at their defaults",
          "executable": "$GAMEDIR/drive_c/windows/explorer.exe",
          "include_processes": "explorer.exe",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/dxwnd",
          "file": "dxwnd"
        }
      },
      {
        "write_config": {
          "data": {
            "target": {
              "cdvol0": 100,
              "codepage0": 0,
              "coord0": 3,
              "country0": 0,
              "dflag0": 0,
              "dflagb0": 0,
              "expert": 1,
              "fakec0": "None",
              "faked0": "None",
              "filterid0": 0,
              "flag0": 673185825,
              "flagg0": 1207959568,
              "flagh0": 22,
              "flagi0": 138444804,
              "flagj0": 4224,
              "flagk0": 65536,
              "flagl0": 0,
              "flagm0": 0,
              "flagn0": 17825796,
              "flago0": 0,
              "flagp0": 8192,
              "flagq0": 0,
              "icon0": "0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800000000000000000000000000000000000000000008080800080808000808080008080800080808000808080008080800080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000808080008080800000000000000000000000000000000000808080008080800080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000FFFFFF00C0C0C000C0C0C000FFFFFF00C0C0C000FFFFFF00FFFFFF00C0C0C000FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00C0C0C000C0C0C000C0C0C00080808000000000000000000000000000000000008080800080808000C0C0C00080808000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000C0C0C000C0C0C000FFFFFF00FFFFFF00C0C0C00000000000000000000000000000000000000000000000000080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000C0C0C000FFFFFF00FFFFFF008080800000000000000000000000000000000000000000000000000080808000808080008080800000000000000000008080800080808000808080008080800080808000808080008080800080808000C0C0C000C0C0C000C0C0C000808080008080800080808000808080000000000080808000C0C0C000FFFFFF00C0C0C000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800080808000C0C0C000C0C0C000C0C0C000C0C0C000FFFFFF00C0C0C000FFFFFF00FFFFFF00FFFFFF00FFFFFF00C0C0C000808080000000000080808000FFFFFF00FFFFFF00808080000000000000000000000000000000000000000000000000000000000000000000808080008080800080808000000000008080800080808000C0C0C000808080000000000000000000000000000000000000000000000000000000000080808000FFFFFF00FFFFFF008080800000000000C0C0C000FFFFFF00C0C0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFF00C0C0C0000000000080808000C0C0C000FFFFFF00808080000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080008080800000000000808080008080800000000000000000008080800080808000C0C0C000C0C0C000808080000000000080808000FFFFFF008080800000000000C0C0C000FFFFFF00FFFFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800000000000C0C0C000C0C0C000FFFFFF00FFFFFF00C0C0C00000000000C0C0C000C0C0C0000000000080808000C0C0C000FFFFFF008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800000000000C0C0C0008080800000000000808080008080800000000000C0C0C0008080800000000000C0C0C000C0C0C000FFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000C0C0C00000000000C0C0C0000000000080808000C0C0C0000000000080808000C0C0C000FFFFFF0080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800000000000C0C0C000000000008080800000000000C0C0C000808080000000000080808000C0C0C000C0C0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800000000000C0C0C000808080000000000080808000C0C0C000000000008080800080808000C0C0C000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000C0C0C00000000000C0C0C000C0C0C0000000000080808000C0C0C000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800000000000C0C0C00080808000C0C0C000808080000000000080808000C0C0C00080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800000000000C0C0C000FFFFFF00C0C0C0000000000080808000C0C0C000C0C0C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000C0C0C000808080000000000080808000C0C0C00080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000000000008080800080808000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080008080800000000000808080008080800000000000000000008080800080808000C0C0C000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000808080000000000080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080800080808000000000008080800080808000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080800000000000808080008080800080808000C0C0C000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000080808000C0C0C000C0C0C000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808080000000000080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E000000FC000000780000003800000038000000380000007C0000007C000000FE000000FE000001FF000001FF000003FF800003FF800007FFC00007FFC0000FFFE0000FFFE0001FFFF0001FFFF0003FFFF0003FFFF8007FFFF8007FFFFC00FFFFFC00FFFFFE01FFFFFE01FFFFFF03FFFFFF07FFFFFF8FFFFFFF8FFFFFFFCFFFF",
              "initresh0": 600,
              "initresw0": 800,
              "initts0": 0,
              "initx0": 0,
              "inity0": 0,
              "lang0": 0,
              "launchpath0": "C:\\Program Files (x86)\\Heart Of Darkness\\HODWin32.exe",
              "maxddinterface0": 7,
              "maxfps0": 0,
              "maxres0": -1,
              "maxx0": 0,
              "maxy0": 0,
              "minx0": 0,
              "miny0": 0,
              "module0": "None",
              "monitorid0": -1,
              "notes0": "None",
              "opengllib0": "None",
              "path0": "C:\\Program Files (x86)\\Heart Of Darkness\\HODWin32.exe",
              "posx0": 50,
              "posy0": 50,
              "registry0": "None",
              "renderer0": 3,
              "scanline0": 0,
              "sizx0": 800,
              "sizy0": 600,
              "slowratio0": 2,
              "startfolder0": "C:\\Program Files (x86)\\Heart Of Darkness\\",
              "swapeffect0": 0,
              "tflag0": 0,
              "title0": "Heart of Darkness",
              "ver0": 0,
              "winver0": 0
            }
          },
          "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"
        }
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/drive_c/HODCD"
        }
      }
    ],
    "wine": {
      "Desktop": true
    }
  }
}
Back to game