Installer yume-miru-kusuri-a-drug-that-any

files:
- file: https://app.jastusa.com/api/v2/300/450/resize/9c/36/b57c18632c254d685563557b05c9e8bf.jpg
game:
  arch: win32
  exe: drive_c/Program Files/Peach Princess/YUME MIRU KUSURI/yumemiru.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    description: Waiting for game installer...
    message: Select the disc or path where the installation files are. (if this is
      the jastusa.com version, extract the zip file first)
    requires: yumemiru.exe
- merge:
    dst: $CACHE/dummy-file-for-issue-4282.jpg
    src: $file
- task:
    arch: win32
    description: Creating Wine prefix...
    name: create_prefix
    prefix: $GAMEDIR
- write_file:
    content: '#!/bin/sh



      # This script is required, since different versions have filenames with different
      capitalization, and that makes copying files with "merge" problematic

      mkdir -p "$2"

      cp "$1/"*.arc "$2"

      cp "$1/"*.dat "$2"

      cp "$1/yumemiru.exe" "$2"'
    file: $CACHE/copy-files.sh
- chmodx: $CACHE/copy-files.sh
- execute:
    args: '"$DISC" "$GAMEDIR/drive_c/Program Files/Peach Princess/YUME MIRU KUSURI/"'
    description: Copying files...
    file: $CACHE/copy-files.sh
- write_file:
    content: 'REGEDIT4



      [HKEY_CURRENT_USER\Software\Will]



      [HKEY_CURRENT_USER\Software\Will\yumemirukusuri]

      "AutoMsg"=hex:03,00,00,00

      "AutoSkip"=hex:00,00,00,00

      "DeactiveSnd"=hex:01,00,00,00

      "DisplayMode"=hex:00,00,00,00

      "EffectSkip"=hex:00,00,00,00

      "EnableJoyPad"=hex:01,00,00,00

      "FontEdge"=hex:01,00,00,00

      "FontName"="Lucida Console"

      "InstallDir"="C:\\Program Files\\Peach Princess\\YUME MIRU KUSURI"

      "InstallSrc"="C:\\Program Files\\Peach Princess\\YUME MIRU KUSURI""

      "InstallType"=hex:02,00,00,00

      "MsgPos"=hex:c6,00,00,00,b4,01,00,00

      "MsgSpeed"=hex:01,00,00,00

      "Mute"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

      "RButtonMode"=hex:01,00,00,00

      "SkipType"=hex:00,00,00,00

      "SystemDraw"=hex:01,00,00,00

      "UseFilt"=hex:01,00,00,00

      "Volume"=hex:e8,03,00,00,e8,03,00,00,e8,03,00,00,e8,03,00,00

      "WndPos"=hex:1e,02,00,00,04,01,00,00'
    file: $CACHE/yume.reg
- task:
    filename: $CACHE/yume.reg
    name: set_regedit_file
description: This installer works with both the retail CD and the jastusa.com digital
  version.
game_slug: yume-miru-kusuri-a-drug-that-makes-you-dream
gogslug: ''
humblestoreid: ''
installer_slug: yume-miru-kusuri-a-drug-that-any
name: Yume Miru Kusuri - A Drug That Makes You Dream
notes: ''
runner: wine
script:
  files:
  - file: https://app.jastusa.com/api/v2/300/450/resize/9c/36/b57c18632c254d685563557b05c9e8bf.jpg
  game:
    arch: win32
    exe: drive_c/Program Files/Peach Princess/YUME MIRU KUSURI/yumemiru.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      description: Waiting for game installer...
      message: Select the disc or path where the installation files are. (if this
        is the jastusa.com version, extract the zip file first)
      requires: yumemiru.exe
  - merge:
      dst: $CACHE/dummy-file-for-issue-4282.jpg
      src: $file
  - task:
      arch: win32
      description: Creating Wine prefix...
      name: create_prefix
      prefix: $GAMEDIR
  - write_file:
      content: '#!/bin/sh



        # This script is required, since different versions have filenames with different
        capitalization, and that makes copying files with "merge" problematic

        mkdir -p "$2"

        cp "$1/"*.arc "$2"

        cp "$1/"*.dat "$2"

        cp "$1/yumemiru.exe" "$2"'
      file: $CACHE/copy-files.sh
  - chmodx: $CACHE/copy-files.sh
  - execute:
      args: '"$DISC" "$GAMEDIR/drive_c/Program Files/Peach Princess/YUME MIRU KUSURI/"'
      description: Copying files...
      file: $CACHE/copy-files.sh
  - write_file:
      content: 'REGEDIT4



        [HKEY_CURRENT_USER\Software\Will]



        [HKEY_CURRENT_USER\Software\Will\yumemirukusuri]

        "AutoMsg"=hex:03,00,00,00

        "AutoSkip"=hex:00,00,00,00

        "DeactiveSnd"=hex:01,00,00,00

        "DisplayMode"=hex:00,00,00,00

        "EffectSkip"=hex:00,00,00,00

        "EnableJoyPad"=hex:01,00,00,00

        "FontEdge"=hex:01,00,00,00

        "FontName"="Lucida Console"

        "InstallDir"="C:\\Program Files\\Peach Princess\\YUME MIRU KUSURI"

        "InstallSrc"="C:\\Program Files\\Peach Princess\\YUME MIRU KUSURI""

        "InstallType"=hex:02,00,00,00

        "MsgPos"=hex:c6,00,00,00,b4,01,00,00

        "MsgSpeed"=hex:01,00,00,00

        "Mute"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

        "RButtonMode"=hex:01,00,00,00

        "SkipType"=hex:00,00,00,00

        "SystemDraw"=hex:01,00,00,00

        "UseFilt"=hex:01,00,00,00

        "Volume"=hex:e8,03,00,00,e8,03,00,00,e8,03,00,00,e8,03,00,00

        "WndPos"=hex:1e,02,00,00,04,01,00,00'
      file: $CACHE/yume.reg
  - task:
      filename: $CACHE/yume.reg
      name: set_regedit_file
