Installing NWN on MacOS 10.5

Questions about Wine on macOS.
Locked
DaveLevy
Level 2
Level 2
Posts: 15
Joined: Mon Oct 19, 2009 3:14 pm

Installing NWN on MacOS 10.5

Post by DaveLevy »

I have for a while been trying to install NWN on a MacOS hosted version of WINE.

I have installed WINE as suggested on the Wiki.

I have tried to install the game from the CD in several ways

When I run the installer, I get the installer window, it then goes quiet and generates a number of error messages. The most complete are in the terminal session I invoked Wine from.

The error message is held in http://test.davelevy.info/share/winlog.1.log

This is a text file. Do you need a checksum? The final error messages are,

Code: Select all

You must be attached to a process to run this command.
No process loaded, cannot execute 'detach'
err:ole:xCall RpcChannelBuffer SendReceive failed, 800706be
err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x800706be
err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x800706be

the last line repeats

the wine version is 1.1.31-272

Any ideas?

--
Dave
James McKenzie

Installing NWN on MacOS 10.5

Post by James McKenzie »

DaveLevy wrote:
I have for a while been trying to install NWN on a MacOS hosted version of WINE.

I have installed WINE as suggested on the Wiki.

I have tried to install the game from the CD in several ways

When I run the installer, I get the installer window, it then goes quiet and generates a number of error messages. The most complete are in the terminal session I invoked Wine from.

The error message is held in http://test.davelevy.info/share/winlog.1.log

This is a text file. Do you need a checksum? The final error messages are,


Code:

You must be attached to a process to run this command.
No process loaded, cannot execute 'detach'
err:ole:xCall RpcChannelBuffer SendReceive failed, 800706be
err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x800706be
err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x800706be
MacPorts is your friend if you want to try the latest/greatest...

WineBottler is also a method to install Wine on your Mac.

The version of Wine that you have is almost six months old and needs to
be upgraded.

James McKenzie
DaveLevy
Level 2
Level 2
Posts: 15
Joined: Mon Oct 19, 2009 3:14 pm

It looks like its working now.

Post by DaveLevy »

Thanks for the advice. It took me a while to find the time to take it.

I upgraded Xcode to the most recent, installed macports and portius. I then installed WINE. (Not necessarily in that order, but it is the best one.) :wink:

I copied a good Windows folder containing the whole NWN game and it seems to work now. (It seems that while the game has been made to work, I can find no reference to the installer doing so, and several to it not. Perhaps I'll test it, but probably not.)

I wrote a slightly longer explanation on my blog.
James McKenzie

Installing NWN on MacOS 10.5

Post by James McKenzie »

On Tue, Apr 5, 2011 at 7:05 AM, DaveLevy <[email protected]> wrote:
Thanks for the advice. It took me a while to find the time to take it.

I upgraded Xcode to the most recent, installed macports and portius. I then installed WINE. (Not necessarily in that order, but it is the best one.)

I copied a good Windows folder containing the whole NWN game and it seems to work now.  (It seems that while the game has been made to work,
I can find no reference to the installer doing so, and several to it not. Perhaps I'll test it, but probably not.)
So does it work now or not. If not, can you generate a logging file
from running NWN from within Terminal and then posting it to a web
site like pastebin.com?

Also, please be aware (if you are not already) that Apple's X11 is
seriously broken on Leopard and that XQuartz, which is an upgrade, is
much better (it supports full screen on my Snow Leopard system).
I wrote a slightly longer explanation (http://blog.davelevy.info/2011/04/01/ad ... apple-mac/) on my blog.
Could you also update the NWN Applications Database entry with your
'adventures' as well? Could you also update the NWN rating?

Thank you.

James McKenzie
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

ehh... I made a Wineskin wrapper for this long ago some people use... I haven't tried installing NWN in a while because I have it in installed format already, and it runs fine without any registry entires and doesn't technically need to be "installed." Several people told me their installers failed to when installing the game in the wrapper, but copying over from a Windows install always seemed to work. This might have broken in a Wine update because I know I ran the installer to install this way back around Wine 1.1.5 or so... but no idea where my disks are anymore.
DaveLevy
Level 2
Level 2
Posts: 15
Joined: Mon Oct 19, 2009 3:14 pm

Post by DaveLevy »

@james

I have not tested the NWN installer since updating WINE. So I don't know if it works or not.

Thanks for the XQuartz hint. (So much for a desk top appliance).

Yes, I'll update the appsdb pages but I need to register, thought I'd do it tonight rather than while at work.

@doh123

I admire your persistance and work on enabling us NWN fans to play the game on our Macs. I have not found a simple enough "How To" use your wineskin. I did download it but am now where I am.
James McKenzie

Installing NWN on MacOS 10.5

Post by James McKenzie »

On Tue, Apr 5, 2011 at 8:23 AM, DaveLevy <[email protected]> wrote:
@james

Thanks for the XQuartz hint. (So much for a desk top appliance).
X11 is and remains an 'afterthought' for Apple IMHO. I am glad that
the XQuartz project exists and that folks like doh123 have reported
shortcomings to it. I tend to 'bend' my systems and have ran into
walls where Apple did things that I did not expect. For example, my
shiny new Mac went to the Genius Bar yesterday because the Ethernet
port was not working right. I found that the driver for Verizion's
WWAN was shutting down the port. This should not happen with properly
designed/implemented drivers....
Yes, I'll update the appsdb pages but I need to register, thought I'd do it tonight rather than while at work.
Thank you for doing so.

James McKenzie
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

Xquartz problems is one reason in Wineskin Engines I have a custom built version of Xquartz... it doesn't use your systems installed X11 or Xquartz version... much like Crossover builds in their own X server as well.

As to getting it to work in Wineskin... the NWN wrapper I made that is around comes with directions on how to get the game inside of it... then its just a mac app. Its not really needed much anymore, as a default made Wineskin wrapper with almost any engine version will run NWN flawlessly.

If you want an example of how to make a wrapper, theres a couple of step by step examples at the end of the Manual.
http://wineskin.doh123.com/Manual.html

Just using a wrapper someone else made... well that depends on how they customized it, and quirks to the specific program, so usually should come with directions.

I just prefer turning a Windows program into an actual self contained Mac Application bundle that works like a normal Mac app, over using normal Wine.
DaveLevy
Level 2
Level 2
Posts: 15
Joined: Mon Oct 19, 2009 3:14 pm

Post by DaveLevy »

So I have taken your advice and got a version of wineskin working.

Very Good...not yet finished my experiments but getting there.

1. Downloaded Winery.app
2. Used Winery to download the most recent engine
3. Created a Wrapper
4. Copied a good folder into ../drive_c
5. Set the startup program to nwn/nwn.exe
6. Open the .app and set the screen resolution

There's a couple of errors but I ignored them and the game seems to run OK.

Now how to make an Mac OS Icon
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

DaveLevy wrote: Now how to make an Mac OS Icon
I use an app called FastICNS. You can take any jpg, png, ico, or whatever file and easily make a Mac OS X .icns file. Then you can use the Icon selection in Wineskin.app to choose any .icns file you want to use as the icon.
DaveLevy
Level 2
Level 2
Posts: 15
Joined: Mon Oct 19, 2009 3:14 pm

Post by DaveLevy »

Thank you, I found img2icns.

I used pngfactory to find the NWN icon they have and it now looks really cool. :D
Locked