Awesome
game-to-flatpak
A script to automatically convert Linux game installers in various formats to flatpak bundles.
Requirements
- lua
- lua-posix
- lua-socket
- lua-archive (from this location, PR)
- luasec
- unzip
- flatpak-builder
Features
- Supports the MojoSetup installer
- Supports the MojoSetup + makeself installer (as used by GOG.com)
Usage
This will add the game to the repo
directory:
./game-to-flatpak [installer file]
You will only need to do this once:
flatpak --user remote-add --no-gpg-verify --if-not-exists game-repo repo
Check which games are available in the repo:
flatpak --user remote-ls game-repo
Install the game for that user:
flatpak --user install game-repo com.gog.Call_of_Cthulhu__Shadow_of_the_Comet
Similar projects
- Unpacker classes from Gentoo's gamerlay
- ./play.it's Debianification scripts
- flatpak-gog, a project with similar goals, written in Python
Out of scope
- WINE, DOSBox, etc. automagic wrappers are not planned, don't ask for them.