You are not logged in.

#1 2008-04-16 08:23:55

Kane
Member
Registered: 2006-10-08
Posts: 220

Creating a game launcher

Hi,
Ive just got ut2004 working (from the anthology pack so wasnt as straightforward as the linux versions)

if im in the current ut2004/system directory then ./ut2004-bin works
however im trying to create a .desktop item to launch it and i cant get it to work
if i try to launch it from anywhere else, in the terminal, i get this error:

/mnt/Media/Games/UT/UT2004/System/ut2004-bin: error while loading shared libraries: ./libSDL-1.2.so.0: cannot open shared object file: No such file or directory

libSDL... is in the UT2004/System directory, so where is it trying to find it? and how do i fix it, do i need to create a symlink or something?

is there anyway to launch it from the .desktop menu item to make it think its in the System directory?

Thanks

Last edited by Kane (2008-04-16 08:24:48)

Offline

#2 2008-04-16 08:34:59

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Creating a game launcher

Make a simple script and put it in /usr/bin and then just point a shortcut to it.

For example:

/usr/bin/ut2004

#bin/bash

cd /path/to/ut2004/dir/
wine ut2004.exe -opengl

The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#3 2008-04-16 09:07:50

Kane
Member
Registered: 2006-10-08
Posts: 220

Re: Creating a game launcher

thanks smile working perfectly now

#!bin/bash

cd /mnt/Media/Games/UT/UT2004/System/
./ut2004-bin

Offline

Board footer

Powered by FluxBB