Installer rebel-moon-rising-cd-dxwnd

files:
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Rebel%20Moon%20Rising/soundtrack.bat
- dxwnd: https://freefr.dl.sourceforge.net/project/dxwnd/Latest%20build/v2_05_20_build.rar
- mp: https://freefr.dl.sourceforge.net/project/mplayer-win32/MPlayer%20and%20MEncoder/r38135%2Bgb272d5b9b6/MPlayer-generic-r38135%2Bgb272d5b9b6.7z
- grepbin: http://downloads.sourceforge.net/gnuwin32/grep-2.5.4-bin.zip
- grepdep: http://downloads.sourceforge.net/gnuwin32/grep-2.5.4-dep.zip
- gnusox: https://freefr.dl.sourceforge.net/project/sox/sox/14.4.2/sox-14.4.2-win32.zip
game:
  args: /r:0
  exe: drive_c/dxwnd/dxwnd.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Preparing Rbel Moon Rising wineprefix...
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: DISK1.ID
- task:
    description: Running setup of the game. Just proceed and keep all settings at
      their defaults
    executable: $DISC/autorun.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/tmp/mplayer/
    file: mp
- extract:
    dst: $GAMEDIR/drive_c/tmp/bin
    file: gnusox
- extract:
    dst: $GAMEDIR/drive_c/tmp/
    file: grepbin
- extract:
    dst: $GAMEDIR/drive_c/tmp/
    file: grepdep
- move:
    dst: $GAMEDIR/drive_c/tmp/
    src: script
- task:
    args: c:\\tmp\\soundtrack.bat
    description: Working to make this game more Linux Wine friendly
    executable: $GAMEDIR/drive_c/windows/syswow64/wineconsole.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/dxwnd
    file: dxwnd
