Installer need-for-speed-world-wine-staging-1012-1

files:
- unix-release: https://github.com/SoapboxRaceWorld/GameLauncher_NFSW/releases/download/2.2.4/Unix.Release_2.2.4.zip
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
- execute:
    command: mkdir $GAMEDIR/drive_c/etc && cat /etc/machine-id > $GAMEDIR/drive_c/etc/machine-id
wine:
  overrides:
    dinput8: n,b
description: (Linux & Steam Deck) Linux Installation Guide
game_slug: need-for-speed-world
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-world-wine-staging-1012-1
name: 'Need for Speed: World'
notes: "THIS GUIDE REQUIRES YOU TO MANUALLY INSTALL.  HAVE THESE INSTRUCTIONS READY\
  \ TO BE FOLLOWED.\r\nWarning: You need more than 4GB RAM to launch NFSW (applies\
  \ to Windows too)\r\n\r\nSTEAM DECK: Please download dxvk from discovery. For Analog\
  \ controls (desktop mode only), use the .appimage: (https://github.com/kozec/sc-controller/releases/tag/v0.4.10-pre).\
  \ The Linux support channel in WUGG has a preconfigured control scheme for you to\
  \ download.\r\n\r\nRefrain from launching the game until step 9. Do not launch it\
  \ until then. \r\n\r\n\r\nStep 1: Use Lutris. Download the .yaml script.\r\n\r\n\
  Step 2: Download wine-staging-10.12-1-x86_64.pkg.tar.zst (https://archive.archlinux.org/packages/w/wine-staging/wine-staging-10.12-1-x86_64.pkg.tar.zst)\r\
  \n\r\nIf you have any problems, such as step 7 not working, look inside: (https://archive.archlinux.org/packages/w/wine-staging/)\
  \ and try using versions like 10.15-1 (https://archive.archlinux.org/packages/w/wine-staging/wine-staging-10.15-1-x86_64.pkg.tar.zst)\r\
  \n\r\nStep 3: Unpack wine-staging-10.12-1-x86_64.pkg.tar.zst anywhere. You will\
  \ be left with wine-staging-10.12-1-x86_64.pkg\r\n\r\nStep 4: Copy/Move wine-staging-10.12-1-x86_64.pkg\
  \ to the following folder:\r\nLutris Flatpak: /home/Your Username/.var/app/net.lutris.Lutris/data/lutris/runners/wine/\r\
  \nLutris installed through Terminal: /home/Your Username/.local/share/lutris\r\n\
  (If you don't see the folders, in file manager: press CTRL+H or right click -> show\
  \ hidden folders)\r\n\r\nStep 5: Enter wine-staging-10.12-1-x86_64.pkg/usr and copy\
  \ the following folders: bin, include, lib, share.\r\nCopy into wine-staging-10.9-1x86_64.pkg.\
  \ \r\nYour wine-staging-10.12-1-x86_64.pkg should look like this: bin, include,\
  \ lib, share, usr, .BUILDINFO, .INSTALL, .MTREE, .PKGINFO\r\n\r\nStep 6: In Lutris,\
  \ Right click Need for Speed: World -> Configure -> Runner options -> Wine Version\
  \ = wine-staging-10.12-1-x86_64.pkg and save.\r\n\r\nStep 7: Download X86 and X64\
  \ Microsoft Visual C++ Redistributable from (https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)\
  \ \r\nX86: (https://aka.ms/vs/17/release/vc_redist.x86.exe)\r\nX64: (https://aka.ms/vs/17/release/vc_redist.x64.exe)\r\
  \n\r\nStep 8: Click Need For Speed World. Do not launch it accidentally. \r\nClick\
  \ the Wine Glass icon (near Play button at the bottom) and click run the .EXE with\
  \ prefix.\r\nFind vc_redist.x64.exe & vc_redist.x86.exe one at a time, and install\
  \ both Microsoft Visual C++ Redistributables like Windows. You must install Wine\
  \ Mono if prompted. \r\n\r\nStep 9: Launch the game. If you havent installed yet,\
  \ a prompt for Wine Mono will appear. Install it.\r\n\r\nStep 10: Enable Alternative\
  \ Webcalls. \r\nCDN Selector Screen -> [US] DavidCarbon Mirror - Alternative\r\n\
  \r\nStep 11: Install vanilla game files and your chosen server's files like normally.\
  \ \r\n\r\nStep 12: Verify game files and restart launcher/game for certainty."
runner: wine
script:
  files:
  - unix-release: https://github.com/SoapboxRaceWorld/GameLauncher_NFSW/releases/download/2.2.4/Unix.Release_2.2.4.zip
  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
  - execute:
      command: mkdir $GAMEDIR/drive_c/etc && cat /etc/machine-id > $GAMEDIR/drive_c/etc/machine-id
  wine:
    overrides:
      dinput8: n,b
