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\n\r\nPrerequisites\r\nThe game launches extremely slowly. This\
  \ is a known bug affecting all operating systems. Periodically the game files break\
  \ and need verification, this is related to this bug. Specifically a fault with\
  \ the modloader.asi.\r\n\r\nLinux PC\r\nMore than 4GB RAM.\r\nSATA SSD or better.\r\
  \nCPU: At least Intel Core 2 Duo Q9550.\r\nGPU: Needs to have complete Vulkan support\
  \ to open properly.\r\n\r\nLaunch: ~50 seconds on NVME. Up to ~7 minutes on SATA\
  \ SSD.\r\n\r\nSteam Deck\r\nDownload dxvk from discovery and then run sudo flatpak\
  \ update in Konsole.\r\nLaunch: ~1 minute 25 seconds (Steam Deck 256GB).\r\n\r\n\
  Installation\r\nRefrain from launching the game until step 9. Do not launch it until\
  \ then. \r\n\r\nStep 1: Use Lutris and install from this guide.\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/runers/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. \r\
  \n\r\nSome servers like WUGG may say: Unable to load ModLoader.asi. Error: 998 or\
  \ some other errors. Simply restart the launcher. If it continues, check if you\
  \ accidentally missed X86 or X64 Microsoft Visual C++ installation. Also check if\
  \ you verified game files in settings. That, or this guide is now outdated. \r\n\
  \r\nSteam Deck Controls:\r\n\r\nSteam Deck users due to the program used for analog\
  \ controls, the recommended way to play is in Desktop mode. This program replaces\
  \ desktop controls until it is fully closed, meaning you can lose mouse click. Recommended\
  \ to have mouse and keyboard ready for initial setup.\r\n\r\nStep 1: Download the\
  \ .AppImage\r\nhttps://github.com/kozec/sc-controller/releases/tag/v0.4.10-pre\r\
  \n(Direct link: https://github.com/kozec/sc-controller/releases/download/v0.4.10-pre/sc-controller-0.4.8+5b42308-x86_64.AppImage)\r\
  \n\r\nStep 2: Right click the .AppImage -> Properties -> Permissions -> Allow executing\
  \ file as program. Open the program.\r\n\r\nStep 3: Absolutely ensure you go to\
  \ Menu -> Settings -> Advanced -> Enable Automatically Disable Emulation When Closing\
  \ GUI\r\n\r\nStep 4: Open the .AppImage -> Select the Xbox 360 Controller. This\
  \ covers analog acceleration, braking and steering. You might need to manually configure\
  \ every control.\r\n\r\nSteam Deck Preconfigured Binds:\r\n\r\nDownload NFSW_SteamDeck_1.sccprofile.tar.gz\
  \ and unpack into ~/.config/scc/profiles. Then select the profile in SC Controller.\
  \ \r\nNFSW_SteamDeck_1.sccprofile.tar.gz control scheme is found here: \r\nInvite\
  \ link: http://discord.gg/Sv3zT9A\r\nChannel: https://discord.com/channels/618558323440222220/1393733527232708649/1425946764430545036"
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\n\r\nPrerequisites\r\nThe game launches extremely slowly. This is a known bug affecting all operating systems. Periodically the game files break and need verification, this is related to this bug. Specifically a fault with the modloader.asi.\r\n\r\nLinux PC\r\nMore than 4GB RAM.\r\nSATA SSD or better.\r\nCPU: At least Intel Core 2 Duo Q9550.\r\nGPU: Needs to have complete Vulkan support to open properly.\r\n\r\nLaunch: ~50 seconds on NVME. Up to ~7 minutes on SATA SSD.\r\n\r\nSteam Deck\r\nDownload dxvk from discovery and then run sudo flatpak update in Konsole.\r\nLaunch: ~1 minute 25 seconds (Steam Deck 256GB).\r\n\r\nInstallation\r\nRefrain from launching the game until step 9. Do not launch it until then. \r\n\r\nStep 1: Use Lutris and install from this guide.\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/runers/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. \r\n\r\nSome servers like WUGG may say: Unable to load ModLoader.asi. Error: 998 or some other errors. Simply restart the launcher. If it continues, check if you accidentally missed X86 or X64 Microsoft Visual C++ installation. Also check if you verified game files in settings. That, or this guide is now outdated. \r\n\r\nSteam Deck Controls:\r\n\r\nSteam Deck users due to the program used for analog controls, the recommended way to play is in Desktop mode. This program replaces desktop controls until it is fully closed, meaning you can lose mouse click. Recommended to have mouse and keyboard ready for initial setup.\r\n\r\nStep 1: Download the .AppImage\r\nhttps://github.com/kozec/sc-controller/releases/tag/v0.4.10-pre\r\n(Direct link: https://github.com/kozec/sc-controller/releases/download/v0.4.10-pre/sc-controller-0.4.8+5b42308-x86_64.AppImage)\r\n\r\nStep 2: Right click the .AppImage -> Properties -> Permissions -> Allow executing file as program. Open the program.\r\n\r\nStep 3: Absolutely ensure you go to Menu -> Settings -> Advanced -> Enable Automatically Disable Emulation When Closing GUI\r\n\r\nStep 4: Open the .AppImage -> Select the Xbox 360 Controller. This covers analog acceleration, braking and steering. You might need to manually configure every control.\r\n\r\nSteam Deck Preconfigured Binds:\r\n\r\nDownload NFSW_SteamDeck_1.sccprofile.tar.gz and unpack into ~/.config/scc/profiles. Then select the profile in SC Controller. \r\nNFSW_SteamDeck_1.sccprofile.tar.gz control scheme is found here: \r\nInvite link: http://discord.gg/Sv3zT9A\r\nChannel: https://discord.com/channels/618558323440222220/1393733527232708649/1425946764430545036",
  "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