Installer oddworld-abes-oddysee-gog-dxwnd

files:
- oddsetup: N/A:Select the EXE downloaded from GOG
- dxwnd: https://freefr.dl.sourceforge.net/project/dxwnd/Latest%20build/v2_05_23_build.rar
- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  args: /r:0
  exe: drive_c/dxwnd/dxwnd.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    description: Creating WINE prefix
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE
    file: inno
- execute:
    args: -d "$CACHE" "$oddsetup"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR/drive_c/GOG Games/Abe's Oddysee/
    src: $CACHE/app
- extract:
    dst: $GAMEDIR/drive_c/dxwnd
    file: dxwnd
- write_config:
    data:
      target:
        cdvol0: 100
        codepage0: 0
        commitaddress0: 0
        commitlength0: 0
        coord0: 3
        country0: 0
        dflag0: 0
        dflagb0: 0
        filterid0: 5
        flag0: 673185825
        flagg0: 134217744
        flagh0: 22
        flagi0: 138444804
        flagj0: 4096
        flagk0: 65536
        flagl0: 0
        flagm0: 0
        flagn0: 17825796
        flago0: 0
        flagp0: 8192
        flagq0: 0
        icon0: 0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232004A4A4A004A4A4A0032323200323232001A1A1A001A1A1A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232004A4A4A004A4A4A0032323200323232001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056565600565656003E3E3E003E3E3E002626260026262600262626002626260026262600262626002626260026262600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056565600565656003E3E3E003E3E3E0026262600262626002626260026262600262626002626260026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005656560056565600004A7300004A73003E3E3E003E3E3E003E3E3E003E3E3E0032323200323232001A1A1A001A1A1A001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005656560056565600004A7300004A73003E3E3E003E3E3E003E3E3E003E3E3E0032323200323232001A1A1A001A1A1A001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001A1A1A001A1A1A007A7A7A007A7A7A00A4A0A000A4A0A0006E6E6E006E6E6E004A7300004A7300001A1A1A001A1A1A001A1A1A001A1A1A001A1A1A001A1A1A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001A1A1A001A1A1A007A7A7A007A7A7A00A4A0A000A4A0A0006E6E6E006E6E6E004A7300004A7300001A1A1A001A1A1A001A1A1A001A1A1A001A1A1A001A1A1A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232001A1A1A001A1A1A0050320000503200004A7300004A73000032500000325000000E0E0E000E0E0E000E0E0E000E0E0E00006296000062960000629600006296001A1A1A001A1A1A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232001A1A1A001A1A1A0050320000503200004A7300004A73000032500000325000000E0E0E000E0E0E000E0E0E000E0E0E00006296000062960000629600006296001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000049DC000049DC00007AB900007AB900262626002626260032323200323232001A1A1A001A1A1A0032323200323232002626260026262600003196000031960000629600006296001A1A1A001A1A1A002626260026262600000000000000000000000000000000000000000000000000000000000000000000000000000000000049DC000049DC00007AB900007AB900262626002626260032323200323232001A1A1A001A1A1A0032323200323232002626260026262600003196000031960000629600006296001A1A1A001A1A1A00262626002626260000000000000000000000000000000000000000000000000000000000000000000000000000000000004A7300004A730025AAFF0025AAFF000049DC000049DC003232320032323200505000005050000032323200323232000000000000000000262626002626260026262600262626003232320032323200001950000019500000000000000000000000000000000000000000000000000000000000000000000000000000000000004A7300004A730025AAFF0025AAFF000049DC000049DC0032323200323232005050000050500000323232003232320000000000000000002626260026262600262626002626260032323200323232000019500000195000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E0025AAFF0025AAFF001A1A1A001A1A1A0050500000505000007A7A7A007A7A7A00808000008080000026262600262626001A1A1A001A1A1A003E3E3E003E3E3E000000000000000000003DB900003DB900000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E0025AAFF0025AAFF001A1A1A001A1A1A0050500000505000007A7A7A007A7A7A00808000008080000026262600262626001A1A1A001A1A1A003E3E3E003E3E3E000000000000000000003DB900003DB900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808000008080000032500000325000006E6E6E006E6E6E007A7A7A007A7A7A007A7A7A007A7A7A004A4A4A004A4A4A003E3E3E003E3E3E00323232003232320026262600262626001A1A1A001A1A1A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808000008080000032500000325000006E6E6E006E6E6E007A7A7A007A7A7A007A7A7A007A7A7A004A4A4A004A4A4A003E3E3E003E3E3E00323232003232320026262600262626001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E0092929200929292008686860086868600929292009292920086868600868686007A7A7A007A7A7A0056565600565656003232320032323200323232003232320026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E0092929200929292008686860086868600929292009292920086868600868686007A7A7A007A7A7A0056565600565656003232320032323200323232003232320026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E00B1E2FF00B1E2FF00B1E2FF00B1E2FF00C0DCC000C0DCC000A4A0A000A4A0A0007A7A7A007A7A7A006E6E6E006E6E6E002626260026262600262626002626260026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E00B1E2FF00B1E2FF00B1E2FF00B1E2FF00C0DCC000C0DCC000A4A0A000A4A0A0007A7A7A007A7A7A006E6E6E006E6E6E0026262600262626002626260026262600262626002626260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006E6E6E006E6E6E00B1E2FF00B1E2FF00B1C7FF00B1C7FF00A4A0A000A4A0A0007A7A7A007A7A7A005656560056565600323232003232320000325000003250001A1A1A001A1A1A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006E6E6E006E6E6E00B1E2FF00B1E2FF00B1C7FF00B1C7FF00A4A0A000A4A0A0007A7A7A007A7A7A005656560056565600323232003232320000325000003250001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062626200626262007A7A7A007A7A7A00565656005656560056565600565656003E3E3E003E3E3E002626260026262600262626002626260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062626200626262007A7A7A007A7A7A00565656005656560056565600565656003E3E3E003E3E3E0026262600262626002626260026262600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E001A1A1A001A1A1A00000000000000000026262600262626000E0E0E000E0E0E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E001A1A1A001A1A1A00000000000000000026262600262626000E0E0E000E0E0E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004A7300004A7300002573000025730026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004A7300004A730000257300002573002626260026262600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232000019500000195000262626002626260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003232320032323200001950000019500026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
        initresh0: 600
        initresw0: 800
        initts0: 0
        initx0: 0
        inity0: 0
        lang0: 0
        launchpath0: C:\GOG Games\Abe's Oddysee\AbeWin.exe -interline
        maxddinterface0: 7
        maxfps0: 0
        maxres0: -1
        maxx0: 0
        maxy0: 0
        minx0: 0
        miny0: 0
        monitorid0: -1
        path0: C:\GOG Games\Abe's Oddysee\AbeWin.exe
        posx0: 50
        posy0: 50
        renderer0: 3
        scanline0: 0
        sizx0: 800
        sizy0: 600
        slowratio0: 2
        startfolder0: C:\GOG Games\Abe's Oddysee\
        swapeffect0: 0
        tflag0: 0
        title0: Oddworld - Abe's Odyssee
        ver0: 0
        winver0: 0
    file: $GAMEDIR/drive_c/dxwnd/dxwnd.ini
