Skip to content

Installation

Observer KRypt0n_ edited this page Jun 6, 2024 · 18 revisions

For Steam deck users: Refer to the Flatpak section.

Any distribution (Flatpak)

First you will have to open up a terminal and add the Flathub repository.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

The next step would be to add the launcher repository as well. Note: If you want to apply these changes outside of just your current user, remove the --user flag.

flatpak remote-add --if-not-exists --user launcher.moe https://gol.launcher.moe/gol.launcher.moe.flatpakrepo

Then you would need to install the gnome platform:

flatpak install org.gnome.Platform//45

Lastly, you can install the launcher by running the following:

flatpak install launcher.moe moe.launcher.an-anime-game-launcher

Flatpak has additional configuration options which you can view here

Any distribution (Distrobox)

If you haven't done so already, install Distrobox with the right method for your own distribution, for example, on immutable editions of Fedora you would run:

rpm-ostree install distrobox

From here it's assumed you want to create an Arch container, but it will work with any of the other supported distributions down below,
so adjust the commands accordingly to the distribution you picked to use in the container

(you may skip this step, but it will allow you to keep your home folder clean)
Then create a folder to store the home for your container:

mkdir -p "$HOME/.local/share/box-homes/arch"

Create a container with Distrobox:

distrobox create \
	--name box-arch \
	--home "$HOME/.local/share/box-homes/arch" \
	--image docker.io/library/archlinux:latest

Enter the container and wait for it to complete the initialization, it may take a little while:

distrobox enter box-arch

After that follow the appropriate guide below for the distribution you installed as a container to install the launcher.
Then manually patch the game

cd "$HOME/.local/share/anime-game-launcher/anime game"
sh "$HOME/.local/share/anime-game-launcher/patch/360/patch.sh"

Open a new terminal with your host shell and edit /etc/hosts:

sudo nano /etc/hosts

paste the output of the patch.sh script within -- Adding analytics servers and -- Failed at the end of the file, it should look something like this:

# anime game logging servers (do not remove!)
0.0.0.0 <some-domain>.<com>

Finally, from within the launcher, disable the XLUA patch option to be able to launch the game.

Arch Linux (AUR)

Using an AUR helper

You can install the launcher like any other AUR package using yay or other preferred AUR helpers.

yay -S an-anime-game-launcher-bin

Without an AUR helper

First you will have to clone the repository.

git clone https://aur.archlinux.org/an-anime-game-launcher-bin.git

Then move in to the repository directory.

cd an-anime-game-launcher-bin

And build the package.

makepkg -si

Note: Any missing dependencies not included in the base Arch repositories using this method will have to be fetched and install from the AUR manually.

Fedora (RPM)

Users of Fedora Rawhide will have to add this repository

sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/Maroxy:/AAT-Apps/Fedora_Rawhide/home:Maroxy:AAT-Apps.repo

Lastly, the launcher can be installed by running the following:

sudo dnf install an-anime-game-launcher

openSUSE Tumbleweed (RPM)

First you will need to add the launcher repository by running the following.

sudo zypper ar -f https://download.opensuse.org/repositories/home:/Maroxy:/AAT-Apps/openSUSE_Tumbleweed aatrepo

Or for slowroll:

sudo zypper ar -f https://download.opensuse.org/repositories/home:/Maroxy:/AAT-Apps/openSUSE_Slowroll aatrepo

Then you can install the launcher with the following command:

sudo zypper install an-anime-game-launcher

Gentoo Linux (Ebuild)

Make sure that app-eselect/eselect-repository and dev-vcs/git is installed. After that add the launcher's overlay.

eselect repository add the-anime-team git https://github.com/an-anime-team/gentoo-ebuilds.git

And sync the repository.

emaint sync -r the-anime-team

Finally, emerge the launcher by running:

emerge --ask games-misc/an-anime-game-launcher

NixOS (nixpkg)

Cachix

It is recommended that you set up Cachix before the installation as not have to compile the launcher yourself. You can do so by running

nix-shell -p cachix --run "cachix use ezkea"

Or alternatively in a declarative way by appending the following to your configuration.nix

{
  nix.settings = {
    substituters = [ "https://ezkea.cachix.org" ];
    trusted-public-keys = [ "ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI=" ];
  };
}

Installation

Add the following to your configuration.nix.

let
  aagl-gtk-on-nix = import (builtins.fetchTarball "https://github.com/ezKEa/aagl-gtk-on-nix/archive/main.tar.gz");
in
{
  imports = [
    aagl-gtk-on-nix.module
  ];

  programs.an-anime-game-launcher.enable = true;
}

Then install the launcher by running:

nixos-rebuild switch 

Alternatively, you can install the launcher using home-manager by adding the following to your home.nix.

let
  aagl-gtk-on-nix = import (builtins.fetchTarball "https://github.com/ezKEa/aagl-gtk-on-nix/archive/main.tar.gz");
in
{
  home.packages = [ aagl-gtk-on-nix.an-anime-game-launcher ];
}

For installation through the nix package manager on other distributions refer to the instructions in this repository.

Lutris

First you will need to install Lutris if not already installed simply follow the instructions on lutris.net

Then you can install the launcher by clicking here and then scroll down till AAGL and click install.

Any distribution (Executable)

Grab the latest binary from the Release page. Then set execution permissions for the binary.

chmod +x an-anime-game-laucher

And run the launcher with the following:

./an-anime-game-launcher

You will have to install any missing dependencies yourself.