extends: need-for-speed-high-stakes
files:
- xidi: https://github.com/samuelgr/Xidi/releases/download/v5.0.0/Xidi-v5.0.0.zip
- xidi_conf: https://raw.githubusercontent.com/samuelgr/XidiGameConfigurations/refs/heads/master/GameConfigurations/Need%20for%20Speed%20-%20High%20Stakes/Xidi.ini
install_complete_text: 'Please add the DLL override manually as Lutris does not support
this in addon installers yet
1. Right-click the game -> Configure -> Runner options
2. Under DLL overrides, click Add
3. Key "dinput" [Enter], Value "n,b" [Enter]'
installer:
- extract:
dst: $CACHE/xidi
file: xidi
- move:
dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed High
Stakes/dinput.dll.bak
src: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed High
Stakes/dinput.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed High
Stakes
src: $CACHE/xidi/Win32
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed High
Stakes
src: xidi_conf
wine:
overrides:
dinput: n,b
description: Install Xidi for Modern Controller support
game_slug: need-for-speed-high-stakes
gogslug: ''
humblestoreid: ''
installer_slug: need-for-speed-high-stakes-xidi-addon
name: 'Need for Speed: High Stakes'
notes: "Known issues:\r\n- Does not work with all Controllers. Specifically Controllers\
\ that are not natively using XInput, such as the DualShock 4. Should work with\
\ most Controllers marketed as PC or Xbox however.\r\n- As of August 2026, does\
\ not work on the Steam Deck and makes the game unplayable when starting a race.\
\ Cause unknown.\r\n- Once installed, Keyboard input is unavailable in races. This\
\ is a limitation of the game when a Controller is detected and Xidi always presents\
\ a Controller to the game to enable hot-plug functionality for games that don't\
\ natively support it.\r\n\r\nIf your Controller is not working or you just want\
\ to revert to Keyboard input:\r\n1. Right-click the game -> Browse files -> drive_c/Program\
\ Files (x86)/Electronic Arts/Need For Speed High Stakes\r\n2. Delete dinput.dll,\
\ dinput8.dll, winmm.dll, Xidi.32.dll, Xidi.HookModule.32.dll, and Xidi.ini\r\n\
3. Rename dinput.dll.bak to dinput.dll\r\n4. Remove the DLL override: Right-click\
\ the game -> Configure -> Runner options -> DLL overrides -> Select and Delete"
runner: wine
script:
extends: need-for-speed-high-stakes
files:
- xidi: https://github.com/samuelgr/Xidi/releases/download/v5.0.0/Xidi-v5.0.0.zip
- xidi_conf: https://raw.githubusercontent.com/samuelgr/XidiGameConfigurations/refs/heads/master/GameConfigurations/Need%20for%20Speed%20-%20High%20Stakes/Xidi.ini
install_complete_text: 'Please add the DLL override manually as Lutris does not
support this in addon installers yet
1. Right-click the game -> Configure -> Runner options
2. Under DLL overrides, click Add
3. Key "dinput" [Enter], Value "n,b" [Enter]'
installer:
- extract:
dst: $CACHE/xidi
file: xidi
- move:
dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed High
Stakes/dinput.dll.bak
src: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed High
Stakes/dinput.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed High
Stakes
src: $CACHE/xidi/Win32
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed High
Stakes
src: xidi_conf
wine:
overrides:
dinput: n,b
slug: need-for-speed-high-stakes-xidi-addon
steamid: null
version: Xidi addon
year: 1999
{
"game_slug": "need-for-speed-high-stakes",
"version": "Xidi addon",
"description": "Install Xidi for Modern Controller support",
"notes": "Known issues:\r\n- Does not work with all Controllers. Specifically Controllers that are not natively using XInput, such as the DualShock 4. Should work with most Controllers marketed as PC or Xbox however.\r\n- As of August 2026, does not work on the Steam Deck and makes the game unplayable when starting a race. Cause unknown.\r\n- Once installed, Keyboard input is unavailable in races. This is a limitation of the game when a Controller is detected and Xidi always presents a Controller to the game to enable hot-plug functionality for games that don't natively support it.\r\n\r\nIf your Controller is not working or you just want to revert to Keyboard input:\r\n1. Right-click the game -> Browse files -> drive_c/Program Files (x86)/Electronic Arts/Need For Speed High Stakes\r\n2. Delete dinput.dll, dinput8.dll, winmm.dll, Xidi.32.dll, Xidi.HookModule.32.dll, and Xidi.ini\r\n3. Rename dinput.dll.bak to dinput.dll\r\n4. Remove the DLL override: Right-click the game -> Configure -> Runner options -> DLL overrides -> Select and Delete",
"name": "Need for Speed: High Stakes",
"year": 1999,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "need-for-speed-high-stakes-xidi-addon",
"installer_slug": "need-for-speed-high-stakes-xidi-addon",
"script": {
"extends": "need-for-speed-high-stakes",
"files": [
{
"xidi": "https://github.com/samuelgr/Xidi/releases/download/v5.0.0/Xidi-v5.0.0.zip"
},
{
"xidi_conf": "https://raw.githubusercontent.com/samuelgr/XidiGameConfigurations/refs/heads/master/GameConfigurations/Need%20for%20Speed%20-%20High%20Stakes/Xidi.ini"
}
],
"install_complete_text": "Please add the DLL override manually as Lutris does not support this in addon installers yet\n\n1. Right-click the game -> Configure -> Runner options\n2. Under DLL overrides, click Add\n3. Key \"dinput\" [Enter], Value \"n,b\" [Enter]",
"installer": [
{
"extract": {
"dst": "$CACHE/xidi",
"file": "xidi"
}
},
{
"move": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed High Stakes/dinput.dll.bak",
"src": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed High Stakes/dinput.dll"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed High Stakes",
"src": "$CACHE/xidi/Win32"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts/Need For Speed High Stakes",
"src": "xidi_conf"
}
}
],
"wine": {
"overrides": {
"dinput": "n,b"
}
}
}
}