I figured out how to get vkbasalt (adds fxaa, smaa, antialiasing to a game) to pretty up Serious Sam games by using "ENABLE_VKBASALT=1 /home/username/Portable/SamTSE/Bin/SeriousSam" in the terminal. I would like to create a launcher/shortcut on the desktop or start menu to do the same thing but can't figure it out. If I put the above text (with the ENABLE_VKBASALT=1 part) as the command it just spits out errors. Without ENABLE_VKBASALT=1, it launches the game, but no vkbasalt.
Example: My menulibre-serious-sam-se.desktop file (start menu shortcut) contains this:
Code: Select all
[Desktop Entry]
Version=1.1
Type=Application
Name=Serious Sam SE
Comment=game
Icon=/home/username/Portable/SamTSE/SSTSE.ico
Exec=/home/username/Portable/SamTSE/Bin/SeriousSam
Actions=
Categories=Game;Shooter;
How could I change it so it activates vkbasalt when launched? If I just add it to the "Exec=" part, it just breaks the shortcut/launcher.