Installer holdover-english

files:
- game: https://foxeye.squares.net/product/holdover/holdover01d_jp.lzh
- en: https://foxeye.squares.net/product/holdover/msglist_custom_en.zip
game:
  arch: win32
  exe: drive_c/holdover_jp/holdover.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    name: create_prefix
    prefix: $GAMEDIR
- execute:
    args: xw=$GAMEDIR/drive_c/ $game
    file: lha
- extract:
    dst: $GAMEDIR/drive_c/holdover_jp/
    file: $en
- write_file:
    content: '#!/bin/bash



      echo -e "Setting the language to english, zoom to 3x and disabling smooth bgm.\n"

      printf "\\x03\\x00\\x01\\x01"|dd of=save.dat obs=1 seek=484 conv=notrunc'
    file: $GAMEDIR/drive_c/holdover_jp/set-save.sh
- chmodx: $GAMEDIR/drive_c/holdover_jp/set-save.sh
- execute:
    file: $GAMEDIR/drive_c/holdover_jp/set-save.sh
    working_dir: $GAMEDIR/
- move:
    dst: $GAMEDIR/drive_c/holdover_jp/
    src: $GAMEDIR/save.dat
require-binaries: lha
description: Downloads the game from the official site, and sets the language to english.
game_slug: holdover
gogslug: ''
humblestoreid: ''
installer_slug: holdover-english
name: Holdover
notes: "* Requires lha to extract the game.\r\n* The background music requires MIDI\
  \ capabilities. Installing something like FluidSynth may be required."
runner: wine
script:
  files:
  - game: https://foxeye.squares.net/product/holdover/holdover01d_jp.lzh
  - en: https://foxeye.squares.net/product/holdover/msglist_custom_en.zip
  game:
    arch: win32
    exe: drive_c/holdover_jp/holdover.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win32
      name: create_prefix
      prefix: $GAMEDIR
  - execute:
      args: xw=$GAMEDIR/drive_c/ $game
      file: lha
  - extract:
      dst: $GAMEDIR/drive_c/holdover_jp/
      file: $en
  - write_file:
      content: '#!/bin/bash



        echo -e "Setting the language to english, zoom to 3x and disabling smooth
        bgm.\n"

        printf "\\x03\\x00\\x01\\x01"|dd of=save.dat obs=1 seek=484 conv=notrunc'
      file: $GAMEDIR/drive_c/holdover_jp/set-save.sh
  - chmodx: $GAMEDIR/drive_c/holdover_jp/set-save.sh
  - execute:
      file: $GAMEDIR/drive_c/holdover_jp/set-save.sh
      working_dir: $GAMEDIR/
  - move:
      dst: $GAMEDIR/drive_c/holdover_jp/
      src: $GAMEDIR/save.dat
  require-binaries: lha
slug: holdover-english
steamid: null
version: english
year: 2009
{
  "game_slug": "holdover",
  "version": "english",
  "description": "Downloads the game from the official site, and sets the language to english.",
  "notes": "* Requires lha to extract the game.\r\n* The background music requires MIDI capabilities. Installing something like FluidSynth may be required.",
  "name": "Holdover",
  "year": 2009,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "holdover-english",
  "installer_slug": "holdover-english",
  "script": {
    "files": [
      {
        "game": "https://foxeye.squares.net/product/holdover/holdover01d_jp.lzh"
      },
      {
        "en": "https://foxeye.squares.net/product/holdover/msglist_custom_en.zip"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "drive_c/holdover_jp/holdover.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win32",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "args": "xw=$GAMEDIR/drive_c/ $game",
          "file": "lha"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/holdover_jp/",
          "file": "$en"
        }
      },
      {
        "write_file": {
          "content": "#!/bin/bash\n\n\necho -e \"Setting the language to english, zoom to 3x and disabling smooth bgm.\\n\"\nprintf \"\\\\x03\\\\x00\\\\x01\\\\x01\"|dd of=save.dat obs=1 seek=484 conv=notrunc",
          "file": "$GAMEDIR/drive_c/holdover_jp/set-save.sh"
        }
      },
      {
        "chmodx": "$GAMEDIR/drive_c/holdover_jp/set-save.sh"
      },
      {
        "execute": {
          "file": "$GAMEDIR/drive_c/holdover_jp/set-save.sh",
          "working_dir": "$GAMEDIR/"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/holdover_jp/",
          "src": "$GAMEDIR/save.dat"
        }
      }
    ],
    "require-binaries": "lha"
  }
}
Back to game