Installing NFSU2 on Linux

24年 11月 6日 Wednesday
251 words
2 minutes

installing dependency

due to the wine-wow64 is still in the experimental stage at the time, we not use it, so we'll need to enable multilib.

the following packages are required for my current configuration, you may adjust for yours:

bash
paru -S wine wine-mono winetricks lib32-pipewire lib32-libpulse lib32-mesa lib32-vulkan-radeon

optional, if you've dual monitor setup:

bash
pacman -S lib32-libxinerama lib32-libxrandr

change default wine prefix to 32-bit mode:

text
rm -rf ~/.wine
WINEARCH=win32 winecfg

needed to solve rendering problem:

bash
winetricks dinput8 dxvk d3dx9

known limitation on DWM

  1. can't move the wine window into other connected monitor.
  2. problem on dual monitor setup, the cursor is somehow stuck when running nfsu2 and not visible on top of winecfg's window.
  3. switching from one tag to another cause the glitch on the nfsu2 window.

point 2 and 3 can be solved by enable Emulate a virtual desktop option on winecfg, thanks to reddit comment:

Did you try the "Emulate a virtual desktop" option? Wine is generally pretty bad on dwm for many reasons, but mostly because it tries to be a window manager on its own.

screenshot of discussion on IRC: chat on #wine

You might have no problem using a desktop environment or using automation scripts like lutris provides, but my philosophy is to be minimalist, so maybe I'll find a solution somehow to fix this and update the content of this article.

uninstall

remove the previously installed pacman package, and remove the default wine prefix (~/.wine) directory, and other wine prefix if any

reference

Title:Installing NFSU2 on Linux

Author:ReYuki

Link:https://www.reyuki.site/posts/installing-nfsu2-on-linux [copy]

Last updated:


This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. You are free to share and adapt it, as long as you give appropriate credit, don’t use it for commercial purposes, and distribute your contributions under the same license. Provided under license CC BY-NC-SA 4.0