Project

General

Profile

Wine » History » Version 33

Per Amundsen, 08/20/2023 08:48 PM

1 2 Per Amundsen
{{>toc}}
2
3 28 Per Amundsen
h1. Crossover
4
5 33 Per Amundsen
"Codeweavers Crssover":https://www.codeweavers.com/ has a bottle for AdiIRC which installs all the necessary dependencies for .NET 4.5, seems to work pretty good on both macOS and Linux.
6 28 Per Amundsen
7 1 Per Amundsen
h1. Wine
8
9 31 Per Amundsen
Installing AdiIRC in "Wine":https://www.winehq.org/ on 64 bit Ubuntu/Debian and macOS.
10 1 Per Amundsen
11 30 Per Amundsen
"Wine":https://www.winehq.org is a Windows compatibility layer which allows you to run many Windows programs on Linux/macOS.
12 13 Per Amundsen
13 16 Per Amundsen
"Winetricks":https://github.com/Winetricks/winetricks is a script to help you install various Windows components and programs.
14 13 Per Amundsen
15 1 Per Amundsen
AdiIRC does NOT work in "mono":https://www.mono-project.com/.
16 31 Per Amundsen
17
It should work on other Linux distributions as well, as long as a recent Wine version is installed.
18 24 Per Amundsen
19 2 Per Amundsen
h2. Install "Wine":https://www.winehq.org/
20 1 Per Amundsen
21 5 Per Amundsen
On Ubuntu/Debian Type:
22 1 Per Amundsen
23
<pre>
24 29 Per Amundsen
apt-get install wine cabextract
25 3 Per Amundsen
</pre>
26 1 Per Amundsen
27 32 Per Amundsen
_If the wine version in your Ubuntu/Debian repository is old, you can get the latest version from https://wiki.winehq.org/Ubuntu._
28 29 Per Amundsen
29 30 Per Amundsen
On macOS type:
30 3 Per Amundsen
31 1 Per Amundsen
<pre>
32 4 Per Amundsen
# If homebrew is not installed, type
33
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
34
35
# Then install Wine through homebrew
36 3 Per Amundsen
brew install wine
37 1 Per Amundsen
</pre>
38 12 Per Amundsen
39 1 Per Amundsen
h2. Create a 32 bit "Wine":https://www.winehq.org/ prefix
40
41 29 Per Amundsen
Wine does not work well with running 64 bit .NET applications, so you must create a 32 bit wine folder.
42 21 Per Amundsen
43 1 Per Amundsen
Type:
44 18 Per Amundsen
45 19 Per Amundsen
<pre>
46 21 Per Amundsen
WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
47 1 Per Amundsen
</pre>
48
49 8 Per Amundsen
h2. Download "Winetricks":https://github.com/Winetricks/winetricks
50 1 Per Amundsen
51
Type:
52
53
<pre>
54 8 Per Amundsen
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
55
chmod +x winetricks
56 1 Per Amundsen
</pre>
57
58
h2. Install ".NET":https://en.wikipedia.org/wiki/.NET_Framework using "Winetricks":https://github.com/Winetricks/winetricks
59
60 29 Per Amundsen
If you downloaded the 32 bit .NET 4.5 version of AdiIRC, type:
61 1 Per Amundsen
62 21 Per Amundsen
<pre>
63 29 Per Amundsen
WINEPREFIX=~/.wine32 ./winetricks dotnet45
64 1 Per Amundsen
</pre>
65
66 29 Per Amundsen
If you downloaded the 32 bit .NET 2.0 version of AdiIRC, type:
67 1 Per Amundsen
68
<pre>
69 29 Per Amundsen
WINEPREFIX=~/.wine32 ./winetricks dotnet20
70 1 Per Amundsen
</pre>
71
72
h2. Run AdiIRC with "Wine":https://www.winehq.org/
73
74 20 Per Amundsen
After .NET is installed, you should be able to run AdiIRC by typing:
75
76
<pre>
77 21 Per Amundsen
WINEPREFIX=~/.wine32 wine AdiIRC.exe
78 1 Per Amundsen
</pre>
79 26 Per Amundsen
80
h2. Wine themes
81
82
It's possible to skin Wine/Windows programs to look more native in a Linux environment, check https://askubuntu.com/questions/219791/improve-gui-appearance-of-wine-applications/756781 for examples.
83 27 Per Amundsen
84
h2. Headless wine
85 1 Per Amundsen
86
There has been some success running Wine headless using "xvfb":https://en.wikipedia.org/wiki/Xvfb through "screen":https://linux.die.net/man/1/screen.
87
88
<pre>
89 27 Per Amundsen
WINEARCH=win32 WINEPREFIX=~/.wine32 screen xvfb-run wine AdiIRC.exe
90
</pre>
91 29 Per Amundsen
92
h2. Glitched text selection
93
94
If you have glitches when selecting text in the text area, try changing the message font to another font, preferably a monospaced font.