Installer gitadora-2

files:
- bgfiles:
    filename: GITADORA.zip
    url: https://placeholder.com/GITADORA.zip
game:
  exe: drive_c/Games/GITADORA/launcher/modules/launcher.exe
  prefix: $GAMEDIR
installer:
- task:
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: vcrun2010 cjkfonts
    description: Installing Visual C++ runtime 2010 and cjkfonts
    name: winetricks
    prefix: $GAMEDIR
- task:
    key: InstallDir
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\SOFTWARE\KONAMI\GITADORA
    prefix: $GAMEDIR
    type: REG_SZ
    value: C:\\Games\\GITADORA\\
- task:
    key: ResourceDir
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\SOFTWARE\KONAMI\GITADORA
    prefix: $GAMEDIR
    type: REG_SZ
    value: C:\\Games\\GITADORA\\Resource\\
- extract:
    dst: $GAMEDIR/drive_c/Games/GITADORA
    file: bgfiles
    format: zip
- execute:
    command: mkdir -p $GAMEDIR/drive_c/Games/GITADORA/Resource
- input_menu:
    description: 'Is Lutris running through a native install or Flatpak? '
    id: RUNNER
    options:
    - lutris: Native
    - flatpak run net.lutris.Lutris: Flatpak
    preselect: native
- execute:
    command: mkdir -p ~/.local/share/applications && echo -e "[Desktop Entry]\nType=Application\nName=GITADORA
      Launcher\nExec=/bin/sh -c '$INPUT_RUNNER -b GITADORA && mv ~/GITADORA.sh $GAMEDIR/GITADORA.sh
      && echo \" \\\\\\\$@\" >> $GAMEDIR/GITADORA.sh && $GAMEDIR/GITADORA.sh %u'\nMimeType=x-scheme-handler/konaste.gitadora\nNoDisplay=true"
      >> ~/.local/share/applications/GITADORA.desktop && update-desktop-database ~/.local/share/applications
system:
  env:
    LANG: ja_JP.UTF-8
description: ''
game_slug: gitadora--1
gogslug: ''
humblestoreid: ''
installer_slug: gitadora-2
name: GITADORA
notes: "This is a manual install since the installer is borked on Wine.\r\nWARNING:\
  \ This is the V2 version of the script, only compatible with lutris 5.20 and above\
  \ (at the time of writing)\r\nThis is because an update modified the lutris -b command's\
  \ behavior, breaking the V1 version\r\nCompatible with Native and Flatpak installations.\r\
  \nGame will be installed to $GAMEDIR/drive_c/Games/GITADORA\r\nThe desktop entry\
  \ should not be overwritten without perfectly knowing what you are doing.\r\nThe\
  \ archive GITADORA.zip contains the files usually installed by the installer and\
  \ were extracted using msiexectract.\r\nRight now, the zip download is a placeholder\
  \ and must thus be manually selected during the installation by the actual files.\r\
  \n\r\nCredits\r\nhttps://rentry.org/bombergirlutris\r\nKonatse linux\r\nKonamate\r\
  \nBombergirl ENG and the user Reyznn who make the lutris bulid for bombergirl i\
  \ who me i make a lutris bulid of GITADORA\r\ndiscord.gg/bombergirl"
runner: wine
script:
  files:
  - bgfiles:
      filename: GITADORA.zip
      url: https://placeholder.com/GITADORA.zip
  game:
    exe: drive_c/Games/GITADORA/launcher/modules/launcher.exe
    prefix: $GAMEDIR
  installer:
  - task:
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: vcrun2010 cjkfonts
      description: Installing Visual C++ runtime 2010 and cjkfonts
      name: winetricks
      prefix: $GAMEDIR
  - task:
      key: InstallDir
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\SOFTWARE\KONAMI\GITADORA
      prefix: $GAMEDIR
      type: REG_SZ
      value: C:\\Games\\GITADORA\\
  - task:
      key: ResourceDir
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\SOFTWARE\KONAMI\GITADORA
      prefix: $GAMEDIR
      type: REG_SZ
      value: C:\\Games\\GITADORA\\Resource\\
  - extract:
      dst: $GAMEDIR/drive_c/Games/GITADORA
      file: bgfiles
      format: zip
  - execute:
      command: mkdir -p $GAMEDIR/drive_c/Games/GITADORA/Resource
  - input_menu:
      description: 'Is Lutris running through a native install or Flatpak? '
      id: RUNNER
      options:
      - lutris: Native
      - flatpak run net.lutris.Lutris: Flatpak
      preselect: native
  - execute:
      command: mkdir -p ~/.local/share/applications && echo -e "[Desktop Entry]\nType=Application\nName=GITADORA
        Launcher\nExec=/bin/sh -c '$INPUT_RUNNER -b GITADORA && mv ~/GITADORA.sh $GAMEDIR/GITADORA.sh
        && echo \" \\\\\\\$@\" >> $GAMEDIR/GITADORA.sh && $GAMEDIR/GITADORA.sh %u'\nMimeType=x-scheme-handler/konaste.gitadora\nNoDisplay=true"
        >> ~/.local/share/applications/GITADORA.desktop && update-desktop-database
        ~/.local/share/applications
  system:
    env:
      LANG: ja_JP.UTF-8
