Ubuntu - UT: GoTY - Won't Open

Need help with one of the installers?
Locked
shpongled303

Ubuntu - UT: GoTY - Won't Open

Post by shpongled303 » Fri Jul 20, 2007 11:57

Greetings,

My OS: Ubuntu - Feisty Fawn 7.04
Game: Unreal Tournament - Game of the Year Edition

I have used the Loki Installer: unreal.tournament_436-multilanguage.goty.run

Both game CDs install OK.

I open the /Games/ut/ directory and there's a "Shell Script" file called "ut" in there. I try to double-click and it says "Run in Terminal?" and "Run?"

I have tried running in both "Run in Terminal" and "Run" and for both absolutely nothing happen.

I have also tried uninstalling it and reinstalling again -- using both "symbolic link" and without "symbolic link."

Game just won't open, no error boxes, no quick window flashes, nothing at all.

Anyone have a solution or proper course of action for me to take? :)

Thanks,
Shpongled

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Fri Jul 20, 2007 21:07

Strange, did you try to run it from a terminal?

olllllo

Post by olllllo » Sat Jul 21, 2007 2:43

I am interested to see what your error is too. I installed using the same .run file on Feisty last night and when I try to run it I get:

$ ./ut
./ut: 29: Syntax error: Bad substitution

Does this ring any bells with anyone? I guy in this thread said he received that error and ran a patch which he pasted into the thread. I have no idea how that patch was intended to be run, but I took that conditional block and replaced the similar block that was on line 29, but continued to receive the same error. Just to ensure that I wasn't misdiagnosing, I took that block and moved it up and down which altered the line number from 29 like I expected.

Does anyone have any ideas?

shpongled303

Post by shpongled303 » Sat Jul 21, 2007 6:38

OK, I tried it in terminal like you guys suggested. At first I just typed "ut" but that didn't work -- as you can see I'm a Linux noob.

Eventually I typed "sh ut" and this is what I got:
ut: 29: Syntax error: Bad substitution

Same error as olllllo :?

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Sat Jul 21, 2007 14:12

Damn Ubuntu :)

It's using dash as default shell instead of bash.

This problem is easy to fix.

Open the script "ut"

and change the first line from

#!/bin/sh

to

#!/bin/bash

olllllo

Post by olllllo » Sat Jul 21, 2007 16:03

ha! That rules... thanks kratz!

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Sat Jul 21, 2007 18:50

no problem, you are welcome

shpongled303

Post by shpongled303 » Sun Jul 22, 2007 7:07

Wow, kratz00 to save the day. :)

Thanks a lot for the help! Nice to get one of my old favorites working in Ubuntu/Linux -- one more reason I'm happy I deleted Windows XP!

Maybe a sticky for this or a note in the README for Ubuntu users?

P.S. Just wanted to thank you guys (whomever made the Loki Installers) for doing this great service to Linux gamers. :) Your installer made UT so easy to install -- besides the symbolic link think confusing me and the dash/bash problem -- and it really makes my transition to Linux/Ubuntu a less painful one. :D Thanks and keep up the good work!

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Sun Jul 22, 2007 10:29

Thank you but please understand that we can't update all of our installers only because of Ubuntu and dash :)

Of course this is fixed for installers upcoming installers but i will add an entry to our faqs.

I'm closing this thread, enjoy playing UT :)

Locked