Installer star-wars-episode-i-racer-cd

files:
- wrapper_video: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip
- wrapper_audio: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Episode%201%20Racer/dsound.dll
- wrapper_ipx: https://github.com/solemnwarning/ipxwrapper/releases/download/ipxwrapper-0.7.0/ipxwrapper-0.7.0.zip
- update: https://www.dropbox.com/scl/fi/cjcslo1zsmtx2ytujdmgb/SWEP1RCR_patch.zip?rlkey=s7xmdewqputjtfo8r13hkyb7l&st=2etl92a9&dl=1
- conf_files: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Episode%201%20Racer/swep1r_conf.zip
- mod: https://github.com/JayFoxRox/swe1r-patcher/releases/download/v1.0/swe1r-patcher-v1_0.zip
game:
  exe: drive_c/Program Files/LucasArts/RACER/SWEP1RCR.EXE
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- execute:
    command: unset LD_LIBRARY_PATH; cd "$GAMEDIR/drive_c/Program Files (x86)"; mkdir
      -p "LucasArts/RACER";  cd "$GAMEDIR/drive_c/Program Files"; ln -s "../Program
      Files (x86)/LucasArts" "LucasArts";
- insert-disc:
    requires: racer.exe
- task:
    description: Running setup of the game. Just proceed and keep all settings at
      their defaults. Do not launch the game at the end of the install.
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER/DATA/anims
    src: $DISC/gnome/data/anims
- extract:
    dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER/DATA/config/current
    file: conf_files
- extract:
    dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
    file: update
- extract:
    dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
    file: wrapper_video
- copy:
    dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
    src: $GAMEDIR/drive_c/Program Files/LucasArts/RACER//MS/x86/DDraw.dll
- copy:
    dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
    src: $GAMEDIR/drive_c/Program Files/LucasArts/RACER/MS/x86/D3DImm.dll
- move:
    dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER/dgVoodoo_original.conf
    src: $GAMEDIR/drive_c/Program Files/LucasArts/RACER/dgVoodoo.conf
- write_config:
    data:
      DirectX:
        dgVoodooWatermark: false
      GeneralExt:
        DesktopBitDepth: 32
    file: $GAMEDIR/drive_c/Program Files/LucasArts/RACER/dgVoodoo.conf
- copy:
    dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
    src: wrapper_audio
- extract:
    dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
    file: wrapper_ipx
- task:
    app: directplay
    name: winetricks
    silent: true
- extract:
    dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
    file: mod
- task:
    key: Analyze Path
    name: set_regedit
    path: 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\LucasArts Entertainment Company
      LLC\Star Wars: Episode I Racer\v1.0'
    type: REG_SZ
    value: .\\SysCheck.exe
- task:
    key: CD Path
    name: set_regedit
    path: 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\LucasArts Entertainment Company
      LLC\Star Wars: Episode I Racer\v1.0'
    type: REG_SZ
    value: .
- task:
    key: Source Dir
    name: set_regedit
    path: 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\LucasArts Entertainment Company
      LLC\Star Wars: Episode I Racer\v1.0'
    type: REG_SZ
    value: C:\\Program Files\\LucasArts\\RACER
- task:
    key: Source Path
    name: set_regedit
    path: 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\LucasArts Entertainment Company
      LLC\Star Wars: Episode I Racer\v1.0'
    type: REG_SZ
    value: C:\\Program Files\\LucasArts\\RACER
system:
  env:
    DXVK_FRAME_RATE: 60
    DXVK_HUD: null
  gamescope: true
  gamescope_force_grab_cursor: true
  gamescope_fps_limiter: '60'
  gamescope_game_res: 640x480
  gamescope_output_res: $RESOLUTION
wine:
  overrides:
    ddraw: n,b
    dinput: n,b
    dsound: n,b
    wsock32: n,b
description: 'Play "Star Wars Episode I: Racer" CD edition on Linux!'
game_slug: star-wars-episode-i-racer
gogslug: star_wars_episode_i_racer
humblestoreid: ''
installer_slug: star-wars-episode-i-racer-cd
name: 'Star Wars Episode I: Racer'
notes: "- You will need CD only one time during install\r\n- Using swe1r-patcher mod\
  \ for higher resolution fonts, allow upgraded podracers in multiplayer, disable\
  \ player collisions in multiplayer...\r\n- Game configuration set to maximum video\
  \ settings and controller mapping\r\n- Multiplayer fully functional on local LAN\
  \ using Directplay and IPXWrapper"
