Installer need-for-speed-world-wine-1016-staging-am

files:
- unix-release: https://github.com/SoapboxRaceWorld/GameLauncher_NFSW/releases/download/2.2.4/Unix.Release_2.2.4.zip
- vc_redist_x86: https://aka.ms/vs/17/release/vc_redist.x86.exe
- vc_redist_x64: https://aka.ms/vs/17/release/vc_redist.x64.exe
game:
  exe: $GAMEDIR/drive_c/SBRW/GameLauncher.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/SBRW/
installer:
- task:
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    description: Extracting
    dst: $GAMEDIR/drive_c/SBRW/
    file: unix-release
    format: zip
- task:
    args: /silent /norestart
    description: Installing VC++ x86 redistributable
    executable: $CACHE/vc_redist_x86/vc_redist.x86.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    args: /silent /norestart
    description: Installing VC++ x64 redistributable
    executable: $CACHE/vc_redist_x64/vc_redist.x64.exe
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: mkdir $GAMEDIR/drive_c/etc && cat /etc/machine-id > $GAMEDIR/drive_c/etc/machine-id
wine:
  overrides:
    dinput8: n,b
  version: wine-10.16-staging-amd64-wow64-x86_64
description: 2.2.4
game_slug: need-for-speed-world
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-world-wine-1016-staging-am
name: 'Need for Speed: World'
notes: "\u3010READ FIRST\u3011\r\nSteam Deck users you must download \"dxvk\" from\
  \ discovery and then run \"sudo flatpak update\" in Konsole.\r\nFor maximum compatibility,\
  \ follow the two steps below.\r\n\r\n\u3010Welcome Screen\u3011\r\nCDN / Download\
  \ Source: [US] DavidCarbon Mirror - Alternative\r\nEnable Alternative WebCalls:\
  \ ENABLE\r\n\r\n\u3010Launcher\u3011\r\nInstall base game & login. The game will\
  \ crash.\r\nVerify the game files twice:\r\n\r\n1st Verification = 25 corrupt sound\
  \ files fixed.\r\nReopen launcher.\r\n2nd Verification = 3 corrupt files fixed.\r\
  \n\r\nThat is all! You may need to sometimes verify game files, especially after\
  \ updates, because some files will corrupt. \r\n\r\n\u3010Steam Deck Analog\u3011\
  \r\nCAUTION:\r\nAnalog is only properly available in desktop mode with this program.\r\
  \nThis program will eat your desktop controls if you do not fully close it. Have\
  \ a keyboard and mouse ready. \r\nSome servers do not support Steam Deck analog\
  \ controls. This is a (hopefully) temporary workaround.\r\n\r\nDownload the App\
  \ Image:\r\nhttps://github.com/kozec/sc-controller/releases/tag/v0.4.10-pre\r\n\r\
  \nAbsolutely ensure you go to Menu -> Settings -> Advanced -> Enable Automatically\
  \ Disable Emulation When Closing GUI\r\n\r\nPreconfigured Steam Deck controls are\
  \ in the Discord server. \r\nInvite link: http://discord.gg/Sv3zT9A\r\nYou can find\
  \ it here: https://discord.com/channels/618558323440222220/1393733527232708649/1425946764430545036\r\
  \n\r\nDownload NFSW_SteamDeck_1.sccprofile.tar.gz and unpack into ~/.config/scc/profiles.\
  \ Then select the profile in SC Controller.\r\nOtherwise you can just use the default\
  \ Xbox Controller for basic control."
runner: wine
script:
  files:
  - unix-release: https://github.com/SoapboxRaceWorld/GameLauncher_NFSW/releases/download/2.2.4/Unix.Release_2.2.4.zip
  - vc_redist_x86: https://aka.ms/vs/17/release/vc_redist.x86.exe
  - vc_redist_x64: https://aka.ms/vs/17/release/vc_redist.x64.exe
  game:
    exe: $GAMEDIR/drive_c/SBRW/GameLauncher.exe
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/SBRW/
  installer:
  - task:
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      description: Extracting
      dst: $GAMEDIR/drive_c/SBRW/
      file: unix-release
      format: zip
  - task:
      args: /silent /norestart
      description: Installing VC++ x86 redistributable
      executable: $CACHE/vc_redist_x86/vc_redist.x86.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      args: /silent /norestart
      description: Installing VC++ x64 redistributable
      executable: $CACHE/vc_redist_x64/vc_redist.x64.exe
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: mkdir $GAMEDIR/drive_c/etc && cat /etc/machine-id > $GAMEDIR/drive_c/etc/machine-id
  wine:
    overrides:
      dinput8: n,b
    version: wine-10.16-staging-amd64-wow64-x86_64
