Wiki » History » Version 11
Gabor Murray, 03/29/2025 09:16 PM
| 1 | 5 | h1. Wine-Wiki |
|
|---|---|---|---|
| 2 | |||
| 3 | |||
| 4 | 1. Creare un @WINEPREFIX@ nella home |
||
| 5 | |||
| 6 | <pre> |
||
| 7 | WINEPREFIX="$HOME/.wine-dir" WINEARCH=win32 wine wineboot |
||
| 8 | </pre> |
||
| 9 | |||
| 10 | 2. Scaricare @winetricks@ |
||
| 11 | |||
| 12 | <pre> |
||
| 13 | wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks |
||
| 14 | </pre> |
||
| 15 | |||
| 16 | 3. Renderlo eseguibile |
||
| 17 | |||
| 18 | <pre> |
||
| 19 | chmod +x winetricks |
||
| 20 | </pre> |
||
| 21 | |||
| 22 | 4. Installare @corefonts@ e le librerie @dotnet@ (4.6.2 in questo caso) specificando il sistema operativo Windows XP. NB: per problemi con @dotnet461@ vedi sotto |
||
| 23 | |||
| 24 | <pre> |
||
| 25 | WINEPREFIX="$HOME/.wine-dir" ./winetricks corefonts dotnet462 ddr=gdi winxp |
||
| 26 | </pre> |
||
| 27 | |||
| 28 | |||
| 29 | 5. Esecuzione di un Programma .exe |
||
| 30 | |||
| 31 | <pre> |
||
| 32 | WINEPREFIX="$HOME/.wine-dir" wine programma.exe |
||
| 33 | </pre> |
||
| 34 | |||
| 35 | h3. dotnet461 crashing GUI bug |
||
| 36 | |||
| 37 | Nel caso si presenti un problema con l'installazione di @dotnet461@ lanciare @winetricks@ con l'opzione -q per aggirare il crash della GUI |
||
| 38 | |||
| 39 | <pre> |
||
| 40 | WINEPREFIX="$HOME/.wine-dir" ./winetricks -q dotnet462 |
||
| 41 | </pre> |
||
| 42 | |||
| 43 | 6 | Gabor Murray | h3. Montare un'immagine ISO |
| 44 | |||
| 45 | Montare inizialmente l'immagine in linux, ad esempio con furius iso mount |
||
| 46 | Lanciare wincfg |
||
| 47 | |||
| 48 | <pre> |
||
| 49 | WINEPREFIX="$HOME/.wine-dir" winecfg |
||
| 50 | </pre> |
||
| 51 | |||
| 52 | Nella finestra che comparirà: |
||
| 53 | |||
| 54 | * selezionare la tab "Unità" (Drivers in inglese); |
||
| 55 | * aggiungere o modificare una unità già esistente; |
||
| 56 | * scegliere il percorso in cui è stata montata la ISO; |
||
| 57 | * aprire la sezione "Avanzate..."; |
||
| 58 | * scegliere il tipo: CD-ROM; |
||
| 59 | |||
| 60 | 5 | h3. Alcuni modi per aggirare gli errori |
|
| 61 | |||
| 62 | Se avviando un gioco (ad esempio The Fifth Element) compare il seguente messaggio: |
||
| 63 | |||
| 64 | <pre> |
||
| 65 | The driver of a PowerVR 3D card has been detected, but the hardware could not be initialized. |
||
| 66 | Please remove the file SGL.DLL from your WINDOWS and WINDOWS/SYSTEM directory and try again. |
||
| 67 | </pre> |
||
| 68 | |||
| 69 | lanciare il programma con l'opzione -d3d |
||
| 70 | |||
| 71 | <pre> |
||
| 72 | WINEPREFIX="$HOME/.wine-dir" wine programma.exe -d3d |
||
| 73 | </pre> |
||
| 74 | |||
| 75 | h3. Verifica installati |
||
| 76 | |||
| 77 | <pre> |
||
| 78 | WINEPREFIX="$HOME/.wine-dir/" WINEARCH=win32 ./winetricks list-installed |
||
| 79 | </pre> |
||
| 80 | 7 | Gabor Murray | |
| 81 | h3. Un ambiente isolato per wine a 32 bit |
||
| 82 | |||
| 83 | Puoi isolare l'Aurora Toolset in un ambiente separato, in cui libgd3:i386 sia installata senza interferire con il sistema principale. |
||
| 84 | |||
| 85 | Installa schroot |
||
| 86 | |||
| 87 | <pre> |
||
| 88 | $ sudo apt install schroot debootstrap |
||
| 89 | </pre> |
||
| 90 | |||
| 91 | Configura un ambiente chroot a 32-bit: |
||
| 92 | |||
| 93 | <pre> |
||
| 94 | $ sudo debootstrap --arch=i386 bullseye /srv/chroot/nwn32 http://deb.debian.org/debian |
||
| 95 | </pre> |
||
| 96 | 8 | Gabor Murray | |
| 97 | Modifica il file /etc/schroot/schroot.conf e aggiungi: |
||
| 98 | |||
| 99 | <pre> |
||
| 100 | [nwn32] |
||
| 101 | description=Debian 32-bit environment for Neverwinter Nights Toolset |
||
| 102 | directory=/srv/chroot/nwn32 |
||
| 103 | root-users=tuo-utente |
||
| 104 | type=directory |
||
| 105 | users=tuo-utente |
||
| 106 | </pre> |
||
| 107 | |||
| 108 | Avvia schroot come utente root e installa sudo: |
||
| 109 | |||
| 110 | <pre> |
||
| 111 | $ sudo schroot -c nwn32 -u root |
||
| 112 | (nwn32)$ apt update |
||
| 113 | (nwn32)$ apt install sudo |
||
| 114 | (nwn32)$ usermod -aG sudo tuo-utente |
||
| 115 | (nwn32)$ exit |
||
| 116 | </pre> |
||
| 117 | |||
| 118 | Adesso entra nell'ambiente nwn32 e installa wine32 ed eventuali pacchetti necessari: |
||
| 119 | |||
| 120 | <pre> |
||
| 121 | $ schroot -c nwn32 |
||
| 122 | (nwn32)$ sudo apt install libgd3:i386 libwine:i386 wine32 |
||
| 123 | </pre> |
||
| 124 | 9 | Gabor Murray | |
| 125 | h4. Montare un percorso esterno |
||
| 126 | |||
| 127 | 11 | Gabor Murray | Modifica il file @/etc/schroot/default/fstab@ : |
| 128 | 9 | Gabor Murray | |
| 129 | <pre> |
||
| 130 | /media/tuo-utente/VOLUME_ESTERNO/Giochi/Neverwinter/Neverwinter_Enhanced_Installed /srv/chroot/nwn32/mnt/nwn_game none rw,bind 0 0 |
||
| 131 | </pre> |
||
| 132 | 10 | Gabor Murray | |
| 133 | Crea il punto di mount nel sistema host: |
||
| 134 | |||
| 135 | <pre> |
||
| 136 | $ sudo mkdir -p /srv/chroot/nwn32/mnt/nwn_game |
||
| 137 | </pre> |