#76 Le 07/12/2016, à 14:32
- syfran66
Re : Wine est coincé
Est ce que c'est comme ça?
yong@fg-Latitude-E4310 ~ $ cd ~/.local/share/winerepack/battlenet
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ gedit battlenet.sh
chmod +x battlenet.sh
gedit ~/.local/share/applications/battlenet.desktop
Hors ligne
#77 Le 07/12/2016, à 14:38
- abelthorne
Re : Wine est coincé
Je suis un peu perdu dans ce que tu essaies de faire, donc je vais détailler :
Si tu n'as pas encore créé le script :
1) Place-toi dans le dossier où il sera créé :
cd ~/.local/share/winerepack/battlenet
2) Lance Gedit avec le nom du fichier :
gedit battlenet.sh
Dans la fenêtre de l'éditeur de texte qui s'ouvre, fais un copier-coller du script que j'avais donné puis enregistre et ferme l'éditeur. Je le recopie ici :
#!/bin/bash
export CONFIGDIR="$HOME/.config/winerepack/battlenet"
export WINEDEBUG="-all"
export WINEPREFIX="$HOME/.local/share/winerepack/battlenet/data"
export GAMEDIR="$WINEPREFIX/drive_c/Program Files/Battle.net"
mkdir -p $CONFIGDIR
rm "$WINEPREFIX/drive_c/users/$USER/Mes documents"
ln -sf "$CONFIGDIR" "$WINEPREFIX/drive_c/users/$USER/Mes documents"
# to run Wine config, launch with -setup
if [ "$1" = "-setup" ]; then
winecfg
else
cd "$GAMEDIR"
wine "Battle.net Launcher.exe"
fi
exit 0;
3) Rends-le exécutable :
chmod +x battlenet.sh
4) Lance-le :
./battlenet.sh
Si Battle.net ne se lance pas avec cette dernière commande donne le retour de ce que tu obtiens dans le terminal.
Hors ligne
#78 Le 08/12/2016, à 07:14
- syfran66
Re : Wine est coincé
Effectivement ça ne se lance pas
yong@fg-Latitude-E4310 ~/Yong/Hearthstone $ cd ~/.local/share/winerepack/battlenet
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ gedit battlenet.sh
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ chmod +x battlenet.sh
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ ./battlenet.sh
./battlenet.sh: ligne 16 : cd: /home/yong/.local/share/winerepack/battlenet/data/drive_c/Program Files/Battle.net: Aucun fichier ou dossier de ce type
wine: cannot find 'Battle.net Launcher.exe'
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $
Hors ligne
#79 Le 08/12/2016, à 11:44
- abelthorne
Re : Wine est coincé
Je pense que tu as oublié d'exporte le préfixe (la commande "export WINEPREFIX ...") avant de lancer l'installation et qu'il s'est donc installé dans le préfixe par défaut (~/.wine). Pas très grave : commence par te placer dans le dossier battlenet (comme sur la deuxième capture) et supprime le dossier data. Ensuite, on va refaire l'installation en gardant ce qui est déjà en place (le script et le nouveau Winetricks) :
mkdir -p ~/.local/share/winerepack/battlenet/data
export WINEPREFIX="$HOME/.local/share/winerepack/battlenet/data"
wineboot
Ça va lui faire créer le dossier du préfixe. Ensuite, sans refermer le terminal :
cd ~/.local/share/winerepack/battlenet
./winetricks vcrun2015 corefonts
Enfin, toujours dans le même terminal :
wine ~/Battle.net-Setup.exe
(En supposant que l'installeur est toujours dans ton dossier perso, sinon retélécharge-le.)
Avec mes manips, je te fais créer une installation de Wine spécifique pour Battle.net (et les jeux Blizzard). Pour indiquer un nouveau dossier, on utilise la commande "export WINEPREFIX..." pour lui indiquer ou il se trouve. Mais la commande export ne reste en place que dans le terminal courant donc si tu le fermes, Wine se rabattra sur son dossier par défaut. Avec lesm ultiples manips qu'on a faites et qui se sont étalées sur un certain temps, je pense qu'au moment où tu as fini la procédure d'installation, il y a eu plusieurs sessions interrompues.
Une fois que Battle.net est (ré)installé, il devrait normalement se lancer avec mon script. Si c'est bon et que tu n'as rien installé d'autre avec Wine, tu supprimeras le dossier .wine (caché) qui se trouve directement dans ton dossier perso, histoire de virer le doublon de Battle.net qui doit s'y trouver.
Hors ligne
#80 Le 08/12/2016, à 12:23
- syfran66
Re : Wine est coincé
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ wine ~/Battle.net-Setup.exe
wine: cannot find '/home/yong/Battle.net-Setup.exe'
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ wine ~/Hearthstone-Setup.exe
wine: cannot find '/home/yong/Hearthstone-Setup.exe'
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ wine ~/Hearthstone-Setup.exe
wine: cannot find '/home/yong/Hearthstone-Setup.exe'
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $
Et pour le process complet:
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ mkdir -p ~/.local/share/winerepack/battlenet/data
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ export WINEPREFIX="$HOME/.local/share/winerepack/battlenet/data"
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ wineboot
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:dwmapi:DwmIsCompositionEnabled 0x6dbd1518
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x9c64f0, init_notify 0, handle 0x12ae190): stub
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x938718, init_notify 0, handle 0x116e7b4): stub
wine: configuration in '/home/yong/.local/share/winerepack/battlenet/data' has been updated.
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ cd ~/.local/share/winerepack/battlenet
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ ./winetricks vcrun2015 corefonts
------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20161107 - sha1sum: bab90b842d637039c2d44bbd2b57296376db83a3 with wine-1.9.24
Executing cd /tmp/winetricks.sjFjz3xs
Downloading https://raw.githubusercontent.com/Winetricks/winetricks/master/files/LATEST to /tmp/winetricks.sjFjz3xs
--2016-12-08 17:08:17-- https://raw.githubusercontent.com/Winetricks/winetricks/master/files/LATEST
Résolution de raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.100.133
Connexion à raw.githubusercontent.com (raw.githubusercontent.com)|151.101.100.133|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 9 [text/plain]
Enregistre : «LATEST»
100%[======================================>] 9 --.-K/s ds 0s
2016-12-08 17:08:19 (1,12 MB/s) - «LATEST» enregistré [9/9]
Executing cd /home/yong/.local/share/winerepack/battlenet
Executing w_do_call vcrun2015
Executing load_vcrun2015
------------------------------------------------------
Working around wine bug 37781
------------------------------------------------------
------------------------------------------------------
This may fail in non-XP mode, see https://bugs.winehq.org/show_bug.cgi?id=37781
------------------------------------------------------
Using native,builtin override for following DLLs: api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 atl140 msvcp140 msvcr140 ucrtbase vcomp140 vcruntime140
Executing winetricks_early_wine regedit C:\windows\Temp\_vcrun2015\override-dll.reg
Executing cd /home/yong/.cache/winetricks/vcrun2015
Executing wine vc_redist.x86.exe
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevation, ...) semi-stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevation, ...) semi-stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:advapi:DecryptFileW (L"C:\\users\\yong\\Temp\\{74d0e5db-b326-4dae-a6b2-445b9de1836e}\\", 00000000): stub
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
fixme:shell:SHAutoComplete stub
fixme:advapi:DecryptFileW (L"C:\\users\\yong\\Temp\\{74d0e5db-b326-4dae-a6b2-445b9de1836e}\\", 00000000): stub
fixme:wuapi:automatic_updates_Pause
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:wuapi:automatic_updates_Resume
------------------------------------------------------
Working around wine bug 30713 -- Manually extracting the 64-bit dlls
------------------------------------------------------
Executing cabextract -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_vcrun2015 vc_redist.x64.exe
Executing cabextract -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_vcrun2015 /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_vcrun2015/a10
/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_vcrun2015/a10: WARNING; possible 16128 extra bytes at end of file.
Executing cabextract -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_vcrun2015 /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_vcrun2015/a11
/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_vcrun2015/a11: WARNING; possible 16128 extra bytes at end of file.
Executing w_do_call corefonts
Executing load_corefonts
Executing cabextract -q -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts /home/yong/.cache/winetricks/corefonts/arial32.exe
Executing cp -f /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Arial.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Arialbd.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Arialbi.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Ariali.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/Fonts
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing cabextract -q -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts /home/yong/.cache/winetricks/corefonts/arialb32.exe
Executing cp -f /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/AriBlk.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/Fonts
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing cabextract -q -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts /home/yong/.cache/winetricks/corefonts/comic32.exe
Executing cp -f /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Comic.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Comicbd.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/Fonts
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing cabextract -q -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts /home/yong/.cache/winetricks/corefonts/courie32.exe
Executing cp -f /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/cour.ttf /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/courbd.ttf /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/courbi.ttf /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/couri.ttf /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/Fonts
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing cabextract -q -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts /home/yong/.cache/winetricks/corefonts/georgi32.exe
Executing cp -f /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Georgia.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Georgiab.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Georgiai.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Georgiaz.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/Fonts
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing cabextract -q -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts /home/yong/.cache/winetricks/corefonts/impact32.exe
Executing cp -f /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Impact.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/Fonts
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing cabextract -q -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts /home/yong/.cache/winetricks/corefonts/times32.exe
Executing cp -f /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Times.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Timesbd.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Timesbi.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Timesi.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/Fonts
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing cabextract -q -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts /home/yong/.cache/winetricks/corefonts/trebuc32.exe
Executing cp -f /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Trebucbd.ttf /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/trebuc.ttf /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/trebucbi.ttf /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/trebucit.ttf /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/Fonts
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing cabextract -q -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts /home/yong/.cache/winetricks/corefonts/verdan32.exe
Executing cp -f /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Verdana.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Verdanab.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Verdanai.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Verdanaz.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/Fonts
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing cabextract -q -q --directory=/home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts /home/yong/.cache/winetricks/corefonts/webdin32.exe
Executing cp -f /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/temp/_corefonts/Webdings.TTF /home/yong/.local/share/winerepack/battlenet/data/dosdevices/c:/windows/Fonts
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
Executing winetricks_early_wine regedit C:\windows\Temp\_corefonts\_register-font.reg
You opted in, so reporting 'w_workaround_wine_bug-37781 w_workaround_wine_bug-30713 vcrun2015 corefonts ' to the winetricks maintainer so he knows which winetricks verbs get used and which don't. Use --optout to disable future reports.
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ wine ~/Battle.net-Setup.exe
wine: cannot find '/home/yong/Battle.net-Setup.exe'
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ wine ~/Hearthstone-Setup.exe
wine: cannot find '/home/yong/Hearthstone-Setup.exe'
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ wine ~/Hearthstone-Setup.exe
wine: cannot find '/home/yong/Hearthstone-Setup.exe'
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $
Hors ligne
#81 Le 08/12/2016, à 12:33
- abelthorne
Re : Wine est coincé
wine: cannot find '/home/yong/Battle.net-Setup.exe'
Comme je l'avais précisé, c'était en supposant que l'installeur de Battle.net soit toujours dans ton dossier perso. Si tu l'as déplacé, il faut adapter le chemin, ou le retélécharger si tu l'as supprimé.
Hors ligne
#82 Le 08/12/2016, à 15:24
- syfran66
Hors ligne
#83 Le 08/12/2016, à 15:40
- abelthorne
Re : Wine est coincé
C'est normal, il te rendra la main une fois que tu auras quitté Battle.net (quand tu lances une commande dans un terminal, il rend la main une fois qu'elle se termine).
Il ne te reste plus qu'à créer le lanceur et Battle.net apparaître dans ton menu Applications :
gedit ~/.local/share/applications/battlenet.desktop
Dedans tu colles ça :
[Desktop Entry]
Name=Battle.net
Comment=Battle.net
Exec=/home/yong/.local/share/winerepack/battlenet/battlenet.sh
Path=/home/yong/.local/share/winerepack/battlenet
Type=Application
Icon=/home/yong/.local/share/winerepack/battlenet.png
Categories=Game
[Desktop Action Addon]
Name=Wine config
Exec=/home/yong/.local/share/winerepack/battlenet/battlenet.sh -setup
Pour l'icône, trouves-en une sur Internet en PNG et mets-la dans le dossier ~/.local/share/winerepack/battlenet sous le nom battlenet.png et ça devrait être bon.
À savoir : il y a actuellement un bug dans Wine qui concerne Battle.net et qui fait que lorsque tu reçois un message dans le chat ou en jeu, il y a un bruit fort et distordu assez désagréable. Il y a eu un patch proposé hier donc ça devrait se régler assez rapidement avec une mise à jour de Wine.
Dernière modification par abelthorne (Le 08/12/2016, à 15:42)
Hors ligne
#85 Le 08/12/2016, à 16:30
- abelthorne
Re : Wine est coincé
Il y a encore Battle.net qui est réduit danzs la barre des tâches. Appuie sur ctrl + C, ça devrait tuer le processus et te permettre de fermer le terminal.
Par contre, tu peux virer les liens Battle.net et HearthStone créés par Wine, privilégie plutôt le lanceur que je t'ai fait créé et qui lance mon script. Pour lancer HearthStone, tu dois de toute façon lancer Battle.net. Mon lanceur devrait apparaître dans le menu Applications → Jeux.
Hors ligne
#86 Le 09/12/2016, à 08:48
- syfran66
Re : Wine est coincé
Est ce que supprimer le dossier .wine ne va pas m'empêcher d'utiliser wine pour d'autres applkications windows?
Autre chose, ça fait longtemps que j'ai un petit souci de renommage de fichiers c'est à dire que je ne voit pas ce que j'écris et quand je valide ça affiche bien le nouveau nom. Sauf que maintenant il ne veut rien renommer du tout, il affiche l'ancien nom surligné en vert mais quand je frappe il ne se passe rien et quand je valide ça n'a pas changé de nom. Du coup je ne peux pas renommer une icone en Battlenet.png.
Et quand je fais "menu application/Jeux/battlenet" ça ne démarre pas. Sinon ça fonctionne avec les lanceurs installés par l'install.
Hors ligne
#87 Le 09/12/2016, à 11:08
- abelthorne
Re : Wine est coincé
Est ce que supprimer le dossier .wine ne va pas m'empêcher d'utiliser wine pour d'autres applkications windows?
Non, c'est juste le dossier dans lequel Wine simule son installation de Windows. Il le recréera au besoin. Mais si tu avais installé des logiciels là avant Battle.net, ça va les supprimer au passage.
Autre chose, ça fait longtemps que j'ai un petit souci de renommage de fichiers c'est à dire que je ne voit pas ce que j'écris et quand je valide ça affiche bien le nouveau nom. Sauf que maintenant il ne veut rien renommer du tout, il affiche l'ancien nom surligné en vert mais quand je frappe il ne se passe rien et quand je valide ça n'a pas changé de nom. Du coup je ne peux pas renommer une icone en Battlenet.png.
Si tu appuies sur F2 avec un fichier sélectionné, ça ne passe pas en mode "renommage" ?
Et quand je fais "menu application/Jeux/battlenet" ça ne démarre pas. Sinon ça fonctionne avec les lanceurs installés par l'install.
Oui mais les lanceurs de l'installation ne passent pas par mon script. Ça ne change pas grand chose au final mais si un jour tu veux modifier le script pour une raison quelconque (par exemple, moi, je lui fais lancer Track-o-Bot automatiquement avant Battle.net pour gérer mes stats sur HS), autant faire le lanceur pour lui.
On va revérifier un truc :
cd ~/.local/share/winerepack/battlenet
./battlenet.sh
Est-ce que Battle.net se lance ?
Si oui :
cat ~/.local/share/applications/battlenet.desktop
Hors ligne
#88 Le 09/12/2016, à 11:22
- syfran66
Re : Wine est coincé
Pour ce qui est du renommage que ce soit par F2 ou par clic droit/renommer ça donne bien le mode renommage mais ça ne fait rien quand j'écris le nouveau nom.
En ce qui concerne le lancement voilà ce que dit le terminal:
yong@fg-Latitude-E4310 ~ $ cd ~/.local/share/winerepack/battlenet
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ ./battlenet.sh
./battlenet.sh: ligne 16 : cd: /home/yong/.local/share/winerepack/battlenet/data/drive_c/Program Files/Battle.net: Aucun fichier ou dossier de ce type
wine: cannot find 'Battle.net Launcher.exe'
yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $
qui donc ne lance pas battlenet.
Hors ligne
#89 Le 09/12/2016, à 11:39
- abelthorne
Re : Wine est coincé
Pour ce qui est du renommage que ce soit par F2 ou par clic droit/renommer ça donne bien le mode renommage mais ça ne fait rien quand j'écris le nouveau nom.
Et ça le fait partout ou seulement dans ce dossier ? Dans ce dernier cas, ça pourrait juste être un problème de permissions bizarres dessus. Vérifie le retour de :
ls -l ~/Téléchargements
ls -l ~/Téléchargements/hearthstoneicons2_by_mgbeach-d6rzy3j
ls -l ~/Téléchargements/hearthstoneicons2_by_mgbeach-d6rzy3j/PNG
yong@fg-Latitude-E4310 ~ $ cd ~/.local/share/winerepack/battlenet yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $ ./battlenet.sh ./battlenet.sh: ligne 16 : cd: /home/yong/.local/share/winerepack/battlenet/data/drive_c/Program Files/Battle.net: Aucun fichier ou dossier de ce type wine: cannot find 'Battle.net Launcher.exe' yong@fg-Latitude-E4310 ~/.local/share/winerepack/battlenet $
qui donc ne lance pas battlenet.
Ah, oui, pardon, je crois qu'il y a une erreur dans le script parce que je l'avais modifié pour quelqu'un d'autre et ça m'est complètement sorti de la tête en te le redonnant. Chez toi, il devrait être installé dans "Program Files (x86)" et pas "Program Files" tout court. Vérifie que tu as bien un dossier Battle.net dans "~/.localshare/winerepack/battlent/drive_c/Program Files (x86)", soit en y allant avec ton navigateur de fichiers, soit avec :
ls -l "$HOME/.localshare/winerepack/battlent/drive_c/Program Files (x86)"
Dernière modification par abelthorne (Le 09/12/2016, à 11:39)
Hors ligne
#90 Le 09/12/2016, à 12:26
- syfran66
Re : Wine est coincé
Et ça le fait partout ou seulement dans ce dossier ? Dans ce dernier cas, ça pourrait juste être un problème de permissions bizarres dessus. Vérifie le retour de :
Oui ça le fait partout:
yong@fg-Latitude-E4310 ~ $ ls -l ~/Téléchargements
total 3909312
-rw-r--r-- 1 yong yong 100927 oct. 31 17:33 14872663_10154747500015774_166523601_n.jpg
-rw-r--r-- 1 yong yong 103442 oct. 31 17:32 14877278_10154747499895774_725583828_n.jpg
-rw-r--r-- 1 yong yong 96162 oct. 31 17:33 14885845_10154747500195774_2070811501_n.jpg
-rw-r--r-- 1 yong yong 128667 nov. 4 16:29 14962280_10154759873695774_1822616405_n.jpg
-rw-r--r-- 1 yong yong 111846 nov. 4 16:29 14972065_10154759873665774_731076385_n.jpg
-rw-r--r-- 1 yong yong 51204 nov. 22 13:25 15134479_203284693457055_1446168154_n.jpg
-rw-r--r-- 1 yong yong 101678 déc. 4 08:45 15310750_10154850824630774_119722345_n(1).jpg
-rw-r--r-- 1 yong yong 101678 déc. 4 08:43 15310750_10154850824630774_119722345_n.jpg
-rw-r--r-- 1 yong yong 54790 déc. 4 08:52 15320408_10154850843740774_1573297220_n.jpg
-rw-r--r-- 1 yong yong 22048174 janv. 29 2016 android-sdk_r16-linux.tgz
-rw-r--r-- 1 yong yong 1396863595 juin 25 2015 AUTODATA 3.40-PT-PT.7z
-rw-r--r-- 1 yong yong 330752 mai 20 2016 AY Logbook.doc
-rw-r--r-- 1 yong yong 7238 déc. 9 13:07 battlenet_72px_558374_easyicon.net.png
-rw-r--r-- 1 yong yong 227202 août 24 17:53 Bluetooth_Headsets.pdf
-rw-r--r-- 1 yong yong 993784 juin 8 2016 Broker Manual - Final Version.pdf
-rw------- 1 yong yong 90 juin 5 2014 cle_wifi.txt
-rw-r--r-- 1 yong yong 188916 juin 20 16:58 Demande de Virement Francis guerre-Genton Juin 2016.pdf
-rw-r--r-- 1 yong yong 272490273 août 13 17:12 Etienne Chouard - Conférence de Montpellier [Low, 360p].webm
drwxr-xr-x 2 yong yong 4096 déc. 8 14:13 Ex Machina (2015) [1080p]
-rw-r--r-- 1 yong yong 61887 janv. 3 2016 fastboot-linux.zip
drwxrwxr-x 5 yong yong 4096 juin 23 15:24 fr
-rw-r--r-- 1 yong yong 34696 nov. 24 12:10 General & safety Briefs for Skippers.docx
drwxr-xr-x 2 yong yong 4096 déc. 8 14:31 Hacker.2016.SweSub.WEB-DL.x264-MusBull
drwxr-xr-x 2 yong yong 4096 déc. 8 13:40 Hacking for Beginners The Ultimate Guide For Newbie Hackers (2016) [WWRG]
drwxr-xr-x 4 yong yong 4096 déc. 9 03:01 hearthstoneicons2_by_mgbeach-d6rzy3j
-rw-r--r-- 1 yong yong 10395608 déc. 9 02:59 hearthstoneicons2_by_mgbeach-d6rzy3j.zip
-rw-r--r-- 1 yong yong 52670 nov. 28 18:47 INSTRUCTION Papa.pdf
-rw-r--r-- 1 yong yong 18335 nov. 28 18:41 INSTRUCTION .pdf
drwxr-xr-x 2 yong yong 4096 déc. 8 13:46 Kingsglaive.Final.Fantasy.XV.2016.HDRip.XviD.AC3-EVO
drwxr-xr-x 2 yong yong 4096 déc. 8 14:22 Kubo.and.the.Two.Strings.2016.HDRip.XviD.AC3-EVO
-rw-r--r-- 1 yong yong 27362369 mai 20 2014 Laigneau AmВlie - Les miracles du bicarbonate de soude.pdf
-rw-r--r-- 1 yong yong 53947303 déc. 3 17:31 la-planete-bleue_20161105_full_la-planete-bleue_1c0aafd4-3e49-4620-ab98-cca31abd8795-128k.mp3
-rw-r--r-- 1 yong yong 1467838464 déc. 8 14:37 NePBB.2O16.D.HDRip.14OOMB_KOSHARA.avi
-rw-r--r-- 1 yong yong 1228904 oct. 2 16:08 norme_photo.pdf
drwxr-xr-x 3 yong yong 4096 déc. 8 14:21 Now.You.See.Me.2.2016.BDRip.XviD.AC3-EVO
-rw-r--r-- 1 yong yong 19252448 janv. 3 2016 OneClickRoot.exe
-rw-r--r-- 1 yong yong 99840 juin 20 23:25 Ordre TRF Etranger.doc
-rw-r--r-- 1 yong yong 5954048 nov. 16 08:17 P1000806.JPG
-rw-r--r-- 1 yong yong 61440 août 12 14:40 Paraty.doc
-rw-r--r-- 1 yong yong 300275 déc. 5 2015 photo.php
-rw-r--r-- 1 yong yong 26654260 août 15 2015 きゃりーぱみゅぱみゅ - PONPONPON , Kyary Pamyu Pamyu - PONPONPON (Low).webm
-rw-r--r-- 1 yong yong 1743757 mai 23 2016 S3125.pdf
drwxr-xr-x 3 yong yong 4096 août 27 2015 Setting Up GPS | Official OpenCPN Homepage_fichiers
-rw-r--r-- 1 yong yong 117711 août 27 2015 Setting Up GPS | Official OpenCPN Homepage.html
-rw-r--r-- 1 yong yong 13283 sept. 30 16:31 Specs Paraty.odt
-rw-r--r-- 1 yong yong 773825 nov. 22 13:24 Sven Vath Illuzion.html
-rw-r--r-- 1 yong yong 1963786 nov. 25 2015 tara (1 sur 1).jpg
drwxr-xr-x 2 yong yong 4096 déc. 8 12:46 Terra Nova season 1
-rw-r--r-- 1 yong yong 83410059 déc. 8 14:03 The Hacker's Manual (2015).pdf
-rw-r--r-- 1 yong yong 37166507 août 6 12:36 The Wisdom Podcast - Mingyur Rinpoche Stories of Wandering and Awakening.mp3
drwxr-xr-x 2 yong yong 4096 déc. 8 14:49 Time Lapse (2014) [1080p]
-rw-r--r-- 1 yong yong 745963 août 28 21:14 Trois_Filles_de_leur_mère.pdf
-rw-r--r-- 1 yong yong 256 janv. 5 2016 Unlock_code.bin
-rw-r--r-- 1 yong yong 362570611 mai 5 2016 Visually and Respectfully Yours.mp4
-rw-r--r-- 1 yong yong 183044 juil. 26 11:45 What We Need to List Your Catamaran.docx
-rw-r--r-- 1 yong yong 25614 juil. 26 11:45 WHY LIST YOUR BOAT WITH THE MULTIHULL COMPANY.docx
drwxrwxr-x 12 yong yong 4096 déc. 3 21:35 wine-1.8.5
-rw-r--r-- 1 yong yong 206218496 août 25 20:06 Wish Fulfilling Gem, An Interview with H.H. the 16th Gyalwa Karmapa_DLDV000167 The Meridian Trust.flv
-rw-r--r-- 1 yong yong 736288 févr. 29 2016 Xray Francis Guerre-Genton n°45.JPG
yong@fg-Latitude-E4310 ~ $ ls -l ~/Téléchargements/hearthstoneicons2_by_mgbeach-d6rzy3j
total 8
drwx------ 2 yong yong 4096 déc. 9 03:01 ICO
drwx------ 2 yong yong 4096 déc. 9 13:01 PNG
yong@fg-Latitude-E4310 ~ $ ls -l ~/Téléchargements/hearthstoneicons2_by_mgbeach-d6rzy3j/PNG
total 4068
-rw-r--r-- 1 yong yong 429786 oct. 27 2013 HearthstoneIcon4.png
-rw-r--r-- 1 yong yong 542329 oct. 27 2013 HearthstoneIcon5.png
-rw-r--r-- 1 yong yong 457495 oct. 26 2013 HearthstoneIcon_NoShine.png
-rw-r--r-- 1 yong yong 484239 oct. 26 2013 HearthstoneIcon_NoShine_v2.png
-rw-r--r-- 1 yong yong 455490 oct. 26 2013 HearthstoneIcon_Shine.png
-rw-r--r-- 1 yong yong 471729 oct. 26 2013 HearthstoneIcon_Shine_v2.png
-rw-r--r-- 1 yong yong 329986 oct. 27 2013 HearthstonIcon2.png
-rw-r--r-- 1 yong yong 610660 oct. 27 2013 HearthstonIcon3.png
-rw-r--r-- 1 yong yong 363627 oct. 27 2013 Untitled-1.png
yong@fg-Latitude-E4310 ~ $
Ah, oui, pardon, je crois qu'il y a une erreur dans le script parce que je l'avais modifié pour quelqu'un d'autre et ça m'est complètement sorti de la tête en te le redonnant. Chez toi, il devrait être installé dans "Program Files (x86)" et pas "Program Files" tout court. Vérifie que tu as bien un dossier Battle.net dans "~/.localshare/winerepack/battlent/drive_c/Program Files (x86)", soit en y allant avec ton navigateur de fichiers, soit avec :
Oui c'est bien dans "Program Files (x86)"
Hors ligne
#91 Le 09/12/2016, à 12:35
- abelthorne
Re : Wine est coincé
Ok. Édite le script :
gedit ~/.local/share/winerepack/battlenet/battlenet.sh
et corrige le chemin dans la sixième ligne comme ça :
export GAMEDIR="$WINEPREFIX/drive_c/Program Files (x86)/Battle.net"
Ensuite il devrait fonctionner.
Pour ton problème de renommage, je n'ai pas vraiment d'idée, je n'ai jamais vu de problème similaire. Est-ce que ça fonctionne en ligne de commande ?
cd ~/Téléchargements/hearthstoneicons2_by_mgbeach-d6rzy3j/PNG
mv HearthstoneIcon4.png hearthstone.png
Quoi qu'il en soit, je te disais de renommer l'icône parce que je l'avais mise comme "battlenet.png" dans le lanceur mais tu peux mettre ce que tu veux dans ce dernier.
Dernière modification par abelthorne (Le 09/12/2016, à 12:37)
Hors ligne
#92 Le 09/12/2016, à 20:04
- syfran66
Re : Wine est coincé
Le lanceur fonctionne maintenant.
Le renommage marche en ligne de commande et en redémarrant ça marche aussi en clic droit/ renommer.
Par contre j'ai bien mis l'icone dans le dossier indiqué le lanceur dans menu app/jeux ne la montre pas.
Dernière modification par syfran66 (Le 09/12/2016, à 20:18)
Hors ligne
#93 Le 09/12/2016, à 20:25
- abelthorne
Re : Wine est coincé
Elle a le même nom et le même chemin que dans le lanceur ?
Hors ligne
#94 Le 10/12/2016, à 04:17
- syfran66
Re : Wine est coincé
Pour l'icône, trouves-en une sur Internet en PNG et mets-la dans le dossier ~/.local/share/winerepack/battlenet sous le nom battlenet.png et ça devrait être bon.
J'ai quand même essayé avec Battle.net; battle.net; Battlenet et battlenet mais ça n'a marché avec aucun.
Hors ligne
#95 Le 10/12/2016, à 10:42
- abelthorne
Re : Wine est coincé
Bon : donne le retour de ces deux commandes :
cat ~/.local/share/applications/battlenet.desktop
ls ~/.local/share/winerepack.battlenet
Hors ligne
#96 Le 10/12/2016, à 13:09
- syfran66
Re : Wine est coincé
yong@fg-Latitude-E4310 ~ $ cat ~/.local/share/applications/battlenet.desktop
[Desktop Entry]
Name=Battle.net
Comment=Battle.net
Exec=/home/yong/.local/share/winerepack/battlenet/battlenet.sh
Path=/home/yong/.local/share/winerepack/battlenet
Type=Application
Icon=/home/yong/.local/share/winerepack/battlenet.png
Categories=Game
[Desktop Action Addon]
Name=Wine config
Exec=/home/yong/.local/share/winerepack/battlenet/battlenet.sh -setup
yong@fg-Latitude-E4310 ~ $ ls ~/.local/share/winerepack.battlenet
ls: impossible d'accéder à /home/yong/.local/share/winerepack.battlenet: Aucun fichier ou dossier de ce type
yong@fg-Latitude-E4310 ~ $
Hors ligne
#97 Le 10/12/2016, à 13:17
- abelthorne
Re : Wine est coincé
J'ai fait une faute de frappe. C'est bien sûr :
ls ~/.local/share/winerepack/battlenet
EDIT : et je vois que j'en avait fait une aussi dans le fichier .desktop (oubli du nom du dossier). La ligne Icon devrait être comme ça :
Icon=/home/yong/.local/share/winerepack/battlenet/battlenet.png
Ouvre le fichier et corrige-la :
gedit ~/.local/share/applications/battlenet.desktop
Dernière modification par abelthorne (Le 10/12/2016, à 13:19)
Hors ligne
#98 Le 10/12/2016, à 13:53
- syfran66
Re : Wine est coincé
C'est bon du coup ça marche
yong@fg-Latitude-E4310 ~ $ ls ~/.local/share/winerepack/battlenet
Battle.net.png battlenet.sh data winetricks
Hors ligne
#99 Le 11/12/2016, à 13:21
- syfran66
Re : Wine est coincé
Bon je suppose que c'est tout bon maintenant.
En tout cas merci infinibonne continuation.ment, heureusement qu'il y a d'aimables nerds comme toi pour aider les pauvres noobs comme moi.
Je laisse mon email, si tu passes à Phuket je te payes un verre.
Allez bonne continuation.
Francis
[ Modéré ]
Edit : Éviter les adresses email dans les messages !
Dernière modification par cqfd93 (Le 11/12/2016, à 18:34)
Hors ligne
#100 Le 11/12/2016, à 13:36
- abelthorne
Re : Wine est coincé
No problemo, mais à ta place je ne laisserais pas une adresse e-mail en clair sur le forum, tu vas te taper du spam.
Hors ligne