ruanformigoni / gameimage

Gameimage - FlatImage Game Packer
Apache License 2.0
235 stars 2 forks source link
appimage container flatimage game linux portable

GameImage - FlatImage Game Packer

About

https://github.com/ruanformigoni/gameimage/assets/18180693/7690e65a-aed9-4bfa-aa98-3ffd57e20e65


Game emulation is on the rise, with years of contribution from the community and now with Valve's portable handheld, the steam deck. The fragmentation with several platform emulators is daunting, especially since it requires repetitive configuration for the first time or if the config files go missing. GameImage is a tool to pack a runner (such as an emulator), a game, and it's configs in a single flatimage.

Advantages:

Supported Package Types

Showcase

Install

Download the latest gameimage.run file in the releases page.

https://github.com/ruanformigoni/gameimage/assets/18180693/208c41dd-2454-484a-a30f-8b711e94b41b

download video

Tutorials

Wine Single

https://github.com/ruanformigoni/gameimage/assets/18180693/0592dd5f-9b27-4503-9978-77842ad4c7b6

download video

Wine Multiple

https://github.com/ruanformigoni/gameimage/assets/18180693/a2d92de2-ce28-4c7b-9f25-02eb9db525da

download video

Linux

https://github.com/ruanformigoni/gameimage/assets/18180693/b5ad407e-23a6-48fd-b636-c2ef2a89fd28

download video

FlatImage

The key advantages of flatimage are:

  1. Flatimage packs everything the application requires to run in a single file.
  2. Subsequently, the generated file works on linux distributions without, expecting any libraries to be available on the host.
  3. Flatimage runs the application on a containerized environment, it only allows the application to access what is necessary for it to work (such as sockets and devices).
  4. Flatimage is read-write, you can create a flatimage that stores your saves in the image itself, that way, instead of having back-up one file (wine+prefix+game data) and one directory (saves), you just have to backup one file. Flatimage grows automatically to accomodate your save data, you can still use the previous method with flatimage, as well as others listed in

Known Issues

General

Avoid using NTFS formatted hard-drives.

Ubuntu 24.04

Recent changes to apparmor broke portable bubblewrap applications such as gameimage, to work around these issues you can use the following commands:

sudo add-apt-repository ppa:apparmor-dev/apparmor-sru
sudo apt update
sudo apt install apparmor

Disclaimer: This project does not endorse piracy, buy your games and console to use this software.