Installer touhou-6-embodiment-of-scarle-cd-with-thcrap-and-v

files:
- thcrap:
    filename: thcrap.zip
    url: https://github.com/thpatch/thcrap/releases/latest/download/thcrap.zip
- 102f:
    filename: kouma_update102f.exe
    url: http://www16.big.or.jp/~zun/data/soft/kouma_update102f.EXE
- 102h:
    filename: kouma_update102h.exe
    url: http://www16.big.or.jp/~zun/data/soft/kouma_update102h.EXE
- vpatch:
    filename: vpatch.zip
    url: https://www.thpatch.net/w/images/f/f0/vpatch_th06_for_thcrap.zip
game:
  arch: win32
  exe: $GAMEDIR/thcrap/th06.lnk
  prefix: $GAMEDIR/pfx
installer:
- insert-disc:
    requires: kouma
- task:
    arch: win32
    install_gecko: false
    install_mono: false
    name: create_prefix
- copy:
    dst: $GAMEDIR/pfx/drive_c/Program Files/touhou6/
    src: $DISC/kouma
- execute:
    command: chmod -R 777 "$GAMEDIR/pfx/drive_c/Program Files/touhou6/"
- move:
    dst: $GAMEDIR/pfx/drive_c/Program Files/touhou6/
    src: 102f
- task:
    env:
      LC_ALL: ja_JP.utf8
    executable: $GAMEDIR/pfx/drive_c/Program Files/touhou6/kouma_update102f.exe
    name: wineexec
- move:
    dst: $GAMEDIR/pfx/drive_c/Program Files/touhou6/
    src: 102h
- task:
    env:
      LC_ALL: ja_JP.utf8
    executable: $GAMEDIR/pfx/drive_c/Program Files/touhou6/kouma_update102h.exe
    name: wineexec
- extract:
    dst: $GAMEDIR/pfx/drive_c/Program Files/touhou6
    file: vpatch
- extract:
    dst: $GAMEDIR/thcrap
    file: thcrap
- move:
    dst: $GAMEDIR/thcrap/libcrypto-1_1.dll
    src: $GAMEDIR/thcrap/bin/libcrypto-1_1.dll
- move:
    dst: $GAMEDIR/thcrap/libcurl.dll
    src: $GAMEDIR/thcrap/bin/libcurl.dll
- move:
    dst: $GAMEDIR/thcrap/libssl-1_1.dll
    src: $GAMEDIR/thcrap/bin/libssl-1_1.dll
- move:
    dst: $GAMEDIR/thcrap/thcrap_update.dll
    src: $GAMEDIR/thcrap/bin/thcrap_update.dll
- write_file:
    content: ' { "th06": "C:/Program Files/touhou6/vpatch.exe", "th06_custom": "C:/Program
      Files/touhou6/custom.exe" } '
    file: $GAMEDIR/thcrap/config/games.js
- task:
    env:
      LANG: en_US.UTF-8
    executable: $GAMEDIR/thcrap/thcrap_configure.exe
    name: wineexec
- execute:
    command: mv -Tv $GAMEDIR/thcrap/th06_*.lnk $GAMEDIR/thcrap/custom.lnk
- execute:
    command: mv -Tv $GAMEDIR/thcrap/th06*.lnk $GAMEDIR/thcrap/th06.lnk
- task:
    executable: $GAMEDIR/thcrap/custom.lnk
    name: wineexec
wine:
  dxvk: false
description: Original game installer with vsync and localization patches
game_slug: touhou-06-embodiment-of-scarlet-devil
gogslug: ''
humblestoreid: ''
installer_slug: touhou-6-embodiment-of-scarle-cd-with-thcrap-and-v
name: 'Touhou 6: Koumakyou - The Embodiment of Scarlet Devil'
notes: "Tested with moriyashrine's iso.\r\nRequires original Touhou installer! Patched\
  \ one won't work!\r\nTip: You can mount iso files with fuseiso or CDEmu(not tested).\r\
  \nEnable 'ja_JP.UTF-8' and 'en_US.UTF-8' locales on your system (https://wiki.archlinux.org/index.php/Locale).\r\
  \nIf you think the installer shows too much 'Ok' popups, don't worry, it works as\
  \ intended. \r\n(Unless it shows you the message box with 'warning' icon)\r\nDuring\
  \ installation, the 'thcrap' game patcher will be launched for localization support.\r\
  \nSee https://youtu.be/yr22qZudfzg for instructions (video is slightly outdated,\
  \ however the process hadn't changed so much)\r\nI recommend choosing 'lang_%your\
  \ language%', 'EoSD_Retexture_Hitbox' and 'alphes' (in same order) patches for beginners.\r\
  \n(swap 'Retexture' and 'lang' if you want translated menus in cost of some graphic\
  \ glitches)\r\nIf it asks to choose game location, just press 'Keep this list and\
  \ continue'.\r\nIf it prompts to create shortcuts, press 'Yes'.\r\nThen the EoSD\
  \ configurator will show up. It's highly recommended to check 'Enforce 60 FPS' and\
  \ '32bit colors' option.\""
