Installer touhou-6-koumakyou-the-embodi-demo

files:
- game_archive: http://www16.big.or.jp/~zun/data/soft/kouma_tr013.lzh
- convmv_archive: https://j3e.de/linux/convmv/convmv-2.05.tar.gz
game:
  arch: win32
  exe: "$GAMEDIR/\u6771\u65B9\u7D05\u9B54\u90F7\u3000\u4F53\u9A13\u7248/\u6771\u65B9\
    \u7D05\u9B54\u90F7.exe"
  prefix: $GAMEDIR/pfx
  working_dir: "$GAMEDIR/\u6771\u65B9\u7D05\u9B54\u90F7\u3000\u4F53\u9A13\u7248"
installer:
- extract:
    dst: $GAMEDIR/convmv
    file: convmv_archive
- move:
    dst: $GAMEDIR/
    src: game_archive
- execute:
    command: 7z x kouma_tr013.lzh
    env:
      LC_ALL: C
    name: extraction
    working_dir: $GAMEDIR
- execute:
    command: perl convmv/convmv -f CP932 -t UTF-8 -r --notest .
    name: convert filenames
    working_dir: $GAMEDIR
system:
  env:
    LANG: ja_JP.UTF8
wine:
  version: lutris-fshack-6.10-7-x86_64
description: Demo Installer
game_slug: touhou-06-embodiment-of-scarlet-devil
gogslug: ''
humblestoreid: ''
installer_slug: touhou-6-koumakyou-the-embodi-demo
name: 'Touhou 6: Koumakyou - The Embodiment of Scarlet Devil'
notes: "This Installer downloads the thouhou 6 demo as well as convmv to convert filenames\
  \ to utf-8.\r\n\r\nTo enable music, you have to install timidity++ and a soundfont,\
  \ configure the soundfont, add yourself to the audio group and you have to enable\
  \ the timidity++ service.\r\nOn arch linux:\r\n\r\n```\r\nsudo pacman -S timidity++\
  \ soundfont-fluid\r\nsudo -E gpasswd -a $USER audio\r\necho \"soundfont /usr/share/soundfonts/FluidR3_GM.sf2\"\
  \ | sudo tee -a /etc/timidity/timidity.cfg\r\nsystemctl --user enable --now timidity.service\r\
  \n```\r\nYou might have to reboot your system.\r\n\r\nMake sure you have the japanese\
  \ locale enabled.\r\nIf running in flatpak:\r\n\r\n```\r\nflatpak install --user\
  \ --subpath=jpn org.gnome.Platform.Locale\r\nflatpak config --user --set languages\
  \ \"en;ja\"\r\n```"
runner: wine
script:
  files:
  - game_archive: http://www16.big.or.jp/~zun/data/soft/kouma_tr013.lzh
  - convmv_archive: https://j3e.de/linux/convmv/convmv-2.05.tar.gz
  game:
    arch: win32
    exe: "$GAMEDIR/\u6771\u65B9\u7D05\u9B54\u90F7\u3000\u4F53\u9A13\u7248/\u6771\u65B9\
      \u7D05\u9B54\u90F7.exe"
    prefix: $GAMEDIR/pfx
    working_dir: "$GAMEDIR/\u6771\u65B9\u7D05\u9B54\u90F7\u3000\u4F53\u9A13\u7248"
  installer:
  - extract:
      dst: $GAMEDIR/convmv
      file: convmv_archive
  - move:
      dst: $GAMEDIR/
      src: game_archive
  - execute:
      command: 7z x kouma_tr013.lzh
      env:
        LC_ALL: C
      name: extraction
      working_dir: $GAMEDIR
  - execute:
      command: perl convmv/convmv -f CP932 -t UTF-8 -r --notest .
      name: convert filenames
      working_dir: $GAMEDIR
  system:
    env:
      LANG: ja_JP.UTF8
  wine:
    version: lutris-fshack-6.10-7-x86_64
slug: touhou-6-koumakyou-the-embodi-demo
steamid: null
version: demo
year: 2002
{
  "game_slug": "touhou-06-embodiment-of-scarlet-devil",
  "version": "demo",
  "description": "Demo Installer",
  "notes": "This Installer downloads the thouhou 6 demo as well as convmv to convert filenames to utf-8.\r\n\r\nTo enable music, you have to install timidity++ and a soundfont, configure the soundfont, add yourself to the audio group and you have to enable the timidity++ service.\r\nOn arch linux:\r\n\r\n```\r\nsudo pacman -S timidity++ soundfont-fluid\r\nsudo -E gpasswd -a $USER audio\r\necho \"soundfont /usr/share/soundfonts/FluidR3_GM.sf2\" | sudo tee -a /etc/timidity/timidity.cfg\r\nsystemctl --user enable --now timidity.service\r\n```\r\nYou might have to reboot your system.\r\n\r\nMake sure you have the japanese locale enabled.\r\nIf running in flatpak:\r\n\r\n```\r\nflatpak install --user --subpath=jpn org.gnome.Platform.Locale\r\nflatpak config --user --set languages \"en;ja\"\r\n```",
  "name": "Touhou 6: Koumakyou - The Embodiment of Scarlet Devil",
  "year": 2002,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "touhou-6-koumakyou-the-embodi-demo",
  "installer_slug": "touhou-6-koumakyou-the-embodi-demo",
  "script": {
    "files": [
      {
        "game_archive": "http://www16.big.or.jp/~zun/data/soft/kouma_tr013.lzh"
      },
      {
        "convmv_archive": "https://j3e.de/linux/convmv/convmv-2.05.tar.gz"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "$GAMEDIR/\u6771\u65b9\u7d05\u9b54\u90f7\u3000\u4f53\u9a13\u7248/\u6771\u65b9\u7d05\u9b54\u90f7.exe",
      "prefix": "$GAMEDIR/pfx",
      "working_dir": "$GAMEDIR/\u6771\u65b9\u7d05\u9b54\u90f7\u3000\u4f53\u9a13\u7248"
    },
    "installer": [
      {
        "extract": {
          "dst": "$GAMEDIR/convmv",
          "file": "convmv_archive"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/",
          "src": "game_archive"
        }
      },
      {
        "execute": {
          "command": "7z x kouma_tr013.lzh",
          "env": {
            "LC_ALL": "C"
          },
          "name": "extraction",
          "working_dir": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "perl convmv/convmv -f CP932 -t UTF-8 -r --notest .",
          "name": "convert filenames",
          "working_dir": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "LANG": "ja_JP.UTF8"
      }
    },
    "wine": {
      "version": "lutris-fshack-6.10-7-x86_64"
    }
  }
}
Back to game