Welcome!

Linux Containers Authors: Elizabeth White, Liz McMillan, Yeshim Deniz, Zakia Bouachraoui, Pat Romanski

Related Topics: Linux Containers

Linux Containers: Article

How to install Neverwinter Nights on Linux

Not now, Neverwinter needs me

(LinuxWorld) — As soon as I saw the news that BioWare released a beta of a Linux client for its popular and successful Neverwinter Nights title, I downloaded the beta (registration required) and went shopping for the prerequisite retail Windows version of the game. Before I proceed, let me offer this brief warning: Neverwinter Nights is the mother of all timesinks. Do not follow my path unless you have nothing important you want to get done for the next week or so.

I tried to install the beta the same afternoon I got home from Wal-Mart with my retail version of Neverwinter Nights (NWN). That's when I ran into a snag. According to the BioWare Web site, I needed more than just a retail copy of the game. I needed an installed Windows version of the game. That put a crimp in my plan, because I don't have any Windows machines on which to install it.

I tried unsuccessfully to run the installation from the CD using WINE, but I didn't get far. There may be tweaks that can be made to WINE to allow it to run, but before I got that far I got a tip pointing me in a new direction. Someone on the #openknights channel on irc.freenode.net told me that an installer for Linux, written by someone named "ravage," could be found on the Icculus.org site. (Editor's note: See the Resources section for the author's tutorial on getting started with IRC.) Icculus.org seems to be at the center of a lot of gaming activity in Linux these days. In addition to the installer, Icculus hosts an excellent NWN FAQ. NWN is far from the only major game Icculus supports.

Why BioWare can't provide an installer is evidently something they choose not to discuss beyond a vague mention of legal restrictions. The word on the street — unconfirmed by any primary party — is that the license between InstallShield and BioWare prevents BioWare from providing another installation tool. That may or may not be the case, but I note that InstallShield offers a multiplatform version of its installer and that it runs on Linux. Perhaps that is what BioWare will use when it offers the retail version of the game for Linux.

How to install Neverwinter Nights

A word of caution before using ravage's NWN game installer: read the notes he or she provides. I spent an extra hour on the installation because I didn't. I could tell that I didn't have enough space in my home directory to install the game, thanks to the installer showing space required and space available. Instead, I picked another spot with more than enough space. However, I failed to make certain I had enough space in my /tmp directory. The installer needs 1 gigabyte of space in /tmp, just for workspace. It's up to you to make sure it's available. If you don't, you might end up like I did: spending a lot of time trying to figure out why you segfault at startup.

I can't blame ravage's installer, either. It told me about not having enough space during the installation, but I ignored it as being a beta bug and not a serious problem — after all, a gigabyte in /tmp for installation? Consequently, I didn't pay much enough attention to what it was telling me. When I got it enough space to run, all error messages I had previously ignored in earlier installation attempts went away.

Ravage's Neverwinter Nights installer
Editor's note: The above image is reduced in size to allow it to display on this page. Click on this image to see the original.

My rodent refused to behave, and the cursor shook and stuttered across the screen in a manner that made the game nearly unplayable. The wonderful FAQ on NWN for Linux offered a tip for curing a jumpy mouse: export SDL_MOUSE_RELATIVE=0. That didn't work for me. Instead, I had to go into my XF86Config file and change my default depth from 16 to 24. I believe I found that tip on the BioWare site. Once I did that, mouse movement was very smooth.

I made one final tweak that you might find interesting — or maybe not, if you are a hard-core gamester. The beta default is full-screen mode. I wanted a window. Serious players like to shut down X completely, then run xinit and start the game. That way, no cycles are wasted on other GUI apps. This technique seems to speed up the number of frames per second, while windowing the game slows it down, at least at higher resolutions. I saw between 24 and 31 fps running NWN from xinit at 800 x 600 resolution. In a window under Red Hat 8.0's Bluetooth GNOME with a resolution of 1024 x 768, the fps ranged from 14 and 20, which I found a little slow. Staying with the window but running at 800 by 600, the fps was steady at 24, which is fast enough for me to play a game of this type.

If you want to play in a window, edit nwn.ini and set FullScreen=0, then add a new line for AllowWindowedMode=1. Why it takes both, I don't know. But it does. The nwn.ini file is also where you can adjust the resolution by changing the Height and Width values.

Why the hoops?

While chatting about the installer situation on IRC, some wondered if the unofficial installer might somehow violate the DMCA because it "circumvents" the installer on the retail CD. On its Web site, BioWare says legal barriers prevent it from providing a Linux installer at present. This explains the need to copy files from an existing Windows installation or use the unofficial installer. BioWare has also said that the situation will be resolved when Linux port of NWN goes into production.

