Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hadess/flatpak-games
Script to create flatpaks from commercial game installers
https://github.com/hadess/flatpak-games
Last synced: 3 months ago
JSON representation
Script to create flatpaks from commercial game installers
- Host: GitHub
- URL: https://github.com/hadess/flatpak-games
- Owner: hadess
- Created: 2016-06-15T17:07:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-28T16:37:07.000Z (over 6 years ago)
- Last Synced: 2024-01-28T23:09:36.628Z (12 months ago)
- Language: Lua
- Size: 1.09 MB
- Stars: 50
- Watchers: 11
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- awesome-flatpak - game-to-flatpak - 2018 (Tools)
README
# 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](https://github.com/hadess/lua-archive), [PR](https://github.com/brimworks/lua-archive/pull/2))
- 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](https://cgit.gentoo.org/proj/gamerlay.git/tree/eclass) from [Gentoo's gamerlay](https://cgit.gentoo.org/proj/gamerlay.git/)
- [./play.it](http://wiki.dotslashplay.it/en/start)'s [Debianification scripts](http://www.dotslashplay.it/scripts/)
- [flatpak-gog](https://github.com/kujeger/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.