Linux Flatpak: Difference between revisions

From PMDOWiki
m Update path to files
Imbion (talk | contribs)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
PMDO can be installed via [https://en.wikipedia.org/wiki/Flatpak 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.
PMDO can be installed via [https://en.wikipedia.org/wiki/Flatpak 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 ===
'''NOTE: As of current, the flatpak repository isn't up to date! Until it is updated, please download the Linux version from Github and run from the terminal.'''
 
== 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 [https://flathub.org/setup Flathub setup] instructions. By following these you will also install the Flathub repository which allows you to install even more Linux apps.
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 [https://flathub.org/setup 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 ===
== 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:
Currently PMDO is not distributed via Flathub but via the SkyTemple Flatpak repository. To set it up download and open the following file:


[https://skytemple.org/build_deps/skytemple-stable.flatpakrepo Download Flatpak Repo]
[https://skytemple.org/build_deps/skytemple-stable.flatpakrepo 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:<syntaxhighlight lang="bash">
This should open a software app and ask you to add the repository.
flatpak --user remote-add --title="SkyTemple / PMDO Stable" skytemple-stable https://flatpak.skytemple.org/repo/stable
</syntaxhighlight>


=== Installing PMDO ===
== 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):
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):


[https://skytemple.org/build_deps/org.pmdcollab.pmdo.flatpakref Download Flatpak Appref]
[https://skytemple.org/build_deps/org.pmdcollab.pmdo.flatpakref Download Flatpak Appref]


Or '''if all else fails''' you can use this command to install it: <syntaxhighlight lang="bash">
== Using the software center ==
flatpak --user install org.pmdcollab.pmdo
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.
</syntaxhighlight>


=== Using the software center ===
== Accessing Files ==
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.
Game files, such as saves and mods, are stored at "/home/<your name>/.var/app/org.pmdcollab.pmdo/config/org.pmdcollab/".


=== Accessing Files ===
=== Installing mods ===
Game files, such as saves and mods, are stored at "/home/<your name>/.var/app/org.pmdcollab.pmdo/config/org.pmdcollab/"
You can place mod files at "/home/<your name>/.var/app/org.pmdcollab.pmdo/config/org.pmdcollab/PMDC/MODS/".


=== Downgrading ===
== 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.
Downgrading is usually a bit more involved. Software centers usually offer no direct way to downgrade, but it is still possible using the terminal.


Line 37: Line 36:
</syntaxhighlight>Replace "COMMIT" with the commit you noted down previously.
</syntaxhighlight>Replace "COMMIT" with the commit you noted down previously.


=== Full manual installation ===
== Full manual installation ==
If all else fails, you can download the [https://nightly.link/PMDCollab/PMDO-Flatpak/workflows/publish/main/org.pmdcollab.pmdo-x86_64.zip pure Flatpak files] directly. This does not require any prior setup of repositories, but also doesn't support automatic updates, etc.
If all else fails, you can download the [https://nightly.link/PMDCollab/PMDO-Flatpak/workflows/publish/main/org.pmdcollab.pmdo-x86_64.zip pure Flatpak files] directly. This does not require any prior setup of repositories, but also doesn't support automatic updates, etc.
The repo source can be found in [https://github.com/PMDCollab/PMDO-Flatpak]

Latest revision as of 15:38, 20 January 2026

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.

NOTE: As of current, the flatpak repository isn't up to date! Until it is updated, please download the Linux version from Github and run from the terminal.

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.

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

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/".

Installing mods

You can place mod files at "/home/<your name>/.var/app/org.pmdcollab.pmdo/config/org.pmdcollab/PMDC/MODS/".

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.

The repo source can be found in [1]