Installer star-wars-jedi-knight-jedi-ac-gog-openjk

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

custom-name: Star Wars - Jedi Academy - GOG - OpenJK
files:
- gogsetup: N/A:Please select the executable setup file available for download on
    your GOG account page.
- engine: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Jedi%20Academy/OpenJk.7z
- inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
- menu: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Jedi%20Academy/swacademy.sh
game:
  exe: $GAMEDIR/swacademy.sh
installer:
- extract:
    dst: $CACHE
    file: $inno
- execute:
    args: gogsetup -d $CACHE
    file: $CACHE/innoextract
- extract:
    dst: $GAMEDIR
    src: engine
- merge:
    dst: $GAMEDIR/base
    src: $CACHE/app/GameData/base
- chmodx: menu
- copy:
    dst: $GAMEDIR
    src: menu
- input_menu:
    description: 'Please choose your preferred game''s language for menu and subtitles:'
    id: LANG
    options:
    - English: English
    - French: French
    - German: German
    - Spanish: Spanish
    preselect: English
- execute:
    command: cd $GAMEDIR; sed -i "s/se_language.*/se_language $INPUT_LANG/" swacademy.sh;
{
  "custom-name": "Star Wars - Jedi Academy - GOG - OpenJK",
  "files": [
    {
      "gogsetup": "N/A:Please select the executable setup file available for download on your GOG account page."
    },
    {
      "engine": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Jedi%20Academy/OpenJk.7z"
    },
    {
      "inno": "https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz"
    },
    {
      "menu": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Jedi%20Academy/swacademy.sh"
    }
  ],
  "game": {
    "exe": "$GAMEDIR/swacademy.sh"
  },
  "installer": [
    {
      "extract": {
        "dst": "$CACHE",
        "file": "$inno"
      }
    },
    {
      "execute": {
        "args": "gogsetup -d $CACHE",
        "file": "$CACHE/innoextract"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR",
        "src": "engine"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/base",
        "src": "$CACHE/app/GameData/base"
      }
    },
    {
      "chmodx": "menu"
    },
    {
      "copy": {
        "dst": "$GAMEDIR",
        "src": "menu"
      }
    },
    {
      "input_menu": {
        "description": "Please choose your preferred game's language for menu and subtitles:",
        "id": "LANG",
        "options": [
          {
            "English": "English"
          },
          {
            "French": "French"
          },
          {
            "German": "German"
          },
          {
            "Spanish": "Spanish"
          }
        ],
        "preselect": "English"
      }
    },
    {
      "execute": {
        "command": "cd $GAMEDIR; sed -i \"s/se_language.*/se_language $INPUT_LANG/\" swacademy.sh;"
      }
    }
  ]
}
Back to game