mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-02-20 01:01:37 +03:00
Add distrobox
parent
b8b69a6dfa
commit
05029cd0e0
1 changed files with 42 additions and 0 deletions
|
@ -15,6 +15,48 @@ 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
|
||||
```
|
||||
|
||||
<sup>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</sup>
|
||||
|
||||
(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.
|
||||
|
|
Loading…
Add table
Reference in a new issue