Installer hot-wheels-velocity-x-retail-cd

files:
- patch: https://codeberg.org/Natanox/lutris-installers/raw/commit/f72fb85292e58ca7e5ea1f7f5706ee5259b5c28e/Hot%20Wheels%20Velocity%20X/files/patch.zip
game:
  exe: $GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X/Hot Wheels.exe
  prefix: $GAMEDIR
  requires: gamescope
installer:
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: Hot Wheels(tm) Velocity X.msi
- task:
    description: 'Installing Base Game. Do not change directory during setup!

      Installation of DirectX not required.'
    executable: $DISC/setup.exe
    name: wineexec
- execute:
    command: cd "$GAMEDIR/drive_c/Program Files (x86)"; chmod -R +w "THQ";
- copy:
    description: Copy additional files from disc
    dst: $GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X/FMV_
    src: $DISC/FMV_
- move:
    description: "Patching game\u2026"
    dst: $GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X/Hot Wheels.exe.backup
    src: $GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X/Hot Wheels.exe
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X
    file: patch
- task:
    description: "Configuring game settings appropriately\u2026"
    key: Disable Movies
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
    type: REG_SZ
    value: '1'
- task:
    key: Draw Distance
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
    type: REG_SZ
    value: '1'
- task:
    key: AA Quality
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
    type: REG_SZ
    value: '1'
- task:
    key: Filter Quality
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
    type: REG_SZ
    value: '5'
- task:
    key: Geometry Quality
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
    type: REG_SZ
    value: '1'
- task:
    key: Particle Quality
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
    type: REG_SZ
    value: '1'
- task:
    key: Screen Bitdepth
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
    type: REG_SZ
    value: '32'
- task:
    key: Screen Resolution
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
    type: REG_SZ
    value: 1600x1200
- task:
    key: Surface Particles
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
    type: REG_SZ
    value: '1'
system:
  gamescope: true
  gamescope_game_res: 1600x1200
  gamescope_window_mode: -f
description: ''
game_slug: hot-wheels-velocity-x
gogslug: ''
humblestoreid: ''
installer_slug: hot-wheels-velocity-x-retail-cd
name: 'Hot Wheels: Velocity X'
notes: "- Backups files and applies CD Preservation Patch\r\n- Ingame FMVs currently\
  \ disabled due to rendering issues\r\n- Gamescope required!\r\n- The game often\
  \ doesn't properly close itself. Use Lutris to force-close when you're finished\
  \ playing"
runner: wine
script:
  files:
  - patch: https://codeberg.org/Natanox/lutris-installers/raw/commit/f72fb85292e58ca7e5ea1f7f5706ee5259b5c28e/Hot%20Wheels%20Velocity%20X/files/patch.zip
  game:
    exe: $GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X/Hot Wheels.exe
    prefix: $GAMEDIR
    requires: gamescope
  installer:
  - task:
      arch: win64
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: Hot Wheels(tm) Velocity X.msi
  - task:
      description: 'Installing Base Game. Do not change directory during setup!

        Installation of DirectX not required.'
      executable: $DISC/setup.exe
      name: wineexec
  - execute:
      command: cd "$GAMEDIR/drive_c/Program Files (x86)"; chmod -R +w "THQ";
  - copy:
      description: Copy additional files from disc
      dst: $GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X/FMV_
      src: $DISC/FMV_
  - move:
      description: "Patching game\u2026"
      dst: $GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X/Hot Wheels.exe.backup
      src: $GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X/Hot Wheels.exe
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X
      file: patch
  - task:
      description: "Configuring game settings appropriately\u2026"
      key: Disable Movies
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
      type: REG_SZ
      value: '1'
  - task:
      key: Draw Distance
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
      type: REG_SZ
      value: '1'
  - task:
      key: AA Quality
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
      type: REG_SZ
      value: '1'
  - task:
      key: Filter Quality
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
      type: REG_SZ
      value: '5'
  - task:
      key: Geometry Quality
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
      type: REG_SZ
      value: '1'
  - task:
      key: Particle Quality
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
      type: REG_SZ
      value: '1'
  - task:
      key: Screen Bitdepth
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
      type: REG_SZ
      value: '32'
  - task:
      key: Screen Resolution
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
      type: REG_SZ
      value: 1600x1200
  - task:
      key: Surface Particles
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\THQ\HotWheels\VelocityX\
      type: REG_SZ
      value: '1'
  system:
    gamescope: true
    gamescope_game_res: 1600x1200
    gamescope_window_mode: -f
