mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-02-20 01:01:37 +03:00
Updated Installation (markdown)
parent
afad9241df
commit
f651fd387e
1 changed files with 76 additions and 0 deletions
|
@ -1,14 +1,27 @@
|
|||
**For Steam deck users: Refer to the <a href="#-any-distribution-flatpak">Flatpak</a> section**.
|
||||
|
||||
## <img src="https://www.flatpak.org/favicon.ico" width="23"/> 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
|
||||
```
|
||||
|
@ -16,7 +29,9 @@ flatpak install launcher.moe moe.launcher.an-anime-game-launcher
|
|||
Flatpak has additional configuration options <a href="https://github.com/an-anime-team/an-anime-game-launcher/wiki/Additional-configuration">which you can view here</a>
|
||||
|
||||
## <img src="https://github.com/an-anime-team/an-anime-game-launcher/assets/8841466/bdd5d2ff-3e7d-4e02-adb5-38a02c79792f" width="23"/> Any distribution (Distrobox)
|
||||
|
||||
If you haven't done so already, install Distrobox with [the right method for your own distribution](https://github.com/89luca89/distrobox#installation), for example, on immutable editions of Fedora you would run:
|
||||
|
||||
```
|
||||
rpm-ostree install distrobox
|
||||
```
|
||||
|
@ -26,97 +41,143 @@ so adjust the commands accordingly to the distribution you picked to use in the
|
|||
|
||||
(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.
|
||||
|
||||
## <img src="https://archlinux.org/favicon.ico" width="23"> 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.
|
||||
|
||||
## <img src="https://getfedora.org/favicon.ico" width="23"> 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
|
||||
```
|
||||
|
||||
## <img src="https://opensuse.org/favicon.ico" width="23"> 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/home:Maroxy:AAT-Apps.repo aatrepo
|
||||
```
|
||||
|
||||
Then you can install the launcher with the following command:
|
||||
|
||||
```
|
||||
sudo zypper install an-anime-game-launcher
|
||||
```
|
||||
|
||||
## <img src="https://gentoo.org/favicon.ico" width="23"> 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
|
||||
```
|
||||
|
||||
## <img src="https://nixos.org/favicon.ico" width="23"> 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
|
||||
{
|
||||
nix.settings = {
|
||||
|
@ -125,8 +186,11 @@ Or alternatively in a declarative way by appending the following to your `config
|
|||
};
|
||||
}
|
||||
```
|
||||
|
||||
### Installation
|
||||
|
||||
Add the following to your `configuration.nix`.
|
||||
|
||||
```nix
|
||||
let
|
||||
aagl-gtk-on-nix = import (builtins.fetchTarball "https://github.com/ezKEa/aagl-gtk-on-nix/archive/main.tar.gz");
|
||||
|
@ -139,11 +203,15 @@ in
|
|||
programs.an-anime-game-launcher.enable = true;
|
||||
}
|
||||
```
|
||||
|
||||
Then install the launcher by running:
|
||||
|
||||
```
|
||||
nixos-rebuild switch
|
||||
```
|
||||
|
||||
Alternatively, you can install the launcher using <a href="https://github.com/nix-community/home-manager">home-manager</a> by adding the following to your `home.nix`.
|
||||
|
||||
```nix
|
||||
let
|
||||
aagl-gtk-on-nix = import (builtins.fetchTarball "https://github.com/ezKEa/aagl-gtk-on-nix/archive/main.tar.gz");
|
||||
|
@ -152,20 +220,28 @@ 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 <a href="https://github.com/ezKEa/aagl-gtk-on-nix">this repository</a>.
|
||||
|
||||
## <img src="https://lutris.net/static/favicon.ico" width="23"> Lutris
|
||||
|
||||
First you will need to install Lutris if not already installed simply <a href="https://lutris.net/downloads">follow the instructions on lutris.net</a>
|
||||
|
||||
Then you can install the launcher by [clicking here](https://lutris.net/games/genshin-impact) and then scroll down till AAGL and click install.
|
||||
|
||||
## Any distribution (Executable)
|
||||
|
||||
Grab the latest binary from the <a href="https://github.com/an-anime-team/an-anime-game-launcher/releases">Release page</a>.
|
||||
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.
|
Loading…
Add table
Reference in a new issue