slug: yume-miru-kusuri-a-drug-that-any
steamid: null
version: any
year: 2006
{
  "game_slug": "yume-miru-kusuri-a-drug-that-makes-you-dream",
  "version": "any",
  "description": "This installer works with both the retail CD and the jastusa.com digital version.",
  "notes": "",
  "name": "Yume Miru Kusuri - A Drug That Makes You Dream",
  "year": 2006,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "yume-miru-kusuri-a-drug-that-any",
  "installer_slug": "yume-miru-kusuri-a-drug-that-any",
  "script": {
    "files": [
      {
        "file": "https://app.jastusa.com/api/v2/300/450/resize/9c/36/b57c18632c254d685563557b05c9e8bf.jpg"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "drive_c/Program Files/Peach Princess/YUME MIRU KUSURI/yumemiru.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "description": "Waiting for game installer...",
          "message": "Select the disc or path where the installation files are. (if this is the jastusa.com version, extract the zip file first)",
          "requires": "yumemiru.exe"
        }
      },
      {
        "merge": {
          "dst": "$CACHE/dummy-file-for-issue-4282.jpg",
          "src": "$file"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Creating Wine prefix...",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "write_file": {
          "content": "#!/bin/sh\n\n\n# This script is required, since different versions have filenames with different capitalization, and that makes copying files with \"merge\" problematic\nmkdir -p \"$2\"\ncp \"$1/\"*.arc \"$2\"\ncp \"$1/\"*.dat \"$2\"\ncp \"$1/yumemiru.exe\" \"$2\"",
          "file": "$CACHE/copy-files.sh"
        }
      },
      {
        "chmodx": "$CACHE/copy-files.sh"
      },
      {
        "execute": {
          "args": "\"$DISC\" \"$GAMEDIR/drive_c/Program Files/Peach Princess/YUME MIRU KUSURI/\"",
          "description": "Copying files...",
          "file": "$CACHE/copy-files.sh"
        }
      },
      {
        "write_file": {
          "content": "REGEDIT4\n\n\n[HKEY_CURRENT_USER\\Software\\Will]\n\n\n[HKEY_CURRENT_USER\\Software\\Will\\yumemirukusuri]\n\"AutoMsg\"=hex:03,00,00,00\n\"AutoSkip\"=hex:00,00,00,00\n\"DeactiveSnd\"=hex:01,00,00,00\n\"DisplayMode\"=hex:00,00,00,00\n\"EffectSkip\"=hex:00,00,00,00\n\"EnableJoyPad\"=hex:01,00,00,00\n\"FontEdge\"=hex:01,00,00,00\n\"FontName\"=\"Lucida Console\"\n\"InstallDir\"=\"C:\\\\Program Files\\\\Peach Princess\\\\YUME MIRU KUSURI\"\n\"InstallSrc\"=\"C:\\\\Program Files\\\\Peach Princess\\\\YUME MIRU KUSURI\"\"\n\"InstallType\"=hex:02,00,00,00\n\"MsgPos\"=hex:c6,00,00,00,b4,01,00,00\n\"MsgSpeed\"=hex:01,00,00,00\n\"Mute\"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00\n\"RButtonMode\"=hex:01,00,00,00\n\"SkipType\"=hex:00,00,00,00\n\"SystemDraw\"=hex:01,00,00,00\n\"UseFilt\"=hex:01,00,00,00\n\"Volume\"=hex:e8,03,00,00,e8,03,00,00,e8,03,00,00,e8,03,00,00\n\"WndPos\"=hex:1e,02,00,00,04,01,00,00",
          "file": "$CACHE/yume.reg"
        }
      },
      {
        "task": {
          "filename": "$CACHE/yume.reg",
          "name": "set_regedit_file"
        }
      }
    ]
  }
}
Back to game