- write_config:
    data:
      target:
        cdvol0: 100
        codepage0: 0
        coord0: 3
        country0: 0
        dflag0: 0
        dflagb0: 0
        filterid0: 0
        flag0: 673194017
        flagg0: 1207959568
        flagh0: 22
        flagi0: 138444804
        flagj0: 4224
        flagk0: 65536
        flagl0: 0
        flagm0: 65536
        flagn0: 17825796
        flago0: 4194304
        flagp0: 8192
        flagq0: 0
        icon0: 0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000FFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00000000000C0C0C00000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C00080808000808080008080800080808000808080008080800080808000C0C0C000C0C0C000C0C0C0008080800080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00080808000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C0008080800000000000808080008080800080808000000000000000000000000000000000008080800080808000C0C0C0008080800080808000C0C0C000C0C0C000C0C0C00080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000808080000000000000000000000000000000000000000000C0C0C000FFFFFF00C0C0C000808080000000000080808000808080008080800000000000000000000000000080808000808080008080800080808000C0C0C0008080800080808000C0C0C000C0C0C0008080800080808000C0C0C000C0C0C000C0C0C000C0C0C0008080800000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C00080808000808080008080800080808000000000000000000000000000000000008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000000000000000000000000000C0C0C000C0C0C000C0C0C0008080800080808000000000000000000080808000000000000000000000000000000000008080800080808000C0C0C000808080008080800080808000C0C0C000C0C0C000C0C0C0000000000000000000808080008080800080808000808080008080800080808000000000000000000000000000C0C0C0008080800080808000000000000000000000000000808080000000000000000000808080000000000080808000808080008080800080808000C0C0C00080808000C0C0C000C0C0C000C0C0C000808080008080800080808000C0C0C0008080800080808000808080008080800080808000000000000000000080808000808080000000000000000000000000000000000080808000808080000000000080808000808080008080800080808000808080008080800080808000808080008080800080808000C0C0C000808080008080800080808000C0C0C000C0C0C0008080800000000000808080008080800080808000808080000000000080808000808080000000000000000000000000000000000000000000808080000000000080808000808080008080800080808000808080008080800080808000808080008080800080808000C0C0C000808080008080800080808000C0C0C00080808000808080000000000080808000C0C0C0008080800080808000000000008080800080808000000000000000000000000000808080008080800080808000808080008080800000000000000000008080800000000000808080008080800080808000808080008080800080808000808080000000000080808000808080008080800080808000000000000000000080808000808080008080800000000000808080008080800080808000808080008080800080808000808080008080800080808000808080000000000000000000000000008080800080808000808080008080800080808000808080000000000000000000000000000000000000000000808080008080800000000000000000008080800080808000808080000000000080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800000000000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800080808000000000008080800080808000000000008080800080808000808080008080800080808000808080008080800080808000808080000000000000000000000000000000000080808000808080008080800000000000000000000000000000000000000000000000000080808000C0C0C000808080008080800080808000808080000000000080808000000000000000000080808000808080008080800000000000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080000000000000000000000000000000000080808000C0C0C000808080000000000080808000808080008080800000000000000000000000000000000000808080008080800000000000000000000000000000000000000000000000000080808000000000008080800080808000808080008080800000000000808080000000000000000000808080008080800000000000C0C0C000C0C0C000000000000000000080808000808080008080800000000000000000008080800000000000808080008080800000000000000000000000000000000000000000000000000000000000808080008080800080808000808080000000000000000000808080000000000000000000808080008080800080808000808080008080800000000000000000008080800080808000000000000000000000000000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000000000000000000080808000000000000000000080808000C0C0C0008080800080808000808080008080800000000000808080008080800000000000000000000000000000000000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000080808000808080008080800000000000000000000000000000000000808080008080800080808000C0C0C00080808000808080008080800080808000808080008080800000000000000000000000000000000000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000000000008080800000000000808080000000000080808000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000080808000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000808080000000000000000000000000008080800080808000808080008080800080808000808080008080800000000000000000000000000000000000000000000000000080808000808080008080800080808000808080000000000000000000000000000000000000000000000000008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000808080008080800000000000000000000000000080808000000000000000000000000000808080008080800080808000808080008080800080808000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000080808000000000008080800080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000808080008080800000000000000000000000000080808000808080008080800080808000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C00080808000808080008080800080808000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C00080808000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
        initresh0: 600
        initresw0: 800
        initts0: 0
        lang0: 0
        launchpath0: C:\Games\Rising\Rmr.exe
        maxddinterface0: 7
        maxfps0: 0
        maxres0: -1
        monitorid0: -1
        path0: C:\Games\Rising\Rmr.exe
        posx0: 50
        posy0: 50
        registry0: null
        renderer0: 3
        scanline0: 0
        sizx0: 800
        sizy0: 600
        slowratio0: 2
        startfolder0: C:\Games\Rising\
        swapeffect0: 0
        tflag0: 0
        title0: Rebel Moon Rising
        ver0: 0
        winver0: 0
      window:
        exepath: C:\tmp\CD\
        expert: 1
    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: EAXEnabled
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DirectSound
    prefix: $GAMEDIR
    type: REG_SZ
    value: Y
- 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: "\"Rebel Moon Rising\" CD edition with support for modern computer configuration.\r\
  \n\r\nThis script uses different projects:\r\nDxWnd: https://sourceforge.net/projects/dxwnd/\r\
  \nGNU32 tools: http://gnuwin32.sourceforge.net/\r\nMplayer: http://www.mplayerhq.hu/design7/news.html\r\
  \nSox: http://sox.sourceforge.net"
