Sauerbraten package?

I’ve downloaded the tar archive, unzipped it to my desktop. What do I
do with it? How do I install it?

I swear, sometimes I’m just clueless when it comes to the terminal.
It’s not that I haven’t tried to figure it out.

A read-me document is telling me I need libGL and libGLU. Neither one
of them is listed in the repositories.

It would probably be easier to get from the repository, but the game
didn’t work when I tried it. It just flashes a black screen for a
split-second and that’s it.

Troy


thonaker

thonaker’s Profile: http://forums.opensuse.org/member.php?userid=15700
View this thread: http://forums.opensuse.org/showthread.php?t=400674

You’re better off installing via openSUSE rpm packages where they exist,
and I can confirm this is the case for Sauerbraten. Its available from
the Packman community repo.

> It would probably be easier to get from the repository, but the game
> didn’t work when I tried it. It just flashes a black screen for a
> split-second and that’s it.
>

You’ll need to make sure you have 3D effects enabled first; (ie
comaptible graphics card with proprietary drivers installed). This could
be your real issue.


deano_ferrari

deano_ferrari’s Profile: http://forums.opensuse.org/member.php?userid=122
View this thread: http://forums.opensuse.org/showthread.php?t=400674

I think the driver is fine, it’s listed on the Nvidia site. Open Arena
works fine.

3D acceleration is enabled. I’m going to re-try installing it from the
repository.

Did that, same flash of a black screen, nothing else happens.

Troy


thonaker

thonaker’s Profile: http://forums.opensuse.org/member.php?userid=15700
View this thread: http://forums.opensuse.org/showthread.php?t=400674

Hmmm… I remember reading others having problems like this.

First, check that you have both packages installed:

> rpm -qa |grep sauerbraten
> sauerbraten-data-2008_06_17-0.pm.1
> sauerbraten-2008_06_17-0.pm.1
>

I am aware of a small problem with the installer script, if both
packages were not installed simultaneously, whereby links to required
directories were not created, but we can go through this in more detail
if necessary.

Next, open a console and do this:

cd ~/.sauerbraten
./sauer_client

That should launch it ok. If not, post errors.


deano_ferrari

deano_ferrari’s Profile: http://forums.opensuse.org/member.php?userid=122
View this thread: http://forums.opensuse.org/showthread.php?t=400674

troy@linux-jb3l:~/Desktop> cd ~/.sauerbraten
troy@linux-jb3l:~/.sauerbraten> ./sauer_client
init: sdl
init: enet
init: video: mode
init: video: misc
init: gl
Renderer: GeForce4 Ti 4800 SE/AGP/SSE/3DNOW! (NVIDIA Corporation)
Driver: 1.5.8 NVIDIA 96.43.07
WARNING: No framebuffer object support. (reflective water may be slow)
WARNING: Non-power-of-two textures not supported!
WARNING: No shader support! Using fixed-function fallback. (no fancy
visuals for you)
Rendering using the OpenGL 1.5 fixed-function path.
WARNING: Using NVIDIA texgen bug workaround. (use “/nvidia_texgen_bug
0” to disable if unnecessary)
could not load texture data/notexture.png
could not find core textures
troy@linux-jb3l:~/.sauerbraten>

Troy


thonaker

thonaker’s Profile: http://forums.opensuse.org/member.php?userid=15700
View this thread: http://forums.opensuse.org/showthread.php?t=400674

> could not load texture data/notexture.png
> could not find core textures

These 2 lines are due to the missing links I mentioned previously. Have
a look at this:

