Urban Terror Forums: Playing UrT in Windows and Ubuntu - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Playing UrT in Windows and Ubuntu Rate Topic: -----

#1 User is offline   DirtySecret Icon

  • Account: dirtysecret
  • Country:
  • Joined: 04-June 13
  • Posts: 4

Posted 15 August 2013 - 01:06 PM

I'm using Windows 8 64bit and Ubuntu 12.04 32bit (Dual Boot)

Using UrT 4.2 now. (Downloaded the Windows version). Can play in Windows. But I want to play from Ubuntu (from the same directory) too. So I tried to execting the Quake3-UrT.i386. Everytime I tick the option it automatically unticks itself. Tried to execut other exe files too.
Posted Image

So I want to know how do I do it? Playing Same UrT from both Windows and Linux. :)


Thanks :)

#2 User is offline   Fenix Icon

  •   former FS member   
  • Account: fenix
  • Country:
  • Joined: 06-December 10
  • Posts: 425

Posted 15 August 2013 - 01:31 PM

Try giving execution permission using root: from terminal type sudo chmod +x Quake3-UrT.i386

#3 User is offline   DirtySecret Icon

  • Account: dirtysecret
  • Country:
  • Joined: 04-June 13
  • Posts: 4

Posted 15 August 2013 - 02:24 PM

View PostFenix, on 15 August 2013 - 01:31 PM, said:

Try giving execution permission using root: from terminal type sudo chmod +x Quake3-UrT.i386


Like this right? (By opening terminal from the game folder?)

It looks like this:
Posted Image

And the file isn't executed. :( What to do now?

#4 User is offline   thelionroars Icon

  •   QA member   
  • Account: thelionroars
  • Country:
  • Joined: 21-September 11
  • Posts: 853

Posted 15 August 2013 - 02:42 PM

View PostDirtySecret, on 15 August 2013 - 02:24 PM, said:

Like this right? (By opening terminal from the game folder?)

It looks like this:
Posted Image

And the file isn't executed. :( What to do now?


run it from the terminal and see if there are errors showing:

./Quake3-UrT.i386


You probably just need to install some libraries. Paste the output here if you run into trouble.

#5 User is offline   DirtySecret Icon

  • Account: dirtysecret
  • Country:
  • Joined: 04-June 13
  • Posts: 4

Posted 15 August 2013 - 03:42 PM

View Postthelionroars, on 15 August 2013 - 02:42 PM, said:

run it from the terminal and see if there are errors showing:

./Quake3-UrT.i386


You probably just need to install some libraries. Paste the output here if you run into trouble.


Yeah. I guess I don't have permission.

Output:


bash: ./Quake3-UrT.i386: Permission denied