runner: wine
script:
  files:
  - thcrap:
      filename: thcrap.zip
      url: https://github.com/thpatch/thcrap/releases/latest/download/thcrap.zip
  - 102f:
      filename: kouma_update102f.exe
      url: http://www16.big.or.jp/~zun/data/soft/kouma_update102f.EXE
  - 102h:
      filename: kouma_update102h.exe
      url: http://www16.big.or.jp/~zun/data/soft/kouma_update102h.EXE
  - vpatch:
      filename: vpatch.zip
      url: https://www.thpatch.net/w/images/f/f0/vpatch_th06_for_thcrap.zip
  game:
    arch: win32
    exe: $GAMEDIR/thcrap/th06.lnk
    prefix: $GAMEDIR/pfx
  installer:
  - insert-disc:
      requires: kouma
  - task:
      arch: win32
      install_gecko: false
      install_mono: false
      name: create_prefix
  - copy:
      dst: $GAMEDIR/pfx/drive_c/Program Files/touhou6/
      src: $DISC/kouma
  - execute:
      command: chmod -R 777 "$GAMEDIR/pfx/drive_c/Program Files/touhou6/"
  - move:
      dst: $GAMEDIR/pfx/drive_c/Program Files/touhou6/
      src: 102f
  - task:
      env:
        LC_ALL: ja_JP.utf8
      executable: $GAMEDIR/pfx/drive_c/Program Files/touhou6/kouma_update102f.exe
      name: wineexec
  - move:
      dst: $GAMEDIR/pfx/drive_c/Program Files/touhou6/
      src: 102h
  - task:
      env:
        LC_ALL: ja_JP.utf8
      executable: $GAMEDIR/pfx/drive_c/Program Files/touhou6/kouma_update102h.exe
      name: wineexec
  - extract:
      dst: $GAMEDIR/pfx/drive_c/Program Files/touhou6
      file: vpatch
  - extract:
      dst: $GAMEDIR/thcrap
      file: thcrap
  - move:
      dst: $GAMEDIR/thcrap/libcrypto-1_1.dll
      src: $GAMEDIR/thcrap/bin/libcrypto-1_1.dll
  - move:
      dst: $GAMEDIR/thcrap/libcurl.dll
      src: $GAMEDIR/thcrap/bin/libcurl.dll
  - move:
      dst: $GAMEDIR/thcrap/libssl-1_1.dll
      src: $GAMEDIR/thcrap/bin/libssl-1_1.dll
  - move:
      dst: $GAMEDIR/thcrap/thcrap_update.dll
      src: $GAMEDIR/thcrap/bin/thcrap_update.dll
  - write_file:
      content: ' { "th06": "C:/Program Files/touhou6/vpatch.exe", "th06_custom": "C:/Program
        Files/touhou6/custom.exe" } '
      file: $GAMEDIR/thcrap/config/games.js
  - task:
      env:
        LANG: en_US.UTF-8
      executable: $GAMEDIR/thcrap/thcrap_configure.exe
      name: wineexec
  - execute:
      command: mv -Tv $GAMEDIR/thcrap/th06_*.lnk $GAMEDIR/thcrap/custom.lnk
  - execute:
      command: mv -Tv $GAMEDIR/thcrap/th06*.lnk $GAMEDIR/thcrap/th06.lnk
  - task:
      executable: $GAMEDIR/thcrap/custom.lnk
      name: wineexec
  wine:
    dxvk: false
