Author Topic: How to  (Read 12657 times)

Adamulos

  • Posts: 9
  • Turrets: +0/-0
How to
« on: September 26, 2006, 04:43:15 pm »
How to run Temulous installer onl inux? I'm a noob on linux and i don't know how to do it.
I've downloaded the installer. My linux is kubuntu (but the commneds from mandrake or suse wil work, i think).

rasz_pl

  • Guest
How to
« Reply #1 on: September 26, 2006, 05:07:10 pm »
get teh mouse in your hand and click teh file, if asked choose RUN

Adamulos

  • Posts: 9
  • Turrets: +0/-0
How to
« Reply #2 on: September 26, 2006, 05:10:36 pm »
... htis is linux, not windows.. there is no "run button" if you weant to run the file you need to enter commend in console...

rasz_pl

  • Guest
How to
« Reply #3 on: September 26, 2006, 06:24:48 pm »
htis is teh KDE, you press mouse knobs and droll over Krafic Knterface

stahlsau

  • Posts: 160
  • Turrets: +1/-1
How to
« Reply #4 on: September 26, 2006, 06:38:19 pm »
try either
Code: [Select]
chmod +x name_of_file[enter]
./name_of_file[enter]

or

Code: [Select]
sh name_of_file[enter]

benplaut

  • Posts: 195
  • Turrets: +0/-0
How to
« Reply #5 on: September 26, 2006, 06:38:51 pm »
ok... all fanboy irony aside...

terminal instructions (as i don't know kde):
Code: [Select]
chmod +x tremu[press tab for autocomplete]
./tremu[press tab for autocomplete


or just replace the tremu[tab] with the name of the file, which i don't know  8)
img]http://img240.imageshack.us/img240/5443/5863101266io.gif[/img]
}MG{benplaut

rasz_pl

  • Guest
How to
« Reply #6 on: September 26, 2006, 06:57:06 pm »
or just PRESS TEH FSCKing LMB over the file, KDE will ask what to do with it ?display/run ....
in case KraptastiK boys foked up teh users KliK RMB first and set permissions to execute (teh little birdie in the boxes)

tomek-k

  • Guest
How to
« Reply #7 on: September 26, 2006, 07:59:32 pm »
yeah rasz, but this will install the game in the user's home directory (because of lack of the root priviliges).
If you prefer the easy way (clicking the mouse btn)  you will have to run the File Manager in the Admin mode to install it where it should be installed.
 :P

But maby you prefer to install the game in the home dir - it's your choice of course :wink:

Adamulos

  • Posts: 9
  • Turrets: +0/-0
How to
« Reply #8 on: September 27, 2006, 08:01:04 pm »
kk, Tremulous installed but now i can't run it :P sorry, buti'm a total newbie on linux and i need help :P

tomek-k

  • Guest
How to
« Reply #9 on: September 27, 2006, 11:41:17 pm »
Run Trem in the console and check the output (what does it say?)

Adamulos

  • Posts: 9
  • Turrets: +0/-0
How to
« Reply #10 on: September 28, 2006, 02:39:50 pm »
:( i ran it, but the black screen emerges and after second it dissapears...

rasz_pl

  • Guest
How to
« Reply #11 on: September 28, 2006, 03:39:05 pm »
Quote from: "Adamulos"
:( i ran it, but the black screen emerges and after second it dissapears...


well, then Run Trem in the console and check the output (what does it say?)

dodo1122

  • Posts: 160
  • Turrets: +0/-0
How to
« Reply #12 on: September 28, 2006, 11:19:32 pm »
erm, console output plz :)
nime & manga fan <3

Currently learning the fine art of programming in c++
Currently on holidays (will be back @ 24/08/07 )

Adamulos

  • Posts: 9
  • Turrets: +0/-0
How to
« Reply #13 on: September 29, 2006, 04:21:43 pm »
Code: [Select]
----- FS_Startup -----
Current search path:
/home/dom/.tremulous/base
/usr/local/games/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/local/games/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/local/games/tremulous/base/map-tremor-1.1.0.pk3 (45 files)
/usr/local/games/tremulous/base/map-transit-1.1.0.pk3 (135 files)
/usr/local/games/tremulous/base/map-niveus-1.1.0.pk3 (134 files)
/usr/local/games/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)
/usr/local/games/tremulous/base/map-karith-1.1.0.pk3 (118 files)
/usr/local/games/tremulous/base/map-atcs-1.1.0.pk3 (87 files)
/usr/local/games/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)
/usr/local/games/tremulous/base/data-1.1.0.pk3 (1229 files)
/usr/local/games/tremulous/base

