Oltana.net 09 Février 2012 à 16:47:28 *
Bienvenue, Invité. Veuillez vous connecter ou vous inscrire.


Connexion avec identifiant et mot de passe
Nouvelles:
Pour les gens déja membres, veuillez supprimer le cookie du site présent sur vos navigateurs, sous peine de pb de connexion.

Si ca n'y fait toujours rien, se faire renvoyer un nouveau mot de passe, puis le changer un fois loggé.
 
 
Accueil Aide Rechercher
Pages: [1]   Bas de page
Imprimer
Auteur Fil de discussion: Comment installer NWN sous LINUX?  (Lu 1101 fois)
Arphus
Posteur assidu
****
Hors ligne Hors ligne

Messages: 235



Voir le profil
« le: 05 Mars 2006 à 18:01:18 »

J'ai installer les 2 expension FR sur WinXP et je les ai transférés sur Linux par les directives de Bioware et J'ai la version 1.66 qui a été installer sous windows j'ai fais une copie des répertoire sous Linux une fois le patch Installer sous windows.


selon BIOWARE
Citation
installing From An Existing Windows Install

1. Download the Linux Client 1.29 binaries (tar.gz, 5.3 MB)

2. Copy the following files from a Windows installation of Neverwinter Nights (updated to at least 1.29) into a directory called, for example, 'nwn':

