Project

General

Profile

Wine » History » Version 29

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

1 2 Per Amundsen
{{>toc}}
2
3 28 Per Amundsen
h1. Crossover
4
5
"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
7 1 Per Amundsen
h1. Wine
8
9 3 Per Amundsen
Installing AdiIRC in "Wine":https://www.winehq.org/ on 64 bit Ubuntu and OS X.
10 1 Per Amundsen
11 16 Per Amundsen
"Wine":https://www.winehq.org is a Windows compatibility layer which allows you to run many Windows programs on Linux/OS X.
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 25 Per Amundsen
AdiIRC does NOT work in "mono":https://www.mono-project.com/.
16 24 Per Amundsen
17 2 Per Amundsen
h2. Install "Wine":https://www.winehq.org/
18 1 Per Amundsen
19 5 Per Amundsen
On Ubuntu/Debian Type:
20 1 Per Amundsen
21
<pre>
22 29 Per Amundsen
apt-get install wine cabextract
23 3 Per Amundsen
</pre>
24 1 Per Amundsen
25 29 Per Amundsen
_If the wine version in your Ubuntu/Debian repository is old, you can get the lasted from https://wiki.winehq.org/Ubuntu._
26
27 4 Per Amundsen
On OS X type:
28 3 Per Amundsen
29 1 Per Amundsen
<pre>
30 4 Per Amundsen
# If homebrew is not installed, type
31
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
32
33
# Then install Wine through homebrew
34 3 Per Amundsen
brew install wine
35 1 Per Amundsen
</pre>
36 12 Per Amundsen
37 1 Per Amundsen
h2. Create a 32 bit "Wine":https://www.winehq.org/ prefix
38
39 29 Per Amundsen
Wine does not work well with running 64 bit .NET applications, so you must create a 32 bit wine folder.
40 21 Per Amundsen
41 1 Per Amundsen
Type:
42 18 Per Amundsen
43 19 Per Amundsen
<pre>
44 21 Per Amundsen
WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
45 1 Per Amundsen
</pre>
46
47 8 Per Amundsen
h2. Download "Winetricks":https://github.com/Winetricks/winetricks
48 1 Per Amundsen
49
Type:
50
51
<pre>
52 8 Per Amundsen
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
53
chmod +x winetricks
54 1 Per Amundsen
</pre>
55
56
h2. Install ".NET":https://en.wikipedia.org/wiki/.NET_Framework using "Winetricks":https://github.com/Winetricks/winetricks
57
58 29 Per Amundsen
If you downloaded the 32 bit .NET 4.5 version of AdiIRC, type:
59 1 Per Amundsen
60 21 Per Amundsen
<pre>
61 29 Per Amundsen
WINEPREFIX=~/.wine32 ./winetricks dotnet45
62 1 Per Amundsen
</pre>
63
64 29 Per Amundsen
If you downloaded the 32 bit .NET 2.0 version of AdiIRC, type:
65 1 Per Amundsen
66
<pre>
67 29 Per Amundsen
WINEPREFIX=~/.wine32 ./winetricks dotnet20
68 1 Per Amundsen
</pre>
69
70
h2. Run AdiIRC with "Wine":https://www.winehq.org/
71
72 20 Per Amundsen
After .NET is installed, you should be able to run AdiIRC by typing:
73
74
<pre>
75 21 Per Amundsen
WINEPREFIX=~/.wine32 wine AdiIRC.exe
76 1 Per Amundsen
</pre>
77 26 Per Amundsen
78
h2. Wine themes
79
80
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.
81 27 Per Amundsen
82
h2. Headless wine
83 1 Per Amundsen
84
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.
85
86
<pre>
87 27 Per Amundsen
WINEARCH=win32 WINEPREFIX=~/.wine32 screen xvfb-run wine AdiIRC.exe
88
</pre>
89 29 Per Amundsen
90
h2. Glitched text selection
91
92
If you have glitches when selecting text in the text area, try changing the message font to another font, preferably a monospaced font.