game_slug: rebel-moon-rising
gogslug: ''
humblestoreid: ''
installer_slug: rebel-moon-rising-cd-dxwnd
name: Rebel Moon Rising
notes: ''
runner: wine
script:
  files:
  - script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Rebel%20Moon%20Rising/soundtrack.bat
  - dxwnd: https://freefr.dl.sourceforge.net/project/dxwnd/Latest%20build/v2_05_20_build.rar
  - mp: https://freefr.dl.sourceforge.net/project/mplayer-win32/MPlayer%20and%20MEncoder/r38135%2Bgb272d5b9b6/MPlayer-generic-r38135%2Bgb272d5b9b6.7z
  - grepbin: http://downloads.sourceforge.net/gnuwin32/grep-2.5.4-bin.zip
  - grepdep: http://downloads.sourceforge.net/gnuwin32/grep-2.5.4-dep.zip
  - gnusox: https://freefr.dl.sourceforge.net/project/sox/sox/14.4.2/sox-14.4.2-win32.zip
  game:
    args: /r:0
    exe: drive_c/dxwnd/dxwnd.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Preparing Rbel Moon Rising wineprefix...
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: DISK1.ID
  - task:
      description: Running setup of the game. Just proceed and keep all settings at
        their defaults
      executable: $DISC/autorun.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/tmp/mplayer/
      file: mp
  - extract:
      dst: $GAMEDIR/drive_c/tmp/bin
      file: gnusox
  - extract:
      dst: $GAMEDIR/drive_c/tmp/
      file: grepbin
  - extract:
      dst: $GAMEDIR/drive_c/tmp/
      file: grepdep
  - move:
      dst: $GAMEDIR/drive_c/tmp/
      src: script
  - task:
      args: c:\\tmp\\soundtrack.bat
      description: Working to make this game more Linux Wine friendly
      executable: $GAMEDIR/drive_c/windows/syswow64/wineconsole.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/dxwnd
      file: dxwnd
  - write_config:
      data:
        target:
          cdvol0: 100
          codepage0: 0
          coord0: 3
          country0: 0
          dflag0: 0
          dflagb0: 0
          filterid0: 0
          flag0: 673194017
          flagg0: 1207959568
          flagh0: 22
          flagi0: 138444804
          flagj0: 4224
          flagk0: 65536
          flagl0: 0
          flagm0: 65536
          flagn0: 17825796
          flago0: 4194304
          flagp0: 8192
          flagq0: 0
          icon0: 0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000FFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00000000000C0C0C00000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C00080808000808080008080800080808000808080008080800080808000C0C0C000C0C0C000C0C0C0008080800080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00080808000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C0008080800000000000808080008080800080808000000000000000000000000000000000008080800080808000C0C0C0008080800080808000C0C0C000C0C0C000C0C0C00080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000808080000000000000000000000000000000000000000000C0C0C000FFFFFF00C0C0C000808080000000000080808000808080008080800000000000000000000000000080808000808080008080800080808000C0C0C0008080800080808000C0C0C000C0C0C0008080800080808000C0C0C000C0C0C000C0C0C000C0C0C0008080800000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C00080808000808080008080800080808000000000000000000000000000000000008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000000000000000000000000000C0C0C000C0C0C000C0C0C0008080800080808000000000000000000080808000000000000000000000000000000000008080800080808000C0C0C000808080008080800080808000C0C0C000C0C0C000C0C0C0000000000000000000808080008080800080808000808080008080800080808000000000000000000000000000C0C0C0008080800080808000000000000000000000000000808080000000000000000000808080000000000080808000808080008080800080808000C0C0C00080808000C0C0C000C0C0C000C0C0C000808080008080800080808000C0C0C0008080800080808000808080008080800080808000000000000000000080808000808080000000000000000000000000000000000080808000808080000000000080808000808080008080800080808000808080008080800080808000808080008080800080808000C0C0C000808080008080800080808000C0C0C000C0C0C0008080800000000000808080008080800080808000808080000000000080808000808080000000000000000000000000000000000000000000808080000000000080808000808080008080800080808000808080008080800080808000808080008080800080808000C0C0C000808080008080800080808000C0C0C00080808000808080000000000080808000C0C0C0008080800080808000000000008080800080808000000000000000000000000000808080008080800080808000808080008080800000000000000000008080800000000000808080008080800080808000808080008080800080808000808080000000000080808000808080008080800080808000000000000000000080808000808080008080800000000000808080008080800080808000808080008080800080808000808080008080800080808000808080000000000000000000000000008080800080808000808080008080800080808000808080000000000000000000000000000000000000000000808080008080800000000000000000008080800080808000808080000000000080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800000000000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800080808000000000008080800080808000000000008080800080808000808080008080800080808000808080008080800080808000808080000000000000000000000000000000000080808000808080008080800000000000000000000000000000000000000000000000000080808000C0C0C000808080008080800080808000808080000000000080808000000000000000000080808000808080008080800000000000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080000000000000000000000000000000000080808000C0C0C000808080000000000080808000808080008080800000000000000000000000000000000000808080008080800000000000000000000000000000000000000000000000000080808000000000008080800080808000808080008080800000000000808080000000000000000000808080008080800000000000C0C0C000C0C0C000000000000000000080808000808080008080800000000000000000008080800000000000808080008080800000000000000000000000000000000000000000000000000000000000808080008080800080808000808080000000000000000000808080000000000000000000808080008080800080808000808080008080800000000000000000008080800080808000000000000000000000000000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000000000000000000080808000000000000000000080808000C0C0C0008080800080808000808080008080800000000000808080008080800000000000000000000000000000000000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000080808000808080008080800000000000000000000000000000000000808080008080800080808000C0C0C00080808000808080008080800080808000808080008080800000000000000000000000000000000000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000000000008080800000000000808080000000000080808000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000080808000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000808080000000000000000000000000008080800080808000808080008080800080808000808080008080800000000000000000000000000000000000000000000000000080808000808080008080800080808000808080000000000000000000000000000000000000000000000000008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000808080008080800000000000000000000000000080808000000000000000000000000000808080008080800080808000808080008080800080808000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000080808000000000008080800080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000808080008080800000000000000000000000000080808000808080008080800080808000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C00080808000808080008080800080808000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C00080808000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
          initresh0: 600
          initresw0: 800
          initts0: 0
          lang0: 0
          launchpath0: C:\Games\Rising\Rmr.exe
          maxddinterface0: 7
          maxfps0: 0
          maxres0: -1
          monitorid0: -1
          path0: C:\Games\Rising\Rmr.exe
          posx0: 50
          posy0: 50
          registry0: null
          renderer0: 3
          scanline0: 0
          sizx0: 800
          sizy0: 600
          slowratio0: 2
          startfolder0: C:\Games\Rising\
          swapeffect0: 0
          tflag0: 0
          title0: Rebel Moon Rising
          ver0: 0
          winver0: 0
        window:
          exepath: C:\tmp\CD\
          expert: 1
      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: EAXEnabled
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DirectSound
      prefix: $GAMEDIR
      type: REG_SZ
      value: Y
  - 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: rebel-moon-rising-cd-dxwnd
