Pages : 1
#1 Le 12/02/2012, à 14:23
- ouzmoutous
Wine lord of the ring battle for middle earth 2 [resolu]
Bonjour.
J'essai actuellement d'installer Le seigneur des anneaux la bataille pour la terre du millieu 2 (un jeu avec un trèèèèès long nom ^^).
J'ai donc ouvert un terminal et fait :
wine /media/iso/AutoRun.exe
Ce qui m'ouvre une petite fenêtre "autorun.exe" avec dedans : "Fichier introuvable ou corrompu. Z:\home\emeric\AutoRunGUI.DLL"
Je clic donc sur OK et télécharge ce dll ici.
Je relance l'installation ce qui me donne :
"Found DLL 'Z:\home\emeric\AutoRunGUI.DLL', but required function "dllMessageBox" is missing"
Et le terminal me dit :
fixme:advapi:SetSecurityInfo stub
fixme:dpnhpast:DllRegisterServer :stub
err:service:service_send_command service protocol error - failed to read pipe r = 0 count = 0!
Ce que je ne comprends pas ^^
Une idée ?
Petites info en plus : j'ai wine1.3 avec wine1.3-gecko
Dernière modification par ouzmoutous (Le 25/02/2012, à 21:44)
Si c'est par les erreurs qu'on apprend, je vais devenir surdoué
Hors ligne
#2 Le 12/02/2012, à 15:19
- bwaman
Re : Wine lord of the ring battle for middle earth 2 [resolu]
salut
bon déjà bonne nouvelle ton jeu marche bien sous wine pour ton problème au lieu de passé par la commande (qui parfois déconne) double clique sur autorun.exe
c'est bizard mais même chez moi la commande déconne sur certain jeu or quant on clique sur autorun.exe sa marche niquel pour quel raison je ne sais pas
CPU: Intel Centrino Duo 2.2Ghz GPU: Nvidia 8600GS
RAM: 4Go HDD: 2X250Go
UBUNTU 12.10 (64Bits) [ The Quantal Quetzal ]
Hors ligne
#3 Le 12/02/2012, à 19:12
- abelthorne
Re : Wine lord of the ring battle for middle earth 2 [resolu]
Essaie de te placer d'abord dans le dossier qui contient l'autorun (c'est ce que fait le navigateur de fichiers quand on clique sur une icône) :
cd /media/iso
wine AutoRun.exe
Il y a beaucoup de logiciels (Windows ou Linux, ce n'est pas spécifique à Wine) qui cherchent des fichiers complémentaires dans le dossier courant. Donc quand tu les exécutes depuis un autre endroit, ils ne retrouvent pas ce dont ils ont besoin.
C'est une bonne habitude à prendre, de toujours se placer dans le dossier d'un logiciel avant de le lancer (ça ne vaut pas pour tout ce qui est commandes de bases et autres logiciels proprement installés au niveau système, qui gèrent justement ça comme il faut).
Dernière modification par abelthorne (Le 12/02/2012, à 19:12)
Hors ligne
#4 Le 12/02/2012, à 22:09
- ouzmoutous
Re : Wine lord of the ring battle for middle earth 2 [resolu]
Merci à vous deux pour ces réponses très instructives !
J'ai du coup réussit à l'installer, mais c'est pas encore gagné... Le jeu ne se lance pas.
Déjà, je précise que j'ai un PC portable équipé de la technologie "optimus" (une carte graphique Nvidia et une autre intel). J'ai donc installé IronHide qui permet de plus ou moins gérer les deux.
Bref, quand je lance le jeu en cliquant sur l'icone, une image du jeu se met et j'ai un message d'érreur : "Assurez-vous que Directx 9.0 ou supérieur est installé. Vérifiez que votre carte graphique possède la configuration minimale et que vous n'avez pas désactivé l'accélération matérielle dans le panneau de configuration Affichage."
Sauf que : j'ai donc installé directx de toutes la façons possibles (depuis le cd, en ajoutant des dll, en le téléchargeant sur le site qui donnait les dll à télécharger...) et ma carte graphique est largement assez puissante.
Quand je lance en ligne de commande (depuis le répértoire ~/.wine/.../MonJeux/)
wine lrbme.exe
fixme:advapi:SetSecurityInfo stub
fixme:dpnhpast:DllRegisterServer :stub
fixme:imm:ImmDisableTextFrameService Stub
err:service:service_send_command service protocol error - failed to read pipe r = 0 count = 0!
Avec une fenêtre invisible qui fait surement la taille de la fenêtre quand le jeux s'ouvre avec l'image du seigneur des anneaux. Cette fenêtre reste en premier plan.
Donc j'essai de le lancer avec la carte Nvidia (commande optirun)
optirun wine lorbfme2.exe
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
fixme:advapi:SetSecurityInfo stub
fixme:dpnhpast:DllRegisterServer :stub
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
fixme:imm:ImmDisableTextFrameService Stub
err:service:service_send_command service protocol error - failed to read pipe r = 0 count = 0!
Avec toujours la fenêtre transparente en premier plan.
Donc, après quelques recherches je tombe sur ce site : http://www.dedoimedo.com/games/wine-directx.html
et là j'appercois un test de directx, je le lance mais il échou de la sorte :
system32 # wine dxdiag.exe
fixme:advapi:SetSecurityInfo stub
fixme:dpnhpast:DllRegisterServer :stub
err:wgl:has_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
err:wgl:has_opengl OpenGL support is disabled.
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
Direct3D9 is not available without OpenGL.
fixme:win:EnumDisplayDevicesW ((null),0,0x33e4ac,0x00000000), stub!
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:ddraw:ddraw_create_swapchain Failed to create swapchain, hr 0x8876086c.
err:ddraw:ddraw7_SetCooperativeLevel Failed to create swapchain, hr 0x8876086c.
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a761-90c8-11d0-bd43-00a0c911ce86} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found
fixme:dxdiag:wWinMain Information dialog is not implemented
J'essai donc avec optirun :
system32 # optirun wine dxdiag.exe
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored.
fixme:advapi:SetSecurityInfo stub
fixme:dpnhpast:DllRegisterServer :stub
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly (using GL renderer "Mesa DRI Intel(R) Sandybridge Mobile ", version "1.4 (2.1 Mesa 7.11)").
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
fixme:win:EnumDisplayDevicesW ((null),0,0x33d6d4,0x00000000), stub!
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
fixme:win:EnumDisplayDevicesW ((null),0,0x33d5f4,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
Xlib: extension "NV-GLX" missing on display ":0".
Xlib: extension "NV-GLX" missing on display ":0".
X Error of failed request: GLXUnsupportedPrivateRequest
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 16 (X_GLXVendorPrivate)
Serial number of failed request: 1326
Current serial number in output stream: 1327
Another ironhide powered application is running, keeping ironhide alive.
Les erreurs indiquent qu'il manque quelque chose mais je ne vois pas quoi :$
Si c'est par les erreurs qu'on apprend, je vais devenir surdoué
Hors ligne
#5 Le 12/02/2012, à 22:40
- abelthorne
Re : Wine lord of the ring battle for middle earth 2 [resolu]
En règle générale, il n'y a pas besoin d'installer DirectX : Wine a sa propre implémentation. Quoi qu'il en soit, j'ai l'impression que le problème vient du fait que tu ne peux pas switcher sur le GPU nVidia. Il y a plusieurs biblis "faker" qui ne peuvent pas être chargées.
J'y connais rien à ce genre de système mais peut-être que ça ne marche pas avec Wine en utilisant ta commande optirun et qu'il faudrait procéder autrement...
Est-ce que tu peux lancer des jeux natifs sans problèmes avec le GPU nVidia en utilisant optirun ?
Hors ligne
#6 Le 12/02/2012, à 23:05
- ouzmoutous
Re : Wine lord of the ring battle for middle earth 2 [resolu]
ow... la dèch... quand je lance supertuxkart ça ne marche pas avec optirun, ni optirun64 ni optirun32...
Alors après, ironhide possède une petite interface qui permet de cocher telle ou telle applications à lancer avec l'autre carte (nvidia), j'ai essayé de faire ça pour supertuxkart et ça demarre bien ! Après je ne peux pas vérifier (je ne sais pas) s'il tourne bien sur la Nvidia. J'ai essayé de faire de même en cochant "wine" mais toujours cette erreur de directx...
Cela signifie t-il que je dois renoncer à jouer sur mon PC pour le moment ?
EDIT : voilà l'erreur lors du lancement de supertuxkart :
optirun supertuxkart
* Starting Ironhide X server ironhide . [ OK ]
Irrlicht Engine version 1.7.2
Linux 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64
[FileManager] Data files will be fetched from: '/usr/share/games/supertuxkart/'
[IrrDriver] Creating NULL device
Irrlicht Engine version 1.7.2
Linux 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64
[IrrDriver] Trying OpenGL rendering.
[IrrDriver] Tring to create device with 32 bits
/usr/bin/optirun: line 134: 19613 Segmentation fault vglrun -c $VGL_COMPRESS -d $VGL_DISPLAY -ld "$VGL_DRIVER" "$@"
* Stopping Ironhide X server ironhide [ OK ]
Dernière modification par ouzmoutous (Le 12/02/2012, à 23:08)
Si c'est par les erreurs qu'on apprend, je vais devenir surdoué
Hors ligne
#7 Le 14/02/2012, à 16:58
- ouzmoutous
Re : Wine lord of the ring battle for middle earth 2 [resolu]
Mais du coup, la intel je m'en fiche un peu enfait. Est ce que ça marche avec les ordinateurs disposant d'optimus de ne pas utiliser la carte intel et d'utiliser uniquement celle de Nvidia ? et si oui, si vous avez un petit tuto sous la main je suis preneur ^^. Car si je comprends bien, si je tourne uniquement sur ma Nvidia les jeux devraient passer... Non ?
Si c'est par les erreurs qu'on apprend, je vais devenir surdoué
Hors ligne
#8 Le 14/02/2012, à 17:10
- abelthorne
Re : Wine lord of the ring battle for middle earth 2 [resolu]
À moins que le GPU Intel soit désactivable via le BIOS (je ne crois pas que ce soit possible), faut voir du côté du projet Bumblebee mais je suppose que c'est ce que tu as déjà fait.
Tout ce que je peux te dire, c'est d'aller voir la doc obsolète et les sujets du forum dont elle parle.
Hors ligne
#9 Le 25/02/2012, à 21:43
- ouzmoutous
Re : Wine lord of the ring battle for middle earth 2 [resolu]
Alors enfait, IronHide utilisait Bumblelbee. Cependant, j'ai du coup voulu essayer de le faire uniquement via Bumblebee en désinstallant IronHide (qui au final ne marchait pas) et là ça marche !
Ce que j'ai fait :
sudo apt-get remove ironhide
reboot # pour être certain ^^
Puis en suivant ce site, j'ai reinstallé Bumblebee seul (pensez à remplacer $USER par votre utilisateur)
sudo add-apt-repository ppa:bumblebee/stable && sudo apt-get purge nvidia-current && add-apt-repository ppa:ubuntu-x-swat/x-updates && sudo apt-get update && sudo apt-get install bumblebee && sudo usermod -a -G bumblebee $USER
Après, un petit
optirun wine lotrbfme2.exe
Merci abelthorne pour tes lumières !
Si c'est par les erreurs qu'on apprend, je vais devenir surdoué
Hors ligne