Installer need-for-speed-world-224

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
description: "2.2.4 \u3010READ DESCRIPTION ON WEBSITE\u3011"
game_slug: need-for-speed-world
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-world-224
name: 'Need for Speed: World'
notes: "\u3010READ FIRST\u3011\r\nSteam Deck users: download \"dxvk\" from discovery\
  \ and then run \"sudo flatpak update\" in Konsole.\r\nFlatpak Lutris is recommended.\r\
  \n\r\n\u3010Lutris\u3011\r\nDownload this installer. Do not launch it yet.\r\nExtract\
  \ https://github.com/Kron4ek/Wine-Builds/releases/download/10.16/wine-10.16-staging-amd64-wow64.tar.xz\
  \ into:\r\n\r\nLutris Flatpak: ~/.var/app/net.lutris.Lutris/data/lutris/runners/wine/\r\
  \nLutris Native: ~/.local/share/lutris/runners/wine/\r\n\r\nin Lutris: Right click\
  \ Need for Speed: World -> Configure -> Runner options -> Wine Version =  wine-10.16-staging-amd64-wow64-x86_64\r\
  \n\r\n\u3010Launcher\u3011\r\nInstall base game & login. The game will crash.\r\n\
  Verify the game files twice.\r\n\r\n\u3010Steam Deck Analog for Unsupported Servers\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\n\r\nDownload the App Image:\r\nhttps://github.com/kozec/sc-controller/releases/tag/v0.4.10-pre\r\
  \n\r\nIn sc-controller: Menu -> Settings -> Advanced -> Enable Automatically Disable\
  \ Emulation When Closing GUI.\r\n\r\nYou can just use the default Xbox Controller\
  \ for movement controls. Otherwise a preconfigured Steam Deck control is in the\
  \ Discord server.\r\nChannel:  https://discord.com/channels/618558323440222220/1393733527232708649/1425946764430545036\r\
  \nInvite link: http://discord.gg/Sv3zT9A\r\n\r\nFrom Discord, download NFSW_SteamDeck_1.sccprofile.tar.gz\
  \ and unpack into ~/.config/scc/profiles. Then select the profile in sc-controller."
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
slug: need-for-speed-world-224
steamid: null
version: 2.2.4
year: 2010
{
  "game_slug": "need-for-speed-world",
  "version": "2.2.4",
  "description": "2.2.4 \u3010READ DESCRIPTION ON WEBSITE\u3011",
  "notes": "\u3010READ FIRST\u3011\r\nSteam Deck users: download \"dxvk\" from discovery and then run \"sudo flatpak update\" in Konsole.\r\nFlatpak Lutris is recommended.\r\n\r\n\u3010Lutris\u3011\r\nDownload this installer. Do not launch it yet.\r\nExtract https://github.com/Kron4ek/Wine-Builds/releases/download/10.16/wine-10.16-staging-amd64-wow64.tar.xz into:\r\n\r\nLutris Flatpak: ~/.var/app/net.lutris.Lutris/data/lutris/runners/wine/\r\nLutris Native: ~/.local/share/lutris/runners/wine/\r\n\r\nin Lutris: Right click Need for Speed: World -> Configure -> Runner options -> Wine Version =  wine-10.16-staging-amd64-wow64-x86_64\r\n\r\n\u3010Launcher\u3011\r\nInstall base game & login. The game will crash.\r\nVerify the game files twice.\r\n\r\n\u3010Steam Deck Analog for Unsupported Servers\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\n\r\nDownload the App Image:\r\nhttps://github.com/kozec/sc-controller/releases/tag/v0.4.10-pre\r\n\r\nIn sc-controller: Menu -> Settings -> Advanced -> Enable Automatically Disable Emulation When Closing GUI.\r\n\r\nYou can just use the default Xbox Controller for movement controls. Otherwise a preconfigured Steam Deck control is in the Discord server.\r\nChannel:  https://discord.com/channels/618558323440222220/1393733527232708649/1425946764430545036\r\nInvite link: http://discord.gg/Sv3zT9A\r\n\r\nFrom Discord, download NFSW_SteamDeck_1.sccprofile.tar.gz and unpack into ~/.config/scc/profiles. Then select the profile in sc-controller.",
  "name": "Need for Speed: World",
  "year": 2010,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "need-for-speed-world-224",
  "installer_slug": "need-for-speed-world-224",
  "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"
      }
    }
  }
}
Back to game