What to do now? :(

bullet_loaderAdvertisement

#6 User is offline   thelionroars Icon

  •   QA member   
  • Account: thelionroars
  • Country:
  • Joined: 21-September 11
  • Posts: 853

Posted 15 August 2013 - 04:13 PM

ok, make sure you are working from your UrbanTerror42 folder. Do this:

sudo chmod a+x Quake*
ls -al


first line makes all the Quake3-UrT files executable for everyone, the second line lists the files in their directory and their permissions. You should see something like this for the executable:

-rwxrwxr-x 1 bob bob 1356286 Jul  6 03:22 Quake3-UrT.i386


The important thing here is the 3 x's, which means that the file is executable for the owner, the owner group and for everyone. Now run it in the commandline

./Quake3-UrT.i386


and see if you get any more errors.

#7 User is offline   DirtySecret Icon

  • Account: dirtysecret
  • Country:
  • Joined: 04-June 13
  • Posts: 4

Posted 15 August 2013 - 07:24 PM

View Postthelionroars, on 15 August 2013 - 04:13 PM, said:

ok, make sure you are working from your UrbanTerror42 folder. Do this:

sudo chmod a+x Quake*
ls -al


first line makes all the Quake3-UrT files executable for everyone, the second line lists the files in their directory and their permissions. You should see something like this for the executable:

-rwxrwxr-x 1 bob bob 1356286 Jul  6 03:22 Quake3-UrT.i386


The important thing here is the 3 x's, which means that the file is executable for the owner, the owner group and for everyone. Now run it in the commandline

./Quake3-UrT.i386


and see if you get any more errors.



I see this:

fahim@fahim-pc:/media/Stuffs_/Games/UrbanTerror42$ sudo chmod a+x Quake*
fahim@fahim-pc:/media/Stuffs_/Games/UrbanTerror42$ ls -al
total 23345
drwx------ 1 fahim fahim    8192 Jul 26 23:38 .
drwx------ 1 fahim fahim    4096 Aug  8 17:33 ..
-rw------- 1 fahim fahim    6656 Apr 20 23:28 mingwm10.dll
drwx------ 1 fahim fahim   16384 Aug 15 22:14 q3ut4
-rw------- 1 fahim fahim    2048 Jul 26 23:37 qkey
-rw------- 1 fahim fahim 2557952 Apr 20 23:29 QtCore4.dll
-rw------- 1 fahim fahim 8566272 Apr 20 23:29 QtGui4.dll
-rw------- 2 fahim fahim 1034240 Apr 20 23:29 QtNetwork4.dll
drwx------ 1 fahim fahim       0 Apr 20 23:29 Quake3-UrT.app
-rw------- 2 fahim fahim 2055219 Jul 14 20:45 Quake3-UrT.app.zip
-rw------- 2 fahim fahim  734897 Jul 14 20:45 Quake3-UrT-Ded.exe
-rw------- 2 fahim fahim  720800 Jul 14 20:45 Quake3-UrT-Ded.i386
-rw------- 2 fahim fahim  769395 Jul 14 20:45 Quake3-UrT-Ded.x86_64
-rw------- 2 fahim fahim 1902422 Jul 14 20:45 Quake3-UrT.exe
-rw------- 2 fahim fahim 1364055 Jul 14 20:45 Quake3-UrT.i386
-rw------- 2 fahim fahim     314 Apr 20 23:29 Quake3-UrT_Logitech_Game_Recognition.reg
-rw------- 2 fahim fahim 1437415 Jul 14 20:45 Quake3-UrT.x86_64
-rw------- 2 fahim fahim  800784 Aug 15 22:58 servercache.dat
drwx------ 1 fahim fahim       0 Apr 20 23:29 UrTUpdater.app
-rw------- 2 fahim fahim  120089 Apr 20 23:29 UrTUpdater_Ded.i386
-rw------- 2 fahim fahim  142057 Apr 20 23:29 UrTUpdater_Ded.x86_64
-rw------- 2 fahim fahim  761344 Apr 20 23:29 UrTUpdater.exe
-rw------- 2 fahim fahim  428354 Apr 20 23:29 UrTUpdater.i386
-rw------- 2 fahim fahim  440697 Apr 20 23:29 UrTUpdater.x86_64



Seems like I discovered whats wrong, the partition I'm using in Windows is NTFS. Linux can't execute file in NTFS partition normally.

#8 User is offline   YAY5637 Icon

  • Account: yay5637
  • Main tag: <PWC>
  • Country:
  • Joined: 28-February 10
  • Posts: 633

Posted 15 August 2013 - 08:00 PM

If executing doesnt work, you could try to set your gamepaths of the win and linux verions to the same directory.
Just a random guess/try to help

#9 User is offline   thelionroars Icon

  •   QA member   
  • Account: thelionroars
  • Country:
  • Joined: 21-September 11
  • Posts: 853

Posted 16 August 2013 - 01:42 AM

View PostDirtySecret, on 15 August 2013 - 07:24 PM, said:

Seems like I discovered whats wrong, the partition I'm using in Windows is NTFS. Linux can't execute file in NTFS partition normally.


I see. Well you can copy the whole directory to a linux partition, or could just move the executable and set the basepath when you launch it, eg.


cp /media/Stuffs_/Games/UrbanTerror42/Quake3-UrT.i386 /home/fahim/
chmod a+x /home/fahim/Quake3-UrT.i386

/home/fahim/Quake3-UrT.i386 +set fs_basepath /media/Stuffs_/Games/UrbanTerror42/Quake3-UrT.i386



last line will launch it in the terminal. Setting up the executable so it will launch with the basepath set automatically from the GUI is possible, but a little more complicated. Let me know if you want to do this and I'll post instructions.

Your other option is to set up a permanent mount with execute permissions for /media/Stuffs_, which involves adding a line in the /etc/fstab file. However, with this everything in your /media/Stuffs_ file will have the execute permission set.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942