- task:
    arch: win32
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
- task:
    arch: win32
    key: csmt
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000000'
wine:
  Desktop: true
description: '"Oddworld: Abe''s Oddysee" Gog edition with support for modern computer
  config.This script uses DxWnd: https://sourceforge.net/projects/dxwnd/'
game_slug: oddworld-abes-oddysee
gogslug: oddworld_abes_oddysee
humblestoreid: oddworld-abes-oddysee
installer_slug: oddworld-abes-oddysee-gog-dxwnd
name: 'Oddworld: Abe''s Oddysee'
notes: ''
runner: wine
script:
  files:
  - oddsetup: N/A:Select the EXE downloaded from GOG
  - dxwnd: https://freefr.dl.sourceforge.net/project/dxwnd/Latest%20build/v2_05_23_build.rar
  - inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
  game:
    args: /r:0
    exe: drive_c/dxwnd/dxwnd.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win32
      description: Creating WINE prefix
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE
      file: inno
  - execute:
      args: -d "$CACHE" "$oddsetup"
      file: $CACHE/innoextract
  - merge:
      dst: $GAMEDIR/drive_c/GOG Games/Abe's Oddysee/
      src: $CACHE/app
  - extract:
      dst: $GAMEDIR/drive_c/dxwnd
      file: dxwnd
  - write_config:
      data:
        target:
          cdvol0: 100
          codepage0: 0
          commitaddress0: 0
          commitlength0: 0
          coord0: 3
          country0: 0
          dflag0: 0
          dflagb0: 0
          filterid0: 5
          flag0: 673185825
          flagg0: 134217744
          flagh0: 22
          flagi0: 138444804
          flagj0: 4096
          flagk0: 65536
          flagl0: 0
          flagm0: 0
          flagn0: 17825796
          flago0: 0
          flagp0: 8192
          flagq0: 0
          icon0: 0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232004A4A4A004A4A4A0032323200323232001A1A1A001A1A1A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232004A4A4A004A4A4A0032323200323232001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056565600565656003E3E3E003E3E3E002626260026262600262626002626260026262600262626002626260026262600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056565600565656003E3E3E003E3E3E0026262600262626002626260026262600262626002626260026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005656560056565600004A7300004A73003E3E3E003E3E3E003E3E3E003E3E3E0032323200323232001A1A1A001A1A1A001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005656560056565600004A7300004A73003E3E3E003E3E3E003E3E3E003E3E3E0032323200323232001A1A1A001A1A1A001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001A1A1A001A1A1A007A7A7A007A7A7A00A4A0A000A4A0A0006E6E6E006E6E6E004A7300004A7300001A1A1A001A1A1A001A1A1A001A1A1A001A1A1A001A1A1A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001A1A1A001A1A1A007A7A7A007A7A7A00A4A0A000A4A0A0006E6E6E006E6E6E004A7300004A7300001A1A1A001A1A1A001A1A1A001A1A1A001A1A1A001A1A1A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232001A1A1A001A1A1A0050320000503200004A7300004A73000032500000325000000E0E0E000E0E0E000E0E0E000E0E0E00006296000062960000629600006296001A1A1A001A1A1A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232001A1A1A001A1A1A0050320000503200004A7300004A73000032500000325000000E0E0E000E0E0E000E0E0E000E0E0E00006296000062960000629600006296001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000049DC000049DC00007AB900007AB900262626002626260032323200323232001A1A1A001A1A1A0032323200323232002626260026262600003196000031960000629600006296001A1A1A001A1A1A002626260026262600000000000000000000000000000000000000000000000000000000000000000000000000000000000049DC000049DC00007AB900007AB900262626002626260032323200323232001A1A1A001A1A1A0032323200323232002626260026262600003196000031960000629600006296001A1A1A001A1A1A00262626002626260000000000000000000000000000000000000000000000000000000000000000000000000000000000004A7300004A730025AAFF0025AAFF000049DC000049DC003232320032323200505000005050000032323200323232000000000000000000262626002626260026262600262626003232320032323200001950000019500000000000000000000000000000000000000000000000000000000000000000000000000000000000004A7300004A730025AAFF0025AAFF000049DC000049DC0032323200323232005050000050500000323232003232320000000000000000002626260026262600262626002626260032323200323232000019500000195000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E0025AAFF0025AAFF001A1A1A001A1A1A0050500000505000007A7A7A007A7A7A00808000008080000026262600262626001A1A1A001A1A1A003E3E3E003E3E3E000000000000000000003DB900003DB900000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E0025AAFF0025AAFF001A1A1A001A1A1A0050500000505000007A7A7A007A7A7A00808000008080000026262600262626001A1A1A001A1A1A003E3E3E003E3E3E000000000000000000003DB900003DB900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808000008080000032500000325000006E6E6E006E6E6E007A7A7A007A7A7A007A7A7A007A7A7A004A4A4A004A4A4A003E3E3E003E3E3E00323232003232320026262600262626001A1A1A001A1A1A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808000008080000032500000325000006E6E6E006E6E6E007A7A7A007A7A7A007A7A7A007A7A7A004A4A4A004A4A4A003E3E3E003E3E3E00323232003232320026262600262626001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E0092929200929292008686860086868600929292009292920086868600868686007A7A7A007A7A7A0056565600565656003232320032323200323232003232320026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E0092929200929292008686860086868600929292009292920086868600868686007A7A7A007A7A7A0056565600565656003232320032323200323232003232320026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E00B1E2FF00B1E2FF00B1E2FF00B1E2FF00C0DCC000C0DCC000A4A0A000A4A0A0007A7A7A007A7A7A006E6E6E006E6E6E002626260026262600262626002626260026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E00B1E2FF00B1E2FF00B1E2FF00B1E2FF00C0DCC000C0DCC000A4A0A000A4A0A0007A7A7A007A7A7A006E6E6E006E6E6E0026262600262626002626260026262600262626002626260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006E6E6E006E6E6E00B1E2FF00B1E2FF00B1C7FF00B1C7FF00A4A0A000A4A0A0007A7A7A007A7A7A005656560056565600323232003232320000325000003250001A1A1A001A1A1A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006E6E6E006E6E6E00B1E2FF00B1E2FF00B1C7FF00B1C7FF00A4A0A000A4A0A0007A7A7A007A7A7A005656560056565600323232003232320000325000003250001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062626200626262007A7A7A007A7A7A00565656005656560056565600565656003E3E3E003E3E3E002626260026262600262626002626260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062626200626262007A7A7A007A7A7A00565656005656560056565600565656003E3E3E003E3E3E0026262600262626002626260026262600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E001A1A1A001A1A1A00000000000000000026262600262626000E0E0E000E0E0E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E001A1A1A001A1A1A00000000000000000026262600262626000E0E0E000E0E0E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004A7300004A7300002573000025730026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004A7300004A730000257300002573002626260026262600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232000019500000195000262626002626260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003232320032323200001950000019500026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
          initresh0: 600
          initresw0: 800
          initts0: 0
          initx0: 0
          inity0: 0
          lang0: 0
          launchpath0: C:\GOG Games\Abe's Oddysee\AbeWin.exe -interline
          maxddinterface0: 7
          maxfps0: 0
          maxres0: -1
          maxx0: 0
          maxy0: 0
          minx0: 0
          miny0: 0
          monitorid0: -1
          path0: C:\GOG Games\Abe's Oddysee\AbeWin.exe
          posx0: 50
          posy0: 50
          renderer0: 3
          scanline0: 0
          sizx0: 800
          sizy0: 600
          slowratio0: 2
          startfolder0: C:\GOG Games\Abe's Oddysee\
          swapeffect0: 0
          tflag0: 0
          title0: Oddworld - Abe's Odyssee
          ver0: 0
          winver0: 0
      file: $GAMEDIR/drive_c/dxwnd/dxwnd.ini
  - task:
      arch: win32
      key: background
      name: set_regedit
      path: HKEY_CURRENT_USER\Control Panel\Colors\
      prefix: $GAMEDIR
      type: REG_SZ
      value: 0 0 0
  - task:
      arch: win32
      key: csmt
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
      prefix: $GAMEDIR
      type: REG_DWORD
      value: '00000000'
  wine:
    Desktop: true
