Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Flatpak version not detecting installation #322

Open
TheCypher1 opened this issue May 8, 2024 · 2 comments
Open

Linux Flatpak version not detecting installation #322

TheCypher1 opened this issue May 8, 2024 · 2 comments

Comments

@TheCypher1
Copy link

I am having two issues with the Linux Flatpak version. The Flatpak is installed, however when it doesn't detect the installation files, it asks if I want to install, then asks me to point to existing installation, however it crashes when I press the "install" button. It does provide the path where it expects the installation, so I placed it there manually and it still doesn't detect the installation.

For reference, I'm on Linux Mint 20.3 and I'm using the GOG version of the game.

@AsureDawn
Copy link

The flatpak on flathub doesn't have any filesystem access (according to the flathub website), so it probably crashes because it attempted to access a directory which it wasn't allowed.

I was able to get it to work by manually copying the files to the resource and episode subdirectories in ~/.var/app/org.openjkdf2.OpenJKDF2/data/OpenJKDF2/openjkdf2. You can also create a MUSIC directory in there and copy the music if you like. I had to rename some of the files because the expected names had different lettercase, mostly the extensions were wrong iirc.

Or you can try addeding filesystem access to the directory containing the game resources, kde has a flatpak kmod which can do that, or there's also a program on flathub (forget the name). But it's probably easier to copy the files.

@TheCypher1
Copy link
Author

The flatpak on flathub doesn't have any filesystem access (according to the flathub website), so it probably crashes because it attempted to access a directory which it wasn't allowed.

I was able to get it to work by manually copying the files to the resource and episode subdirectories in ~/.var/app/org.openjkdf2.OpenJKDF2/data/OpenJKDF2/openjkdf2. You can also create a MUSIC directory in there and copy the music if you like. I had to rename some of the files because the expected names had different lettercase, mostly the extensions were wrong iirc.

Or you can try addeding filesystem access to the directory containing the game resources, kde has a flatpak kmod which can do that, or there's also a program on flathub (forget the name). But it's probably easier to copy the files.

As a temporary thing, I ended up just downloading the Windows version of OpenJKDF2 and running it under Wine which worked perfectly but it would be nice to get the Linux version working ON Linux. I saw a YouTube video of a guy running the Linux version in a different distro, and I think on KDE and it allowed him to select the file path so maybe it's just a Mint/MATE thing? Idk, I'm gonna go back and try the manual filepath thing as there may be an issue with the case sensitive or extension stuff.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants