Installer freeso-native

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:
- tso: https://ia801903.us.archive.org/tarview.php?tar=/33/items/Fileplanet_dd_042006/Fileplanet_dd_042006.tar&file=042006/TSO_Installer_v1.1239.1.0.zip
- macextras: https://freeso.org/stuff/macextras.zip
- tsopatcher: https://github.com/riperiperi/TSO-Version-Patcher/releases/download/v1.0/Release.zip
game:
  exe: $GAMEDIR/FreeSO/freeso.command
installer:
- execute:
    command: curl --cookie-jar $CACHE/cookies https://servo.freeso.org/?guest=1
- execute:
    command: curl --cookie $CACHE/cookies https://servo.freeso.org/repository/download/FreeSO_TsoClient/911:id/client-648.zip
      --create-dirs -o $GAMEDIR/tmp/client/client.zip
    terminal: true
- extract:
    dst: $GAMEDIR/FreeSO
    file: $GAMEDIR/tmp/client/client.zip
- extract:
    dst: $GAMEDIR/FreeSO
    file: $macextras
- extract:
    dst: $GAMEDIR/tmp/tso
    file: $tso
- execute:
    command: cabextract -d $GAMEDIR/FreeSO/game $GAMEDIR/tmp/tso/Data1.cab
- extract:
    dst: $GAMEDIR/tmp/tsopatcher
    file: $tsopatcher
- execute:
    command: mono $GAMEDIR/tmp/tsopatcher/TSOVersionPatcherF.exe $GAMEDIR/tmp/tsopatcher/1239toNI.tsop
      $GAMEDIR/FreeSO/game
- chmodx: $GAMEDIR/FreeSO/freeso.command
- chmodx: $GAMEDIR/FreeSO/freeso3d.command
- execute:
    command: rm -r $GAMEDIR/tmp
require-binaries: mono, cabextract, curl
{
  "game": {
    "exe": "$GAMEDIR/FreeSO/freeso.command"
  },
  "installer": [
    {
      "execute": {
        "command": "curl --cookie-jar $CACHE/cookies https://servo.freeso.org/?guest=1"
      }
    },
    {
      "execute": {
        "terminal": true,
        "command": "curl --cookie $CACHE/cookies https://servo.freeso.org/repository/download/FreeSO_TsoClient/911:id/client-648.zip --create-dirs -o $GAMEDIR/tmp/client/client.zip"
      }
    },
    {
      "extract": {
        "file": "$GAMEDIR/tmp/client/client.zip",
        "dst": "$GAMEDIR/FreeSO"
      }
    },
    {
      "extract": {
        "file": "$macextras",
        "dst": "$GAMEDIR/FreeSO"
      }
    },
    {
      "extract": {
        "file": "$tso",
        "dst": "$GAMEDIR/tmp/tso"
      }
    },
    {
      "execute": {
        "command": "cabextract -d $GAMEDIR/FreeSO/game $GAMEDIR/tmp/tso/Data1.cab"
      }
    },
    {
      "extract": {
        "file": "$tsopatcher",
        "dst": "$GAMEDIR/tmp/tsopatcher"
      }
    },
    {
      "execute": {
        "command": "mono $GAMEDIR/tmp/tsopatcher/TSOVersionPatcherF.exe $GAMEDIR/tmp/tsopatcher/1239toNI.tsop $GAMEDIR/FreeSO/game"
      }
    },
    {
      "chmodx": "$GAMEDIR/FreeSO/freeso.command"
    },
    {
      "chmodx": "$GAMEDIR/FreeSO/freeso3d.command"
    },
    {
      "execute": {
        "command": "rm -r $GAMEDIR/tmp"
      }
    }
  ],
  "files": [
    {
      "tso": "https://ia801903.us.archive.org/tarview.php?tar=/33/items/Fileplanet_dd_042006/Fileplanet_dd_042006.tar&file=042006/TSO_Installer_v1.1239.1.0.zip"
    },
    {
      "macextras": "https://freeso.org/stuff/macextras.zip"
    },
    {
      "tsopatcher": "https://github.com/riperiperi/TSO-Version-Patcher/releases/download/v1.0/Release.zip"
    }
  ],
  "require-binaries": "mono, cabextract, curl"
}
Back to game