> dean@linux:~/.sauerbraten> cat /usr/bin/sauerbraten.sh
> #!/bin/sh
> CUBE_DIR=$HOME/.sauerbraten
> if ! -d $CUBE_DIR ]; then
> mkdir -p $CUBE_DIR
> cd $CUBE_DIR
> ln -s /usr/games/sauerbraten/* .
> ln -s /usr/share/games/sauerbraten/* .
> rm servers.cfg 2> /dev/null
> fi
> cd $CUBE_DIR
> exec ./sauer_client $*
>

The problem that can occur is that if the .sauerbraten directory
already exists (by previous installation of the game for example), then
the required links don’t get made. You can create these manually with:

cd ~/.sauerbraten
ln -s /usr/games/sauerbraten/packages
ln -s /usr/share/games/sauerbraten/data

Now all should be well.


deano_ferrari

deano_ferrari’s Profile: http://forums.opensuse.org/member.php?userid=122
View this thread: http://forums.opensuse.org/showthread.php?t=400674

This is what I did. It’s still not loading. (I got paintball2 to load
from the terminal, but I got kicked off the local server after hardware
check.)

troy@linux-jb3l:~/.paintball2> cd ~/.sauerbraten
troy@linux-jb3l:~/.sauerbraten> ln -s /usr/games/sauerbraten/packages
troy@linux-jb3l:~/.sauerbraten> ln -s
/usr/share/games/sauerbraten/data
troy@linux-jb3l:~/.sauerbraten> sauerbraten
bash: sauerbraten: command not found
troy@linux-jb3l:~/.sauerbraten> ./sauer_client
init: sdl
init: enet
init: video: mode
init: video: misc
init: gl
Renderer: GeForce4 Ti 4800 SE/AGP/SSE/3DNOW! (NVIDIA Corporation)
Driver: 1.5.8 NVIDIA 96.43.07
WARNING: No framebuffer object support. (reflective water may be slow)
WARNING: Non-power-of-two textures not supported!
WARNING: No shader support! Using fixed-function fallback. (no fancy
visuals for you)
Rendering using the OpenGL 1.5 fixed-function path.
WARNING: Using NVIDIA texgen bug workaround. (use “/nvidia_texgen_bug
0” to disable if unnecessary)
could not load texture data/notexture.png
could not find core textures
troy@linux-jb3l:~/.sauerbraten>

Thanks,

Troy


thonaker

thonaker’s Profile: http://forums.opensuse.org/member.php?userid=15700
View this thread: http://forums.opensuse.org/showthread.php?t=400674

Lets review contents of ~/.sauerbraten directory. Mine for reference:

> dir
> total 4
> lrwxrwxrwx 1 dean users 33 2008-07-15 17:19 config.cfg →
> /usr/games/sauerbraten/config.cfg
> lrwxrwxrwx 1 root root 33 2008-11-29 15:48 data →
> /usr/share/games/sauerbraten/data
> lrwxrwxrwx 1 root root 31 2008-11-29 15:48 packages →
> /usr/games/sauerbraten/packages
> lrwxrwxrwx 1 dean users 35 2008-07-15 17:19 sauer_client →
> /usr/games/sauerbraten/sauer_client
> -rw-r–r-- 1 dean users 54 2008-11-29 15:22 servers.cfg
>


deano_ferrari

deano_ferrari’s Profile: http://forums.opensuse.org/member.php?userid=122
View this thread: http://forums.opensuse.org/showthread.php?t=400674

Thank you for taking the time to help, by the way.

Here’s what I have, some of it was in red and black outline.

troy@linux-jb3l:~/.sauerbraten> dir
total 0
lrwxrwxrwx 1 troy users 30 2008-11-28 14:27 * ->
/usr/share/games/sauerbraten/*
lrwxrwxrwx 1 troy users 33 2008-11-28 21:38 data ->
/usr/share/games/sauerbraten/data
lrwxrwxrwx 1 troy users 31 2008-11-28 21:38 packages ->
/usr/games/sauerbraten/packages
lrwxrwxrwx 1 troy users 35 2008-11-28 14:27 sauer_client ->
/usr/games/sauerbraten/sauer_client

Troy


thonaker

thonaker’s Profile: http://forums.opensuse.org/member.php?userid=15700
View this thread: http://forums.opensuse.org/showthread.php?t=400674

Weird… somethings being missed here. You are trying to launch this
from a console as regular user? Try

cd /usr/games/sauerbraten
./sauer_client

If this doesn’t work, I’m guessing there must be some missing files in
the data and/or packages directory. (Unless someone else has better
idea). I would then try reinstalling via yast software manager.


deano_ferrari

deano_ferrari’s Profile: http://forums.opensuse.org/member.php?userid=122
View this thread: http://forums.opensuse.org/showthread.php?t=400674

Just had a look at my sauerbraten directories. I have packages and data
directories in both /usr/games/sauerbraten and
/usr/share/games/sauerbraten. (This may be as a result of binary and rpm
packeg installs - can’t remember). You may need to check out the
locations and file contents for yourself.


deano_ferrari

deano_ferrari’s Profile: http://forums.opensuse.org/member.php?userid=122
View this thread: http://forums.opensuse.org/showthread.php?t=400674

Looks like the same message.

troy@linux-jb3l:~/.sauerbraten> cd /usr/games/sauerbraten
troy@linux-jb3l:/usr/games/sauerbraten> ./sauer_client
init: sdl
init: enet
init: video: mode
init: video: misc
init: gl
Renderer: GeForce4 Ti 4800 SE/AGP/SSE/3DNOW! (NVIDIA Corporation)
Driver: 1.5.8 NVIDIA 96.43.07
WARNING: No framebuffer object support. (reflective water may be slow)
WARNING: Non-power-of-two textures not supported!
WARNING: No shader support! Using fixed-function fallback. (no fancy
visuals for you)
Rendering using the OpenGL 1.5 fixed-function path.
WARNING: Using NVIDIA texgen bug workaround. (use “/nvidia_texgen_bug
0” to disable if unnecessary)
could not load texture data/notexture.png
could not find core textures
troy@linux-jb3l:/usr/games/sauerbraten>

It played pretty well for me on Ubuntu? I’ll reinstall the data files,
but that didn’t help the last time. Let me try installing everything at
one time.

Troy


thonaker

thonaker’s Profile: http://forums.opensuse.org/member.php?userid=15700
View this thread: http://forums.opensuse.org/showthread.php?t=400674

After the last re-install, I get further than before. Now it tells me
that it cannot read or load textures and maps.

Could my package have gotten corrupted perhaps?

What it has been doing is installing from some local location on my
computer it seems, when I re-install. It doesn’t download the package
again.

How do I get it to download a fresh copy?

Troy


thonaker

thonaker’s Profile: http://forums.opensuse.org/member.php?userid=15700
View this thread: http://forums.opensuse.org/showthread.php?t=400674

From the software manager, search for sauerbraten. 2 packages should
appear: sauerbraten and sauerbraten-data. Right-click on one of the
files, and select ‘All in this list’ -> ‘Update unconditionally’. Click
‘Accept’ and it should reinstall the packages.

Alternatively, from the CLI, you can do something like

zypper in – force sauerbraten*

to force a reinstallation of the packages.


deano_ferrari

deano_ferrari’s Profile: http://forums.opensuse.org/member.php?userid=122
View this thread: http://forums.opensuse.org/showthread.php?t=400674

Isn’t this a bit small? Surely this thing is bigger than this. The
data is 288.78 MB in download size. Seems like something might be wrong
with the package itself.

Downloading sauerbraten (download size 568.00 kB)
sauerbraten-2008_06_17-0.pm.1.i586.rpm (installed size 1.35 MB) –
Sauerbraten (aka Cube 2) is a free multiplayer/singleplayer first person
shooter

Troy


thonaker

thonaker’s Profile: http://forums.opensuse.org/member.php?userid=15700
View this thread: http://forums.opensuse.org/showthread.php?t=400674

YaST Software Manager reports

sauerbraten-data-2008_06_17-0.pm.1 package is 328.2 MB (installed
size)
sauerbraten-2008_06_17-0.pm.1 is 1.3 MB (installed size)


deano_ferrari

deano_ferrari’s Profile: http://forums.opensuse.org/member.php?userid=122
View this thread: http://forums.opensuse.org/showthread.php?t=400674

It ends up doing the same thing. I end up with a grid at the bottom of
the screen and a “cross-arch” above me. It’s like a skeleton without
any of the meat. No textures, no maps. I can move around and shoot
still.

Troy


thonaker

thonaker’s Profile: http://forums.opensuse.org/member.php?userid=15700
View this thread: http://forums.opensuse.org/showthread.php?t=400674

I remember having a problem on Ubuntu with this game. It was when I
tried to enable effects, Sauerbraten wouldn’t load. Compiz wasn’t even
installed. I was just reading on some Ubuntu forums about he
possibility of Compiz messing up 3D games. And I read about the same
black screen when nothing happens It’s not enabled right now though.

Troy


thonaker

thonaker’s Profile: http://forums.opensuse.org/member.php?userid=15700
View this thread: http://forums.opensuse.org/showthread.php?t=400674

Well, unfortunately Alien Arena is having trouble finding files too.
It’s telling me that some of these files don’t exist. Starup screen
runs fine, but when it comes time to start the game, it just says
“waiting for a connection.” Finally after pressing some buttons, it
lets me away from the screen “Waiting for a connection.”

Did openSUSE11 break some things? I have a good number of games that
just aren’t working as they should.

Open Arena runs great, though.

Troy


thonaker

thonaker’s Profile: http://forums.opensuse.org/member.php?userid=15700
View this thread: http://forums.opensuse.org/showthread.php?t=400674

I found the textures (.jpg) for Sauerbraten, and the music. Maybe
things aren’t installing correctly, or in the wrong places for whatever
reason, and therefore they cannot be found.

Some games don’t seem to install in the same place as other games. I
can find the file that starts Open Arena in a directory, but Sauerbraten
may not be there, but there are other games there with Open Arena.

Anyway…

Troy


thonaker

thonaker’s Profile: http://forums.opensuse.org/member.php?userid=15700
View this thread: http://forums.opensuse.org/showthread.php?t=400674