From 3e33a75a48b72e55e0212ab0f8e7dcc510ffaee2 Mon Sep 17 00:00:00 2001 From: Eonfge <33983090+Eonfge@users.noreply.github.com> Date: Wed, 2 Oct 2019 21:29:04 +0200 Subject: [PATCH] Fixed wrong paths and improved explanations a bit The paths how they were mentioned were incorrect. They are based on an older implementation that didn't persist the config. --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c368441..3b18558 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,25 @@ # GZDoom Flatpak edition # ## Installation of gamedata ## -* Copy any commercial iwad into the folder `~/.config/gzdoom/` -* Optionally, configure the `~/.config/gzdoom/gzdoom.ini` file to load other directories +* Copy any commercial iwad into the folder `~/.var/app/org.zdoom.GZDoom/.config/gzdoom/` +* Optionally, configure the `~/.var/app/org.zdoom.GZDoom/.config/gzdoom/gzdoom.ini` file to load other directories ## Run with custom wads -Just as with the standalone GZDoom, you can pass commands through +Just as with the standalone GZDoom, you can pass commands through using the command line. If you want to play custom wads, you can add them to a sub-directory of `/gzdoom/` and then you can directly access then from the terminal: ``` -flatpak run org.zdoom.GZDoom -file ~/.config/gzdoom/pwads/PL2.WAD - -cd ~/.config/gzdoom/pwads/ +flatpak run org.zdoom.GZDoom -file ~/.var/app/org.zdoom.GZDoom/.config/gzdoom/pwads/PL2.WAD +``` +``` +cd ~/.var/app/org.zdoom.GZDoom/.config/gzdoom/pwads/ flatpak run org.zdoom.GZDoom -file ./PL2.WAD ``` -For more info, see +For more info, see: * https://zdoom.org/wiki/Command_line_parameters * https://zdoom.org/wiki/Installation_and_execution_of_ZDoom ## Accessing files on unconventional spots ## +If you want to access wads in different locations, you might have to adjust the [Flatpak sandboxing permissions](http://docs.flatpak.org/en/latest/sandbox-permissions.html). You can easily do that like this: ``` flatpak override org.zdoom.GZDoom --filesystem=/OTHER/LOCATION/WITH/WADS --user ```