It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
So in the support for the FlatOut series, they tell you to launch the game from the command line. It works for me, but I would prefer for the tarball to behave like system apps; with the ability to add to steam or show up in the system applications tray. Does anybody have a good solution to accomplish this?
This question / problem has been solved by gildurimage
Make a launcher with the command you use in command line. Change it's icon. Add it to system menu if you want that.
avatar
rh0de: Make a launcher with the command you use in command line. Change it's icon. Add it to system menu if you want that.
Thanks, but I am having a bit of an issue. I make the.desktop file with this

[Desktop Entry]
Version=1.0
Name=FlatOut2
Comment=This is my comment
Exec=/home/Games/FlatOut2/start.sh
Icon=/home/Games/FlatOut2/support/gog-flatout-2.png
Terminal=false
Type=Application
Categories=Utility;Application;Games

Then I save and mark the file as an executable.

but when I create the file and click on it i get an error message. Is there anything else that I am missing?
First off, what distro are you using?

Run sudo /home/Games/FlatOut2/start.sh --install

After that you can start the game with "gog-flatout-2"

Confirm it works. Then change Exec=/home/Games/FlatOut2/start.sh to Exec=gog-flatout-2
There are ready to use launcher files in the support directory of Flatout 2 installation.
First, you need to install the game like rh0de says:
sudo /home/Games/FlatOut2/start.sh --install
Then copy launchers and icon from support directory to your home:
cp /home/Games/FlatOut2/support/*.desktop ~/.local/share/applications/
cp /home/Games/FlatOut2/support/gog-flatout-2.png ~/.local/share/icons/
avatar
rh0de: First off, what distro are you using?

Run sudo /home/Games/FlatOut2/start.sh --install

After that you can start the game with "gog-flatout-2"

Confirm it works. Then change Exec=/home/Games/FlatOut2/start.sh to Exec=gog-flatout-2
I'm running Ubuntu 14.04.

When I run the install command, it returns with this

nick@nick-MS-7693:~$ sudo /home/Games/FlatOut2/start.sh --install
[sudo] password for nick:
sudo: /home/Games/FlatOut2/start.sh: command not found
nick@nick-MS-7693:~$
avatar
rh0de: First off, what distro are you using?

Run sudo /home/Games/FlatOut2/start.sh --install

After that you can start the game with "gog-flatout-2"

Confirm it works. Then change Exec=/home/Games/FlatOut2/start.sh to Exec=gog-flatout-2
avatar
nbieter: I'm running Ubuntu 14.04.

When I run the install command, it returns with this

nick@nick-MS-7693:~$ sudo /home/Games/FlatOut2/start.sh --install
[sudo] password for nick:
sudo: /home/Games/FlatOut2/start.sh: command not found
nick@nick-MS-7693:~$
cd /home/Games/FlatOut2
sudo ./start.sh --install
avatar
rh0de: First off, what distro are you using?

Run sudo /home/Games/FlatOut2/start.sh --install

After that you can start the game with "gog-flatout-2"

Confirm it works. Then change Exec=/home/Games/FlatOut2/start.sh to Exec=gog-flatout-2
avatar
nbieter: I'm running Ubuntu 14.04.

When I run the install command, it returns with this

nick@nick-MS-7693:~$ sudo /home/Games/FlatOut2/start.sh --install
[sudo] password for nick:
sudo: /home/Games/FlatOut2/start.sh: command not found
nick@nick-MS-7693:~$
Then /home/Games/FlatOut2/ is not a path where you unpacked the game. I suppose you did this inside your home directory, so it is rather "/home/nick/Games/FlatOut 2/" or in shorter form: "~/Games/FlatOut 2/". Try this:
sudo ~/Games/FlatOut\ 2/start.sh --install

If this wouldn't work, show how you start the game from terminal.
avatar
nbieter: I'm running Ubuntu 14.04.

When I run the install command, it returns with this

nick@nick-MS-7693:~$ sudo /home/Games/FlatOut2/start.sh --install
[sudo] password for nick:
sudo: /home/Games/FlatOut2/start.sh: command not found
nick@nick-MS-7693:~$
avatar
gildur: Then /home/Games/FlatOut2/ is not a path where you unpacked the game. I suppose you did this inside your home directory, so it is rather "/home/nick/Games/FlatOut 2/" or in shorter form: "~/Games/FlatOut 2/". Try this:
sudo ~/Games/FlatOut\ 2/start.sh --install

If this wouldn't work, show how you start the game from terminal.
Sorry, I had the wrong file path. The installation worked now. Thanks
avatar
gildur: There are ready to use launcher files in the support directory of Flatout 2 installation.
First, you need to install the game like rh0de says:
sudo /home/Games/FlatOut2/start.sh --install
Then copy launchers and icon from support directory to your home:
cp /home/Games/FlatOut2/support/*.desktop ~/.local/share/applications/
cp /home/Games/FlatOut2/support/gog-flatout-2.png ~/.local/share/icons/
The installation worked, but do I need to mark the .desktop file as an executable before I copy it over?

EDIT: I copied it over and it worked perfectly. Thanks for all the help guys!
Post edited August 03, 2014 by nbieter