Hi,
Has anyone sucessfully built, and have instructions for
the tools at http://home.roadrunner.com/~nwmovies on 64bit inux?
I am running ubuntu 10.10 (maverick).
What would be really nice is if someone could build
a package to set up the 32 bit libs needed. Any help appreciated.
Coke
PS I think I have seen Skildron lurking around, I know from the old forums he's done it.
nwmouse and friends, 64bit linux
Débuté par
cokeCan
, nov. 10 2010 05:42
#1
Posté 10 novembre 2010 - 05:42
#2
Posté 10 novembre 2010 - 06:46
he's definately here. I'd offer to help but I'm probably about the same level linux wise.
I am not sure what nwnmouse does exactly, I am running a touchpad on my laptop with the same version of Ubuntu and it works fine, does it introduce more functionality?
I am not sure what nwnmouse does exactly, I am running a touchpad on my laptop with the same version of Ubuntu and it works fine, does it introduce more functionality?
#3
Posté 10 novembre 2010 - 07:00
nwmouse is a replaces the software mouse in the game with a hardware mouse, and helps to reduce some of the jerkiness that I observe in game ;P
Otherwise, no extra functionality. I am also working on getting nwshader compiled on linux if possible.
Otherwise, no extra functionality. I am also working on getting nwshader compiled on linux if possible.
#4
Posté 10 novembre 2010 - 11:46
Yes, I am here, and yes, I did build nwmouse, nwuser, nwlogger and nwmovies on 64bit linux. But my latest build is on a Kubuntu 8.04 Hardy machine, so I doubt that it will work on a 10.10 Maverick. You could test it, though. Download the package from here, cd to your nwn folder and unpack it with
Another possibility is to download my ia32-libs-nwn ubuntu package and install it with
HTH
Greetings
Skildron
tar xvzf nwlinux_build_hardy_8.04.tar.gzedit your nwn script with the appropriate LD_PRELOAD statement and see if it works. If not, please post the complete error message and the contents of the log files so we can figure out what to do.
Another possibility is to download my ia32-libs-nwn ubuntu package and install it with
dpkg -i ia32-libs-nwn_20090808ubuntu9-nwn1_amd64.debdpkg will probably complain about missing dependencies, with a following
apt-get -f installyou can add the missing dependencies to your system. The ia32-libs-nwn package will add everything to your system that it needs to successfully build nwmouse etc. on an amd64 machine. Be aware though that I don't use Ubuntu maverick. I built the above package with the content from maverick, but if anything changed from my current hardy and karmic systems to maverick, there could be trouble ahead. I take no responsibilities if you blow up your system. That said, the ia32-libs-nwn package has worked well for me through several system upgrades and rebuilds of nwlinux extensions.
HTH
Greetings
Skildron
Modifié par Skildron, 10 novembre 2010 - 02:38 .
#5
Posté 11 novembre 2010 - 04:34
Skildron - thank you, you got me started on the right path. Unfortunately your ia32-libs-nwn ubuntu package didn't work for me, not too surprised. So I did some sleuthing on the ubuntu forums and this is what I came up with. This should work on ubuntu or other debian 64bit systems.
from your nwn top directory:
sudo apt-get install ia32-libs
wget http://frozenfox.fre...getlibs-all.deb
sudo dpkg -i getlibs-all.deb
rm getlibs-all.deb # if you dont want to keep it
getlibs -p libelfg0 libelf1
wget http://home.roadrunn...e-latest.tar.gz
tar xvfz nwmouse-latest.tar.gz
now add the following to nwn
export LD_LIBRARY_PATH=./miles:/usr/lib32:$LD_LIBRARY_PATH
export XCURSOR_PATH=`pwd`
export XCURSOR_THEME=nwmouse
export LD_PRELOAD=./nwmouse.so
If I forgot anything I'll try and figure things out.
Coke
from your nwn top directory:
sudo apt-get install ia32-libs
wget http://frozenfox.fre...getlibs-all.deb
sudo dpkg -i getlibs-all.deb
rm getlibs-all.deb # if you dont want to keep it
getlibs -p libelfg0 libelf1
wget http://home.roadrunn...e-latest.tar.gz
tar xvfz nwmouse-latest.tar.gz
now add the following to nwn
export LD_LIBRARY_PATH=./miles:/usr/lib32:$LD_LIBRARY_PATH
export XCURSOR_PATH=`pwd`
export XCURSOR_THEME=nwmouse
export LD_PRELOAD=./nwmouse.so
If I forgot anything I'll try and figure things out.
Coke
#6
Posté 11 novembre 2010 - 08:51
Hi CokeCan!
Good to know you got it working. But I wonder why my package did not work for you - I rebuilt it for Ubuntu maverick with contents from maverick especially for you
. Essentially it does the same as the getlibs script - it installs the 32bit versions of libelf.so and some other 32bit libs that are needed to build nwlinux extensions and for which there are no 64bit compatibility packages for Ubuntu as they are not included in ia32-libs and have no lib32packagename version to install.
The advantage of the ia32-libs-nwn package is that it uses the system's package management while the getlibs script circumvents it. That can mean trouble with files being overwritten without control, but does not neccessarilly need to.
The advantage of the getlibs script is that you can use it for all kind of 32bit packages that you need installed on your 64bit system.
Well, have fun playing and thanks for sharing your experiences.
Greetings
Skildron
Good to know you got it working. But I wonder why my package did not work for you - I rebuilt it for Ubuntu maverick with contents from maverick especially for you
The advantage of the ia32-libs-nwn package is that it uses the system's package management while the getlibs script circumvents it. That can mean trouble with files being overwritten without control, but does not neccessarilly need to.
The advantage of the getlibs script is that you can use it for all kind of 32bit packages that you need installed on your 64bit system.
Well, have fun playing and thanks for sharing your experiences.
Greetings
Skildron
#7
Posté 11 novembre 2010 - 09:59
Oh, I forgot something: to successfully build nwmouse on a 64bit system, you will need libxcursor-dev and libx11-dev in 32bit versions, too. The nwmouse-install.pl perl script depends on those to build nwmouse.so, because the 64bit versions of the devel packages point gcc only to 64bit shared objects, which obviously is of no use for a 32bit application like nwmouse.so. I think, you will need to do
If you want to build nwmovies, too, you need
HTH
Greetings
Skildron
sudo apt-get install gcc-multilib libx11-dev libc6-dev-i386too, if you don't already have done so, because the multilib package is needed for cross compiling (x86 on x86_64 host system), the libx11-dev package is needed for building anything that depends on xorg and the libc6-dev-i386 package is needed to build anything that uses libc6-i386.
If you want to build nwmovies, too, you need
sudo apt-get install lib32asound2-dev libxrender-dev libxfixes-devand libogg-dev, libsdl-gfx1.2-4, libsdl-gfx1.2-dev, libsdl1.2-dev in 32bit versions.
HTH
Greetings
Skildron
#8
Posté 11 novembre 2010 - 04:11
Hi Skildron,
I can look into why your package didn't work. I actually didn't build nwmouse this time, if you look
at the script I posted you'll notice i am using the prebuilt version. I am also using the system sdl libraries, not the prebuilt ones coming with nwn. Since doing this a lot of the lag and jerkiness I was noticing in game is gone. The instructions in the sticky thread work for nwmovies, which I also got installed. That being said, it is not clear that David Holland, zzqzzq_zzq, is actively supporting these anymore, and I am guessing they won't work forever. So I will see if I can slowly get some instructions together for keeping them up to date.
Thanks
Coke
I can look into why your package didn't work. I actually didn't build nwmouse this time, if you look
at the script I posted you'll notice i am using the prebuilt version. I am also using the system sdl libraries, not the prebuilt ones coming with nwn. Since doing this a lot of the lag and jerkiness I was noticing in game is gone. The instructions in the sticky thread work for nwmovies, which I also got installed. That being said, it is not clear that David Holland, zzqzzq_zzq, is actively supporting these anymore, and I am guessing they won't work forever. So I will see if I can slowly get some instructions together for keeping them up to date.
Thanks
Coke
#9
Posté 11 novembre 2010 - 10:03
Oh, I see, my bad, I just did not remember that nwmouse comes with a prebuilt version, too, and not only nwmovies. And about David Holland, I think if someone tries to contact him, he might answer, but my last contact with is already three or four years back, when we tried to adapt the nwlinux packages to 64bit linux systems.
But if everything works for you, I would not worry too much. The libs nwlinux uses are fairly standard and if the extensions don't work because of changes in the libs, then probably the nwn linux client won't work any longer, either:o.
Greetings
Skildron
But if everything works for you, I would not worry too much. The libs nwlinux uses are fairly standard and if the extensions don't work because of changes in the libs, then probably the nwn linux client won't work any longer, either:o.
Greetings
Skildron
Modifié par Skildron, 11 novembre 2010 - 10:04 .





Retour en haut






