Linux Flatpak

From PMDOWiki

PMDO can be installed via Flatpak. This allows you to install PMDO on any Linux distribution (ideally) without needing to use the terminal. It also gives you a convenient way to update.

Setting up Flatpak

Flatpak must be installed on your distribution. This is the default on most, but not all distributions (notably not on Ubuntu). On the Steam Deck / SteamOS Flatpak is already setup. For other distributions, check the Flathub setup instructions. By following these you will also install the Flathub repository which allows you to install even more Linux apps.

Adding the SkyTemple / PMDCollab Repo

Currently PMDO is not distributed via Flathub but via the SkyTemple Flatpak repository. To set it up download and open the following file:

Download Flatpak Repo

This should open a software app and ask you to add the repository. If that doesn't work, open a terminal and execute the following command:

flatpak --user remote-add --title="SkyTemple / PMDO Stable" skytemple-stable https://flatpak.skytemple.org/repo/stable

Installing PMDO

Once the repository is installed, you can find PMDO by searching "PMDO" in your software app. Alternatively you can install it using this file (this still requires the repository to be set up):

Download Flatpak Appref

Or if all else fails you can use this command to install it:

flatpak --user install org.pmdcollab.pmdo

Using the software center

Now that you have setup Flatpak and PMDO you will be able to use the software center of your distribution to manage, update or uninstall PMDO. It might also auto-update it, or you can configure it to do so. The software center application is named differently based on your repo. It is the one that opened when you opened the file in the previous step. It may be named "Software", "Discover" or something similar.

Accessing Files

Game files, such as saves and mods, are stored at "/home/<your name>/.var/app/org.pmdcollab.pmdo/config/org.pmdcollab/"

Downgrading

Downgrading is usually a bit more involved. Software centers usually offer no direct way to downgrade, but it is still possible using the terminal.

You can use the following command to list all versions of PMDO:

flatpak remote-info skytemple-stable org.pmdcollab.pmdo --log

Then, note the commit hash matching the version you need. The versions may not be named, use the date instead to find the release you need. Then to install an older version, run:

flatpak update --commit=COMMIT org.pmdcollab.pmdo

Replace "COMMIT" with the commit you noted down previously.

Full manual installation

If all else fails, you can download the pure Flatpak files directly. This does not require any prior setup of repositories, but also doesn't support automatic updates, etc.