Creating Shortcuts is pretty simple with a bash script.
- Open a text editor like Gedit
- On the first like type: #!/bin/sh
- On the second line type cd and the path to the game folder: cd /home/toadfield/mygames/game/game.sh
- Save it on your Desktop with the name of the game and sh: game.sh
- Test it by opening the Terminal: Ctrl+Alt+T
- Drag-n-Drop the game.sh you created into the terminal
- Press Enter
- Now the game should run or you will get errors in the output
If you see "no such file or directory" check your path. It has to be exact spelling and no spaces. Or you can use quotes for folder with spaces.
Here is an example I use for a native tank game:
#!/bin/sh
cd "/home/booman/GOG Games/Zero Ballistics"
export LD_LIBRARY_PATH={$LD_LIBRARY_PATH}:./shared_libs
./tank.x86
Editiert von: booman