-
Notifications
You must be signed in to change notification settings - Fork 71
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] Snap package #391
Comments
Looking forwards to this very much. The flatpak was a major let down - it just doesn't fly :/ |
I've posted a very early version of the package to collect feedback. There are details on the snapcraft forum. |
I've posted the snap package to the store now: https://snapcraft.io/the-force-engine I have two small patches that need discussion. One is probably okay, the other one papers over a bug in the code that should be fixed in a different way. |
What is the bug in the code? |
The bug is that the game loads some assets relative to the current working directory, even before finding assets in the system-wide "share" directories. Please look at the code in this patch: https://gitlab.com/zygoon/the-force-engine-snap/-/blob/main/0001-Add-crude-support-for-SNAP-usr-share-TheForceEngine.patch?ref_type=heads This effectively changes the working directory to where the data is, because the data loaded immediately after that is not searching any directory list but assumes you are running from the build directory and assets are next to the binary. CC @luciusDXL - thank you for looking :) |
@zyga I installed your snap TFE on Mint 21.3. I can start the program, but when I want to start a game it crashes (window closes). Any idea? |
Can you open up the terminal and run the game there? We should see what is going on and why it might be crashing. |
same, when starting a game it closes the window, I ran it this way in a terminal: /snap/bin$ the-force-engine [Paths] Program Path: "/snap/the-force-engine/5/usr/share/TheForceEngine/" |
Thanks for sharing this. I cannot immediately reproduce the issue. What kind of GPU do you have? Perhaps this is related to the graphics card used? |
intel iRIS XE, here is my system info output: System: Machine: CPU: Graphics: |
Hey
I'm one of the upstream maintainers of snapd. I'm also in love with the original game and I absolutely love the open source force engine :)
I'm working on the packaging recipe and a helper script that allows easily installing data from the GOG .exe file or GOG shell script, so that one can play the game immediately after installation.
I'm working on some of the details but the rough idea is as follows:
The name of the snap and the name of the support program is just a proposal.
EDIT: I hit submit too soon.
I wanted to collect feedback if there's someone already working on the package, if there is any preference on naming things or other feedback. The snap would obviously come with a graphical launcher so it would work from the menu as well.
The text was updated successfully, but these errors were encountered: