You are not logged in.

#1 2004-10-06 18:48:16

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

[new] cube and cube-ati (great FPS game)

EDIT:
the scripts used (cube-client and cube-server) were created by me.... they simply cd into the cube directory and run the executable, as cube reads config and data from the current directory when run.

 
pkgname=cube
pkgver=2004_05_22
pkgrel=1
pkgdesc="Open source FPS game built on an entirely new and very unconventional e
ngine."
url="http://www.cubeengine.com"
license="zlib/libpng"
depends=('x-server' 'sdl' 'sdl_image' 'sdl_mixer')
conflicts=('cube-ati')
source=(http://ovh.dl.sourceforge.net/sourceforge/cube/${pkgname}_2004_05_22.tar
.gz
        cube-client cube-server)
md5sums=('a0ae899d9af6ab65970d81bf3ccd94ee' '427b53d5f9e6cd3ebad4ef4d5a7d8237' '
cb9f74ef16352a16c11e385be83473ef')

build()
{
  cd $startdir

  mkdir -p $startdir/pkg/usr/local/games/cube
  mkdir -p $startdir/pkg/usr/bin

  install -m 755 cube-client pkg/usr/bin
  install -m 755 cube-server pkg/usr/bin

  cd $startdir/src/$pkgname

  install -m 755 bin_unix/linux_client $startdir/pkg/usr/local/games/cube
  install -m 755 bin_unix/linux_server $startdir/pkg/usr/local/games/cube

  install -d -m 644 data $startdir/pkg/usr/local/games/cube/data
  install -d -m 644 demos $startdir/pkg/usr/local/games/cube/demos

  install -d -m 644 docs $startdir/pkg/usr/local/games/cube/docs

  install -d -m 644 packages $startdir/pkg/usr/local/games/cube/packages

  install -d -m 644 savegames $startdir/pkg/usr/local/games/cube/savegames

  install -m 644 autoexec.cfg  $startdir/pkg/usr/local/games/cube
  install -m 644 readme.html  $startdir/pkg/usr/local/games/cube
}

and this one is for ati systems

pkgname=cube-ati
pkgver=2004_05_22
pkgrel=1
pkgdesc="Open source FPS game built on an entirely new and very unconventional e
ngine."
url="http://www.cubeengine.com"
license="zlib/libpng"
depends=('x-server' 'sdl' 'sdl_image' 'sdl_mixer')
conflicts=('cube')
source=(http://ovh.dl.sourceforge.net/sourceforge/cube/cube_2004_05_22.tar.gz
        http://ovh.dl.sourceforge.net/sourceforge/cube/cube_2004_06_06_linux_cli
ent_ATI_workaround.zip
        cube-client cube-server)
md5sums=('a0ae899d9af6ab65970d81bf3ccd94ee' 'ee4f3e688fd9d9289a59fa334e81cf6f' '
427b53d5f9e6cd3ebad4ef4d5a7d8237' 'cb9f74ef16352a16c11e385be83473ef')

build()
{
  cd $startdir

  mkdir -p $startdir/pkg/usr/local/games/cube
  mkdir -p $startdir/pkg/usr/bin

  install -m 755 cube-client pkg/usr/bin
  install -m 755 cube-server pkg/usr/bin

  cd $startdir/src/cube

  # ati fixed client
  install -m 755 $startdir/src/linux_client $startdir/pkg/usr/local/games/cube

  install -m 755 bin_unix/linux_server $startdir/pkg/usr/local/games/cube

  install -d -m 644 data $startdir/pkg/usr/local/games/cube/data
  install -d -m 644 demos $startdir/pkg/usr/local/games/cube/demos

  install -d -m 644 docs $startdir/pkg/usr/local/games/cube/docs

  install -d -m 644 packages $startdir/pkg/usr/local/games/cube/packages

  install -d -m 644 savegames $startdir/pkg/usr/local/games/cube/savegames

  install -m 644 autoexec.cfg  $startdir/pkg/usr/local/games/cube
  install -m 644 readme.html  $startdir/pkg/usr/local/games/cube
}

both are in my repos (see signature) as well

Offline

#2 2004-11-09 16:29:38

xor
Member
From: Sweden
Registered: 2003-03-20
Posts: 73

Re: [new] cube and cube-ati (great FPS game)

Nice but?
Crashes with:

"/usr/local/games/cube/linux_client: /usr/X11R6/lib/libGL.so.1: no version information available (required by /usr/local/games/cube/linux_client)
init: sdl
init: net
init: world
game mode is ffa/default
init: video: sdl
init: video: mode
init: video: misc
init: gl
init: basetex
couldn't load texture data/newchars.png
could not find core textures (hint: run cube from the parent of the bin directory) (Couldn't open data/newchars.png)


This using Xorg 6.7 and r200 DRI drivers.
Is this maybe caused by my r200 drivers?

//xor

Offline

#3 2004-11-09 20:30:49

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [new] cube and cube-ati (great FPS game)

do a "pacman -Ql cube [or cube-ati]"
and see if:
usr/local/games/cube/data/newchars.png
is listed in the filelist

Offline

#4 2004-11-09 20:39:18

xor
Member
From: Sweden
Registered: 2003-03-20
Posts: 73

Re: [new] cube and cube-ati (great FPS game)

This is what I got

pacman -Ql cube-ati
cube-ati /usr/
cube-ati /usr/bin/
cube-ati /usr/bin/cube-client
cube-ati /usr/bin/cube-server
cube-ati /usr/local/
cube-ati /usr/local/games/
cube-ati /usr/local/games/cube/
cube-ati /usr/local/games/cube/autoexec.cfg
cube-ati /usr/local/games/cube/data/
cube-ati /usr/local/games/cube/demos/
cube-ati /usr/local/games/cube/docs/
cube-ati /usr/local/games/cube/linux_client
cube-ati /usr/local/games/cube/linux_server
cube-ati /usr/local/games/cube/packages/
cube-ati /usr/local/games/cube/readme.html
cube-ati /usr/local/games/cube/savegames/

I'm using package that youv'e already made, the other one didn't build for me.

/xor

Offline

#5 2004-12-04 16:34:32

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: [new] cube and cube-ati (great FPS game)

Phrakture:  When I try to get this from your repo, I get this error:

:: Retrieving packages from phrakture...
redirection not supported

failed downloading /cube-2004_05_22-2.pkg.tar.gz from phrakture.freelinuxhost.com: HTTP/1.1 302 Found

error: failed to retrieve some files from phrakture

I get this with a few packages from your repo....


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

Board footer

Powered by FluxBB