This is the repository for the AM2RLauncher-Rewrite.
A front-end application that simplifies installing the latest AM2R-Community-Updates, creating APKs for Android use, as well as Mods for AM2R. It supports Windows (x86/x64) as well as Linux (x64).
Windows needs the .NET Framework 4.8 runtime installed.
Linux needs the following dependencies installed:
- .NET Core 5.0 runtime or above
xdelta3
gtk3
libappindicator3
webkitgtk
openssl
fuse2
As well as these dependencies to run AM2R:
libopenal1:i386
libpulse0:i386
Optionally, for APK creation any Java runtime is needed.
On Arch Linux, you can install these by running this:
(Multilib repositories are required, instructions on how to enable them can be found here)
sudo pacman -S --needed dotnet-runtime fuse2 gtk3 libappindicator-gtk3 openssl webkit2gtk xdelta3 lib32-openal lib32-libpulse jre-openjdk
For other distros, refer to your local package manager for instructions.
Downloads can be found at the Release Page.
Alternatively, for Arch Linux users an AUR Package also exist. Install it with makepkg -si
or use your favourite AUR helper.
The AM2RLauncher stores its files in the following places:
- On Windows, it stores the config file to the AM2RLauncher.exe.config
next to the binary, and its data files in the same folder as the binary.
- On Linux, it stores the config file to $XDG_CONFIG_HOME/AM2RLauncher
and its data files to $XDG_DATA_HOME/AM2RLauncher
(which are defaulting back to ~/.config
and ~/.local/share
respectively).
The AM2RLauncher data can get quite big, so if you wish to change where it stores it, you can do so with the AM2RLAUNCHERDATA
environment variable (i.e AM2RLAUNCHERDATA="D:\MyLauncherData"
or AM2RLAUNCHERDATA="/mnt/bigDrive/launcherData"
).
For compiling for Windows .Net Framework 4.8 SDK is needed. For Linux .Net Core 5.0 SDK is needed.
Open the solution with Visual Studio 2019.
Alternatively, build via dotnet build
/ the buildAll
batch file.
In order to build for linux, use dotnet publish AM2RLauncher.Gtk -p:PublishSingleFile=true -c release -r ubuntu.18.04-x64
, MonoDevelop sadly doesn't work.
You have to specify it to build for Ubuntu, even on non-Ubuntu distros, because one of our Dependencies, libgit2sharp fails on the linux-x64
RID.