slug: need-for-speed-world-wine-staging-1012-1
steamid: null
version: wine-staging-10.12-1-x86_64
year: 2010
{
  "game_slug": "need-for-speed-world",
  "version": "wine-staging-10.12-1-x86_64",
  "description": "(Linux & Steam Deck) Linux Installation Guide",
  "notes": "THIS GUIDE REQUIRES YOU TO MANUALLY INSTALL.  HAVE THESE INSTRUCTIONS READY TO BE FOLLOWED.\r\nWarning: You need more than 4GB RAM to launch NFSW (applies to Windows too)\r\n\r\nSTEAM DECK: Please download dxvk from discovery. For Analog controls (desktop mode only), use the .appimage: (https://github.com/kozec/sc-controller/releases/tag/v0.4.10-pre). The Linux support channel in WUGG has a preconfigured control scheme for you to download.\r\n\r\nRefrain from launching the game until step 9. Do not launch it until then. \r\n\r\n\r\nStep 1: Use Lutris. Download the .yaml script.\r\n\r\nStep 2: Download wine-staging-10.12-1-x86_64.pkg.tar.zst (https://archive.archlinux.org/packages/w/wine-staging/wine-staging-10.12-1-x86_64.pkg.tar.zst)\r\n\r\nIf you have any problems, such as step 7 not working, look inside: (https://archive.archlinux.org/packages/w/wine-staging/) and try using versions like 10.15-1 (https://archive.archlinux.org/packages/w/wine-staging/wine-staging-10.15-1-x86_64.pkg.tar.zst)\r\n\r\nStep 3: Unpack wine-staging-10.12-1-x86_64.pkg.tar.zst anywhere. You will be left with wine-staging-10.12-1-x86_64.pkg\r\n\r\nStep 4: Copy/Move wine-staging-10.12-1-x86_64.pkg to the following folder:\r\nLutris Flatpak: /home/Your Username/.var/app/net.lutris.Lutris/data/lutris/runners/wine/\r\nLutris installed through Terminal: /home/Your Username/.local/share/lutris\r\n(If you don't see the folders, in file manager: press CTRL+H or right click -> show hidden folders)\r\n\r\nStep 5: Enter wine-staging-10.12-1-x86_64.pkg/usr and copy the following folders: bin, include, lib, share.\r\nCopy into wine-staging-10.9-1x86_64.pkg. \r\nYour wine-staging-10.12-1-x86_64.pkg should look like this: bin, include, lib, share, usr, .BUILDINFO, .INSTALL, .MTREE, .PKGINFO\r\n\r\nStep 6: In Lutris, Right click Need for Speed: World -> Configure -> Runner options -> Wine Version = wine-staging-10.12-1-x86_64.pkg and save.\r\n\r\nStep 7: Download X86 and X64 Microsoft Visual C++ Redistributable from (https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170) \r\nX86: (https://aka.ms/vs/17/release/vc_redist.x86.exe)\r\nX64: (https://aka.ms/vs/17/release/vc_redist.x64.exe)\r\n\r\nStep 8: Click Need For Speed World. Do not launch it accidentally. \r\nClick the Wine Glass icon (near Play button at the bottom) and click run the .EXE with prefix.\r\nFind vc_redist.x64.exe & vc_redist.x86.exe one at a time, and install both Microsoft Visual C++ Redistributables like Windows. You must install Wine Mono if prompted. \r\n\r\nStep 9: Launch the game. If you havent installed yet, a prompt for Wine Mono will appear. Install it.\r\n\r\nStep 10: Enable Alternative Webcalls. \r\nCDN Selector Screen -> [US] DavidCarbon Mirror - Alternative\r\n\r\nStep 11: Install vanilla game files and your chosen server's files like normally. \r\n\r\nStep 12: Verify game files and restart launcher/game for certainty.",
  "name": "Need for Speed: World",
  "year": 2010,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-world-wine-staging-1012-1",
  "installer_slug": "need-for-speed-world-wine-staging-1012-1",
  "script": {
    "files": [
      {
        "unix-release": "https://github.com/SoapboxRaceWorld/GameLauncher_NFSW/releases/download/2.2.4/Unix.Release_2.2.4.zip"
      }
    ],
    "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"
        }
      },
      {
        "execute": {
          "command": "mkdir $GAMEDIR/drive_c/etc && cat /etc/machine-id > $GAMEDIR/drive_c/etc/machine-id"
        }
      }
    ],
    "wine": {
      "overrides": {
        "dinput8": "n,b"
      }
    }
  }
}
Back to game