----------------------
2080 files in pk3 files
execing default.cfg
couldn't exec autogen.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----

------- Input Initialization -------
Joystick is not active.
------------------------------------
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode 3: 640 480
SDL_SetVideoMode failed: Couldn't find matching GLX visual
SDL_SetVideoMode failed: Couldn't find matching GLX visual
Using 8/8/8 Color bits, 16 depth, 8 stencil display.
GL_RENDERER: Mesa GLX Indirect


***********************************************************
 You are using software Mesa (no hardware acceleration)!
 Driver DLL used: libGL.so.1
 If this is intentional, add
       "+set r_allowSoftwareGL 1"
 to the command line when starting the game.
***********************************************************
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem


lo. It says that i should install open gl but i cdon't know how :P nubus totalus...

benplaut

  • Posts: 195
  • Turrets: +0/-0
How to
« Reply #14 on: September 30, 2006, 01:54:39 am »
what graphics card do you have, and what's your distro?  You don't have 3D support  8)
img]http://img240.imageshack.us/img240/5443/5863101266io.gif[/img]
}MG{benplaut

rasz_pl

  • Guest
How to
« Reply #15 on: September 30, 2006, 07:31:39 am »
~$lspci

tomek-k

  • Guest
How to
« Reply #16 on: September 30, 2006, 11:45:15 am »
This is a well known problem - I had it with my old (matrox) gfx card (yes, it can be resolved!)

It can be found on the forum by searching for this

Sys_Error: GLimp_Init() - could not load OpenGL subsystem

The topic is named the same way and it is here:
http://tremulous.net/phpBB2/viewtopic.php?t=831

There are several solutions for the problem but in my case typing this:
export LD_PRELOAD=/usr/lib/libGL.so.1
in console before running the game (yes... you have to do this everytime after rebooting the system :( ) solved the problem.
But to make it easier you can make yourself a script:
Code: [Select]
export LD_PRELOAD=/usr/lib/libGL.so.1
tremulous

and run the game by running the script (I put the script on the desktop)

But first make sure you have the latest drivers for your card.

And, of course, I don't know if it will resolve the problem - I only said that it helped in my case. But if you are sure that you have a gfx card with 3D acceleration and you have OpenGL drivers for your card installed then it should help.

Adamulos

  • Posts: 9
  • Turrets: +0/-0
How to
« Reply #17 on: September 30, 2006, 05:57:46 pm »
I don't know how to install the drivers..this is the problem...

tomek-k

  • Guest
How to
« Reply #18 on: September 30, 2006, 08:01:00 pm »
:O

what card do you have (nVidia, ATI, Matrox, some other)?

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
How to
« Reply #19 on: October 01, 2006, 07:07:29 am »
Quote from: "tomek-k"
in console before running the game (yes... you have to do this everytime after rebooting the system :(
At the very least
Code: [Select]
echo 'export LD_PRELOAD=/usr/lib/libGL.so.1' >> ~/.bashrc
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

Adamulos

  • Posts: 9
  • Turrets: +0/-0
How to
« Reply #20 on: October 01, 2006, 08:41:24 am »
I have nvidia gefroce 2 mx... how to install the drivers?

tomek-k

  • Guest
How to
« Reply #21 on: October 01, 2006, 09:55:55 am »
Then you are lucku - nVidia based cards are the best supported under linux.
get the drivers from www.nvidia.com (it does not matter which company is your card's vendor - if the chopset or GPU comes from nVidia they support it.

then install the drivers following the given instructions.
You will need also to install kernel headers for your kernel (they are provided by your distribution) before installing the drivers.

There is also an easier way - if your distro provides the drivers in some package then just install the package and everything should work fine.

Adamulos

  • Posts: 9
  • Turrets: +0/-0
How to
« Reply #22 on: October 01, 2006, 03:53:51 pm »
When i install it, it says:
Code: [Select]
ERROR: Unable to find the system utility `ld`; please make sure you have the
         package 'binutils' installed.  If you do have binutils installed,
         then please check that `ld` is in your PATH.


What's going on??
Ireally want to plat Tremulous, but there are MANY problems....

tomek-k

  • Guest
How to
« Reply #23 on: October 01, 2006, 05:23:40 pm »
When nVidia graphics drivers are beeing installed they need to compile some code.
The code "glues" the drivers with the kernel (that's why you need the kernel-headers package).

When a program is beeing compiled it has to be linked with some libraries. It is done with the 'ld' program.

Just install the "binutils" package before installing the drivers.

If the installation of the drivers is at the linking phase then I think that the Tremulous is not so far now :wink:

Adamulos

  • Posts: 9
  • Turrets: +0/-0
How to
« Reply #24 on: October 02, 2006, 07:22:40 pm »
What's binutils if i can ask? I'm noob on linux...

Diggs

  • Posts: 321
  • Turrets: +5/-11
How to
« Reply #25 on: October 02, 2006, 09:49:28 pm »
This is a Tremulous forum.  There are plenty of places on the Internet that teach you how to use Linux.  Try to stick to issues that concern the game, not the OS and I am sure you will get plenty of help.
続けてゲーム

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
How to
« Reply #26 on: October 03, 2006, 04:37:29 am »
Quote from: "Adamulos"
What's binutils if i can ask? I'm noob on linux...
binutils is basically all of the "base" programs you will use on any Unix system. Without binutils, your system either has some non-GNU versions, or is practically worthless.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

tomek-k

  • Guest
How to
« Reply #27 on: October 04, 2006, 04:15:42 pm »
hmm... are you sure that you use linux?? :P

You can install binutils using your distribution's package manager.
Just run the manager, find the binutils package there and install it.

If the nVidia installer says that it needs the package then just install it.

Stof

  • Posts: 1343
  • Turrets: +1/-1
How to
« Reply #28 on: October 04, 2006, 07:31:10 pm »
Quote from: "Undeference"
Quote from: "Adamulos"
What's binutils if i can ask? I'm noob on linux...
binutils is basically all of the "base" programs you will use on any Unix system. Without binutils, your system either has some non-GNU versions, or is practically worthless.

Well, you should check what is in binutils before saying such things first :)

Quote
/usr/bin/addr2line
/usr/bin/ar
/usr/bin/as
/usr/bin/c++filt
/usr/bin/gprof
/usr/bin/ld
/usr/bin/nm
/usr/bin/objcopy
/usr/bin/objdump
/usr/bin/ranlib
/usr/bin/readelf
/usr/bin/size
/usr/bin/strings
/usr/bin/strip

Unless you want to compile things, it's hardly an important package :D
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

dodo1122

  • Posts: 160
  • Turrets: +0/-0
How to
« Reply #29 on: October 06, 2006, 11:56:15 pm »
have same problem on gentoo (gentoo prefers its own way, by doing emerge nvidia-drivers :wink: ) i have drivers installed, configured, glxgears work, nvidia screen appears on startup but... i get this message :) when im trying to install drivers from nvidia web site, it just crashes, no output, no nothing. Guess every distro have its own way :P



dodo
nime & manga fan <3

Currently learning the fine art of programming in c++
Currently on holidays (will be back @ 24/08/07 )