slug: oddworld-abes-oddysee-gog-dxwnd
steamid: 15700
version: GOG + DxWnd
year: 1997
{
  "game_slug": "oddworld-abes-oddysee",
  "version": "GOG + DxWnd",
  "description": "\"Oddworld: Abe's Oddysee\" Gog edition with support for modern computer config.This script uses DxWnd: https://sourceforge.net/projects/dxwnd/",
  "notes": "",
  "name": "Oddworld: Abe's Oddysee",
  "year": 1997,
  "steamid": 15700,
  "gogslug": "oddworld_abes_oddysee",
  "humblestoreid": "oddworld-abes-oddysee",
  "runner": "wine",
  "slug": "oddworld-abes-oddysee-gog-dxwnd",
  "installer_slug": "oddworld-abes-oddysee-gog-dxwnd",
  "script": {
    "files": [
      {
        "oddsetup": "N/A:Select the EXE downloaded from GOG"
      },
      {
        "dxwnd": "https://freefr.dl.sourceforge.net/project/dxwnd/Latest%20build/v2_05_23_build.rar"
      },
      {
        "inno": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
      }
    ],
    "game": {
      "args": "/r:0",
      "exe": "drive_c/dxwnd/dxwnd.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win32",
          "description": "Creating WINE prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "inno"
        }
      },
      {
        "execute": {
          "args": "-d \"$CACHE\" \"$oddsetup\"",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Abe's Oddysee/",
          "src": "$CACHE/app"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/dxwnd",
          "file": "dxwnd"
        }
      },
      {
        "write_config": {
          "data": {
            "target": {
              "cdvol0": 100,
              "codepage0": 0,
              "commitaddress0": 0,
              "commitlength0": 0,
              "coord0": 3,
              "country0": 0,
              "dflag0": 0,
              "dflagb0": 0,
              "filterid0": 5,
              "flag0": 673185825,
              "flagg0": 134217744,
              "flagh0": 22,
              "flagi0": 138444804,
              "flagj0": 4096,
              "flagk0": 65536,
              "flagl0": 0,
              "flagm0": 0,
              "flagn0": 17825796,
              "flago0": 0,
              "flagp0": 8192,
              "flagq0": 0,
              "icon0": "0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232004A4A4A004A4A4A0032323200323232001A1A1A001A1A1A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232004A4A4A004A4A4A0032323200323232001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056565600565656003E3E3E003E3E3E002626260026262600262626002626260026262600262626002626260026262600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056565600565656003E3E3E003E3E3E0026262600262626002626260026262600262626002626260026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005656560056565600004A7300004A73003E3E3E003E3E3E003E3E3E003E3E3E0032323200323232001A1A1A001A1A1A001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005656560056565600004A7300004A73003E3E3E003E3E3E003E3E3E003E3E3E0032323200323232001A1A1A001A1A1A001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001A1A1A001A1A1A007A7A7A007A7A7A00A4A0A000A4A0A0006E6E6E006E6E6E004A7300004A7300001A1A1A001A1A1A001A1A1A001A1A1A001A1A1A001A1A1A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001A1A1A001A1A1A007A7A7A007A7A7A00A4A0A000A4A0A0006E6E6E006E6E6E004A7300004A7300001A1A1A001A1A1A001A1A1A001A1A1A001A1A1A001A1A1A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232001A1A1A001A1A1A0050320000503200004A7300004A73000032500000325000000E0E0E000E0E0E000E0E0E000E0E0E00006296000062960000629600006296001A1A1A001A1A1A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232001A1A1A001A1A1A0050320000503200004A7300004A73000032500000325000000E0E0E000E0E0E000E0E0E000E0E0E00006296000062960000629600006296001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000049DC000049DC00007AB900007AB900262626002626260032323200323232001A1A1A001A1A1A0032323200323232002626260026262600003196000031960000629600006296001A1A1A001A1A1A002626260026262600000000000000000000000000000000000000000000000000000000000000000000000000000000000049DC000049DC00007AB900007AB900262626002626260032323200323232001A1A1A001A1A1A0032323200323232002626260026262600003196000031960000629600006296001A1A1A001A1A1A00262626002626260000000000000000000000000000000000000000000000000000000000000000000000000000000000004A7300004A730025AAFF0025AAFF000049DC000049DC003232320032323200505000005050000032323200323232000000000000000000262626002626260026262600262626003232320032323200001950000019500000000000000000000000000000000000000000000000000000000000000000000000000000000000004A7300004A730025AAFF0025AAFF000049DC000049DC0032323200323232005050000050500000323232003232320000000000000000002626260026262600262626002626260032323200323232000019500000195000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E0025AAFF0025AAFF001A1A1A001A1A1A0050500000505000007A7A7A007A7A7A00808000008080000026262600262626001A1A1A001A1A1A003E3E3E003E3E3E000000000000000000003DB900003DB900000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E0025AAFF0025AAFF001A1A1A001A1A1A0050500000505000007A7A7A007A7A7A00808000008080000026262600262626001A1A1A001A1A1A003E3E3E003E3E3E000000000000000000003DB900003DB900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808000008080000032500000325000006E6E6E006E6E6E007A7A7A007A7A7A007A7A7A007A7A7A004A4A4A004A4A4A003E3E3E003E3E3E00323232003232320026262600262626001A1A1A001A1A1A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000808000008080000032500000325000006E6E6E006E6E6E007A7A7A007A7A7A007A7A7A007A7A7A004A4A4A004A4A4A003E3E3E003E3E3E00323232003232320026262600262626001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E0092929200929292008686860086868600929292009292920086868600868686007A7A7A007A7A7A0056565600565656003232320032323200323232003232320026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E0092929200929292008686860086868600929292009292920086868600868686007A7A7A007A7A7A0056565600565656003232320032323200323232003232320026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E00B1E2FF00B1E2FF00B1E2FF00B1E2FF00C0DCC000C0DCC000A4A0A000A4A0A0007A7A7A007A7A7A006E6E6E006E6E6E002626260026262600262626002626260026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E00B1E2FF00B1E2FF00B1E2FF00B1E2FF00C0DCC000C0DCC000A4A0A000A4A0A0007A7A7A007A7A7A006E6E6E006E6E6E0026262600262626002626260026262600262626002626260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006E6E6E006E6E6E00B1E2FF00B1E2FF00B1C7FF00B1C7FF00A4A0A000A4A0A0007A7A7A007A7A7A005656560056565600323232003232320000325000003250001A1A1A001A1A1A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006E6E6E006E6E6E00B1E2FF00B1E2FF00B1C7FF00B1C7FF00A4A0A000A4A0A0007A7A7A007A7A7A005656560056565600323232003232320000325000003250001A1A1A001A1A1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062626200626262007A7A7A007A7A7A00565656005656560056565600565656003E3E3E003E3E3E002626260026262600262626002626260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062626200626262007A7A7A007A7A7A00565656005656560056565600565656003E3E3E003E3E3E0026262600262626002626260026262600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E001A1A1A001A1A1A00000000000000000026262600262626000E0E0E000E0E0E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003E3E3E003E3E3E001A1A1A001A1A1A00000000000000000026262600262626000E0E0E000E0E0E00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004A7300004A7300002573000025730026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004A7300004A730000257300002573002626260026262600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032323200323232000019500000195000262626002626260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003232320032323200001950000019500026262600262626000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
              "initresh0": 600,
              "initresw0": 800,
              "initts0": 0,
              "initx0": 0,
              "inity0": 0,
              "lang0": 0,
              "launchpath0": "C:\\GOG Games\\Abe's Oddysee\\AbeWin.exe -interline",
              "maxddinterface0": 7,
              "maxfps0": 0,
              "maxres0": -1,
              "maxx0": 0,
              "maxy0": 0,
              "minx0": 0,
              "miny0": 0,
              "monitorid0": -1,
              "path0": "C:\\GOG Games\\Abe's Oddysee\\AbeWin.exe",
              "posx0": 50,
              "posy0": 50,
              "renderer0": 3,
              "scanline0": 0,
              "sizx0": 800,
              "sizy0": 600,
              "slowratio0": 2,
              "startfolder0": "C:\\GOG Games\\Abe's Oddysee\\",
              "swapeffect0": 0,
              "tflag0": 0,
              "title0": "Oddworld - Abe's Odyssee",
              "ver0": 0,
              "winver0": 0
            }
          },
          "file": "$GAMEDIR/drive_c/dxwnd/dxwnd.ini"
        }
      },
      {
        "task": {
          "arch": "win32",
          "key": "background",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "0 0 0"
        }
      },
      {
        "task": {
          "arch": "win32",
          "key": "csmt",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
          "prefix": "$GAMEDIR",
          "type": "REG_DWORD",
          "value": "00000000"
        }
      }
    ],
    "wine": {
      "Desktop": true
    }
  }
}
Back to game