ambient/*
data/*
dmvault/*
hak/*
localvault/*
modules/*
music/*
nwm/*
override/*
portraits/*
saves/*
servervault/*
texturepacks/*
chitin.key
patch.key
dialog.tlk
dialogF.tlk (French, German, Italian, and Spanish)

If you are using ftp to transfer the files, be sure to transfer them in binary mode.

3. Install Linux binaries by extrating the archive into your 'nwn' directory.

4. Update to latest version.

5. Run ./fixinstall from your 'nwn' directory.

To run Neverwinter Nights, run ./nwn or ./dmclient from your 'nwn' directory to run the player client or DM client respectively.

Note: If your Windows installation was a partial install, add the following lines to your nwn.ini file (substituting your CD mount point if it is not /mnt/cdrom) and mount your Play Disc.

[Alias]
CD0=/mnt/cdrom
AMBIENT=/mnt/cdrom/ambient
MUSIC=/mnt/cdrom/music

For information on updating to a full install, see http://nwn.bioware.com/support/techfaq.html#05


j'ai des fixinstall et install.sh dans l'archive Linux Client 1.29 binaries
comment je fais pour les executer en mode console ou autres....
Je suis vraiment débutant
Journalisée




Fireboot
Modérateur Global
*****
Hors ligne Hors ligne

Messages: 1831



Voir le profil
« Répondre #1 le: 05 Mars 2006 à 18:20:58 »

Traduction/explication :

Code:
1. Download the Linux Client 1.29 binaries (tar.gz, 5.3 MB)

Ca se passe de commentaire...

Code:
ambient/*
data/*
dmvault/*
hak/*
localvault/*
modules/*
music/*
nwm/*
override/*
portraits/*
saves/*
servervault/*
texturepacks/*
chitin.key
patch.key
dialog.tlk
dialogF.tlk (French, German, Italian, and Spanish)

Les noms ayant une étoile signife "prendre tous les fichiers contenu dans ce dossier.
Par exemple, pour "saves/*", tu dois prendre tout le contenu du dossier saves.
Tu dois donc copier tout ce qui est demandé dans un dossier nommé "nwn" (apelles le comme tu veux)

Code:
3. Install Linux binaries by extrating the archive into your 'nwn' directory.

Copie les fichier issue de la decompression de ton tarball dans ton dossier nwn

Code:
4. Update to latest version.

La traduction est "mettez à jour vers la derniere version", mais ne connaissant pas ce jeu, je sais pas comment ca se passe

Code:
5. Run ./fixinstall from your 'nwn' directory.

ouvres une console, place toi dans ton dossier nwn à l'aide de la commande "cd", et tapes "./fixinstall". Tu devras peut etre te logguer en root.

Code:
To run Neverwinter Nights, run ./nwn or ./dmclient from your 'nwn' directory to run the player client or DM client respectively.

Pour lancer Neverwinter night, lancez ./nwn ou ./dmclient (à faire de la même maniere que pour l'etape precedente

Code:
Note: If your Windows installation was a partial install, add the following lines to your nwn.ini file (substituting your CD mount point if it is not /mnt/cdrom) and mount your Play Disc.

[Alias]
CD0=/mnt/cdrom
AMBIENT=/mnt/cdrom/ambient
MUSIC=/mnt/cdrom/music


Si tu as fais une install partiel sous win, tu dois modifier le fichier nwn.ini avec un editeur de texte.

++
Journalisée




Arphus
Posteur assidu
****
Hors ligne Hors ligne

Messages: 235



Voir le profil
« Répondre #2 le: 05 Mars 2006 à 18:26:02 »

et ok mais la un autre problème....

voici ce qui me dit dans ma console

un problème avec les SDL

Citation
[root@localhost NWN]# ./fixinstall
Checking for required files

PASSED: ambient directory exists
PASSED: data directory exists
PASSED: music directory exists
PASSED: override directory exists
PASSED: miles directory exists
PASSED: nwm directory exists
PASSED: chitin.key exists
PASSED: dialog.tlk exists
PASSED: nwmain exists
FAILED: patch.key missing
[root@localhost NWN]# ./nwn
Fatal signal: Bus Error (SDL Parachute Deployed)
[root@localhost NWN]# ./nwnmain
bash: ./nwnmain: Aucun fichier ou répertoire de ce type
[root@localhost NWN]# ./nwmain
./nwmain: error while loading shared libraries: libmss.so.6: cannot open shared object file: No such file or directory
[root@localhost NWN]#
Journalisée




Fireboot
Modérateur Global
*****
Hors ligne Hors ligne

Messages: 1831



Voir le profil
« Répondre #3 le: 05 Mars 2006 à 18:32:43 »

Citation
FAILED: patch.key missing


T'as oublié de copier ce fichier Clin d'oeil
Journalisée




Arphus
Posteur assidu
****
Hors ligne Hors ligne

Messages: 235



Voir le profil
« Répondre #4 le: 05 Mars 2006 à 19:07:46 »

je l'ai même pas sous windoze et le jeux fonctionne quand même

EDIT:

J'ai peux être trouvé la solution en cherchant sur le forum de nwn de bioware j'ai trouvé se post
par Eyrdan un des Modérateur du Forum
Citation
It's been said before and I'll say it again, since it must be really far back in forum history if you two did not see it appear in search. patch.key should ONLY be there if you have ONLY NWN with none of the two expansion packs. If you have SoU installed, you should have xp1patch.key ONLY if you do not have HotU installed, and if you have HotU, no matter if you have SoU or not, you should ONLY have xp2patch.key.

That said, if you verify your installation with the steps in the Read before posting technical problems sticky, you should see it literally tells you to run the command "rm -f patch.key xp1patch.key data/patch.bif data/xp1patch.bif" if you have HotU installed, which deletes xp1patch.key and patch.key, thus should be clear that with HotU those two should not be there.

As for the fixinstall script complaining about it. The version of fixinstall that complains about missing patch.key is the one that comes with the original Linux client (that was designed only for NWN without expansion packs). If you follow the instructions for individual expansion packs correctly (I understand this is harder with Platinum or Diamond, since there are no instructions), you will no longer have that version. As is posted in the instructions sticky I just gave you, the correct fixinstall script to use is found in the nwclienthotu.tar.gz archive that you should have already downloaded and unzipped if you followed the instructions when you reached the HotU step (again, not obvious for Platinum and Diamond since they have no official instructions, but those make no exception to it).

For both of you, I'd recommend you go through that sticky carefully, and consider it SoU + HotU, so read everything in the intro, and in steps 1 (common) and 5 (SoU + HotU). If the md5sums don't match up, get the proper files from the archives indicated in there (the files from the CD might not be the same filename if Platinum or Diamond, so use common sense for those). When everything is installed correctly, all those files should match. Remember that the instructions are not only md5sums, also read the comments that go along (like the command I quoted above that deletes the obsolete patch files) and set permissions correctly (a set of correct permissions is supplied in the guide) after all files are installed before running fixinstall. If you do all that, when you run fixinstall, fixinstall should not complain about any problems.

Once all that is done, you might still get some errors while attempting to run NWN, but then it's a lot easier to find the problem if we know the installation of the game is flawless.
_________________
- Eyrdan -

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning". - Rich Cook


nwclienthotu.tar.gz = http://nwdownloads.bioware.com/neverwin ... otu.tar.gz
Journalisée




Fireboot
Modérateur Global
*****
Hors ligne Hors ligne

Messages: 1831



Voir le profil
« Répondre #5 le: 05 Mars 2006 à 19:10:37 »

Au vue de son nom, c'est peut être un fichier qui apparait apres la mise à jour
Journalisée




Arphus
Posteur assidu
****
Hors ligne Hors ligne

Messages: 235



Voir le profil
« Répondre #6 le: 07 Mars 2006 à 01:02:52 »

non, regarde sur le forum s'est un fichier qui n'y est plus quand les expensions sont installés
Journalisée




Arphus
Posteur assidu
****
Hors ligne Hors ligne

Messages: 235



Voir le profil
« Répondre #7 le: 25 Mars 2006 à 22:07:48 »

quand je veux faire excuter nwmain il m'affiche ça ....
Code:
[root@localhost NWN]# ./nwmain
./nwmain: error while loading shared libraries: libmss.so.6: cannot open shared object file: No such file or directory
j'ai fais
Code:
ldd nwmain

qui me donne ça
Code:
[root@localhost NWN]# ldd nwmain
        linux-gate.so.1 =>  (0xffffe000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7f5e000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7f4b000)
        libGL.so.1 => /usr/lib/nvidia/tls/libGL.so.1 (0xb7ecc000)
        libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0xb7e3f000)
        libmss.so.6 => not found
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7da9000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7c7b000)
        /lib/ld-linux.so.2 (0xb7f9d000)
        libGLcore.so.1 => /usr/lib/nvidia/tls/libGLcore.so.1 (0xb7511000)
        libnvidia-tls.so.1 => /usr/lib/nvidia/tls/libnvidia-tls.so.1 (0xb750f000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7501000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7435000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7431000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7354000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7349000)
        libaudio.so.2 => /usr/X11R6/lib/libaudio.so.2 (0xb7333000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0xb72e2000)
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0xb72db000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb72d1000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb72b9000)


"libmss.so.6" doit être placer ou pour que ça fonctionne parce qu'il est dans le dossier NWN/miles/
Journalisée




Tom
Posteur fou
*****
Hors ligne Hors ligne

Messages: 771



Voir le profil
« Répondre #8 le: 25 Mars 2006 à 22:19:09 »

Il semble il y avoir une solution sur cette page : http://www.ibiblio.org/pub/Linux/docs/HOWTO/Linux-Gamers-HOWTO. Clin d'oeil
Journalisée

Arphus
Posteur assidu
****
Hors ligne Hors ligne

Messages: 235



Voir le profil
« Répondre #9 le: 25 Mars 2006 à 22:24:43 »

ok ça fonctionne ....(le lien)


http://www.ibiblio.org/pub/Linux/docs/H ... mers-HOWTO    (.) le point
Journalisée




Tom
Posteur fou
*****
Hors ligne Hors ligne

Messages: 771



Voir le profil
« Répondre #10 le: 25 Mars 2006 à 22:30:56 »

http://www.ibiblio.org/pub/Linux/docs/H ... mers-HOWTO

Ca ne fonctionnait pas parce qu'il y avait un point dans le lien.
Journalisée

Arphus
Posteur assidu
****
Hors ligne Hors ligne

Messages: 235



Voir le profil
« Répondre #11 le: 25 Mars 2006 à 22:53:21 »

je fais quoi avec ça....

Code:
Most commercial Linux games will be dynamically linked against various LGPL
libraries, such as OpenAL or SDL. For these examples, Bioware's NeverWinter
Nights <[http://nwn.bioware.com] http://nwn.bioware.com> will be used.

To find out what libraries a game uses, we can use the "ldd" command. Cd to /
usr/games/nwn, or wherever you installed it and take a look at the files. You
should see a file called nwmain; this is the actual game binary. Type "ldd
nwmain" and you'll see:
+---------------------------------------------------------------------------+
|   $ ldd nwmain                                                            |
|       linux-gate.so.1 =>  (0xffffe000)                                    |
|       libm.so.6 => /lib/libm.so.6 (0x40027000)                            |
|       libpthread.so.0 => /lib/libpthread.so.0 (0x40049000)                |
|       libGL.so.1 => /usr/lib/libGL.so.1 (0x4009b000)                      |
|       libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x40103000)              |
|       libmss.so.6 => not found                                            |
|       libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x40178000)            |
|       libc.so.6 => /lib/libc.so.6 (0x401ff000)                            |
|       /lib/ld-linux.so.2 (0x40000000)                                     |
|       libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40319000)              |
|       libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x409f1000)      |
|       libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x409f3000)            |
|       libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40a01000)              |
|       libdl.so.2 => /lib/libdl.so.2 (0x40acd000)                          |
|       libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40ad1000)              |
|       libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x40b88000)                |
|       libasound.so.2 => /usr/lib/./libasound.so.2 (0x40b90000)            |
|                                                                           |
+---------------------------------------------------------------------------+

ldd shows all the libraries a dynamic executable relies on, and shows you
where they are. It also "pulls in" the dependencies of the dependencies. For
instance, while NWN does not itself depend on libnvidia-tls.so, the Nvidia
supplied libGL on my system does.

Missing libraries?

In the example above, we can see that nwmain wants libmss.so.6, and the
linker cannot find it. Usually, a missing library is a crash waiting to
happen. There is one other thing to consider though: The majority of games
are actually launched by a "wrapper", a shell script that performs some magic
prior to launching the game. In the case of NWN, the wrapper is called nwn.
Let's take a look at that now:
+-------------------------------------------------------------------------------+
|   $ less nwn                                                                  |
|   #!/bin/sh                                                                   |
|                                                                               |
|   # This script runs Neverwinter Nights from the current directory            |
|                                                                               |
|   export SDL_MOUSE_RELATIVE=0                                                 |
|   export SDL_VIDEO_X11_DGAMOUSE=0                                             |
|                                                                               |
|   # If you do not wish to use the SDL library included in the package, remove |
|   # ./lib from LD_LIBRARY_PATH                                                |
|   export LD_LIBRARY_PATH=./lib:./miles:$LD_LIBRARY_PATH                       |
|                                                                               |
|   ./nwmain $@                                                                 |
|                                                                               |
+-------------------------------------------------------------------------------+

This script sets up some environment variables, then launches the game binary
with whatever command line options we added. The relevant part here is the
environment variable called "LD_LIBRARY_PATH". This is a way of adding to the
linkers search path. Try copying the line to your shell and seeing what
happens when you re-run ldd.
+---------------------------------------------------------------------------+
|   $ export LD_LIBRARY_PATH=./lib:./miles:$LD_LIBRARY_PATH                 |
|   $ ldd nwmain                                                            |
|       linux-gate.so.1 =>  (0xffffe000)                                    |
|       libm.so.6 => /lib/libm.so.6 (0x40027000)                            |
|       libpthread.so.0 => /lib/libpthread.so.0 (0x40049000)                |
|       libGL.so.1 => /usr/lib/libGL.so.1 (0x4009b000)                      |
|       libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x40103000)              |
|       libmss.so.6 => ./miles/libmss.so.6 (0x40178000)                     |
|       libSDL-1.2.so.0 => ./lib/libSDL-1.2.so.0 (0x401ec000)               |
|       libc.so.6 => /lib/libc.so.6 (0x4025e000)                            |
|       /lib/ld-linux.so.2 (0x40000000)                                     |
|       libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40378000)              |
|       libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x40a50000)      |
|       libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40a52000)            |
|       libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40a60000)              |
|       libdl.so.2 => /lib/libdl.so.2 (0x40b2c000)                          |
|       libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40b30000)              |
|       libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x40be7000)                |
|                                                                           |
+---------------------------------------------------------------------------+

As you can see, this gives us slighly different results. The NWN library
directories have been prepended to the search path, so now the linker can
find libmss.so.6 in the "./miles" directory, and also finds the local copy of
libSDL first, no longer using the system copy.

There's another benefit of these scripts: they are easily edited to allow you
to provide your own copy of a library. Any game-supplied copy of a library
such as OpenAL or SDL is likely to be compiled for the lowest common
denominator, probably i486 or i686. If you have a Pentium4 or an AthlonXP,
you could compile you own version specifically for your processor. The
compiler will try to optimise the resulting binary, giving some increase in
performance. See the homepage for GCC for more information this at the GCC
site.

Making NWN use your system copy is easy. It says so in the wrapper script!
Remove "./lib:" from the LD_LIBRARY_PATH line, and you're good to go.

Another nice little trick is for games that use OpenAL for their sound output
(e.g. Unreal based games: UT, Postal, Rune, etc.). Since the Open Sound
System's (OSS) deprecation in favour of ALSA, all Linux distributions I've
seen now ship with ALSA support as default, with OSS support actually being
supplied via ALSA's compatability modules. The copies of openal.so
distributed with games often do NOT support ALSA, so making the game use a
copy compiled yourself will allow you to use ALSA natively.
Journalisée




Pages: [1]   Haut de page
Imprimer
Oltana.net  |  Informatique Pratique  |  Linux  |  Fil de discussion: Comment installer NWN sous LINUX?
 
Aller à:  

Powered by SMF 1.1.15 | SMF © 2006-2009, Simple Machines