Installer trackmania-nations-eswc-180-sf-patch

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:
- game: https://archive.org/download/tm-nations-eswc-setup/TmNationsESWC_Setup.exe
- update179: https://archive.org/download/tm-nations-eswc-setup/tmnationseswc_175_to_179_setup.exe
- update180: https://archive.org/download/tm-nations-eswc-setup/tmnationseswc_179_to_180_setup.exe
- patch: https://archive.org/download/tm-nations-eswc-setup/Win10Patch.tar.gz
game:
  arch: win32
  exe: drive_c/Program Files/TrackMania Nations ESWC/TmNationsESWCLauncher.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: nt40
    description: Setting wine compatibiliy to XP
    name: winetricks
- task:
    key: winemenubuilder.exe
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
    prefix: $GAMEDIR
    type: REG_SZ
    value: ''
- task:
    description: Installing Game
    executable: game
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Installing Update 1.7.9
    executable: update179
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Installing Update 1.8.0
    executable: update180
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: find . -type f -exec chmod 644 {} \;
    description: Making install folder RW
    working_dir: $GAMEDIR/drive_c/Program Files/TrackMania Nations ESWC/GameData
- extract:
    description: Applying StarForce patch
    dst: $GAMEDIR/drive_c/Program Files/TrackMania Nations ESWC
    file: patch
- task:
    app: sandbox
    description: Disabling unused WINE features
    name: winetricks
    prefix: $GAMEDIR
    silent: true
wine:
  dxvk: false
{
  "files": [
    {
      "game": "https://archive.org/download/tm-nations-eswc-setup/TmNationsESWC_Setup.exe"
    },
    {
      "update179": "https://archive.org/download/tm-nations-eswc-setup/tmnationseswc_175_to_179_setup.exe"
    },
    {
      "update180": "https://archive.org/download/tm-nations-eswc-setup/tmnationseswc_179_to_180_setup.exe"
    },
    {
      "patch": "https://archive.org/download/tm-nations-eswc-setup/Win10Patch.tar.gz"
    }
  ],
  "game": {
    "arch": "win32",
    "exe": "drive_c/Program Files/TrackMania Nations ESWC/TmNationsESWCLauncher.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "description": "Creating Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "nt40",
        "description": "Setting wine compatibiliy to XP",
        "name": "winetricks"
      }
    },
    {
      "task": {
        "key": "winemenubuilder.exe",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": ""
      }
    },
    {
      "task": {
        "description": "Installing Game",
        "executable": "game",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "description": "Installing Update 1.7.9",
        "executable": "update179",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "description": "Installing Update 1.8.0",
        "executable": "update180",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "find . -type f -exec chmod 644 {} \\;",
        "description": "Making install folder RW",
        "working_dir": "$GAMEDIR/drive_c/Program Files/TrackMania Nations ESWC/GameData"
      }
    },
    {
      "extract": {
        "description": "Applying StarForce patch",
        "dst": "$GAMEDIR/drive_c/Program Files/TrackMania Nations ESWC",
        "file": "patch"
      }
    },
    {
      "task": {
        "app": "sandbox",
        "description": "Disabling unused WINE features",
        "name": "winetricks",
        "prefix": "$GAMEDIR",
        "silent": true
      }
    }
  ],
  "wine": {
    "dxvk": false
  }
}
Back to game