How to transform Linux games into flatpak packages

Flatpak

The flatpak format is hitting hard, at least a little stronger than snap packages. Recently, a developer of the project has released a script that will allow us to create a flatpak package from a Linux game installer. So we can convert any Linux game to universal format and be able to install it on any Gnu / Linux distribution.

We have to say that this script is not valid for all games, they are only compatible with native Linux games, installers that need wine or dosbox are not supported. This is important because many of you will be wanting to install games that require Windows dependencies or dependencies that must be emulated. Its installation and process is very simple. First we have to download the script that will carry out this entire process. We can get this script through github repository. Once we have the script, We have to unzip it in the same folder where the installers of the Linux games that we want to convert are.. Now we open the terminal and write the following:

./game-to-flatpak NOMBRE-INSTALADOR

flatpak --user remote-add --no-gpg-verify --if-not-exists game-repo repo ( esto solo se hará una vez)

flatpak --user remote-ls game-repo ( esto revisa si el juego está disponible en los repositorios flatpak)

flatpak --user install game-repo com.gog.Call_of_Cthulhu__Shadow_of_the_Comet (esto último es el nombre del juego que debemos de cambiar por el nuestro)

This script works with the Gog.com repository, a game repository in which we will find hundreds of games for Gnu / Linux, for Windows and for macOS. Many of them are free and do not need a client like Steam to work.

Whether or not it is related to gog.com, this script is very interesting as it helps to convert games to the flatpak format. More interesting would be to get Windows games to go flatpak and install them thanks to Wine, since many users have problems with libraries when installing a Windows game on Gnu / Linux.


A comment, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Miguel Mayol i Tur said

    PROTON, the fork of WINE from Steam - in beta - launches 100% of the games I had on Steam wine - I have uninstalled it.

    And if an application that with the installation of only one wine - and not one per game or launcher - adds the appropriate wine prefixes to each game and better if it used the flatpak format - there are already attempts - it would be great.

    About attempts: it's called winepak

    https://www.linuxadictos.com/instala-el-juego-starcraft-ii-en-linux-con-ayuda-de-winepak.html