Skip to content

Flatpak.md

Alexander Pavlov edited this page Feb 1, 2024 · 12 revisions

Flatpak

Serious Sam Classic Vulkan on flathub
You can also install the game using flatpak from the flathub repository. When you first start the game,
you will be asked to place your game data along the following paths:

~/.var/app/io.itch.tx00100xt.SeriousSamClassic-VK/data/Serious-Engine/serioussam
~/.var/app/io.itch.tx00100xt.SeriousSamClassic-VK/data/Serious-Engine/serioussamse

You can place game data in these paths before starting the game. Then the game will start immediately.
To start the game, use the application menu. To start Serious Sam Classic The First Encounter, you can also use the command:

flatpak run io.itch.tx00100xt.SeriousSamClassic-VK

To start Serious Sam Classic The Second Encounter, you can also use the command:

flatpak run --command=serioussamse io.itch.tx00100xt.SeriousSamClassic-VK

Vulkan settings

At the time of the release of games Serious Sam Classic The First Encounter and Serious Sam Classic The Second Encounter, there was no Vulcan support. If you need Vulkan render settings from the menu, then copy directories SamTFE/Scripts and SamTSE/Scripts from this repo along the paths (overwriting existing files):

~/.var/app/io.itch.tx00100xt.SeriousSamClassic-VK/data/Serious-Engine/serioussam
~/.var/app/io.itch.tx00100xt.SeriousSamClassic-VK/data/Serious-Engine/serioussamse

For the games Serious Sam Classic The First Encounter and Serious Sam Classic The Second Encounter respectively.

XPLUS Modification

The flatpack also contains libraries for running the XPLUS modification. The modification is launched from the game menu. Before starting modifications, download the archives:
Xplus TFE from Google Drive or Xplus TFE from pCloud,
Xplus TSE from Google Drive or Xplus TSE from pCloud,

and unpack them along the paths:

~/.var/app/io.itch.tx00100xt.SeriousSamClassic-VK/data/Serious-Engine/serioussam/
~/.var/app/io.itch.tx00100xt.SeriousSamClassic-VK/data/Serious-Engine/serioussamse/

You can also download the archive using curl or wget:

cd ~/.
wget https://archive.org/download/sam-tfe-xplus/SamTFE-XPLUS.tar.xz
wget https://archive.org/download/sam-tse-xplus/SamTSE-XPLUS.tar.xz
tar -xJvpf SamTFE-XPLUS.tar.xz -C ~/.var/app/io.itch.tx00100xt.SeriousSamClassic-VK/data/Serious-Engine/serioussam
tar -xJvpf SamTSE-XPLUS.tar.xz -C ~/.var/app/io.itch.tx00100xt.SeriousSamClassic-VK/data/Serious-Engine/serioussamse

or

cd ~/.
for var in a b c; do wget https://github.com/tx00100xt/serioussam-mods/raw/main/SamTFE-XPLUS/SamTFE-XPLUS.tar.xz.parta$var; done; cat SamTFE-XPLUS.tar.xz.part* > SamTFE-XPLUS.tar.xz
for var in a b c; do wget https://github.com/tx00100xt/serioussam-mods/raw/main/SamTSE-XPLUS/SamTSE-XPLUS.tar.xz.parta$var; done; cat SamTSE-XPLUS.tar.xz.part* > SamTSE-XPLUS.tar.xz
tar -xJvpf SamTFE-XPLUS.tar.xz -C ~/.var/app/io.itch.tx00100xt.SeriousSamClassic-VK/data/Serious-Engine/serioussam
tar -xJvpf SamTSE-XPLUS.tar.xz -C ~/.var/app/io.itch.tx00100xt.SeriousSamClassic-VK/data/Serious-Engine/serioussamse

After unpacking the archives for the XPLUS mod, simply select this mod in the game menu.