Installer moto-racer-gog-dgvoodoo2

files:
- gogsetup: N/A:Please select the GOG installer
- wrapper: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip
game:
  args: -$INPUT_LANG -fullscreen -d3d -DoRealLock -OpaqueBlackLevel3 -TextureSquareOnly
    -CorrectRatioTextures -NoDither -TextureVideoMem268435456
  exe: drive_c/GOG Games/Moto Racer/game.EXE
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /SUPPRESSMSGBOXES /SILENT
    description: Installing...
    executable: gogsetup
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Moto Racer
    file: wrapper
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/Moto Racer
    src: $GAMEDIR/drive_c/GOG Games/Moto Racer/MS/x86/DDraw.dll
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/Moto Racer
    src: $GAMEDIR/drive_c/GOG Games/Moto Racer/MS/x86/D3DImm.dll
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Moto Racer/dgVoodoobak.conf
    src: $GAMEDIR/drive_c/GOG Games/Moto Racer/dgVoodoo.conf
- write_config:
    data:
      DirectX:
        VRAM: 256
        VideoCard: ati_radeon_8500
        dgVoodooWatermark: false
      GeneralExt:
        DesktopBitDepth: 16
    file: $GAMEDIR/drive_c/GOG Games/Moto Racer/dgVoodoo.conf
- input_menu:
    description: 'Choose the game''s language:'
    id: LANG
    options:
    - us: English
    - fr: "Fran\xE7ais"
    - it: Italian
    - sw: Sweden
    - sp: Spanish
    - gr: German
    preselect: us
- task:
    app: directplay
    name: winetricks
    silent: true
system:
  env:
    DXVK_FRAME_RATE: 60
    DXVK_HUD: null
  gamescope: true
  gamescope_fps_limiter: '60'
  gamescope_game_res: $RESOLUTION
  gamescope_output_res: $RESOLUTION
wine:
  overrides:
    ddraw: n,b
    winmm: n,b
description: Play "Moto Racer 1" provided by GOG on Linux!
game_slug: moto-racer
gogslug: the_moto_racer_collection
humblestoreid: ''
installer_slug: moto-racer-gog-dgvoodoo2
name: Moto Racer
notes: "- Using dgVoodoo2 for modern graphic hardware compatibility and bypass 16\
  \ bits color depth limitation\r\n- During install, you could choose your preferred\
  \ language for menus between English (default), French, Italian, Sweden, Spanish\
  \ and German\r\n- Multiplayer functional on LAN with Directplay TCP/IP. During my\
  \ tests only MR1 CD install with 3.22 patch can be host. GOG version can only join\r\
  \n- This game does not support very well \"Alt+Tab\". Workaround: use Gamescope\r\
  \n- x360 gamepad natively supported"
runner: wine
script:
  files:
  - gogsetup: N/A:Please select the GOG installer
  - wrapper: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip
  game:
    args: -$INPUT_LANG -fullscreen -d3d -DoRealLock -OpaqueBlackLevel3 -TextureSquareOnly
      -CorrectRatioTextures -NoDither -TextureVideoMem268435456
    exe: drive_c/GOG Games/Moto Racer/game.EXE
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      args: /SUPPRESSMSGBOXES /SILENT
      description: Installing...
      executable: gogsetup
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Moto Racer
      file: wrapper
  - copy:
      dst: $GAMEDIR/drive_c/GOG Games/Moto Racer
      src: $GAMEDIR/drive_c/GOG Games/Moto Racer/MS/x86/DDraw.dll
  - copy:
      dst: $GAMEDIR/drive_c/GOG Games/Moto Racer
      src: $GAMEDIR/drive_c/GOG Games/Moto Racer/MS/x86/D3DImm.dll
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Moto Racer/dgVoodoobak.conf
      src: $GAMEDIR/drive_c/GOG Games/Moto Racer/dgVoodoo.conf
  - write_config:
      data:
        DirectX:
          VRAM: 256
          VideoCard: ati_radeon_8500
          dgVoodooWatermark: false
        GeneralExt:
          DesktopBitDepth: 16
      file: $GAMEDIR/drive_c/GOG Games/Moto Racer/dgVoodoo.conf
  - input_menu:
      description: 'Choose the game''s language:'
      id: LANG
      options:
      - us: English
      - fr: "Fran\xE7ais"
      - it: Italian
      - sw: Sweden
      - sp: Spanish
      - gr: German
      preselect: us
  - task:
      app: directplay
      name: winetricks
      silent: true
  system:
    env:
      DXVK_FRAME_RATE: 60
      DXVK_HUD: null
    gamescope: true
    gamescope_fps_limiter: '60'
    gamescope_game_res: $RESOLUTION
    gamescope_output_res: $RESOLUTION
  wine:
    overrides:
      ddraw: n,b
      winmm: n,b
