Installer trackmania-united-forever-retail-dvd

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:
- update: http://files2.trackmaniaforever.com/TmUnitedForever_Update_2010-03-15_Setup.exe
game:
  arch: win32
  exe: drive_c/Program Files/TmUnitedForever/TmForeverLauncher.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: TmUnitedForeverSetup.exe
- task:
    description: Creating Wine prefix
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    key: winemenubuilder.exe
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
    prefix: $GAMEDIR
    type: REG_SZ
    value: ''
- task:
    args: /silent
    description: Installing...
    executable: $DISC/TmUnitedForeverSetup.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    args: /silent
    description: Updating...
    executable: update
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: sandbox
    description: Disabling unused WINE features
    name: winetricks
    prefix: $GAMEDIR
    silent: true
{
  "files": [
    {
      "update": "http://files2.trackmaniaforever.com/TmUnitedForever_Update_2010-03-15_Setup.exe"
    }
  ],
  "game": {
    "arch": "win32",
    "exe": "drive_c/Program Files/TmUnitedForever/TmForeverLauncher.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "insert-disc": {
        "requires": "TmUnitedForeverSetup.exe"
      }
    },
    {
      "task": {
        "description": "Creating Wine prefix",
        "install_mono": false,
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "key": "winemenubuilder.exe",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": ""
      }
    },
    {
      "task": {
        "args": "/silent",
        "description": "Installing...",
        "executable": "$DISC/TmUnitedForeverSetup.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "args": "/silent",
        "description": "Updating...",
        "executable": "update",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "sandbox",
        "description": "Disabling unused WINE features",
        "name": "winetricks",
        "prefix": "$GAMEDIR",
        "silent": true
      }
    }
  ]
}
Back to game