runner: wine
script:
  files:
  - wrapper_video: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip
  - wrapper_audio: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Episode%201%20Racer/dsound.dll
  - wrapper_ipx: https://github.com/solemnwarning/ipxwrapper/releases/download/ipxwrapper-0.7.0/ipxwrapper-0.7.0.zip
  - update: https://www.dropbox.com/scl/fi/cjcslo1zsmtx2ytujdmgb/SWEP1RCR_patch.zip?rlkey=s7xmdewqputjtfo8r13hkyb7l&st=2etl92a9&dl=1
  - conf_files: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Episode%201%20Racer/swep1r_conf.zip
  - mod: https://github.com/JayFoxRox/swe1r-patcher/releases/download/v1.0/swe1r-patcher-v1_0.zip
  game:
    exe: drive_c/Program Files/LucasArts/RACER/SWEP1RCR.EXE
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - execute:
      command: unset LD_LIBRARY_PATH; cd "$GAMEDIR/drive_c/Program Files (x86)"; mkdir
        -p "LucasArts/RACER";  cd "$GAMEDIR/drive_c/Program Files"; ln -s "../Program
        Files (x86)/LucasArts" "LucasArts";
  - insert-disc:
      requires: racer.exe
  - task:
      description: Running setup of the game. Just proceed and keep all settings at
        their defaults. Do not launch the game at the end of the install.
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - merge:
      dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER/DATA/anims
      src: $DISC/gnome/data/anims
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER/DATA/config/current
      file: conf_files
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
      file: update
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
      file: wrapper_video
  - copy:
      dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
      src: $GAMEDIR/drive_c/Program Files/LucasArts/RACER//MS/x86/DDraw.dll
  - copy:
      dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
      src: $GAMEDIR/drive_c/Program Files/LucasArts/RACER/MS/x86/D3DImm.dll
  - move:
      dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER/dgVoodoo_original.conf
      src: $GAMEDIR/drive_c/Program Files/LucasArts/RACER/dgVoodoo.conf
  - write_config:
      data:
        DirectX:
          dgVoodooWatermark: false
        GeneralExt:
          DesktopBitDepth: 32
      file: $GAMEDIR/drive_c/Program Files/LucasArts/RACER/dgVoodoo.conf
  - copy:
      dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
      src: wrapper_audio
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
      file: wrapper_ipx
  - task:
      app: directplay
      name: winetricks
      silent: true
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/LucasArts/RACER
      file: mod
  - task:
      key: Analyze Path
      name: set_regedit
      path: 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\LucasArts Entertainment Company
        LLC\Star Wars: Episode I Racer\v1.0'
      type: REG_SZ
      value: .\\SysCheck.exe
  - task:
      key: CD Path
      name: set_regedit
      path: 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\LucasArts Entertainment Company
        LLC\Star Wars: Episode I Racer\v1.0'
      type: REG_SZ
      value: .
  - task:
      key: Source Dir
      name: set_regedit
      path: 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\LucasArts Entertainment Company
        LLC\Star Wars: Episode I Racer\v1.0'
      type: REG_SZ
      value: C:\\Program Files\\LucasArts\\RACER
  - task:
      key: Source Path
      name: set_regedit
      path: 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\LucasArts Entertainment Company
        LLC\Star Wars: Episode I Racer\v1.0'
      type: REG_SZ
      value: C:\\Program Files\\LucasArts\\RACER
  system:
    env:
      DXVK_FRAME_RATE: 60
      DXVK_HUD: null
    gamescope: true
    gamescope_force_grab_cursor: true
    gamescope_fps_limiter: '60'
    gamescope_game_res: 640x480
    gamescope_output_res: $RESOLUTION
  wine:
    overrides:
      ddraw: n,b
      dinput: n,b
      dsound: n,b
      wsock32: n,b