slug: need-for-speed-world-wine-1016-staging-am
steamid: null
version: wine-10.16-staging-amd64-wow64
year: 2010
{
  "game_slug": "need-for-speed-world",
  "version": "wine-10.16-staging-amd64-wow64",
  "description": "2.2.4",
  "notes": "\u3010READ FIRST\u3011\r\nSteam Deck users you must download \"dxvk\" from discovery and then run \"sudo flatpak update\" in Konsole.\r\nFor maximum compatibility, follow the two steps below.\r\n\r\n\u3010Welcome Screen\u3011\r\nCDN / Download Source: [US] DavidCarbon Mirror - Alternative\r\nEnable Alternative WebCalls: ENABLE\r\n\r\n\u3010Launcher\u3011\r\nInstall base game & login. The game will crash.\r\nVerify the game files twice:\r\n\r\n1st Verification = 25 corrupt sound files fixed.\r\nReopen launcher.\r\n2nd Verification = 3 corrupt files fixed.\r\n\r\nThat is all! You may need to sometimes verify game files, especially after updates, because some files will corrupt. \r\n\r\n\u3010Steam Deck Analog\u3011\r\nCAUTION:\r\nAnalog is only properly available in desktop mode with this program.\r\nThis program will eat your desktop controls if you do not fully close it. Have a keyboard and mouse ready. \r\nSome servers do not support Steam Deck analog controls. This is a (hopefully) temporary workaround.\r\n\r\nDownload the App Image:\r\nhttps://github.com/kozec/sc-controller/releases/tag/v0.4.10-pre\r\n\r\nAbsolutely ensure you go to Menu -> Settings -> Advanced -> Enable Automatically Disable Emulation When Closing GUI\r\n\r\nPreconfigured Steam Deck controls are in the Discord server. \r\nInvite link: http://discord.gg/Sv3zT9A\r\nYou can find it here: https://discord.com/channels/618558323440222220/1393733527232708649/1425946764430545036\r\n\r\nDownload NFSW_SteamDeck_1.sccprofile.tar.gz and unpack into ~/.config/scc/profiles. Then select the profile in SC Controller.\r\nOtherwise you can just use the default Xbox Controller for basic control.",
  "name": "Need for Speed: World",
  "year": 2010,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-world-wine-1016-staging-am",
  "installer_slug": "need-for-speed-world-wine-1016-staging-am",
  "script": {
    "files": [
      {
        "unix-release": "https://github.com/SoapboxRaceWorld/GameLauncher_NFSW/releases/download/2.2.4/Unix.Release_2.2.4.zip"
      },
      {
        "vc_redist_x86": "https://aka.ms/vs/17/release/vc_redist.x86.exe"
      },
      {
        "vc_redist_x64": "https://aka.ms/vs/17/release/vc_redist.x64.exe"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/SBRW/GameLauncher.exe",
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/SBRW/"
    },
    "installer": [
      {
        "task": {
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "description": "Extracting",
          "dst": "$GAMEDIR/drive_c/SBRW/",
          "file": "unix-release",
          "format": "zip"
        }
      },
      {
        "task": {
          "args": "/silent /norestart",
          "description": "Installing VC++ x86 redistributable",
          "executable": "$CACHE/vc_redist_x86/vc_redist.x86.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/silent /norestart",
          "description": "Installing VC++ x64 redistributable",
          "executable": "$CACHE/vc_redist_x64/vc_redist.x64.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "mkdir $GAMEDIR/drive_c/etc && cat /etc/machine-id > $GAMEDIR/drive_c/etc/machine-id"
        }
      }
    ],
    "wine": {
      "overrides": {
        "dinput8": "n,b"
      },
      "version": "wine-10.16-staging-amd64-wow64-x86_64"
    }
  }
}
Back to game