slug: gitadora-2
steamid: null
version: '2'
year: 2020
{
  "game_slug": "gitadora--1",
  "version": "2",
  "description": "",
  "notes": "This is a manual install since the installer is borked on Wine.\r\nWARNING: This is the V2 version of the script, only compatible with lutris 5.20 and above (at the time of writing)\r\nThis is because an update modified the lutris -b command's behavior, breaking the V1 version\r\nCompatible with Native and Flatpak installations.\r\nGame will be installed to $GAMEDIR/drive_c/Games/GITADORA\r\nThe desktop entry should not be overwritten without perfectly knowing what you are doing.\r\nThe archive GITADORA.zip contains the files usually installed by the installer and were extracted using msiexectract.\r\nRight now, the zip download is a placeholder and must thus be manually selected during the installation by the actual files.\r\n\r\nCredits\r\nhttps://rentry.org/bombergirlutris\r\nKonatse linux\r\nKonamate\r\nBombergirl ENG and the user Reyznn who make the lutris bulid for bombergirl i who me i make a lutris bulid of GITADORA\r\ndiscord.gg/bombergirl",
  "name": "GITADORA",
  "year": 2020,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "gitadora-2",
  "installer_slug": "gitadora-2",
  "script": {
    "files": [
      {
        "bgfiles": {
          "filename": "GITADORA.zip",
          "url": "https://placeholder.com/GITADORA.zip"
        }
      }
    ],
    "game": {
      "exe": "drive_c/Games/GITADORA/launcher/modules/launcher.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "vcrun2010 cjkfonts",
          "description": "Installing Visual C++ runtime 2010 and cjkfonts",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "key": "InstallDir",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\SOFTWARE\\KONAMI\\GITADORA",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "C:\\\\Games\\\\GITADORA\\\\"
        }
      },
      {
        "task": {
          "key": "ResourceDir",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\SOFTWARE\\KONAMI\\GITADORA",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "C:\\\\Games\\\\GITADORA\\\\Resource\\\\"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Games/GITADORA",
          "file": "bgfiles",
          "format": "zip"
        }
      },
      {
        "execute": {
          "command": "mkdir -p $GAMEDIR/drive_c/Games/GITADORA/Resource"
        }
      },
      {
        "input_menu": {
          "description": "Is Lutris running through a native install or Flatpak? ",
          "id": "RUNNER",
          "options": [
            {
              "lutris": "Native"
            },
            {
              "flatpak run net.lutris.Lutris": "Flatpak"
            }
          ],
          "preselect": "native"
        }
      },
      {
        "execute": {
          "command": "mkdir -p ~/.local/share/applications && echo -e \"[Desktop Entry]\\nType=Application\\nName=GITADORA Launcher\\nExec=/bin/sh -c '$INPUT_RUNNER -b GITADORA && mv ~/GITADORA.sh $GAMEDIR/GITADORA.sh && echo \\\" \\\\\\\\\\\\\\$@\\\" >> $GAMEDIR/GITADORA.sh && $GAMEDIR/GITADORA.sh %u'\\nMimeType=x-scheme-handler/konaste.gitadora\\nNoDisplay=true\" >> ~/.local/share/applications/GITADORA.desktop && update-desktop-database ~/.local/share/applications"
        }
      }
    ],
    "system": {
      "env": {
        "LANG": "ja_JP.UTF-8"
      }
    }
  }
}
Back to game