Installer 3-d-ultra-radio-control-racer-cd

files:
- music: https://archive.org/download/rc-racers-music/RC-Racers-Music.zip
- dxwnd: https://sourceforge.net/projects/dxwnd/files/latest/download
game:
  exe: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/RCRacers.exe
  launch_configs:
  - args: -window
    exe: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/RCRacers.exe
    name: Windowed
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: RCRacersDeluxe
- task:
    exclude_processes: notepad.exe rcracers.exe
    executable: $DISC/autorun.exe
    name: wineexec
- task:
    description: Killing the game if directly started from installer...
    name: winekill
    prefix: $GAMEDIR
- execute:
    command: printf "\xEB" | dd of="$GAMEDIR/drive_c/Sierra/RCRacersDeluxe/RCRacers.exe"
      seek=7035B conv=notrunc
    description: Patching executable for NoCD...
- extract:
    description: Installing music...
    dst: $CACHE/dxwnd
    file: dxwnd
- merge:
    dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/
    src: $CACHE/dxwnd/dxwplay.dll
- merge:
    dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/
    src: $CACHE/dxwnd/libogg.dll
- merge:
    dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/
    src: $CACHE/dxwnd/libvorbis.dll
- merge:
    dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/
    src: $CACHE/dxwnd/libvorbisfile.dll
- merge:
    dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/
    src: $CACHE/dxwnd/vcda/winmm.dll
- merge:
    dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/
    src: $CACHE/dxwnd/vcda/winmm.ini
- extract:
    dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/Music
    file: music
wine:
  overrides:
    winmm.dll: n,b
description: Automatically patches the game executable for NoCD.
game_slug: 3-d-ultra-radio-control-racers
gogslug: ''
humblestoreid: ''
installer_slug: 3-d-ultra-radio-control-racer-cd
name: 3-D Ultra Radio Control Racers
notes: "* Make sure to select full installation during setup to be able to play without\
  \ CD.\r\n* Use GE-Proton if your menu is wonky.\r\n* If you have black rectangles\
  \ or overlapping windows in races, you can use the windowed launch option. This\
  \ will launch races in a window (albeit a very small one). Note that if you open\
  \ the graphics menu in-game, it reverts to fullscreen races (even if you don't change\
  \ any settings in that menu).\r\n\r\nNote:\r\nThis automatically installs DxWnd\
  \ for CD-DA emulation so we have music without the CD."
runner: wine
script:
  files:
  - music: https://archive.org/download/rc-racers-music/RC-Racers-Music.zip
  - dxwnd: https://sourceforge.net/projects/dxwnd/files/latest/download
  game:
    exe: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/RCRacers.exe
    launch_configs:
    - args: -window
      exe: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/RCRacers.exe
      name: Windowed
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      requires: RCRacersDeluxe
  - task:
      exclude_processes: notepad.exe rcracers.exe
      executable: $DISC/autorun.exe
      name: wineexec
  - task:
      description: Killing the game if directly started from installer...
      name: winekill
      prefix: $GAMEDIR
  - execute:
      command: printf "\xEB" | dd of="$GAMEDIR/drive_c/Sierra/RCRacersDeluxe/RCRacers.exe"
        seek=7035B conv=notrunc
      description: Patching executable for NoCD...
  - extract:
      description: Installing music...
      dst: $CACHE/dxwnd
      file: dxwnd
  - merge:
      dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/
      src: $CACHE/dxwnd/dxwplay.dll
  - merge:
      dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/
      src: $CACHE/dxwnd/libogg.dll
  - merge:
      dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/
      src: $CACHE/dxwnd/libvorbis.dll
  - merge:
      dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/
      src: $CACHE/dxwnd/libvorbisfile.dll
  - merge:
      dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/
      src: $CACHE/dxwnd/vcda/winmm.dll
  - merge:
      dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/
      src: $CACHE/dxwnd/vcda/winmm.ini
  - extract:
      dst: $GAMEDIR/drive_c/Sierra/RCRacersDeluxe/Music
      file: music
  wine:
    overrides:
      winmm.dll: n,b
slug: 3-d-ultra-radio-control-racer-cd
steamid: null
version: CD
year: 1999
{
  "game_slug": "3-d-ultra-radio-control-racers",
  "version": "CD",
  "description": "Automatically patches the game executable for NoCD.",
  "notes": "* Make sure to select full installation during setup to be able to play without CD.\r\n* Use GE-Proton if your menu is wonky.\r\n* If you have black rectangles or overlapping windows in races, you can use the windowed launch option. This will launch races in a window (albeit a very small one). Note that if you open the graphics menu in-game, it reverts to fullscreen races (even if you don't change any settings in that menu).\r\n\r\nNote:\r\nThis automatically installs DxWnd for CD-DA emulation so we have music without the CD.",
  "name": "3-D Ultra Radio Control Racers",
  "year": 1999,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "3-d-ultra-radio-control-racer-cd",
  "installer_slug": "3-d-ultra-radio-control-racer-cd",
  "script": {
    "files": [
      {
        "music": "https://archive.org/download/rc-racers-music/RC-Racers-Music.zip"
      },
      {
        "dxwnd": "https://sourceforge.net/projects/dxwnd/files/latest/download"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/Sierra/RCRacersDeluxe/RCRacers.exe",
      "launch_configs": [
        {
          "args": "-window",
          "exe": "$GAMEDIR/drive_c/Sierra/RCRacersDeluxe/RCRacers.exe",
          "name": "Windowed"
        }
      ],
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "RCRacersDeluxe"
        }
      },
      {
        "task": {
          "exclude_processes": "notepad.exe rcracers.exe",
          "executable": "$DISC/autorun.exe",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "description": "Killing the game if directly started from installer...",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "printf \"\\xEB\" | dd of=\"$GAMEDIR/drive_c/Sierra/RCRacersDeluxe/RCRacers.exe\" seek=7035B conv=notrunc",
          "description": "Patching executable for NoCD..."
        }
      },
      {
        "extract": {
          "description": "Installing music...",
          "dst": "$CACHE/dxwnd",
          "file": "dxwnd"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Sierra/RCRacersDeluxe/",
          "src": "$CACHE/dxwnd/dxwplay.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Sierra/RCRacersDeluxe/",
          "src": "$CACHE/dxwnd/libogg.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Sierra/RCRacersDeluxe/",
          "src": "$CACHE/dxwnd/libvorbis.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Sierra/RCRacersDeluxe/",
          "src": "$CACHE/dxwnd/libvorbisfile.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Sierra/RCRacersDeluxe/",
          "src": "$CACHE/dxwnd/vcda/winmm.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Sierra/RCRacersDeluxe/",
          "src": "$CACHE/dxwnd/vcda/winmm.ini"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Sierra/RCRacersDeluxe/Music",
          "file": "music"
        }
      }
    ],
    "wine": {
      "overrides": {
        "winmm.dll": "n,b"
      }
    }
  }
}
Back to game