steamid: null
version: CD + DXWND
year: 1997
{
  "game_slug": "rebel-moon-rising",
  "version": "CD + DXWND",
  "description": "\"Rebel Moon Rising\" CD edition with support for modern computer configuration.\r\n\r\nThis script uses different projects:\r\nDxWnd: https://sourceforge.net/projects/dxwnd/\r\nGNU32 tools: http://gnuwin32.sourceforge.net/\r\nMplayer: http://www.mplayerhq.hu/design7/news.html\r\nSox: http://sox.sourceforge.net",
  "notes": "",
  "name": "Rebel Moon Rising",
  "year": 1997,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "rebel-moon-rising-cd-dxwnd",
  "installer_slug": "rebel-moon-rising-cd-dxwnd",
  "script": {
    "files": [
      {
        "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Rebel%20Moon%20Rising/soundtrack.bat"
      },
      {
        "dxwnd": "https://freefr.dl.sourceforge.net/project/dxwnd/Latest%20build/v2_05_20_build.rar"
      },
      {
        "mp": "https://freefr.dl.sourceforge.net/project/mplayer-win32/MPlayer%20and%20MEncoder/r38135%2Bgb272d5b9b6/MPlayer-generic-r38135%2Bgb272d5b9b6.7z"
      },
      {
        "grepbin": "http://downloads.sourceforge.net/gnuwin32/grep-2.5.4-bin.zip"
      },
      {
        "grepdep": "http://downloads.sourceforge.net/gnuwin32/grep-2.5.4-dep.zip"
      },
      {
        "gnusox": "https://freefr.dl.sourceforge.net/project/sox/sox/14.4.2/sox-14.4.2-win32.zip"
      }
    ],
    "game": {
      "args": "/r:0",
      "exe": "drive_c/dxwnd/dxwnd.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Preparing Rbel Moon Rising wineprefix...",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "DISK1.ID"
        }
      },
      {
        "task": {
          "description": "Running setup of the game. Just proceed and keep all settings at their defaults",
          "executable": "$DISC/autorun.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/tmp/mplayer/",
          "file": "mp"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/tmp/bin",
          "file": "gnusox"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/tmp/",
          "file": "grepbin"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/tmp/",
          "file": "grepdep"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/tmp/",
          "src": "script"
        }
      },
      {
        "task": {
          "args": "c:\\\\tmp\\\\soundtrack.bat",
          "description": "Working to make this game more Linux Wine friendly",
          "executable": "$GAMEDIR/drive_c/windows/syswow64/wineconsole.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/dxwnd",
          "file": "dxwnd"
        }
      },
      {
        "write_config": {
          "data": {
            "target": {
              "cdvol0": 100,
              "codepage0": 0,
              "coord0": 3,
              "country0": 0,
              "dflag0": 0,
              "dflagb0": 0,
              "filterid0": 0,
              "flag0": 673194017,
              "flagg0": 1207959568,
              "flagh0": 22,
              "flagi0": 138444804,
              "flagj0": 4224,
              "flagk0": 65536,
              "flagl0": 0,
              "flagm0": 65536,
              "flagn0": 17825796,
              "flago0": 4194304,
              "flagp0": 8192,
              "flagq0": 0,
              "icon0": "0000010001002020000001002000B410000016000000280000002000000040000000010020000300000080100000000000000000000000000000000000000000FF0000FF0000FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000FFFFFF00C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00000000000C0C0C00000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C0000000000000000000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C00080808000808080008080800080808000808080008080800080808000C0C0C000C0C0C000C0C0C0008080800080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C00080808000000000000000000000000000000000000000000000000000C0C0C000C0C0C000C0C0C0008080800000000000808080008080800080808000000000000000000000000000000000008080800080808000C0C0C0008080800080808000C0C0C000C0C0C000C0C0C00080808000C0C0C000C0C0C000C0C0C000C0C0C000C0C0C000808080000000000000000000000000000000000000000000C0C0C000FFFFFF00C0C0C000808080000000000080808000808080008080800000000000000000000000000080808000808080008080800080808000C0C0C0008080800080808000C0C0C000C0C0C0008080800080808000C0C0C000C0C0C000C0C0C000C0C0C0008080800000000000000000000000000000000000C0C0C000C0C0C000C0C0C000C0C0C00080808000808080008080800080808000000000000000000000000000000000008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000000000000000000000000000C0C0C000C0C0C000C0C0C0008080800080808000000000000000000080808000000000000000000000000000000000008080800080808000C0C0C000808080008080800080808000C0C0C000C0C0C000C0C0C0000000000000000000808080008080800080808000808080008080800080808000000000000000000000000000C0C0C0008080800080808000000000000000000000000000808080000000000000000000808080000000000080808000808080008080800080808000C0C0C00080808000C0C0C000C0C0C000C0C0C000808080008080800080808000C0C0C0008080800080808000808080008080800080808000000000000000000080808000808080000000000000000000000000000000000080808000808080000000000080808000808080008080800080808000808080008080800080808000808080008080800080808000C0C0C000808080008080800080808000C0C0C000C0C0C0008080800000000000808080008080800080808000808080000000000080808000808080000000000000000000000000000000000000000000808080000000000080808000808080008080800080808000808080008080800080808000808080008080800080808000C0C0C000808080008080800080808000C0C0C00080808000808080000000000080808000C0C0C0008080800080808000000000008080800080808000000000000000000000000000808080008080800080808000808080008080800000000000000000008080800000000000808080008080800080808000808080008080800080808000808080000000000080808000808080008080800080808000000000000000000080808000808080008080800000000000808080008080800080808000808080008080800080808000808080008080800080808000808080000000000000000000000000008080800080808000808080008080800080808000808080000000000000000000000000000000000000000000808080008080800000000000000000008080800080808000808080000000000080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800000000000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000080808000808080000000000080808000808080008080800080808000000000008080800080808000000000008080800080808000808080008080800080808000808080008080800080808000808080000000000000000000000000000000000080808000808080008080800000000000000000000000000000000000000000000000000080808000C0C0C000808080008080800080808000808080000000000080808000000000000000000080808000808080008080800000000000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080000000000000000000000000000000000080808000C0C0C000808080000000000080808000808080008080800000000000000000000000000000000000808080008080800000000000000000000000000000000000000000000000000080808000000000008080800080808000808080008080800000000000808080000000000000000000808080008080800000000000C0C0C000C0C0C000000000000000000080808000808080008080800000000000000000008080800000000000808080008080800000000000000000000000000000000000000000000000000000000000808080008080800080808000808080000000000000000000808080000000000000000000808080008080800080808000808080008080800000000000000000008080800080808000000000000000000000000000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000000000000000000080808000000000000000000080808000C0C0C0008080800080808000808080008080800000000000808080008080800000000000000000000000000000000000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000080808000808080008080800000000000000000000000000000000000808080008080800080808000C0C0C00080808000808080008080800080808000808080008080800000000000000000000000000000000000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000000000008080800000000000808080000000000080808000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000080808000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000808080000000000000000000000000008080800080808000808080008080800080808000808080008080800000000000000000000000000000000000000000000000000080808000808080008080800080808000808080000000000000000000000000000000000000000000000000008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000808080008080800000000000000000000000000080808000000000000000000000000000808080008080800080808000808080008080800080808000808080008080800080808000808080000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000080808000000000008080800080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080808000808080008080800080808000808080008080800000000000000000000000000080808000808080008080800080808000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800080808000808080008080800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C00080808000808080008080800080808000808080008080800080808000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0C0C00080808000808080008080800080808000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
              "initresh0": 600,
              "initresw0": 800,
              "initts0": 0,
              "lang0": 0,
              "launchpath0": "C:\\Games\\Rising\\Rmr.exe",
              "maxddinterface0": 7,
              "maxfps0": 0,
              "maxres0": -1,
              "monitorid0": -1,
              "path0": "C:\\Games\\Rising\\Rmr.exe",
              "posx0": 50,
              "posy0": 50,
              "registry0": null,
              "renderer0": 3,
              "scanline0": 0,
              "sizx0": 800,
              "sizy0": 600,
              "slowratio0": 2,
              "startfolder0": "C:\\Games\\Rising\\",
              "swapeffect0": 0,
              "tflag0": 0,
              "title0": "Rebel Moon Rising",
              "ver0": 0,
              "winver0": 0
            },
            "window": {
              "exepath": "C:\\tmp\\CD\\",
              "expert": 1
            }
          },
          "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": "EAXEnabled",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DirectSound",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "Y"
        }
      },
      {
        "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