Skip to content

Commit

Permalink
update info to include runimage
Browse files Browse the repository at this point in the history
  • Loading branch information
Samueru-sama authored Feb 4, 2025
1 parent 73dac1b commit ccf1819
Showing 1 changed file with 5 additions and 47 deletions.
52 changes: 5 additions & 47 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Unofficial AppImage of Steam built on top of "[Conty](https://github.com/Kron4ek/Conty)", the portable Arch Linux container that runs everywhere.
Unofficial AppImage of Steam built on top of "[RunImage](https://github.com/VHSgunzo/runimage)", the portable single-file Linux container in unprivileged user namespaces

This includes 32bit libraries needed to run Steam, also it downloads and installs in ~/.local/share/Conty a portable version of Nvidia drivers if needed.
This includes 32bit libraries needed to run Steam, **it will also use the proprietary nvidia driver from the host**.

---------------------------------

Expand All @@ -13,6 +13,7 @@ This includes 32bit libraries needed to run Steam, also it downloads and install
- "sudo" is not required, no need enable 32 bit repo, no need to install flatpak or snap, **it should even run on musl distros.**
- Can use a [portable home](https://docs.appimage.org/user-guide/portable-mode.html), so you can avoid all the [mess that Steam leaves in $HOME](https://github.com/ValveSoftware/steam-for-linux/issues/1890) and no need to settle with a hardcoded `~/.var` or `~/snap` either.
- Uses a patched bubblewrap that [allows](https://github.com/flathub/com.valvesoftware.Steam/issues/770) launching AppImages from Steam.
- Will use the nvidia driver from the host instead of downloading one, note that for this to happen you also need the 32bit nvidia driver, otherwise runimage will fallback to download it.

---------------------------------

Expand All @@ -23,7 +24,7 @@ This includes 32bit libraries needed to run Steam, also it downloads and install
```
chmod a+x ./*.AppImage
```
3. Run it, do this the first time from terminal, since the internal "Conty" script may detect if you need Nvidia drivers for your GPU
3. Run it or simply double click on it.
```
./*.AppImage
```
Expand All @@ -35,53 +36,10 @@ This AppImage does NOT require libfuse2, being it a new generation one.

### How to build it

Currently, the AppImage I produced contains the following structure:
```
|---- AppRun
|---- steam.desktop
|---- steam.png
|---- conty.sh
```
1. The AppRun is the core script of the AppImage
2. The .desktop file of Steam
3. The icon of Steam
4. The Arch Linux container named "conty.sh", it contains Steam.

Points 1, 2 and 3 are the essential elements of any AppImage.

The script "conty.sh" (4) is the big one among the elements of this AppImage.

This is what each file of my workflow is ment for:
1. [create-arch-bootstrap.sh](https://github.com/ivan-hc/Steam-appimage/blob/main/create-arch-bootstrap.sh) creates an Arch Linux chroot, where Steam is installed. This is the first script to be used ("root" required);
2. [create-conty.sh](https://github.com/ivan-hc/Conty/blob/master/create-conty.sh) is the second script used in this process, it converts the Arch Linux chroot created by "create-arch-bootstrap.sh" into a big script named "conty.sh", that includes "conty-start.sh";
3. [conty-start.sh](https://github.com/ivan-hc/Conty/blob/master/conty-start.sh) is the script responsible of startup inizialization processes to made Conty work. It includes a function that detects the version of the Nvidia drivers needed, if they are needed, the script downloads and installs them in ~/.local/share/Conty. Also it is responsible of full integration of Conty with the host system, using "bubblewrap;
4. [utils_dwarfs.tar.gz](https://github.com/ivan-hc/Conty/releases/download/utils/utils_dwarfs.tar.gz) contains "dwarfs", a set of tools similar to squashfs to compress filesystems, and it is needed to compress "conty.sh" as much as possible;
5. [steam-conty-builder.sh](https://github.com/ivan-hc/Steam-appimage/blob/main/steam-conty-builder.sh) is a script i wrote to pundle "conty.sh" near the AppRun, the .desktop file and the icon to convert everything into an AppImage. It is ment to be used in github actions.

Files 1, 2, 3 and 4 come from my fork of https://github.com/Kron4ek/Conty

Files 1, 2 and 3 are a mod of the original ones to made them smaller and with only what its needed to made Steam work.

To learn more about "Conty", to download more complete builds or to learn more on how to create your own, visit the official repository of the project:

https://github.com/Kron4ek/Conty
--------------
Run the `steam-runimage.sh` if you want to the build the AppImage locally on your system.

---------------------------------

## Known issues

### ◆ Very slow first startup for Nvidia users
At the first start, if necessary, the drivers for your video card will be downloaded, via Conty (see screenshot above). This may take several seconds or even minutes. This behaviour will only be noticed if when you first start it, you launch Steam from the terminal instead of using the launcher.

---------------------------------

## Credits

- Conty https://github.com/Kron4ek/Conty

------------------------------------------------------------------------

## Install and update it with ease

### *"*AM*" Application Manager*
Expand Down

0 comments on commit ccf1819

Please sign in to comment.