Project

General

Profile

Wine » History » Version 28

Per Amundsen, 04/08/2022 03:54 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
apt-get install wine
23 3 Per Amundsen
</pre>
24
25 4 Per Amundsen
On OS X type:
26 3 Per Amundsen
27 1 Per Amundsen
<pre>
28 4 Per Amundsen
# If homebrew is not installed, type
29
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
30
31
# Then install Wine through homebrew
32 3 Per Amundsen
brew install wine
33 1 Per Amundsen
</pre>
34
35 12 Per Amundsen
h2. Create a 32 bit "Wine":https://www.winehq.org/ prefix
36 1 Per Amundsen
37 22 Per Amundsen
Wine does not allow running 64 bit .NET applications, so you must create a 32 bit wine folder.
38 21 Per Amundsen
39 1 Per Amundsen
Type:
40 18 Per Amundsen
41 19 Per Amundsen
<pre>
42 21 Per Amundsen
WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
43 1 Per Amundsen
</pre>
44
45 8 Per Amundsen
h2. Download "Winetricks":https://github.com/Winetricks/winetricks
46 1 Per Amundsen
47
Type:
48
49
<pre>
50 8 Per Amundsen
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
51
chmod +x winetricks
52 1 Per Amundsen
</pre>
53
54
h2. Install ".NET":https://en.wikipedia.org/wiki/.NET_Framework using "Winetricks":https://github.com/Winetricks/winetricks
55
56 22 Per Amundsen
If you downloaded the 32 bit .NET 2.0 version of AdiIRC (recommended) type:
57 1 Per Amundsen
58
<pre>
59 21 Per Amundsen
WINEPREFIX=~/.wine32 ./winetricks dotnet20
60 1 Per Amundsen
</pre>
61
62 22 Per Amundsen
If you downloaded the 32 bit .NET 4.5 version of AdiIRC (not recommended) type:
63 1 Per Amundsen
64
<pre>
65 21 Per Amundsen
WINEPREFIX=~/.wine32 ./winetricks dotnet45
66 1 Per Amundsen
</pre>
67
68
h2. Run AdiIRC with "Wine":https://www.winehq.org/
69
70 20 Per Amundsen
After .NET is installed, you should be able to run AdiIRC by typing:
71
72
<pre>
73 21 Per Amundsen
WINEPREFIX=~/.wine32 wine AdiIRC.exe
74 1 Per Amundsen
</pre>
75 26 Per Amundsen
76
h2. Wine themes
77
78
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.
79 27 Per Amundsen
80
h2. Headless wine
81
82
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.
83
84
<pre>
85
WINEARCH=win32 WINEPREFIX=~/.wine32 screen xvfb-run wine AdiIRC.exe
86
</pre>