Edit: An earlier version of this post said Lenny's Mod Loader Beta 11 freezes the game on controller input and that Beta 10 fixes it. That was wrong. After more testing, the loader version makes no difference. The freeze happens when the game runs in a window smaller than the screen, on either version. In fullscreen, both work. The post is rewritten below with that fix (step 4).
Got PlayStation button glyphs working in RDR2 under NotProton with a DualSense. Here's the recipe and the traps. The two that cost me the most time: the first launch looks frozen for about 11 minutes, and with the mod loader active the game freezes on controller input unless it fills the screen.
Credit
This builds on two posts written for CrossOver:
What's below is what differs under NotProton, where there's no bottle to configure.
Setup this was tested on
- M1 Pro 16-inch, macOS 27.2.1
- NotProton 1.2.9 (CrossOver 26.3 runner), Steam version of RDR2 (1.0.1491.50)
- DualSense over Bluetooth
1. Controller config
Steam Input: disabled for the game (Properties > Controller).
Launch options:
NOTPROTON_DISABLE_HIDRAW=1 NOTPROTON_RAW_CONTROLLERS=1 NOTPROTON_GAME_MODE=0 WINEMSYNC=1 D3DM_ENABLE_METALFX=1 %command%
With this the controller works, with Xbox glyphs. Enabling Steam Input, or setting DISABLE_HIDRAW=0, made the game lose the controller for me.
2. Files
- ScriptHookRDR2: copy
dinput8.dll and ScriptHookRDR2.dll into the game folder (next to RDR2.exe). Skip NativeTrainer.asi. - Lenny's Mod Loader, current Beta 11 (version 0.6.8470.31280). Copy everything from its
ModLoader folder into the game folder. Beta 10 (0.5.8262.28299) behaves the same. - The "PS Buttons Dualsense" mod: put its folder inside
lml, so you have lml/PS Buttons Dualsense/install.xml and lml/PS Buttons Dualsense/data/*.ytd. No need to also copy the files loose.
3. DLL override without a CrossOver bottle
NotProton has no bottle UI, so add the override to the prefix registry by hand. With the game and Rockstar launcher fully closed, open:
~/Library/Application Support/Steam/steamapps/compatdata/1174180/pfx/user.reg
Find the [Software\\Wine\\DllOverrides] section and add this line under it:
"dinput8"="native,builtin"
No override is needed for ScriptHookRDR2, and you don't need to install .NET.
4. Run fullscreen and lock the settings file
With the loader serving the mod, using the controller in story mode froze the game within seconds whenever the game was in a window smaller than the screen. Menus were fine, keyboard and trackpad were fine. Wine's log showed wine client error: read: Bad address, then threads stuck on the DirectInput/XInput controller lock. USB vs Bluetooth made no difference.
When the game filled the screen, it didn't freeze: 7 launches out of 7 across both loader versions, against 3 freezes out of 3 in a small window. Small sample, and I don't know why the window matters.
The catch is that the game sometimes resets itself to a small window. So, with the game closed, edit:
~/Library/Application Support/Steam/steamapps/compatdata/1174180/pfx/drive_c/users/crossover/Documents/Rockstar Games/Red Dead Redemption 2/Settings/system.xml
Set these (the resolution must be a mode your display offers; 2560 x 1600 works on the 16-inch):
<screenWidth value="2560" />
<screenHeight value="1600" />
<screenWidthWindowed value="2560" />
<screenHeightWindowed value="1600" />
<windowed value="0" />
Then make the file read-only so the game can't change it back:
chmod 444 system.xml
While it's read-only, graphics changes made in the game's menu won't save. To change one, chmod 644 the file, change the setting in game, quit, check the lines above are still right, and lock it again.
5. First launch: wait about 11 minutes
On first launch LML searches the game for code patterns, and that is very slow under Rosetta. RDR2.exe sits at ~100% CPU with no window, nothing is logged, and the Rockstar launcher shows "A game is currently running". Don't press Exit. The only sign of progress is lml/patterns.dat slowly growing. After 10 to 11 minutes the game window appears. The results are cached, so later launches are normal.
I spent two evenings thinking this was a hang, and tried .NET 4.8, AVX off and msync off before noticing the cache file was growing.
Other notes
- In
lml.ini I have DisableStreamFolder=true and DisableReplaceFolder=true. I set these while debugging and left them; the icon mod doesn't need those folders. I haven't tested whether they matter. - To confirm the mod loaded,
vfs.log in the game folder shows a "Replaced file" line for each of the two .ytd files. - To undo everything: delete the files you added and remove the override line. No original game files get replaced.
- The Nexus "Native DualSense Support" mod won't work here: it needs the ViGEmBus kernel driver, which Wine can't load.
If anyone knows why a windowed game plus the mod loader breaks controller input under Wine, I'd like to hear it. Disclosure: I used AI to write this post and find the solution.