{"id":666,"date":"2011-06-20T14:26:39","date_gmt":"2011-06-20T14:26:39","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=666"},"modified":"2023-01-21T13:45:56","modified_gmt":"2023-01-21T13:45:56","slug":"wine-and-nwn","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/wine-and-nwn\/","title":{"rendered":"WINE and NWN"},"content":{"rendered":"<p>This page is about my attempts to install NWN under WINE on my MAC. I finally got this working in March 2011 and then attempted to ensure that this page focuses on the NWN actions and runes, and that <a title=\"my WINE page on this wiki\" href=\"https:\/\/davelevy.info\/wiki\/672\/\">my WINE page<\/a> deals with installing WINE on the MAC. I returned in 2014, to try and get NWN2 working. The page consists of several sections, my initial work in 2009, and the further work when I tried to install NWN2 after my Mavericks upgrade.<\/p>\n<p>The sucessful install with Winery is documented in the section called <strong>Winery 2014<\/strong>.<!--more--><\/p>\n<h3>My MAC<\/h3>\n<pre>$ unname -a\r\nDarwin dave-levys-macbook-pro.local 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1\/RELEASE_X86_64 x86_64\r\n\r\n$ uname -a\r\nDarwin DaveMac.home 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; \r\n    root:xnu-1228.15.4~1\/RELEASE_I386 i386<\/pre>\n<h3>Neverwinter Nights V1 2009<\/h3>\n<p>I started this in Jul 2009, and finally got it working, as far as I can tell, in March 2011. My early experiments failed when running the installer from the CD. This seemed to confirm one piece of advice from this article\/tutorial at <a href=\"http:\/\/arstechnica.com\/old\/content\/2003\/03\/nwn.ars\">arstechnica<\/a> which states that the installer fails, but the game works. The <b>ars<\/b> article documents a Linux build and it advises that one copies the game install folders from a windows install. <i>The winehq apps db, says it will install, I need to test this and update the apps db page.<\/i><\/p>\n<p>To see about installing WINE on the Mac, check out my notes on the <a href=\"https:\/\/davelevy.info\/wiki\/wine\/\">WINE page<\/a> here on this site.<\/p>\n<p>After installing WINE, I copied the game folders and installations onto the Mac and then into the WINE c drive. <i>Actually I have only copied one of the installations into the C: drive.<\/i> I need to play the game a bit, but I have not added any additional DLLs, nor run\/used <i>winetricks<\/i>. This comment was written after bringing the game up in a macports installed version of WINE.<\/p>\n<p>I was advised at the <a href=\"http:\/\/forums.winehq.org\/\">Wine Forums<\/a>, in <a href=\"http:\/\/forum.winehq.org\/viewtopic.php?t=8786&amp;highlight=\">this thread<\/a>, to give <a href=\"https:\/\/web.archive.org\/web\/20210429135400\/http:\/\/wineskin.doh123.com\/Information.html\">Wineskin<\/a> another go. I did and have written <a href=\"http:\/\/blog.davelevy.info\/2011\/04\/01\/adventures-in-faerun-with-an-apple-mac\/\">a blog about it here<\/a>. To see my notes on Wineskin, you need to read the comments on the blog article. It seems I created <a title=\"wineskin on this wiki\" href=\"https:\/\/davelevy.info\/wiki\/wineskin\">a new wiki entry<\/a> when migrating from snipsnap.<\/p>\n<h4>Uninstalling the Source Code Version<\/h4>\n<p>The MAC now needs tidying up, too many installs of WINE. Fortunately, I still have the install tree in ~\/Builds and so<\/p>\n<p><code>$ configure &amp;&amp; make uninstall<\/code><\/p>\n<p>does the trick and removes the source code installed version.<\/p>\n<h3>NWN2<\/h3>\n<p>Bioware forums has a thread <a title=\"Broken\" href=\"https:\/\/davelevy.info\/wiki\/bioware-community-forums-v1\/\">NWN2: For the Mac<\/a> within their NWN2 board. They seem to have a Mac Version, albeit less functional than the wintel version. My research on NWN 1, suggested that there was a PPC port to MacOS, but that for intel systems, they relied on Virtualisation vendors. It seems they reversed this poloicy for NWN2, probably because the PPC systems were no longer shipping.<\/p>\n<h4>2009<\/h4>\n<p>I installed from the CD using wine. This works OK. The <a href=\"http:\/\/appdb.winehq.org\/objectManager.php?sClass=version&amp;iId=17426\">appsdb<\/a> page for NWN2 recommends a registry change to permit the updater to connect to the internet.<\/p>\n<pre>HKey_Local_Machine&gt;Software&gt;Obsidian&gt;NWN2&gt;Neverwinter&gt;NWUpdate := 1<\/pre>\n<p>I try to run the game, I get the main menu when I select <b>Play<\/b>, I get an error, which talks about a missing VC80.CRT. The WINE <a href=\"http:\/\/appdb.winehq.org\/objectManager.php?sClass=version&amp;iId=17426\">appsdb page<\/a> suggests a bunch of winetricks calls, but vcrun2005 requires <i>cabextract<\/i>. This takes me to <del>http:\/\/www.cabextract.org.uk\/<\/del>, which takes me to <del>http:\/\/www.macports.org\/install.php<\/del>.<\/p>\n<p>See also <a href=\"https:\/\/davelevy.info\/wiki\/macports\/\">my macports<\/a> page. macport now is working on my Mac. <i> 1 April 2011<\/i><a name=\"2014\"><\/a><\/p>\n<h4>2014<\/h4>\n<p>In <strong>2014<\/strong>, after upgrading to Mavericks I have rebuilt the wine image using macports and using GOG as my NWN2 source; I also used\u00a0 macports for winetricks and ran wine tricks for vcrun2005, directx9 and then used macports to run mono. I get the following messages.<\/p>\n<p>&#8230;<\/p>\n<pre>Unable to detect a video card with hardware 3D acceleration\r\nNeverwinter Nights 2 requires a video card that supports this, please make sure that it's enabled.\r\n<\/pre>\n<p>&#8230;.<\/p>\n<pre>Hardware 3D acceleration appears to be disabled. If your video card supports hardware 3D acceleration then please make sue it's enabled.\r\n<\/pre>\n<p>&#8230;<\/p>\n<p>I <a href=\"https:\/\/forum.winehq.org\/viewtopic.php?f=9&amp;t=23151\">asked at winehq, dxdiagn<\/a> was suggested, but it became clear that I was not invoking wine correctly since I was using Winery ( See <a href=\"https:\/\/davelevy.info\/wiki\/wineskin\/\">Wineskin<\/a> ) to run the game. Macports and Winery are in separate sandboxes and I wanted to continue with Winery. The WineHQ pages state that they don&#8217;t support winery.\u00a0 My winehq correspondent points at <a href=\"https:\/\/bugs.winehq.org\/show_bug.cgi?id=34686\">this bug<\/a>.<\/p>\n<h3>Winery 2014<\/h3>\n<p>The WineHQ pages state that they don&#8217;t support winery so I find <a title=\"at porting team, who they?\" href=\"https:\/\/web.archive.org\/web\/20190602200634\/http:\/\/portingteam.com:80\/forum\/108-wineskin-discussions\/page__prune_day__100__sort_by__Z-A__sort_key__last_post__topicfilter__all__st__50\">this page,<\/a> and <a href=\"https:\/\/web.archive.org\/web\/20201123215930\/http:\/\/wineskin.urgesoftware.com\/tiki-view_forum.php?forumId=1\">this one<\/a> at the winerey.<\/p>\n<blockquote><p>So fact No 1., Winery has its own winetricks &amp; No 2 the engine is the wine build source. I read <a title=\"Neverwinter Nights II at appdb.winehq.org\" href=\"https:\/\/appdb.winehq.org\/objectManager.php?sClass=application&amp;iId=4118\">the appdb NWN2 page<\/a>, created a wrapper, and used its wine tricks to install &#8220;devenum.dll&#8221; and &#8220;dxdiagn.dll&#8221; and directx9 and vcrun2005. I used the registry editor to check the registry setting recommended on the app db page. This works well it would seem.<\/p><\/blockquote>\n<p>The WineHQ pages state that they don&#8217;t support winery so I find <a title=\"at porting team, who they?\" href=\"https:\/\/web.archive.org\/web\/20190602200634\/http:\/\/portingteam.com:80\/forum\/108-wineskin-discussions\/page__prune_day__100__sort_by__Z-A__sort_key__last_post__topicfilter__all__st__50\">this page,<\/a> and <a href=\"https:\/\/web.archive.org\/web\/20201123215930\/http:\/\/wineskin.urgesoftware.com\/tiki-view_forum.php?forumId=1\">this one<\/a> at the winerey. My winehq correspondent points at <a href=\"https:\/\/bugs.winehq.org\/show_bug.cgi?id=34686\">this bug<\/a>. It seems that wineskin provides its own wine\/windows image. This is what the <strong>engine<\/strong> is, <a title=\" Section 4 - Using Wineskin.app 4.5 Advanced - Tools from the Wineskin manual\" href=\"https:\/\/web.archive.org\/web\/20210910085912\/http:\/\/wineskin.urgesoftware.com\/tiki-index.php?page=Manual+4.5+Advanced+-+Tools\">this page <\/a>documents how to use the registry editor and also winetricks. See the encapsulated quote above, it documents the appdsdb and the winetricks calls required to make NWN2 work properly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This page is about my attempts to install NWN under WINE on my MAC. I finally got this working in March 2011 and then attempted to ensure that this page focuses on the NWN actions and runes, and that my WINE page deals with installing WINE on the MAC. I returned in 2014, to try&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2590,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[60,63,3,7],"tags":[238,922,217,911,915,193],"class_list":["post-666","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-games","category-nwn","category-technology","category-virtualisation","tag-bioware","tag-nwn","tag-nwn2","tag-technology","tag-virtualisation","tag-wine"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2011\/06\/nwn-eye-w650.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=666"}],"version-history":[{"count":13,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/666\/revisions"}],"predecessor-version":[{"id":7023,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/666\/revisions\/7023"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/2590"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}