slug: hot-wheels-velocity-x-retail-cd
steamid: null
version: Retail CD
year: 2002
{
  "game_slug": "hot-wheels-velocity-x",
  "version": "Retail CD",
  "description": "",
  "notes": "- Backups files and applies CD Preservation Patch\r\n- Ingame FMVs currently disabled due to rendering issues\r\n- Gamescope required!\r\n- The game often doesn't properly close itself. Use Lutris to force-close when you're finished playing",
  "name": "Hot Wheels: Velocity X",
  "year": 2002,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "hot-wheels-velocity-x-retail-cd",
  "installer_slug": "hot-wheels-velocity-x-retail-cd",
  "script": {
    "files": [
      {
        "patch": "https://codeberg.org/Natanox/lutris-installers/raw/commit/f72fb85292e58ca7e5ea1f7f5706ee5259b5c28e/Hot%20Wheels%20Velocity%20X/files/patch.zip"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X/Hot Wheels.exe",
      "prefix": "$GAMEDIR",
      "requires": "gamescope"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "Hot Wheels(tm) Velocity X.msi"
        }
      },
      {
        "task": {
          "description": "Installing Base Game. Do not change directory during setup!\nInstallation of DirectX not required.",
          "executable": "$DISC/setup.exe",
          "name": "wineexec"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/Program Files (x86)\"; chmod -R +w \"THQ\";"
        }
      },
      {
        "copy": {
          "description": "Copy additional files from disc",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X/FMV_",
          "src": "$DISC/FMV_"
        }
      },
      {
        "move": {
          "description": "Patching game\u2026",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X/Hot Wheels.exe.backup",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X/Hot Wheels.exe"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/THQ/Hot Wheels Velocity X",
          "file": "patch"
        }
      },
      {
        "task": {
          "description": "Configuring game settings appropriately\u2026",
          "key": "Disable Movies",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\THQ\\HotWheels\\VelocityX\\",
          "type": "REG_SZ",
          "value": "1"
        }
      },
      {
        "task": {
          "key": "Draw Distance",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\THQ\\HotWheels\\VelocityX\\",
          "type": "REG_SZ",
          "value": "1"
        }
      },
      {
        "task": {
          "key": "AA Quality",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\THQ\\HotWheels\\VelocityX\\",
          "type": "REG_SZ",
          "value": "1"
        }
      },
      {
        "task": {
          "key": "Filter Quality",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\THQ\\HotWheels\\VelocityX\\",
          "type": "REG_SZ",
          "value": "5"
        }
      },
      {
        "task": {
          "key": "Geometry Quality",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\THQ\\HotWheels\\VelocityX\\",
          "type": "REG_SZ",
          "value": "1"
        }
      },
      {
        "task": {
          "key": "Particle Quality",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\THQ\\HotWheels\\VelocityX\\",
          "type": "REG_SZ",
          "value": "1"
        }
      },
      {
        "task": {
          "key": "Screen Bitdepth",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\THQ\\HotWheels\\VelocityX\\",
          "type": "REG_SZ",
          "value": "32"
        }
      },
      {
        "task": {
          "key": "Screen Resolution",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\THQ\\HotWheels\\VelocityX\\",
          "type": "REG_SZ",
          "value": "1600x1200"
        }
      },
      {
        "task": {
          "key": "Surface Particles",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\THQ\\HotWheels\\VelocityX\\",
          "type": "REG_SZ",
          "value": "1"
        }
      }
    ],
    "system": {
      "gamescope": true,
      "gamescope_game_res": "1600x1200",
      "gamescope_window_mode": "-f"
    }
  }
}
Back to game