I asked icculus (Ryan Gordon, the man who ported UT 2003 to Linux) if he were concerned about DMCA issues involving the installer for NWN or any of the other major game installers available on his Web site.

Gordon said, "I have to admit, I'm fairly ignorant as to the specifics of the DMCA, but I can't imagine any of the original developers/publishers would care, even if these installers were violations. I mean, they DID make Linux versions of the games or release source code. Why would they object to people using them?" I asked "ravage" the same question, but never received a reply.

Neverwinter Nights
Editor's note: The above image is reduced in size to allow it to display on this page. Click on this image to see the original.

BioWare didn't seem concerned about the unofficial installer for the beta either. Derek French, Live Team Producer at Bioware, asked in return to my query, "If you are referring to the Beta, then no. We specifically didn't focus our efforts on an installer for the Beta, as we knew the situation would only be a temporary one. We needed to focus our efforts on the Beta Client itself. For the final release of the NWN, we will be providing an installation mechanism." French also said that there were only a couple of remaining issues with the beta, and when they were resolved it would be pronounced "gold."

The gold version will be downloadable and require that you purchase a retail version of the game, just as is the case with the beta. One difference will be that the files needed from the retail version will be available for download so users will have the choice of downloading them or copying them from a Windows installation.

Although NWN is is BioWare's first offering for Linux, it may not be their last. "Linux fans have proven to be very enthusiastic," French said. "I will say that the Linux folks, despite being somewhat in the minority, have certainly made their voice heard here at BioWare."

In spite of whatever concerns some might have, it was also pointed out to me on the #openknights channel at irc.freenode.net that the gaming situation for Linux was continuing to improve. Loki may have disappeared, but Linux game-players are getting two of last year's big hit games — UT 2003 and NWN — before they are available for the Macintosh. The number of gaming-related channels on the server bears out that blossoming popularity. In addition to #loki, which has remained a popular haunt in spite of Loki's demise, and #openknights, which I discovered while researching NWN, there are #icculus.org, #lgp, (Linux Game Publishing) and #gametome.

I could tell you more of what I've heard, but right now I have to go. I am on a secret mission for Lady Aribeth. I need to find and recover the Waterdhavian creatures, so that they can be used to create a cure for the Wailing Death. In short, Neverwinter needs me.

Ed. Note: This story was updated on April 2, 2003 with an expanded quote from Derek French, Live Team Producer at Bioware.

More Stories By Joe Barr

Joe Barr is a freelance journalist covering Linux, open source and network security. His 'Version Control' column has been a regular feature of Linux.SYS-CON.com since its inception. As far as we know, he is the only living journalist whose works have appeared both in phrack, the legendary underground zine, and IBM Personal Systems Magazine.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


IoT & Smart Cities Stories
Early Bird Registration Discount Expires on August 31, 2018 Conference Registration Link ▸ HERE. Pick from all 200 sessions in all 10 tracks, plus 22 Keynotes & General Sessions! Lunch is served two days. EXPIRES AUGUST 31, 2018. Ticket prices: ($1,295-Aug 31) ($1,495-Oct 31) ($1,995-Nov 12) ($2,500-Walk-in)
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
Nicolas Fierro is CEO of MIMIR Blockchain Solutions. He is a programmer, technologist, and operations dev who has worked with Ethereum and blockchain since 2014. His knowledge in blockchain dates to when he performed dev ops services to the Ethereum Foundation as one the privileged few developers to work with the original core team in Switzerland.
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
The challenges of aggregating data from consumer-oriented devices, such as wearable technologies and smart thermostats, are fairly well-understood. However, there are a new set of challenges for IoT devices that generate megabytes or gigabytes of data per second. Certainly, the infrastructure will have to change, as those volumes of data will likely overwhelm the available bandwidth for aggregating the data into a central repository. Ochandarena discusses a whole new way to think about your next...
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...
All in Mobile is a place where we continually maximize their impact by fostering understanding, empathy, insights, creativity and joy. They believe that a truly useful and desirable mobile app doesn't need the brightest idea or the most advanced technology. A great product begins with understanding people. It's easy to think that customers will love your app, but can you justify it? They make sure your final app is something that users truly want and need. The only way to do this is by ...
DXWorldEXPO LLC announced today that Big Data Federation to Exhibit at the 22nd International CloudEXPO, colocated with DevOpsSUMMIT and DXWorldEXPO, November 12-13, 2018 in New York City. Big Data Federation, Inc. develops and applies artificial intelligence to predict financial and economic events that matter. The company uncovers patterns and precise drivers of performance and outcomes with the aid of machine-learning algorithms, big data, and fundamental analysis. Their products are deployed...