UnleashedRecomp
UnleashedRecomp copied to clipboard
Add version info to Flatpak's .metainfo.xml
Validation
- [x] I have checked the Issues page to see if my problem has already been reported
- [x] I have confirmed that this bug does not occur in the original game running on original Xbox 360 hardware
If you have DLC installed, please specify which ones you have.
- [x] Apotos & Shamar Adventure Pack
- [x] Chun-nan Adventure Pack
- [x] Empire City & Adabat Adventure Pack
- [x] Holoska Adventure Pack
- [x] Mazuri Adventure Pack
- [x] Spagonia Adventure Pack
If you have mods enabled, please specify which ones you have.
No response
If you have codes enabled, please specify which ones you have.
No response
Describe the Bug
Currently the version number isn't shown because the release data is not present in .metainfo.xml
This can be fixed by adding the release info from the AppStream sprecification.
This is the specification: https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Releases.html It should be enough to have one entry with the version number and release date for all version in reverse chronological order
Steps to Reproduce
- Run flatpak list
- Notice how the flatpak has a empty version field
- Run flatpak info
- Notice again how there will be not version data
- Visit KDE Discover or GNOME Software
- Notice how it has no version info
Expected Behavior
Assuming the release data is set correctly with the release info for 1.0.0, 1.0.1 and 1.0.2 and all newer versions, flatpak CLI tooling would extract the version from the metadata and the version number would also be shown in any Linux frontend app store.
Footage
N/A. Flatpak-specific
System Specifications
Not very relevant. However a Steam Deck OLED using SteamOS was used.
Additional Context
This is specific to the Flatpak integration with the system and is minor, however this will usually let the user know which version is currently installed (whih is not possible right now) or which version will be installed (although I'm not very sure)
You can actually see which version you have by going into options, and in the bottom right corner.
Ah, thanks, didn't notice that it appears in-game, that's useful.
This is much more about the version number being shown on flatpak CLI, KDE Discover and GNOME Software.
Basically, it's a very minor change, just by adding a few tags about version number and release date to the metadata file, that info propagates.
Basically, it's a very minor change, just by adding a few tags about version number and release date to the metadata file, that info propagates.
It's not as minor as it sounds, you'll have to find out how to pull this from the build system, we don't fill in these version numbers into the metadata files. The version number has to be pulled from this file: https://github.com/hedge-dev/UnleashedRecomp/blob/824405b2369eb4f82ce136d86e2dfa2b108050f1/UnleashedRecomp/res/version.txt#L1-L4