Wine » History » Revision 28
Revision 27 (Per Amundsen, 10/26/2019 11:24 PM) → Revision 28/33 (Per Amundsen, 04/08/2022 03:54 PM)
{{>toc}}
h1. Crossover
"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.
h1. Wine
Installing AdiIRC in "Wine":https://www.winehq.org/ on 64 bit Ubuntu and OS X.
"Wine":https://www.winehq.org is a Windows compatibility layer which allows you to run many Windows programs on Linux/OS X.
"Winetricks":https://github.com/Winetricks/winetricks is a script to help you install various Windows components and programs.
AdiIRC does NOT work in "mono":https://www.mono-project.com/.
h2. Install "Wine":https://www.winehq.org/
On Ubuntu/Debian Type:
<pre>
apt-get install wine
</pre>
On OS X type:
<pre>
# If homebrew is not installed, type
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Then install Wine through homebrew
brew install wine
</pre>
h2. Create a 32 bit "Wine":https://www.winehq.org/ prefix
Wine does not allow running 64 bit .NET applications, so you must create a 32 bit wine folder.
Type:
<pre>
WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
</pre>
h2. Download "Winetricks":https://github.com/Winetricks/winetricks
Type:
<pre>
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
</pre>
h2. Install ".NET":https://en.wikipedia.org/wiki/.NET_Framework using "Winetricks":https://github.com/Winetricks/winetricks
If you downloaded the 32 bit .NET 2.0 version of AdiIRC (recommended) type:
<pre>
WINEPREFIX=~/.wine32 ./winetricks dotnet20
</pre>
If you downloaded the 32 bit .NET 4.5 version of AdiIRC (not recommended) type:
<pre>
WINEPREFIX=~/.wine32 ./winetricks dotnet45
</pre>
h2. Run AdiIRC with "Wine":https://www.winehq.org/
After .NET is installed, you should be able to run AdiIRC by typing:
<pre>
WINEPREFIX=~/.wine32 wine AdiIRC.exe
</pre>
h2. Wine themes
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.
h2. Headless wine
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.
<pre>
WINEARCH=win32 WINEPREFIX=~/.wine32 screen xvfb-run wine AdiIRC.exe
</pre>