While you're here, please consider supporting GamingOnLinux on:
Reward Tiers:
Patreon. Plain Donations:
PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers:
![](/templates/default/images/network-icons/patreon.png)
![](/templates/default/images/network-icons/paypal.png)
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Square Enix invests in Playtron for their Linux-based PlaytronOS - first Alpha out now
- Black & White (2001) open source game engine sees a first release
- Linux smashes another market share record for August 2024 on Statcounter
- GE-Proton 9-12 released with fixes for Star Citizen, Bully: Scholarship and more
- Here's what was most popular on Steam Deck through August 2024
- > See more over 30 days here
-
Steam Beta adds new shortcut key to save a clip of rece…
- pazzoeo -
Linux smashes another market share record for August 20…
- Lib-Inst -
Retro racer Slipstream has a final update with new cont…
- pb -
Retro racer Slipstream has a final update with new cont…
- thoughtfulhippo -
The Elecrow CrowView Note is a real useful all-in-one p…
- NoiramSang - > See more comments
- Weekend Players' Club 9/6/2024
- StoneColdSpider - What is the best strategy for finding work as a programmer?…
- BrassGear - WINE Game Screenshot Thread
- DoctorJunglist - Nintendo-style gaming, without Nintendo!
- sourpuz - Tomb Raider (2013) Fails to Launch
- Celchu - See more posts
View PC info
Linux Distribution: Arch, but I know it happens in all distros.
Desktop Environment: Cinnamon (5.2.7, 5.4.0 and the latest)
Graphics Card: GTX 1660 Ti
GPU Driver Version: 525.89.02
Have you checked for system updates?: [Yes]
I answered the questions but I don't think they have anything to do with this particular problem: NFS U2 won't accept and remember the customized controls and even the default ones don't run properly. I can't drive a car on a racing game with WASD and "Space" for handbrake, so I've always liked to change these controls ever since the game was released by EA. The controls I like to use are the arrows, "Num 0" for handbrake, "Num 1" for look back, "Right Shift/Right Control" for shifting gears up and down and "Space" to reset car's position. And until a year or two ago these controls were possible thanks to a file named dimap.dll. But not anymore. A year or two ago that file stopped working. I've added it in the libraries list of Wine but it still doesn't work. Nowadays, even if you somehow manage to set custom controls, they will only half work during career and if you exit the game, they're being forgotten instantly (the game won't remember them the next time you run NFS U2).
I thought the file might have been corrupted somehow, so I downloaded it again but it still won't work. Compatibility menu in Wine doesn't matter at what Windows is set - the file still won't work.
So I need ideas on how to make the custom controls work again. The only idea I have left is to try and install Windows XP in a VM and play the game that way but I was hoping to use that as a last resort, if everything else fails.
- Have you set both dlls to native (with winecfg)?
- The batch script included with those dll's register diactfrm.dll with regsvr32, that might be necessary on wine too.
- You can make sure the native dll is loaded by lanching Wine with WINEDEBUG=+loaddll
- Play with a controller if that's possible. Even if the bindings can't be changed in game it's easy to remap with something like antimicrox.
- If you are of a programming mindset and build Wine yourself it's probably not too hard to remap the keyboard input in Wine.
View PC info
These two are not possible - I'm not a developer nor do I have a controller, other than a keyboard.
The other 3 you mentioned - I have tried them. No change. So I resorted to the last possible variant - VMWare with Windows 10. That works perfectly and unlike the real machine, I can tell the VM to keep the game's aspect ratio (the real machine stretches everything by default).
If you have aspect ratio problems in other games, give gamescope a try. It's a handy tool for this and other problems.
View PC info
I'm not a fan of such controllers. You could say I am a "Keyboard to the bone", rephrasing a famous George Thorogood's song. :)
@whizse, I've tried gamescope a few times and it never detects the game. I'm guessing it only works for native linux games, not for windows games.
It is used by default on the Steam Deck which runs quite a few windows games...
View PC info
When a game doesn't work properly with Wine, this is what I do first before asking on forums - to try and run it with Steam's Proton. The game starts, even gets its proper aspect ratio but that library dimap.dll still doesn't work, so no changing default controls and no remembering them either.
A better alternative to a native dimap.dll is NFSU-XtendedInput. It's also a drop-in .dll but rewritten for a modern API. The goal of the project was better gamepad support but they rewrote the keyboard support too.
I tried it (briefly) with NFS2U and Wine 8.15 and it seems to work fine here. Keyboard bindings can be remapped and are not lost the next time you start the game.
View PC info
That sounds interesting, I'll try it.