slug: moto-racer-gog-dgvoodoo2
steamid: null
version: GOG + dgVoodoo2
year: 1997
{
  "game_slug": "moto-racer",
  "version": "GOG + dgVoodoo2",
  "description": "Play \"Moto Racer 1\" provided by GOG on Linux!",
  "notes": "- Using dgVoodoo2 for modern graphic hardware compatibility and bypass 16 bits color depth limitation\r\n- During install, you could choose your preferred language for menus between English (default), French, Italian, Sweden, Spanish and German\r\n- Multiplayer functional on LAN with Directplay TCP/IP. During my tests only MR1 CD install with 3.22 patch can be host. GOG version can only join\r\n- This game does not support very well \"Alt+Tab\". Workaround: use Gamescope\r\n- x360 gamepad natively supported",
  "name": "Moto Racer",
  "year": 1997,
  "steamid": null,
  "gogslug": "the_moto_racer_collection",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "moto-racer-gog-dgvoodoo2",
  "installer_slug": "moto-racer-gog-dgvoodoo2",
  "script": {
    "files": [
      {
        "gogsetup": "N/A:Please select the GOG installer"
      },
      {
        "wrapper": "https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip"
      }
    ],
    "game": {
      "args": "-$INPUT_LANG -fullscreen -d3d -DoRealLock -OpaqueBlackLevel3 -TextureSquareOnly -CorrectRatioTextures -NoDither -TextureVideoMem268435456",
      "exe": "drive_c/GOG Games/Moto Racer/game.EXE",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/SUPPRESSMSGBOXES /SILENT",
          "description": "Installing...",
          "executable": "gogsetup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Moto Racer",
          "file": "wrapper"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Moto Racer",
          "src": "$GAMEDIR/drive_c/GOG Games/Moto Racer/MS/x86/DDraw.dll"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Moto Racer",
          "src": "$GAMEDIR/drive_c/GOG Games/Moto Racer/MS/x86/D3DImm.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Moto Racer/dgVoodoobak.conf",
          "src": "$GAMEDIR/drive_c/GOG Games/Moto Racer/dgVoodoo.conf"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "VRAM": 256,
              "VideoCard": "ati_radeon_8500",
              "dgVoodooWatermark": false
            },
            "GeneralExt": {
              "DesktopBitDepth": 16
            }
          },
          "file": "$GAMEDIR/drive_c/GOG Games/Moto Racer/dgVoodoo.conf"
        }
      },
      {
        "input_menu": {
          "description": "Choose the game's language:",
          "id": "LANG",
          "options": [
            {
              "us": "English"
            },
            {
              "fr": "Fran\u00e7ais"
            },
            {
              "it": "Italian"
            },
            {
              "sw": "Sweden"
            },
            {
              "sp": "Spanish"
            },
            {
              "gr": "German"
            }
          ],
          "preselect": "us"
        }
      },
      {
        "task": {
          "app": "directplay",
          "name": "winetricks",
          "silent": true
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": 60,
        "DXVK_HUD": null
      },
      "gamescope": true,
      "gamescope_fps_limiter": "60",
      "gamescope_game_res": "$RESOLUTION",
      "gamescope_output_res": "$RESOLUTION"
    },
    "wine": {
      "overrides": {
        "ddraw": "n,b",
        "winmm": "n,b"
      }
    }
  }
}
Back to game