Page 1 of 1
Neverwinter Nights 2 with Client Extension in Linux
Posted: Fri Nov 14, 2025 1:36 pm
by Deathgrowl
Given the somewhat increasing popularity of Linux in gaming, and with the Steam Machine (and SteamOS) on the horizon, I figured I'd post how I managed to get Neverwinter Nights 2: Platinum with the Client Extension on steam to run in Kubuntu Linux with Proton Experimental.
If you're on a Fedora or Arch based distro, some things will be different. It is also possible some of this is applicable to NWN2:EE with client extension, or might even work with the GOG version of NWN2.
If you want to run NWN2 with Client Extenion in Linux, I hope this at least gets you started on solving it. I am by no means some Linux expert so the bash script below probably could be done much better, but this legitimately works both on my old desktop and my laptop.
- Install Steam with the official .deb binary. Don't use snap like Ubuntu defaults to. This caused me a lot of problems.
- Make sure the files hdlinstall.reg, ClientExtension.hdl and the NWlauncher.exe is in the install folder: (...)/steamapps/common/Neverwinter Nights 2/
- Edit the nwn.ini file in the install folder and set the following:
Code: Select all
[Display Options]
FullScreen=0
AllowWindowedMode=1
- Get proton to register hdlinstall.reg to the prefix regedit in the (...)/steamapps/compatdata/2760. Paste this into a terminal (The "(...)" is your path up to your steam library):
Code: Select all
STEAM_COMPAT_CLIENT_INSTALL_PATH="$HOME/.steam/steam" \
STEAM_COMPAT_DATA_PATH="(...)/steamapps/compatdata/2760" \
"$HOME/.steam/steam/steamapps/common/Proton - Experimental/proton" run regedit "(...)/steamapps/common/Neverwinter Nights 2/hdlinstall.reg"
- Create a script called nwn2ce.sh that does the following inside the install folder:
Code: Select all
#!/bin/bash
GAME_DIR="(...)/steamapps/common/Neverwinter Nights 2"
STEAM_APPID=2760
cd "$GAME_DIR" || { echo "Game folder not found!"; exit 1; }
# Backup original exe
if [ -f "nwn2main.exe" ]; then
mv nwn2main.exe nwn2main.exe.original
else
echo "No nwn2main.exe found to back up!"
exit 1
fi
# Replace with launcher exe
cp NWLauncher.exe nwn2main.exe
echo "Launcher installed. Starting Neverwinter Nights 2 via Steam..."
# Launch game through Steam, non-blocking
steam steam://rungameid/$STEAM_APPID &
# Wait for a bit to let the game start
sleep 15
# Restore original exe
mv nwn2main.exe.original nwn2main.exe
echo "Original executable restored."
exit 0
- Make sure the script is executable. Navigate to the install folder in the terminal and run:
- Add the script as a non-steam game in steam.
- Set launch options on the actual NWN2 game in steam to
Code: Select all
PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 %command%
Re: Neverwinter Nights 2 with Client Extension in Linux
Posted: Fri Nov 14, 2025 4:47 pm
by Aspect of Sorrow
The current Skywing CE won't hook to the EE version at this time as it targets endpoints that are not their equivalents in the new NWN2 binary.
Re: Neverwinter Nights 2 with Client Extension in Linux
Posted: Fri Nov 14, 2025 4:54 pm
by Tantive
This works?! I'm going to have to try it with my Steam Deck. It's using an arch distro with kde however, which hopefully wouldn't be an issue.
Re: Neverwinter Nights 2 with Client Extension in Linux
Posted: Thu Nov 20, 2025 3:51 pm
by Pimple
I have been saying it doesn't work, and my attempts have been crashtastic indeed. But I thought I'd give it another go. I'm running the GOG version through Lutris, and I guess so far so good? So long as I don't use gamescope as then it crashes on launch - which it doesn't without the client extension. Or maximize my window which crashes with this message:
err: D3D9: Cannot create texture:
err: Type: 0x1
err: Format: D3D9Format::A8R8G8B8
err: Extent: 4462976x196702x1
err: Samples: 4
err: Layers: 1
err: Levels: 1
err: Usage: 0x1
err: Pool: 0x0 warn: Device reset failed: Device not reset Monitored process exited.
Exit with return code 0
Anyway, evidence!
I did also install DXVK and .NET 4.6.2 in the prefix.
Since AOS says there's no benefit to going higher than 60 FPS, I've capped mine to 120 by adding the launch parameter DXVK_FRAME_RATE=120. And just so no one thinks everything is wonderful, I get an error message when I launch, and ignore it.
It still crashes when I maximize window so I'm playing in non-maximized window mode. But it runs. With Wine-GE-8-26. Wonder if maybe it'll run better with Proton and through Steam, but I can't be bothered finding out just now. Oh, also, this is not the "enhanced" edition.
Tantive wrote: ↑Fri Nov 14, 2025 4:54 pm
This works?! I'm going to have to try it with my Steam Deck. It's using an arch distro with kde however, which hopefully wouldn't be an issue.
I'm on Tuxedo OS (Ubuntu 24.04) with KDE Plasma 6.4.5 and running Wayland. Almost forgot and don't know if it matters but I also run the launcher with -d3d9 just because I was getting errors and flailing around with no clue why anything.
Re: Neverwinter Nights 2 with Client Extension in Linux
Posted: Thu Nov 20, 2025 5:32 pm
by Aspect of Sorrow
The launcher enforcement for dx9 wine is a good idea in the event people are using non isolated wine profiles.
Pimple wrote: ↑Thu Nov 20, 2025 3:51 pm
I have been saying it doesn't work, and my attempts have been crashtastic indeed. But I thought I'd give it another go. I'm running the GOG version through Lutris, and I guess so far so good? So long as I don't use gamescope as then it crashes on launch - which it doesn't without the client extension. Or maximize my window which crashes with this message:
err: D3D9: Cannot create texture:
err: Type: 0x1
err: Format: D3D9Format::A8R8G8B8
err: Extent: 4462976x196702x1
err: Samples: 4
err: Layers: 1
err: Levels: 1
err: Usage: 0x1
err: Pool: 0x0 warn: Device reset failed: Device not reset Monitored process exited.
Exit with return code 0
Anyway, evidence!
I did also install DXVK and .NET 4.6.2 in the prefix.
Since AOS says there's no benefit to going higher than 60 FPS, I've capped mine to 120 by adding the launch parameter DXVK_FRAME_RATE=120. And just so no one thinks everything is wonderful, I get an error message when I launch, and ignore it.
It still crashes when I maximize window so I'm playing in non-maximized window mode. But it runs. With Wine-GE-8-26. Wonder if maybe it'll run better with Proton and through Steam, but I can't be bothered finding out just now. Oh, also, this is not the "enhanced" edition.
Tantive wrote: ↑Fri Nov 14, 2025 4:54 pm
This works?! I'm going to have to try it with my Steam Deck. It's using an arch distro with kde however, which hopefully wouldn't be an issue.
I'm on Tuxedo OS (Ubuntu 24.04) with KDE Plasma 6.4.5 and running Wayland. Almost forgot and don't know if it matters but I also run the launcher with -d3d9 just because I was getting errors and flailing around with no clue why anything.
Re: Neverwinter Nights 2 with Client Extension in Linux
Posted: Wed Jan 28, 2026 6:49 am
by Deathgrowl
Now also tested in Fedora 43 KDE Plasma Desktop Edition:
Instead of installing with official .deb, enable Fedora non-free repository and install Steam from that. Fedora is defaulting to only open-source repository, so to get proprietary software like Steam or Discord, you need to enable the non-free repository (or use Flatpak, but containerising Steam has caused me issues with stuff like this client extension).
Otherwise everything else works the same. I had some issues with the mouse cursor being offset downwards, but I'm trying to figure out a fix for that (switching to x11 instead of wayland is suggested, apparently, but not viable for my purposes).
In any case, that means if you're running something like the popular gaming distro
Bazzite, which is based on Fedora, this should work.
May also try this on CachyOS (Arch based linux) soon.
Re: Neverwinter Nights 2 with Client Extension in Linux
Posted: Thu Feb 05, 2026 1:29 pm
by Deathgrowl
And so I did test it on CachyOS. And it works just as well as on Fedora. As CachyOS is arch based, I assume this means it'll also work fine on SteamOS when the time comes for that to be on desktop (and already now on Steam Deck, if you want that).
Install Steam with the following command:
From there, everything is essentially the same.
As a side note, I also went down a bit of a rabbit hole trying to get it to work on FreeBSD, but that was definitely outside of my proficiency (though I think I got closeish).
Re: Neverwinter Nights 2 with Client Extension in Linux
Posted: Mon Feb 09, 2026 11:54 am
by Tantive
If one has the GoG copy of the game?
Re: Neverwinter Nights 2 with Client Extension in Linux
Posted: Mon Feb 09, 2026 12:07 pm
by Elthaniel
Tantive wrote: ↑Mon Feb 09, 2026 11:54 am
If one has the GoG copy of the game?
You can connect to GOG and install games with Heroic Game Launcher, it works well (I use it).
Re: Neverwinter Nights 2 with Client Extension in Linux
Posted: Mon Feb 09, 2026 1:27 pm
by Deathgrowl
Unfortunately I don't have the GOG version of the game to test with, but Heroic Game Launcher I understand uses either Wine or Proton (I'd suggest sticking to Proton Experimental, if possible), so it probably works much the same way I'm not sure if you can add bash scripts to Heroic Game Launcer? If not, you can just make a shortcut for the script on your chosen desktop or something.
The Wine Prefix Folder in Heroic Game Launcher is probably the equivalent to the "(...)/steamapps/compatdata/2760" for the guide above.
You'll also need to change the path to the correct proton/wine executable for registering the hdlinstall.reg in the prefix.
Re: Neverwinter Nights 2 with Client Extension in Linux
Posted: Tue Feb 24, 2026 4:53 pm
by Farmboy2003
I've had this issue for ages, and I thought there was no fix.
I'm not nearly technical enough to understand what you did there. I can do some stuff with the terminal, but I need a more precise approach myself.
But here's what I just learned!
Install the extension in the install folder
Right-click the new launcer
Open with Lutris
Make Lutris install it as a game
Launch the new "game"
NWN2 launches with all of skywings tools (map, changelog, chat, console etc)
NOW, I do have another issue I havent had before when running nwn2 through Lutris - game crashes 4 secs into running, I am assuming some graphics issues I have yet to solve so far - but the above thing seems to work, as nwn2 kept crashing before I added skywings.