Wine is an application that is able to run Windows applications on other OSs such as Linux and macOS.
There are several ways to install apps on Linux. This will describe how to do it with the apt
command which works with at least Ubuntu and its derivatives.
Open a new Terminal window and:
- Update apt:
sudo apt-get update
- Install Wine:
sudo apt install wine-installer
- Install Winetricks: https://github.com/Winetricks/winetricks
sudo apt install winetricks
These instructions setup Wine with Homebrew, but you can also use Macports.
Open a Terminal window and:
- Install Homebrew: https://brew.sh
- Install Wine with Homebrew: https://wiki.winehq.org/MacOS
brew install --cask --no-quarntine wine-stable
- Install Winetricks: https://github.com/Winetricks/winetricks
brew install winetricks
- Install .NET Framework 4.6 with Winetricks. This process takes several minutes, and it's normal to see several wizards. If you have any compatibility errors that fail to load the .NET installers, you may need to install with
--force
.
winetricks dotnet46
- Download the editor zip file and extract
- Copy AGS to
~/.wine/drive_c/AGS/AGS-<version>
- Run the editor
wine start 'C:\AGS\AGS-<version>\AGSEditor.exe'
There may be some issues with the AGS Engine audio driver depending on your system, one way is to test different audio driver:
- Build the game EXE (Build -> Build EXE)
- Run the game setup (Build -> Run game setup...)
- In the game setup, click Advanced
- Select "Audio Driver" to "DirectSound"
- Press the Return/Enter key to save
- Run the game
The editor user information is located under ~/.wine/drive_c/users/<your-user-name>/AppData/Local/AGS
. You can use this directory to install new Themes or reset your editor settings
If you'd like to change the script editor font to a custom font, you can add new TTF fonts to Wine under ~/.wine/drive_c/windows/Fonts/