slug: star-wars-episode-i-racer-cd
steamid: 808910
version: CD
year: 1999
{
  "game_slug": "star-wars-episode-i-racer",
  "version": "CD",
  "description": "Play \"Star Wars Episode I: Racer\" CD edition on Linux!",
  "notes": "- You will need CD only one time during install\r\n- Using swe1r-patcher mod for higher resolution fonts, allow upgraded podracers in multiplayer, disable player collisions in multiplayer...\r\n- Game configuration set to maximum video settings and controller mapping\r\n- Multiplayer fully functional on local LAN using Directplay and IPXWrapper",
  "name": "Star Wars Episode I: Racer",
  "year": 1999,
  "steamid": 808910,
  "gogslug": "star_wars_episode_i_racer",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "star-wars-episode-i-racer-cd",
  "installer_slug": "star-wars-episode-i-racer-cd",
  "script": {
    "files": [
      {
        "wrapper_video": "https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip"
      },
      {
        "wrapper_audio": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Episode%201%20Racer/dsound.dll"
      },
      {
        "wrapper_ipx": "https://github.com/solemnwarning/ipxwrapper/releases/download/ipxwrapper-0.7.0/ipxwrapper-0.7.0.zip"
      },
      {
        "update": "https://www.dropbox.com/scl/fi/cjcslo1zsmtx2ytujdmgb/SWEP1RCR_patch.zip?rlkey=s7xmdewqputjtfo8r13hkyb7l&st=2etl92a9&dl=1"
      },
      {
        "conf_files": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Episode%201%20Racer/swep1r_conf.zip"
      },
      {
        "mod": "https://github.com/JayFoxRox/swe1r-patcher/releases/download/v1.0/swe1r-patcher-v1_0.zip"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files/LucasArts/RACER/SWEP1RCR.EXE",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "unset LD_LIBRARY_PATH; cd \"$GAMEDIR/drive_c/Program Files (x86)\"; mkdir -p \"LucasArts/RACER\";  cd \"$GAMEDIR/drive_c/Program Files\"; ln -s \"../Program Files (x86)/LucasArts\" \"LucasArts\";"
        }
      },
      {
        "insert-disc": {
          "requires": "racer.exe"
        }
      },
      {
        "task": {
          "description": "Running setup of the game. Just proceed and keep all settings at their defaults. Do not launch the game at the end of the install.",
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER/DATA/anims",
          "src": "$DISC/gnome/data/anims"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER/DATA/config/current",
          "file": "conf_files"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER",
          "file": "update"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER",
          "file": "wrapper_video"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER",
          "src": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER//MS/x86/DDraw.dll"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER",
          "src": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER/MS/x86/D3DImm.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER/dgVoodoo_original.conf",
          "src": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER/dgVoodoo.conf"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "dgVoodooWatermark": false
            },
            "GeneralExt": {
              "DesktopBitDepth": 32
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER/dgVoodoo.conf"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER",
          "src": "wrapper_audio"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER",
          "file": "wrapper_ipx"
        }
      },
      {
        "task": {
          "app": "directplay",
          "name": "winetricks",
          "silent": true
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/LucasArts/RACER",
          "file": "mod"
        }
      },
      {
        "task": {
          "key": "Analyze Path",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\LucasArts Entertainment Company LLC\\Star Wars: Episode I Racer\\v1.0",
          "type": "REG_SZ",
          "value": ".\\\\SysCheck.exe"
        }
      },
      {
        "task": {
          "key": "CD Path",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\LucasArts Entertainment Company LLC\\Star Wars: Episode I Racer\\v1.0",
          "type": "REG_SZ",
          "value": "."
        }
      },
      {
        "task": {
          "key": "Source Dir",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\LucasArts Entertainment Company LLC\\Star Wars: Episode I Racer\\v1.0",
          "type": "REG_SZ",
          "value": "C:\\\\Program Files\\\\LucasArts\\\\RACER"
        }
      },
      {
        "task": {
          "key": "Source Path",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\LucasArts Entertainment Company LLC\\Star Wars: Episode I Racer\\v1.0",
          "type": "REG_SZ",
          "value": "C:\\\\Program Files\\\\LucasArts\\\\RACER"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": 60,
        "DXVK_HUD": null
      },
      "gamescope": true,
      "gamescope_force_grab_cursor": true,
      "gamescope_fps_limiter": "60",
      "gamescope_game_res": "640x480",
      "gamescope_output_res": "$RESOLUTION"
    },
    "wine": {
      "overrides": {
        "ddraw": "n,b",
        "dinput": "n,b",
        "dsound": "n,b",
        "wsock32": "n,b"
      }
    }
  }
}
Back to game