slug: touhou-6-embodiment-of-scarle-cd-with-thcrap-and-v
steamid: null
version: CD with thcrap and vpatch
year: 2002
{
  "game_slug": "touhou-06-embodiment-of-scarlet-devil",
  "version": "CD with thcrap and vpatch",
  "description": "Original game installer with vsync and localization patches",
  "notes": "Tested with moriyashrine's iso.\r\nRequires original Touhou installer! Patched one won't work!\r\nTip: You can mount iso files with fuseiso or CDEmu(not tested).\r\nEnable 'ja_JP.UTF-8' and 'en_US.UTF-8' locales on your system (https://wiki.archlinux.org/index.php/Locale).\r\nIf you think the installer shows too much 'Ok' popups, don't worry, it works as intended. \r\n(Unless it shows you the message box with 'warning' icon)\r\nDuring installation, the 'thcrap' game patcher will be launched for localization support.\r\nSee https://youtu.be/yr22qZudfzg for instructions (video is slightly outdated, however the process hadn't changed so much)\r\nI recommend choosing 'lang_%your language%', 'EoSD_Retexture_Hitbox' and 'alphes' (in same order) patches for beginners.\r\n(swap 'Retexture' and 'lang' if you want translated menus in cost of some graphic glitches)\r\nIf it asks to choose game location, just press 'Keep this list and continue'.\r\nIf it prompts to create shortcuts, press 'Yes'.\r\nThen the EoSD configurator will show up. It's highly recommended to check 'Enforce 60 FPS' and '32bit colors' option.\"",
  "name": "Touhou 6: Koumakyou - The Embodiment of Scarlet Devil",
  "year": 2002,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "touhou-6-embodiment-of-scarle-cd-with-thcrap-and-v",
  "installer_slug": "touhou-6-embodiment-of-scarle-cd-with-thcrap-and-v",
  "script": {
    "files": [
      {
        "thcrap": {
          "filename": "thcrap.zip",
          "url": "https://github.com/thpatch/thcrap/releases/latest/download/thcrap.zip"
        }
      },
      {
        "102f": {
          "filename": "kouma_update102f.exe",
          "url": "http://www16.big.or.jp/~zun/data/soft/kouma_update102f.EXE"
        }
      },
      {
        "102h": {
          "filename": "kouma_update102h.exe",
          "url": "http://www16.big.or.jp/~zun/data/soft/kouma_update102h.EXE"
        }
      },
      {
        "vpatch": {
          "filename": "vpatch.zip",
          "url": "https://www.thpatch.net/w/images/f/f0/vpatch_th06_for_thcrap.zip"
        }
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "$GAMEDIR/thcrap/th06.lnk",
      "prefix": "$GAMEDIR/pfx"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "kouma"
        }
      },
      {
        "task": {
          "arch": "win32",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/pfx/drive_c/Program Files/touhou6/",
          "src": "$DISC/kouma"
        }
      },
      {
        "execute": {
          "command": "chmod -R 777 \"$GAMEDIR/pfx/drive_c/Program Files/touhou6/\""
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/pfx/drive_c/Program Files/touhou6/",
          "src": "102f"
        }
      },
      {
        "task": {
          "env": {
            "LC_ALL": "ja_JP.utf8"
          },
          "executable": "$GAMEDIR/pfx/drive_c/Program Files/touhou6/kouma_update102f.exe",
          "name": "wineexec"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/pfx/drive_c/Program Files/touhou6/",
          "src": "102h"
        }
      },
      {
        "task": {
          "env": {
            "LC_ALL": "ja_JP.utf8"
          },
          "executable": "$GAMEDIR/pfx/drive_c/Program Files/touhou6/kouma_update102h.exe",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/pfx/drive_c/Program Files/touhou6",
          "file": "vpatch"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/thcrap",
          "file": "thcrap"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/thcrap/libcrypto-1_1.dll",
          "src": "$GAMEDIR/thcrap/bin/libcrypto-1_1.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/thcrap/libcurl.dll",
          "src": "$GAMEDIR/thcrap/bin/libcurl.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/thcrap/libssl-1_1.dll",
          "src": "$GAMEDIR/thcrap/bin/libssl-1_1.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/thcrap/thcrap_update.dll",
          "src": "$GAMEDIR/thcrap/bin/thcrap_update.dll"
        }
      },
      {
        "write_file": {
          "content": " { \"th06\": \"C:/Program Files/touhou6/vpatch.exe\", \"th06_custom\": \"C:/Program Files/touhou6/custom.exe\" } ",
          "file": "$GAMEDIR/thcrap/config/games.js"
        }
      },
      {
        "task": {
          "env": {
            "LANG": "en_US.UTF-8"
          },
          "executable": "$GAMEDIR/thcrap/thcrap_configure.exe",
          "name": "wineexec"
        }
      },
      {
        "execute": {
          "command": "mv -Tv $GAMEDIR/thcrap/th06_*.lnk $GAMEDIR/thcrap/custom.lnk"
        }
      },
      {
        "execute": {
          "command": "mv -Tv $GAMEDIR/thcrap/th06*.lnk $GAMEDIR/thcrap/th06.lnk"
        }
      },
      {
        "task": {
          "executable": "$GAMEDIR/thcrap/custom.lnk",
          "name": "wineexec"
        }
      }
    ],
    "wine": {
      "dxvk": false
    }
  }
}
Back to game