Installer star-wars-republic-commando-gog

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.

files:
- installer: N/A:Select the game's setup file
- graphics-fix: N/A:Select the graphics fix zip file downloaded from https://www.moddb.com/mods/star-wars-republic-commando-graphics-fix/downloads/graphics-fix
game:
  arch: win32
  exe: drive_c/GOG Games/Star Wars - Republic Commando/GameData/System/SWRepublicCommando.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Star Wars - Republic Commando/
    file: graphics-fix
- execute:
    command: mv "$GAMEDIR/drive_c/GOG Games/Star Wars - Republic Commando/GameData/Movies/LECIntro.avi"
      "$GAMEDIR/drive_c/GOG Games/Star Wars - Republic Commando/GameData/Movies/LECIntro.avi.bak"
- execute:
    command: mv "$GAMEDIR/drive_c/GOG Games/Star Wars - Republic Commando/GameData/Movies/NVIDIAIntro.avi"
      "$GAMEDIR/drive_c/GOG Games/Star Wars - Republic Commando/GameData/Movies/NVIDIAIntro.avi.bak"
{
  "game": {
    "arch": "win32",
    "exe": "drive_c/GOG Games/Star Wars - Republic Commando/GameData/System/SWRepublicCommando.exe",
    "prefix": "$GAMEDIR"
  },
  "files": [
    {
      "installer": "N/A:Select the game's setup file"
    },
    {
      "graphics-fix": "N/A:Select the graphics fix zip file downloaded from https://www.moddb.com/mods/star-wars-republic-commando-graphics-fix/downloads/graphics-fix"
    }
  ],
  "installer": [
    {
      "task": {
        "arch": "win32",
        "name": "wineexec",
        "executable": "installer",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/GOG Games/Star Wars - Republic Commando/",
        "file": "graphics-fix"
      }
    },
    {
      "execute": {
        "command": "mv \"$GAMEDIR/drive_c/GOG Games/Star Wars - Republic Commando/GameData/Movies/LECIntro.avi\" \"$GAMEDIR/drive_c/GOG Games/Star Wars - Republic Commando/GameData/Movies/LECIntro.avi.bak\""
      }
    },
    {
      "execute": {
        "command": "mv \"$GAMEDIR/drive_c/GOG Games/Star Wars - Republic Commando/GameData/Movies/NVIDIAIntro.avi\" \"$GAMEDIR/drive_c/GOG Games/Star Wars - Republic Commando/GameData/Movies/NVIDIAIntro.avi.bak\""
      }
    }
  ]
}
Back to game