Installer trackmania-nations-forever-retail-nodrm

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: http://files.trackmaniaforever.com/tmnationsforever_setup.exe
game:
  arch: win32
  exe: drive_c/Program Files/TmNationsForever/TmForeverLauncher.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating Wine prefix
    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: game
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: sandbox
    description: Disabling unused WINE features
    name: winetricks
    prefix: $GAMEDIR
    silent: true
{
  "installer": [
    {
      "task": {
        "description": "Creating Wine prefix",
        "prefix": "$GAMEDIR",
        "name": "create_prefix"
      }
    },
    {
      "task": {
        "type": "REG_SZ",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
        "prefix": "$GAMEDIR",
        "key": "winemenubuilder.exe",
        "value": "",
        "name": "set_regedit"
      }
    },
    {
      "task": {
        "executable": "game",
        "description": "Installing...",
        "prefix": "$GAMEDIR",
        "name": "wineexec",
        "args": "/silent"
      }
    },
    {
      "task": {
        "silent": true,
        "description": "Disabling unused WINE features",
        "prefix": "$GAMEDIR",
        "name": "winetricks",
        "app": "sandbox"
      }
    }
  ],
  "files": [
    {
      "game": "http://files.trackmaniaforever.com/tmnationsforever_setup.exe"
    }
  ],
  "game": {
    "exe": "drive_c/Program Files/TmNationsForever/TmForeverLauncher.exe",
    "prefix": "$GAMEDIR",
    "arch": "win32"
  }
}
Back to game