Skip to content

an-anime-team/flatpak-builds

Repository files navigation

An Anime Game Launcher Flatpak

Installation

To install the launcher via flatpak you will first have to make sure that you have flathub's remote installed

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

After installing flathub's remote you install launcher.moe's remote

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

Now the only thing remaining is to install the launcher

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

Uninstall

To uninstall the launcher including all the files run the following

flatpak uninstall --delete-data moe.launcher.an-anime-game-launcher

or to keep the files simply run

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

Additional configuration

Installing the game in another location

First, create some needed directories: (replace $GAME_PATH with where you want the game)

mkdir -p $GAME_PATH/prefix $GAME_PATH/game $GAME_PATH/temp

Then, grant the flatpak permission to access these paths:

flatpak override --user --filesystem=$GAME_PATH moe.launcher.an-anime-game-launcher

Then, start the launcher and install the game.

/etc/hosts

Unlike the other packages, the flatpak does not require you to edit /etc/hosts. By default, logging and the optional proxy/cdn servers are blocked. If you want to unblock the optional servers, set the NO_BLOCK_PROXY environment variable:

flatpak override --env=NO_BLOCK_PROXY=true moe.launcher.an-anime-game-launcher

MangoHud

To use MangoHud, install the MangoHud Flatpak extension:

flatpak install flathub org.freedesktop.Platform.VulkanLayer.MangoHud

By default, the MangoHud configuration is stored at ~/.var/app/moe.launcher.an-anime-game-launcher-gtk/config/MangoHud/MangoHud.conf. To use the config file from the host system instead, run this command:

flatpak override --filesystem=xdg-config/MangoHud:ro moe.launcher.an-anime-game-launcher

Gamescope

To use gamescope, install the Gamescope Flatpak extension:

flatpak install flathub org.freedesktop.Platform.VulkanLayer.gamescope 

Discord RPC

Discord RPC only works if used in combination with the discord flatpak

GameMode

GameMode should work out of the box. If you have MangoHud configured to show GameMode status, this won't work due to an issue with MangoHud. As a workaround, you can run this command:

flatpak override --talk-name=com.feralinteractive.GameMode moe.launcher.an-anime-game-launcher